/* ============================================================
   ShopsDealify — style.css
   All custom classes are prefixed with "sd-" to avoid
   conflicts with Bootstrap and any future libraries.
   ============================================================ */

/* ---- CSS Custom Properties --------------------------------- */
:root {
    --sd-primary:       #c59d63;
    --sd-primary-dk:    #a8834e;
    --sd-primary-lt:    rgba(197, 157, 99, 0.12);
    --sd-black:         #000000;
    --sd-text:          #1a1a1a;
    --sd-muted:         #6c757d;
    --sd-bg-light:      #f8f5f1;
    --sd-white:         #ffffff;
    --sd-border:        #e5ddd3;
    --sd-shadow:        0 4px 20px rgba(0, 0, 0, 0.08);
    --sd-shadow-lg:     0 8px 36px rgba(0, 0, 0, 0.13);
    --sd-radius:        12px;
    --sd-radius-sm:     8px;
    --sd-transition:    0.22s ease;
    --sd-font:          'Poppins', sans-serif;
}

/* ---- Base -------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    font-family: var(--sd-font);
    color: var(--sd-text);
    background: var(--sd-white);
}

img {
    max-width: 100%;
}

/* ---- Utility ----------------------------------------------- */
.sd-gold { color: var(--sd-primary); }

/* ---- Buttons ----------------------------------------------- */
.sd-btn-primary {
    display: inline-block;
    background: var(--sd-primary);
    color: var(--sd-white);
    border: 2px solid var(--sd-primary);
    padding: 11px 28px;
    border-radius: var(--sd-radius-sm);
    font-family: var(--sd-font);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--sd-transition), border-color var(--sd-transition);
    cursor: pointer;
}

.sd-btn-primary:hover {
    background: var(--sd-primary-dk);
    border-color: var(--sd-primary-dk);
    color: var(--sd-white);
}

.sd-btn-outline {
    display: inline-block;
    background: transparent;
    color: var(--sd-primary);
    border: 2px solid var(--sd-primary);
    padding: 11px 28px;
    border-radius: var(--sd-radius-sm);
    font-family: var(--sd-font);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background var(--sd-transition), color var(--sd-transition);
    cursor: pointer;
}

.sd-btn-outline:hover {
    background: var(--sd-primary);
    color: var(--sd-white);
}


/* ============================================================
   HEADER
   ============================================================ */
.sd-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--sd-black);
    box-shadow: 0 2px 18px rgba(0, 0, 0, 0.3);
}

.sd-header .navbar {
    padding: 14px 0;
}

.sd-logo-img {
    height: 70px;
    width: auto;
    display: block;
}

.sd-logo-text-fallback {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--sd-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

/* Nav links */
.sd-nav-list {
    gap: 2px;
}

.sd-nav-list .nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.78) !important;
    padding: 8px 14px !important;
    transition: color var(--sd-transition);
    position: relative;
}

.sd-nav-list .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 14px;
    right: 14px;
    height: 2px;
    background: var(--sd-primary);
    transform: scaleX(0);
    transition: transform var(--sd-transition);
}

.sd-nav-list .nav-link:hover,
.sd-nav-list .nav-link.active {
    color: var(--sd-primary) !important;
}

.sd-nav-list .nav-link:hover::after,
.sd-nav-list .nav-link.active::after {
    transform: scaleX(1);
}

/* Toggler */
.sd-toggler {
    border: 1px solid rgba(197, 157, 99, 0.5) !important;
    padding: 6px 10px;
    color: var(--sd-primary) !important;
    background: transparent;
}

.sd-toggler:focus {
    box-shadow: none !important;
}

.sd-toggler .fa-bars {
    color: var(--sd-primary);
    font-size: 1.1rem;
}

/* CTA in nav */
.sd-nav-cta {
    margin-left: 8px;
}


/* ============================================================
   HERO
   ============================================================ */
.sd-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background:
        url('https://images.unsplash.com/photo-1607082348824-0a96f2a4b9da?w=1920&q=80')
        center center / cover no-repeat;
}

.sd-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.86) 0%,
        rgba(0, 0, 0, 0.62) 100%
    );
}

.sd-hero-inner {
    position: relative;
    z-index: 2;
    padding: 110px 0 90px;
}

.sd-hero-badge {
    display: inline-block;
    background: var(--sd-primary-lt);
    border: 1px solid var(--sd-primary);
    color: var(--sd-primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 22px;
}

.sd-hero-title {
    font-size: 3.1rem;
    font-weight: 800;
    color: var(--sd-white);
    line-height: 1.2;
    margin-bottom: 20px;
}

.sd-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 580px;
    margin: 0 auto 38px;
    line-height: 1.75;
}

/* Search bar */
.sd-search-bar {
    display: flex;
    align-items: center;
    background: var(--sd-white);
    border-radius: var(--sd-radius-sm);
    overflow: hidden;
    max-width: 580px;
    margin: 0 auto 44px;
    box-shadow: var(--sd-shadow-lg);
}

.sd-search-icon {
    padding: 0 14px 0 18px;
    color: var(--sd-muted);
    font-size: 0.95rem;
    flex-shrink: 0;
}

.sd-search-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 15px 8px;
    font-family: var(--sd-font);
    font-size: 0.93rem;
    color: var(--sd-text);
    background: transparent;
}

.sd-search-btn {
    background: var(--sd-primary);
    color: var(--sd-white);
    border: none;
    padding: 15px 26px;
    font-family: var(--sd-font);
    font-weight: 600;
    font-size: 0.93rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--sd-transition);
}

.sd-search-btn:hover {
    background: var(--sd-primary-dk);
}

/* Stats row */
.sd-hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 36px;
}

.sd-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sd-stat strong {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--sd-primary);
    line-height: 1;
}

.sd-stat span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.65);
    margin-top: 5px;
}

.sd-stat-sep {
    width: 1px;
    height: 38px;
    background: rgba(255, 255, 255, 0.2);
}


/* ============================================================
   SECTION COMMONS
   ============================================================ */
.sd-section {
    padding: 90px 0;
}

.sd-section-head {
    margin-bottom: 52px;
}

.sd-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: var(--sd-primary);
    margin-bottom: 10px;
}

.sd-section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--sd-black);
    margin-bottom: 14px;
    line-height: 1.25;
}

.sd-section-title--left {
    text-align: left;
}

.sd-section-sub {
    font-size: 0.97rem;
    color: var(--sd-muted);
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.75;
}

.sd-section-foot {
    margin-top: 46px;
}


/* ============================================================
   STORES SECTION
   ============================================================ */
.sd-stores-section {
    background: var(--sd-bg-light);
}

.sd-store-card {
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    padding: 30px 16px;
    text-align: center;
    cursor: pointer;
    transition:
        box-shadow var(--sd-transition),
        border-color var(--sd-transition);
}

.sd-store-card:hover {
    box-shadow: var(--sd-shadow);
    border-color: var(--sd-primary);
}

.sd-store-logo-wrap {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: var(--sd-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    overflow: hidden;
    padding: 8px;
    border: 1px solid var(--sd-border);
}

.sd-store-logo {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.sd-store-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--sd-black);
    margin-bottom: 5px;
}

.sd-store-count {
    font-size: 0.78rem;
    color: var(--sd-primary);
    font-weight: 500;
}


/* ============================================================
   COUPONS SECTION
   ============================================================ */
.sd-coupons-section {
    background: var(--sd-white);
}

/* The main ticket card */
.sd-coupon-card {
    display: flex;
    border-radius: var(--sd-radius);
    overflow: visible;
    box-shadow: var(--sd-shadow);
    border: 1px solid var(--sd-border);
    background: var(--sd-white);
    position: relative;
    transition: box-shadow var(--sd-transition);
}

.sd-coupon-card:hover {
    box-shadow: var(--sd-shadow-lg);
}

/* Left content area */
.sd-coupon-body {
    flex: 1;
    padding: 26px 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.sd-coup-logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin-bottom: 10px;
    display: block;
}

.sd-coup-store {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sd-black);
    margin-bottom: 5px;
}

.sd-coup-desc {
    font-size: 0.86rem;
    color: var(--sd-muted);
    line-height: 1.55;
    margin-bottom: 12px;
}

.sd-coup-expiry {
    font-size: 0.76rem;
    color: #d94f4f;
    font-weight: 600;
}

/* Perforated tear line (middle divider) */
.sd-coupon-tear {
    width: 2px;
    flex-shrink: 0;
    background: repeating-linear-gradient(
        to bottom,
        var(--sd-border) 0,
        var(--sd-border) 6px,
        transparent 6px,
        transparent 12px
    );
    position: relative;
}

/* Notch circles that simulate a ticket punch */
.sd-notch {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    left: 50%;
    transform: translateX(-50%);
}

.sd-notch--top  { top: -10px; }
.sd-notch--bottom { bottom: -10px; }

/* Right stub area */
.sd-coupon-stub {
    width: 155px;
    flex-shrink: 0;
    background: var(--sd-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 22px 14px;
    gap: 12px;
    border-radius: 0 var(--sd-radius) var(--sd-radius) 0;
}

.sd-coup-discount {
    font-size: 1.65rem;
    font-weight: 800;
    color: var(--sd-primary);
    text-align: center;
    line-height: 1.1;
}

.sd-coup-discount small {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.sd-coup-code {
    background: rgba(197, 157, 99, 0.14);
    border: 1.5px dashed var(--sd-primary);
    color: var(--sd-primary);
    font-weight: 700;
    font-size: 0.8rem;
    padding: 5px 12px;
    border-radius: 4px;
    letter-spacing: 1.2px;
    text-align: center;
}

.sd-coup-btn {
    background: var(--sd-primary);
    color: var(--sd-white);
    border: none;
    padding: 8px 0;
    border-radius: var(--sd-radius-sm);
    font-family: var(--sd-font);
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    width: 100%;
    transition: background var(--sd-transition);
}

.sd-coup-btn:hover {
    background: var(--sd-primary-dk);
}

.sd-coup-btn.sd-copied {
    background: #28a745;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */
.sd-about-section {
    background: var(--sd-bg-light);
}

.sd-about-media {
    position: relative;
    display: block;
    width: 100%;
}

.sd-about-img {
    width: 100%;
    height: 550px;
    object-fit: cover;
    border-radius: var(--sd-radius);
    display: block;
}

.sd-about-badge {
    position: absolute;
    bottom: 28px;
    right: -18px;
    background: var(--sd-primary);
    color: var(--sd-white);
    padding: 18px 22px;
    border-radius: var(--sd-radius-sm);
    text-align: center;
    box-shadow: var(--sd-shadow-lg);
}

.sd-about-badge strong {
    display: block;
    font-size: 1.9rem;
    font-weight: 800;
    line-height: 1;
}

.sd-about-badge span {
    font-size: 0.78rem;
    font-weight: 500;
    opacity: 0.9;
    display: block;
    margin-top: 3px;
}

.sd-about-para {
    font-size: 0.95rem;
    color: var(--sd-muted);
    line-height: 1.82;
    margin-bottom: 16px;
}

.sd-about-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 28px;
}

.sd-about-feat {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.sd-feat-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: var(--sd-primary-lt);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sd-primary);
    font-size: 1.05rem;
}

.sd-feat-text strong {
    display: block;
    font-size: 0.94rem;
    color: var(--sd-black);
    margin-bottom: 3px;
}

.sd-feat-text p {
    font-size: 0.84rem;
    color: var(--sd-muted);
    margin: 0;
    line-height: 1.6;
}


/* ============================================================
   BLOGS SECTION
   ============================================================ */
.sd-blogs-section {
    background: var(--sd-white);
}

.sd-blog-card {
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    overflow: hidden;
    transition: box-shadow var(--sd-transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sd-blog-card:hover {
    box-shadow: var(--sd-shadow);
}

.sd-blog-thumb {
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.sd-blog-img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.sd-blog-card:hover .sd-blog-img {
    transform: scale(1.04);
}

.sd-blog-cat {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--sd-primary);
    color: var(--sd-white);
    font-size: 0.73rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sd-blog-content {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.sd-blog-meta {
    display: flex;
    gap: 16px;
    font-size: 0.77rem;
    color: var(--sd-muted);
    margin-bottom: 12px;
}

.sd-blog-title {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--sd-black);
    margin-bottom: 10px;
    line-height: 1.45;
}

.sd-blog-excerpt {
    font-size: 0.86rem;
    color: var(--sd-muted);
    line-height: 1.68;
    margin-bottom: 18px;
    flex: 1;
}

.sd-blog-link {
    font-size: 0.86rem;
    font-weight: 600;
    color: var(--sd-primary);
    text-decoration: none;
    transition: color var(--sd-transition);
    margin-top: auto;
    display: inline-block;
}

.sd-blog-link:hover {
    color: var(--sd-primary-dk);
}


/* ============================================================
   FAQs SECTION
   ============================================================ */
.sd-faq-section {
    background: var(--sd-bg-light);
}

.sd-faq-intro {
    font-size: 0.95rem;
    color: var(--sd-muted);
    line-height: 1.78;
    margin-bottom: 28px;
}

/* Override Bootstrap accordion defaults */
.sd-accordion .accordion-item {
    border: 1px solid var(--sd-border) !important;
    border-radius: var(--sd-radius-sm) !important;
    margin-bottom: 12px;
    overflow: hidden;
    background: var(--sd-white);
}

.sd-accordion .accordion-button {
    font-family: var(--sd-font);
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--sd-black);
    background: var(--sd-white);
    padding: 18px 20px;
    box-shadow: none !important;
}

.sd-accordion .accordion-button:not(.collapsed) {
    color: var(--sd-primary);
    background: var(--sd-white);
}

/* Custom accordion arrow in gold */
.sd-accordion .accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23c59d63'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.sd-accordion .accordion-body {
    font-family: var(--sd-font);
    font-size: 0.9rem;
    color: var(--sd-muted);
    line-height: 1.78;
    background: var(--sd-white);
    padding: 4px 20px 20px;
}


/* ============================================================
   FOOTER
   ============================================================ */
.sd-footer {
    background: var(--sd-black);
    color: var(--sd-white);
}

.sd-footer-main {
    padding: 72px 0 52px;
}

.sd-footer-brand {
    display: inline-block;
    margin-bottom: 16px;
}

.sd-footer-logo {
    height: 40px;
    width: auto;
    display: block;
}

.sd-footer-logo-text {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--sd-primary);
    text-decoration: none;
    display: block;
    margin-bottom: 16px;
}

.sd-footer-desc {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.78;
    margin-bottom: 24px;
}

/* Social icons */
.sd-socials {
    display: flex;
    gap: 10px;
}

.sd-social {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.68);
    text-decoration: none;
    font-size: 0.82rem;
    transition:
        background var(--sd-transition),
        border-color var(--sd-transition),
        color var(--sd-transition);
}

.sd-social:hover {
    background: var(--sd-primary);
    border-color: var(--sd-primary);
    color: var(--sd-white);
}

/* Footer columns */
.sd-footer-heading {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--sd-white);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.sd-footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sd-footer-nav li {
    margin-bottom: 10px;
}

.sd-footer-nav a {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color var(--sd-transition);
}

.sd-footer-nav a:hover {
    color: var(--sd-primary);
}

/* Newsletter */
.sd-footer-nl-text {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 14px;
    line-height: 1.6;
}

.sd-nl-form {
    display: flex;
    overflow: hidden;
    border-radius: var(--sd-radius-sm);
    margin-bottom: 18px;
}

.sd-nl-input {
    flex: 1;
    border: none;
    outline: none;
    padding: 12px 14px;
    font-family: var(--sd-font);
    font-size: 0.87rem;
    color: var(--sd-text);
    min-width: 0;
}

.sd-nl-btn {
    background: var(--sd-primary);
    color: var(--sd-white);
    border: none;
    padding: 12px 18px;
    font-family: var(--sd-font);
    font-weight: 600;
    font-size: 0.87rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--sd-transition);
    white-space: nowrap;
}

.sd-nl-btn:hover {
    background: var(--sd-primary-dk);
}

.sd-nl-btn.sd-nl-done {
    background: #28a745;
}

.sd-footer-contact-line {
    font-size: 0.86rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0;
}

/* Footer bar (bottom strip) */
.sd-footer-bar {
    padding: 18px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.sd-footer-copy {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin: 0;
}

.sd-footer-legal {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
}

.sd-footer-legal a {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    text-decoration: none;
    transition: color var(--sd-transition);
}

.sd-footer-legal a:hover {
    color: var(--sd-primary);
}


/* ============================================================
   SWIPER OVERRIDES
   ============================================================ */
.sd-stores-swiper,
.sd-coupons-swiper {
    padding-bottom: 46px !important;
}

.sd-stores-dots .swiper-pagination-bullet,
.sd-coupons-dots .swiper-pagination-bullet {
    background: var(--sd-primary);
    opacity: 0.35;
    width: 8px;
    height: 8px;
}

.sd-stores-dots .swiper-pagination-bullet-active,
.sd-coupons-dots .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Tablet */
@media (max-width: 991.98px) {
    .sd-hero-title {
        font-size: 2.3rem;
    }

    #sdNav {
        background: rgba(0, 0, 0, 0.97);
        padding: 18px;
        margin-top: 8px;
        border-radius: var(--sd-radius-sm);
        border: 1px solid rgba(197, 157, 99, 0.2);
    }

    .sd-nav-cta {
        margin-left: 0;
        margin-top: 14px;
    }

    .sd-nav-cta .sd-btn-primary {
        display: block;
        text-align: center;
    }

    .sd-about-badge {
        right: 0;
    }

    .sd-section-title {
        font-size: 1.85rem;
    }
}

/* Mobile landscape / small tablet */
@media (max-width: 767.98px) {
    .sd-section {
        padding: 64px 0;
    }

    .sd-hero-title {
        font-size: 1.85rem;
    }

    .sd-hero-stats {
        gap: 18px;
    }

    .sd-stat strong {
        font-size: 1.4rem;
    }

    .sd-coupon-stub {
        width: 130px;
    }

    .sd-coup-discount {
        font-size: 1.4rem;
    }

    .sd-about-img {
        height: 300px;
    }

    .sd-about-badge {
        display: none;
    }

    .sd-footer-legal {
        justify-content: flex-start;
        margin-top: 10px;
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* Mobile portrait */
@media (max-width: 479.98px) {
    .sd-hero {
        min-height: 520px;
    }

    .sd-hero-inner {
        padding: 80px 0 70px;
    }

    .sd-hero-title {
        font-size: 1.6rem;
    }

    .sd-search-bar {
        border-radius: 8px;
    }

    .sd-search-btn {
        padding: 15px 16px;
        font-size: 0.85rem;
    }

    /* Stack coupon card vertically on very small screens */
    .sd-coupon-card {
        flex-direction: column;
    }

    .sd-coupon-tear {
        display: none;
    }

    .sd-coupon-stub {
        width: 100%;
        border-radius: 0 0 var(--sd-radius) var(--sd-radius);
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 10px;
        padding: 16px 20px;
    }

    .sd-coup-btn {
        width: auto;
        padding: 8px 20px;
    }
}


.breadcrumbsec {
    background: #000;
    padding: 60px 0 50px;
    text-align: center;
    color: #fff;
}








/* ============================================================
   ShopsDealify — Stores Grid Section
   All classes are scoped under the "sd-sgrid-" prefix.
   Relies on the shared CSS variables already defined in
   style.css (:root block) — no standalone variables needed.
   ============================================================ */


/* ---- Section background ------------------------------------ */
.sd-sgrid-section {
    background: var(--sd-white);
}


/* ============================================================
   FILTER TABS
   ============================================================ */
.sd-sgrid-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 44px;
}

.sd-sgrid-filter {
    padding: 8px 22px;
    border: 1.5px solid var(--sd-border);
    border-radius: 50px;
    background: transparent;
    font-family: var(--sd-font);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--sd-muted);
    cursor: pointer;
    transition:
        background   var(--sd-transition),
        border-color var(--sd-transition),
        color        var(--sd-transition);
}

.sd-sgrid-filter:hover {
    border-color: var(--sd-primary);
    color: var(--sd-primary);
}

.sd-sgrid-filter.active {
    background: var(--sd-primary);
    border-color: var(--sd-primary);
    color: var(--sd-white);
    font-weight: 600;
}


/* ============================================================
   STORE CARD
   ============================================================ */
.sd-sgrid-card {
    display: flex;
    flex-direction: column;
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    overflow: hidden;
    height: 100%;

    /* Gold left accent — the card's signature detail */
    border-left: 3px solid transparent;

    transition:
        box-shadow    var(--sd-transition),
        border-color  var(--sd-transition),
        border-left-color var(--sd-transition);
}

.sd-sgrid-card:hover {
    box-shadow: var(--sd-shadow);
    border-left-color: var(--sd-primary);
}

/* Hidden columns (used by JS filter) */
.sd-sgrid-col.sd-sgrid-hidden {
    display: none;
}


/* ---- Card top (logo + category badge) --------------------- */
.sd-sgrid-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 22px 16px;
}

.sd-sgrid-logo-wrap {
    width: 64px;
    height: 64px;
    border-radius: 12px;
    background: var(--sd-bg-light);
    border: 1px solid var(--sd-border);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    flex-shrink: 0;
}

.sd-sgrid-logo {
    width: 42px;
    height: 42px;
    object-fit: contain;
    display: block;
}

.sd-sgrid-cat {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--sd-primary);
    background: var(--sd-primary-lt);
    border: 1px solid rgba(197, 157, 99, 0.25);
    padding: 5px 12px;
    border-radius: 50px;
    white-space: nowrap;
}


/* ---- Card body (name + description) ----------------------- */
.sd-sgrid-card-body {
    padding: 0 22px 20px;
    flex: 1;
}

.sd-sgrid-name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--sd-black);
    margin-bottom: 8px;
    line-height: 1.3;
}

.sd-sgrid-desc {
    font-size: 0.85rem;
    color: var(--sd-muted);
    line-height: 1.68;
    margin: 0;
}


/* ---- Card footer (coupon count + CTA) --------------------- */
.sd-sgrid-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 22px;
    border-top: 1px solid var(--sd-border);
    background: var(--sd-bg-light);
    margin-top: auto;
}

.sd-sgrid-count {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sd-text);
    display: flex;
    align-items: center;
    gap: 6px;
}

.sd-sgrid-count .fa-tag {
    color: var(--sd-primary);
    font-size: 0.8rem;
}

.sd-sgrid-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--sd-font);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--sd-primary);
    text-decoration: none;
    transition: color var(--sd-transition), gap var(--sd-transition);
}

.sd-sgrid-btn .fa-arrow-right {
    font-size: 0.75rem;
    transition: transform var(--sd-transition);
}

.sd-sgrid-btn:hover {
    color: var(--sd-primary-dk);
}

.sd-sgrid-btn:hover .fa-arrow-right {
    transform: translateX(3px);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Stack to 2 columns on small tablets (Bootstrap handles most
   of this via col-md-6, but we tighten spacing below) */
@media (max-width: 767.98px) {
    .sd-sgrid-filters {
        gap: 8px;
        margin-bottom: 32px;
    }

    .sd-sgrid-filter {
        padding: 7px 16px;
        font-size: 0.82rem;
    }

    .sd-sgrid-card-top {
        padding: 18px 18px 14px;
    }

    .sd-sgrid-card-body {
        padding: 0 18px 16px;
    }

    .sd-sgrid-card-foot {
        padding: 12px 18px;
    }
}

/* Single column on mobile portrait */
@media (max-width: 479.98px) {
    .sd-sgrid-logo-wrap {
        width: 54px;
        height: 54px;
    }

    .sd-sgrid-logo {
        width: 34px;
        height: 34px;
    }

    .sd-sgrid-name {
        font-size: 0.97rem;
    }
}








/* ============================================================
   ShopsDealify — Coupons Grid Section
   Scope prefix : sd-cgrid-
   Relies on shared :root variables from style.css.
   No standalone variables needed — everything inherits.
   ============================================================ */


/* ---- Section background ------------------------------------ */
.sd-cgrid-section {
    background: var(--sd-bg-light);
}


/* ============================================================
   COUPON CARD SHELL
   ============================================================ */
.sd-cgrid-card {
    display: flex;
    flex-direction: column;
    background: var(--sd-white);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius);
    overflow: hidden;          /* clips the diagonal button edges cleanly */
    height: 100%;
    transition:
        box-shadow   var(--sd-transition),
        border-color var(--sd-transition);
}

.sd-cgrid-card:hover {
    box-shadow: var(--sd-shadow);
    border-color: var(--sd-primary);
}


/* ============================================================
   CARD INNER  (everything above the button)
   ============================================================ */
.sd-cgrid-card-inner {
    padding: 22px 22px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
}


/* ---- Discount badge (top-right corner) -------------------- */
.sd-cgrid-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--sd-primary);
    color: var(--sd-white);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: 0 0 0 var(--sd-radius);   /* only bottom-left corner rounded */
}


/* ---- Store identity row (logo + name + desc) -------------- */
.sd-cgrid-identity {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-top: 8px;            /* small gap so badge doesn't overlap */
}

.sd-cgrid-logo-wrap {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    background: var(--sd-bg-light);
    border: 1px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.sd-cgrid-logo {
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.sd-cgrid-meta {
    flex: 1;
    min-width: 0;
}

.sd-cgrid-store {
    font-size: 1rem;
    font-weight: 700;
    color: var(--sd-black);
    margin: 0 0 5px;
    line-height: 1.2;
}

.sd-cgrid-desc {
    font-size: 0.84rem;
    color: var(--sd-muted);
    line-height: 1.6;
    margin: 0;

    /* Clamp to 2 lines — keeps all cards the same height */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}


/* ---- Expiry row ------------------------------------------- */
.sd-cgrid-expiry {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 0.79rem;
    font-weight: 600;
    color: #c0392b;             /* red — signals urgency */
    margin-top: auto;           /* sticks to the bottom of the inner area */
}

.sd-cgrid-expiry .fa-clock {
    font-size: 0.8rem;
    flex-shrink: 0;
}


/* ============================================================
   DIAGONAL CODE BUTTON
   ─────────────────────────────────────────────────────────────
   Structure:
     <button .sd-cgrid-code-btn>           ← full width, gold bg
       <span .sd-cgrid-btn-label>          ← left: "Copy Code"
       <span .sd-cgrid-btn-peek>           ← right: "···X00"
         <span> (text wrapper) </span>
       </span>
     </button>

   The diagonal is created by a ::before pseudo-element on
   .sd-cgrid-btn-peek that is:
     • absolutely positioned
     • extended 24px to the LEFT of the peek area (left: -24px)
     • skewed with skewX(14deg), anchored at bottom-left

   This makes the left edge of the dark overlay lean diagonally —
   wider at the bottom, narrower at the top — creating a natural
   "/" ticket-tear effect. The button's overflow:hidden clips it
   cleanly at the card boundaries.
   ============================================================ */

.sd-cgrid-code-btn {
    /* Layout */
    display: flex;
    align-items: stretch;
    width: 100%;
    padding: 0;
    border: none;
    cursor: pointer;

    /* Appearance */
    background: var(--sd-primary);
    font-family: var(--sd-font);
    overflow: hidden;           /* clips the skewed ::before */

    /* No border-radius on top corners — card handles that */
    border-radius: 0 0 var(--sd-radius) var(--sd-radius);

    transition: filter var(--sd-transition);
}

.sd-cgrid-code-btn:hover {
    filter: brightness(0.91);
}

/* Copied state — turns green */
.sd-cgrid-code-btn.sd-cgrid-copied {
    filter: none;
    background: #27ae60;
}

.sd-cgrid-code-btn.sd-cgrid-copied .sd-cgrid-btn-peek::before {
    background: rgba(0, 0, 0, 0.18);
}


/* ---- Left label  "Copy Code" ------------------------------ */
.sd-cgrid-btn-label {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 16px;
    font-size: 0.87rem;
    font-weight: 600;
    color: var(--sd-white);
    /* Sits in normal flow — no positioning needed */
}

.sd-cgrid-btn-label .fa-copy {
    font-size: 0.9rem;
    opacity: 0.88;
}


/* ---- Right peek  "···X00" --------------------------------- */
.sd-cgrid-btn-peek {
    position: relative;         /* establishes positioning context for ::before */
    width: 92px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 12px;
}

/*
   THE DIAGONAL DARK OVERLAY
   ─────────────────────────
   • left: -24px  → extends 24px left of the peek area into the label zone
   • skewX(14deg) → leans the rectangle so its left edge is a "/" diagonal:
       top  of left edge: -24 + (button_height × tan14°) ≈ -24 + 11px = −13px
       btm  of left edge: -24px  (anchored via transform-origin: bottom left)
   • overflow:hidden on the parent button clips the extension cleanly.
*/
.sd-cgrid-btn-peek::before {
    content: '';
    position: absolute;
    top: 0;
    left: -24px;                /* how far the dark area bleeds into label */
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.26);
    transform: skewX(14deg);
    transform-origin: bottom left;
    /* z-index intentionally omitted — painted before child <span> in DOM order */
}

/* Text wrapper — sits above the ::before overlay */
.sd-cgrid-btn-peek > span {
    position: relative;         /* creates new stacking context above ::before */
    z-index: 1;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    color: var(--sd-white);
    font-family: var(--sd-font);
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* 2-column on tablet — cards get narrower, adjust inner padding */
@media (max-width: 991.98px) {
    .sd-cgrid-card-inner {
        padding: 20px 18px 16px;
    }
}

/* Keep 2-column down to 576px (Bootstrap col-md-6 handles this) */
@media (max-width: 767.98px) {
    .sd-cgrid-btn-label {
        font-size: 0.84rem;
    }

    .sd-cgrid-btn-peek {
        width: 82px;
    }

    .sd-cgrid-btn-peek::before {
        left: -20px;            /* slightly tighter on smaller buttons */
    }
}

/* Single column on mobile — full card width, relax padding */
@media (max-width: 575.98px) {
    .sd-cgrid-card-inner {
        padding: 18px 16px 14px;
    }

    .sd-cgrid-logo-wrap {
        width: 50px;
        height: 50px;
    }

    .sd-cgrid-logo {
        width: 32px;
        height: 32px;
    }

    .sd-cgrid-store {
        font-size: 0.96rem;
    }

    .sd-cgrid-btn-label {
        padding: 13px 14px;
    }

    .sd-cgrid-btn-peek {
        width: 78px;
        padding: 13px 10px;
    }

    .sd-cgrid-btn-peek::before {
        left: -18px;
    }
}





/* ============================================================
   ShopsDealify — Contact Section
   Scope prefix : sd-ct-
   Relies on shared :root variables from style.css.
   No standalone variables needed.
   ============================================================ */


/* ---- Section background ------------------------------------ */
.sd-ct-section {
    background: var(--sd-bg-light);
}


/* ============================================================
   SPLIT-PANEL CARD SHELL
   ============================================================ */
.sd-ct-card {
    display: flex;
    border-radius: var(--sd-radius);
    overflow: hidden;
    box-shadow: var(--sd-shadow-lg);
}


/* ============================================================
   LEFT PANEL — dark info column
   ============================================================ */
.sd-ct-info-panel {
    width: 38%;
    flex-shrink: 0;
    background: var(--sd-black);
    padding: 52px 40px;
    position: relative;
    overflow: hidden;           /* clips the decorative rings */
    display: flex;
    flex-direction: column;
}


/* ---- Decorative concentric rings (CSS-only) ---------------- */
.sd-ct-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(197, 157, 99, 0.14);
    pointer-events: none;
    flex-shrink: 0;
}

.sd-ct-ring--lg {
    width: 340px;
    height: 340px;
    bottom: -110px;
    right:  -110px;
}

.sd-ct-ring--sm {
    width: 210px;
    height: 210px;
    bottom: -50px;
    right:  -50px;
    border-color: rgba(197, 157, 99, 0.09);
}


/* ---- Info body (sits above the rings) --------------------- */
.sd-ct-info-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.sd-ct-panel-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--sd-white);
    margin: 0 0 12px;
    line-height: 1.25;
}

.sd-ct-panel-sub {
    font-size: 0.87rem;
    color: rgba(255, 255, 255, 0.58);
    line-height: 1.75;
    margin: 0 0 38px;
}


/* ---- Contact items list ------------------------------------ */
.sd-ct-items {
    list-style: none;
    padding: 0;
    margin: 0 0 auto;           /* pushes socials to the bottom */
    display: flex;
    flex-direction: column;
    gap: 26px;
}

.sd-ct-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

/* Icon box */
.sd-ct-item-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    background: rgba(197, 157, 99, 0.12);
    border: 1px solid rgba(197, 157, 99, 0.22);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sd-primary);
    font-size: 0.95rem;
}

/* Label + value stack */
.sd-ct-item-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding-top: 2px;
}

.sd-ct-item-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--sd-primary);
    line-height: 1;
}

.sd-ct-item-value {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.78);
    text-decoration: none;
    line-height: 1.58;
    transition: color var(--sd-transition);
}

a.sd-ct-item-value:hover {
    color: var(--sd-primary);
}


/* ---- Social icons ----------------------------------------- */
.sd-ct-socials {
    display: flex;
    gap: 10px;
    margin-top: 38px;
}

.sd-ct-social {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    font-size: 0.82rem;
    flex-shrink: 0;
    transition:
        background     var(--sd-transition),
        border-color   var(--sd-transition),
        color          var(--sd-transition);
}

.sd-ct-social:hover {
    background: var(--sd-primary);
    border-color: var(--sd-primary);
    color: var(--sd-white);
}


/* ============================================================
   RIGHT PANEL — form column
   ============================================================ */
.sd-ct-form-panel {
    flex: 1;
    background: var(--sd-white);
    padding: 52px 48px;
}

.sd-ct-form {
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}


/* ---- Two-column field row ---------------------------------- */
.sd-ct-field-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}


/* ---- Individual field ------------------------------------- */
.sd-ct-field {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.sd-ct-label {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--sd-text);
}


/* ---- Input wrapper (icon + input) ------------------------- */
.sd-ct-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.sd-ct-input-icon {
    position: absolute;
    left: 14px;
    color: var(--sd-muted);
    font-size: 0.85rem;
    pointer-events: none;
    transition: color var(--sd-transition);
}


/* ---- Text inputs ------------------------------------------ */
.sd-ct-input {
    width: 100%;
    border: 1.5px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    padding: 12px 16px 12px 40px;   /* left-pad for icon */
    font-family: var(--sd-font);
    font-size: 0.9rem;
    color: var(--sd-text);
    background: var(--sd-white);
    outline: none;
    transition:
        border-color var(--sd-transition),
        box-shadow   var(--sd-transition);
}

.sd-ct-input::placeholder {
    color: #bbb4ac;
    font-size: 0.87rem;
}

/* Focus state */
.sd-ct-input:focus {
    border-color: var(--sd-primary);
    box-shadow: 0 0 0 3px var(--sd-primary-lt);
}

.sd-ct-input:focus + .sd-ct-input-icon,
.sd-ct-input-wrap:focus-within .sd-ct-input-icon {
    color: var(--sd-primary);
}

/* Error state — toggled by JS */
.sd-ct-input.sd-ct-input--error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}


/* ---- Textarea --------------------------------------------- */
.sd-ct-textarea {
    width: 100%;
    border: 1.5px solid var(--sd-border);
    border-radius: var(--sd-radius-sm);
    padding: 12px 16px;
    font-family: var(--sd-font);
    font-size: 0.9rem;
    color: var(--sd-text);
    background: var(--sd-white);
    outline: none;
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
    transition:
        border-color var(--sd-transition),
        box-shadow   var(--sd-transition);
}

.sd-ct-textarea::placeholder {
    color: #bbb4ac;
    font-size: 0.87rem;
}

.sd-ct-textarea:focus {
    border-color: var(--sd-primary);
    box-shadow: 0 0 0 3px var(--sd-primary-lt);
}

.sd-ct-textarea.sd-ct-input--error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}


/* ---- Inline error messages --------------------------------- */
.sd-ct-error {
    font-size: 0.78rem;
    color: #e74c3c;
    font-weight: 500;
    display: none;              /* hidden by default */
}

.sd-ct-error.sd-ct-error--visible {
    display: block;
}


/* ---- Submit button ---------------------------------------- */
.sd-ct-submit {
    width: 100%;
    padding: 14px 28px;
    background: var(--sd-primary);
    color: var(--sd-white);
    border: 2px solid var(--sd-primary);
    border-radius: var(--sd-radius-sm);
    font-family: var(--sd-font);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition:
        background   var(--sd-transition),
        border-color var(--sd-transition);
    margin-top: 4px;
}

.sd-ct-submit:hover:not(:disabled) {
    background: var(--sd-primary-dk);
    border-color: var(--sd-primary-dk);
}

.sd-ct-submit:disabled {
    opacity: 0.75;
    cursor: not-allowed;
}

/* Two inner label spans — JS toggles which is visible */
.sd-ct-submit-label,
.sd-ct-submit-sending {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity var(--sd-transition);
}

/* Sending state: hide label, show spinner */
.sd-ct-submit-sending {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: inherit;
}

.sd-ct-submit.sd-ct-sending .sd-ct-submit-label {
    opacity: 0;
}

.sd-ct-submit.sd-ct-sending .sd-ct-submit-sending {
    display: flex;
}


/* ---- Success banner --------------------------------------- */
.sd-ct-success {
    display: none;              /* hidden by default */
    align-items: flex-start;
    gap: 12px;
    background: rgba(39, 174, 96, 0.08);
    border: 1px solid rgba(39, 174, 96, 0.28);
    border-radius: var(--sd-radius-sm);
    padding: 14px 18px;
    color: #27ae60;
}

.sd-ct-success.sd-ct-success--visible {
    display: flex;
}

.sd-ct-success .fa-check-circle {
    font-size: 1.25rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.sd-ct-success div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sd-ct-success strong {
    font-size: 0.9rem;
    font-weight: 700;
}

.sd-ct-success span {
    font-size: 0.84rem;
    color: #2ecc71;
    opacity: 0.9;
}


/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Narrow the info panel slightly on tablet */
@media (max-width: 1199.98px) {
    .sd-ct-info-panel {
        width: 40%;
        padding: 44px 34px;
    }

    .sd-ct-form-panel {
        padding: 44px 38px;
    }
}

/* Wider info panel and tighter form on small tablet */
@media (max-width: 991.98px) {
    .sd-ct-info-panel {
        width: 44%;
        padding: 38px 28px;
    }

    .sd-ct-form-panel {
        padding: 38px 28px;
    }

    .sd-ct-panel-title {
        font-size: 1.3rem;
    }
}

/* Stack panels vertically on mobile landscape */
@media (max-width: 767.98px) {
    .sd-ct-card {
        flex-direction: column;
    }

    .sd-ct-info-panel {
        width: 100%;
        padding: 40px 28px;
    }

    .sd-ct-ring--lg {
        width: 260px;
        height: 260px;
        bottom: -70px;
        right: -70px;
    }

    .sd-ct-ring--sm {
        width: 160px;
        height: 160px;
        bottom: -40px;
        right: -40px;
    }

    /* Items go 2-per-row on wider mobile */
    .sd-ct-items {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        margin-bottom: 0;
    }

    .sd-ct-socials {
        margin-top: 28px;
    }

    .sd-ct-form-panel {
        padding: 36px 28px;
    }

    /* Field row collapses to single column */
    .sd-ct-field-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Single column on mobile portrait */
@media (max-width: 575.98px) {
    .sd-ct-info-panel {
        padding: 32px 20px;
    }

    .sd-ct-form-panel {
        padding: 28px 20px;
    }

    /* Items back to single column on smallest screens */
    .sd-ct-items {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .sd-ct-panel-title {
        font-size: 1.2rem;
    }

    .sd-ct-panel-sub {
        margin-bottom: 26px;
    }

    .sd-ct-submit {
        font-size: 0.9rem;
        padding: 13px 20px;
    }
}