/* ================================================================
   Raju Widgets Pack  v3.0.0
   Author : Md. Raju Miah  |  https://mdrajumiah.vercel.app/
   Widgets : Reviews Marquee · Social Media Grid · Pricing Cards
   ================================================================ */


/* ────────────────────────────────────────────────────────────────
   SHARED HELPERS
──────────────────────────────────────────────────────────────── */
.rmw-section *,
.sg-section *,
.pc-section * { box-sizing: border-box; }


/* ================================================================
   WIDGET 1 — REVIEWS MARQUEE
   ================================================================ */

.rmw-section {
    background: #f0ece4;
    padding: 64px 24px;
    font-family: Georgia, serif;
    text-align: center;
    overflow: hidden;
}

.rmw-eyebrow {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    color: #a08c6e;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.rmw-title {
    font-size: 42px;
    font-weight: 300;
    color: #2c2c2c;
    margin: 0 0 44px;
    line-height: 1.2;
}
.rmw-title em {
    color: #c9a84c;
    font-style: italic;
}

/* Marquee track */
.rmw-marquee-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.rmw-marquee-wrapper::before,
.rmw-marquee-wrapper::after {
    content: '';
    position: absolute;
    top: 0; bottom: 0;
    width: 90px;
    z-index: 2;
    pointer-events: none;
}
.rmw-marquee-wrapper::before {
    left: 0;
    background: linear-gradient(to right, var(--rmw-bg, #f0ece4), transparent);
}
.rmw-marquee-wrapper::after {
    right: 0;
    background: linear-gradient(to left, var(--rmw-bg, #f0ece4), transparent);
}

.rmw-marquee-track {
    display: flex;
    gap: 20px;
    width: max-content;
    padding: 8px 0 20px;
    animation: rmw-scroll var(--rmw-speed, 32s) linear infinite;
}
@keyframes rmw-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Review card */
.rmw-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    width: 280px;
    min-width: 280px;
    text-align: left;
    box-shadow: 0 2px 14px rgba(0,0,0,.07);
    flex-shrink: 0;
    transition: transform .3s ease, box-shadow .3s ease;
}
.rmw-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 28px rgba(0,0,0,.12);
}
.rmw-stars {
    color: #c9a84c;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 14px;
}
.rmw-review-text {
    font-size: 14px;
    color: #555;
    line-height: 1.7;
    font-style: italic;
    margin: 0 0 16px;
}
.rmw-author {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 3px;
    color: #999;
    text-transform: uppercase;
    margin: 0;
}

/* CTA button */
.rmw-cta { margin-top: 44px; }
.rmw-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #c9a84c;
    color: #fff !important;
    text-decoration: none !important;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 16px 34px;
    border-radius: 50px;
    transition: background .3s, transform .2s;
}
.rmw-cta-btn:hover { background: #b8943d; transform: scale(1.03); }
.rmw-cta-btn svg   { width: 18px; height: 18px; flex-shrink: 0; }

/* Responsive */
@media (max-width: 767px) {
    .rmw-title   { font-size: 28px; margin-bottom: 32px; }
    .rmw-card    { width: 240px; min-width: 240px; padding: 20px 18px; }
    .rmw-cta-btn { font-size: 10px; padding: 14px 26px; }
}
@media (max-width: 480px) {
    .rmw-title { font-size: 22px; }
}


/* ================================================================
   WIDGET 2 — SOCIAL MEDIA GRID
   ================================================================ */

.sg-section {
    background: #f5f3ef;
    padding: 72px 24px;
    text-align: center;
}

.sg-header { margin-bottom: 40px; }

.sg-eyebrow {
    font-family: Arial, sans-serif;
    font-size: 10px;
    letter-spacing: 4px;
    color: #b0a080;
    text-transform: uppercase;
    margin: 0 0 8px;
}

.sg-title {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 300;
    color: #2c2c2c;
    margin: 0 0 10px;
    line-height: 1.2;
}
.sg-title em { color: #c9a84c; font-style: italic; }

.sg-subtitle {
    font-family: Arial, sans-serif;
    font-size: 13px;
    color: #888;
    max-width: 520px;
    margin: 0 auto 18px;
}

.sg-divider {
    width: 36px;
    height: 2px;
    background: #c9a84c;
    margin: 0 auto;
    border: none;
}

/* Grid */
.sg-grid-wrap {
    max-width: 960px;
    margin: 0 auto;
    width: 100%;
}

.sg-grid {
    display: grid;
    /* columns + gap injected via inline <style> per widget instance */
}

/* Grid item */
.sg-item {
    display: block;
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    text-decoration: none !important;
    cursor: pointer;
    background: #d8d3cb;
}

.sg-inner {
    position: relative;
    width: 100%;
    /* padding-bottom (aspect ratio) injected inline */
    overflow: hidden;
}

.sg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .45s ease;
}
.sg-item:hover .sg-img { transform: scale(1.06); }

.sg-placeholder {
    position: absolute;
    inset: 0;
    background: #d5cfc5;
}

/* Overlay */
.sg-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.58);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .32s ease;
    border-radius: inherit;
}
.sg-item:hover .sg-overlay { opacity: 1; }

.sg-hover-label {
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    padding: 12px 14px;
    line-height: 1.4;
}

/* Footer buttons */
.sg-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.sg-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: Arial, sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    padding: 12px 24px;
    border-radius: 50px;
    border: 1.5px solid #bbb;
    color: #444 !important;
    background: transparent;
    transition: background .25s, border-color .25s, color .25s;
}
.sg-btn:hover {
    background: #c9a84c;
    border-color: #c9a84c;
    color: #fff !important;
}

/* Responsive */
@media (max-width: 1024px) {
    .sg-title { font-size: 30px; }
}
@media (max-width: 767px) {
    .sg-section    { padding: 50px 12px; }
    .sg-title      { font-size: 24px; }
    .sg-subtitle   { font-size: 12px; }
    .sg-hover-label{ font-size: 10px; letter-spacing: 1px; padding: 8px; }
    .sg-btn        { font-size: 10px; padding: 10px 18px; }
}
@media (max-width: 480px) {
    .sg-title  { font-size: 20px; }
    .sg-footer { gap: 8px; }
}


/* ================================================================
   WIDGET 3 — PRICING CARDS
   ================================================================ */

.pc-section {
    background: #f0ece4;
    padding: 72px 24px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.pc-header { margin-bottom: 48px; }

.pc-eyebrow {
    font-size: 10px;
    letter-spacing: 4px;
    color: #a08c6e;
    text-transform: uppercase;
    margin: 0 0 10px;
}

.pc-heading {
    font-family: Georgia, serif;
    font-size: 38px;
    font-weight: 300;
    color: #2c2c2c;
    margin: 0 0 10px;
    line-height: 1.2;
}
.pc-heading em { color: #c9a84c; font-style: italic; }

.pc-subtitle {
    font-size: 14px;
    color: #888;
    margin: 0;
    max-width: 480px;
    display: block;
    margin: 0 auto;
}

/* Cards grid */
.pc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1040px;
    margin: 0 auto;
    align-items: start;
}

/* Single card */
.pc-card {
    background: #fff;
    border-radius: 16px;
    padding: 36px 28px;
    text-align: left;
    border: 2px solid transparent;
    box-shadow: 0 2px 16px rgba(0,0,0,.07);
    position: relative;
    transition: transform .28s, box-shadow .28s;
}
.pc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,.11);
}
.pc-card.is-featured {
    border-color: #c9a84c;
    box-shadow: 0 6px 28px rgba(201,168,76,.18);
}

/* Badge */
.pc-badge {
    display: inline-block;
    background: #c9a84c;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 16px;
}

.pc-plan-name {
    font-family: Georgia, serif;
    font-size: 20px;
    font-weight: 600;
    color: #2c2c2c;
    margin: 0 0 6px;
}
.pc-plan-desc {
    font-size: 13px;
    color: #888;
    margin: 0 0 24px;
}

/* Price */
.pc-price-row {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    margin-bottom: 28px;
}
.pc-currency {
    font-size: 18px;
    color: #c9a84c;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.pc-price {
    font-family: Georgia, serif;
    font-size: 52px;
    font-weight: 700;
    color: #c9a84c;
    line-height: 1;
}
.pc-period {
    font-size: 13px;
    color: #aaa;
    margin-bottom: 8px;
}

/* Features list */
.pc-features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    border-top: 1px solid #f0ece4;
    padding-top: 20px;
}
.pc-feat {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #555;
    padding: 7px 0;
    border-bottom: 1px solid #f5f3ef;
}
.pc-feat:last-child { border-bottom: none; }
.pc-feat.feat-no    { color: #bbb; }

.pc-feat-icon {
    width: 15px;
    height: 15px;
    flex-shrink: 0;
    color: #4caf50;
}
.pc-feat-no-icon { color: #ddd; }

/* CTA button */
.pc-btn {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-decoration: none !important;
    border: 2px solid #c9a84c;
    color: #c9a84c !important;
    background: transparent;
    transition: background .25s, color .25s;
}
.pc-btn:hover {
    background: #c9a84c;
    color: #fff !important;
}
.pc-btn-featured {
    background: #c9a84c;
    color: #fff !important;
}
.pc-btn-featured:hover {
    background: #b8943d;
    border-color: #b8943d;
}

/* Responsive */
@media (max-width: 960px) {
    .pc-grid { grid-template-columns: 1fr 1fr; }
    .pc-heading { font-size: 30px; }
}
@media (max-width: 640px) {
    .pc-section { padding: 48px 16px; }
    .pc-grid    { grid-template-columns: 1fr; max-width: 420px; }
    .pc-heading { font-size: 24px; }
    .pc-price   { font-size: 42px; }
}
