/* ============================
   SNS HOMEPAGE STYLES
   SchoolNameStickers — Storefront Child Theme
   ============================ */

/* --- Homepage Base --- */

.home .site-header {
    margin-bottom: 0 !important;
}

/* --- Shared Section Styles --- */

.sns-section-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
    text-align: center;
    margin: 0 0 40px;
    line-height: 1.2;
}

/* Shared button base */
.sns-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
}

.sns-btn:hover {
    text-decoration: none !important;
}

.sns-btn-primary {
    background: #10b981;
    color: #fff;
}

.sns-btn-primary:hover {
    background: #059669;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.sns-btn-lg {
    padding: 16px 40px;
    font-size: 18px;
}

.sns-btn-sm {
    padding: 12px 20px;
    font-size: 14px;
    min-height: 44px;
    box-sizing: border-box;
}


/* ============================
   1. HERO SECTION
   Breaks out of .col-full (80em) to span full viewport width.
   ============================ */

.sns-hero {
    width: 100vw !important;
    max-width: none !important;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 60px 20px;
    background-image: url('/wp-content/uploads/sites/8/2026/02/hero-banner002.jpg');
    background-size: cover;
    background-position: center;
    box-sizing: border-box;
}

/* Semi-transparent white card overlay — centred within the full-width hero */
.sns-hero-card {
    background: rgba(255, 255, 255, 0.80);
    border-radius: 20px;
    padding: 48px 48px 40px;
    max-width: 700px;
    margin: 0 auto;
}

.sns-hero-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 44px;
    font-weight: 800;
    color: #1f2937;
    line-height: 1.15;
    margin: 0 0 20px;
}

.sns-hero-subheadline {
    font-size: 18px;
    color: #4b5563;
    line-height: 1.6;
    margin: 0 0 24px;
}

/* Bullet strip */
.sns-hero-bullets {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0;
    margin: 0 0 32px;
}

.sns-hero-bullet {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    color: #1f2937;
    font-weight: 500;
}

.sns-hero-bullet-icon {
    font-size: 18px;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Hero CTAs */
.sns-hero-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.sns-hero-secondary-link {
    font-size: 15px;
    color: #10b981;
    text-decoration: none !important;
    font-weight: 600;
    transition: color 0.2s ease;
}

.sns-hero-secondary-link:hover {
    color: #059669;
    text-decoration: underline;
}


/* ============================
   2. TRUST STRIP
   ============================ */

.sns-trust-strip {
    background-color: #d1dccc;
    padding: 16px 0 0;
    /* Full-width breakout */
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

/* SVG curved bottom divider — gentle semi-circle arch */
.sns-trust-strip-curve {
    width: 100%;
    height: 40px;
    margin-top: 20px;
    line-height: 0;
    font-size: 0;
}

.sns-trust-strip-curve svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* Tagline above the white box */
.sns-trust-tagline {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    text-align: center;
    margin: 0 0 14px;
    padding: 0;
}

/* White rounded box container for trust items */
.sns-trust-strip-box {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 0;
    max-width: 1100px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    padding: 20px 16px;
}

/* Each trust item — vertical column layout: icon above text */
.sns-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    flex: 1;
    padding: 0 10px;
    text-align: center;
}

/* Icon image */
.sns-trust-icon-img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    flex-shrink: 0;
}

.sns-trust-text {
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
}


/* ============================
   3. SHOP BY NEED
   ============================ */

.sns-shopneed {
    padding: 30px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.sns-shopneed-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* wpautop safety net — hide stray <p> and <br> injected by WordPress */
.sns-shopneed-grid > p,
.sns-shopneed-grid > br {
    display: none !important;
}

/* wpautop safety net — hide ALL stray <p> and <br> inside tiles.
   Tiles use .sns-shopneed-tile-image, -content, -desc etc. — any bare
   <p> or <br> is always wpautop damage, never intentional content. */
.sns-shopneed-tile > br,
.sns-shopneed-tile > p {
    display: none !important;
}

/* wpautop safety net — also hide inside the inner wrapper */
.sns-shopneed-inner > p:empty,
.sns-shopneed-inner > br,
.sns-products-inner > p:empty,
.sns-products-inner > br {
    display: none !important;
}

.sns-shopneed-tile {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
}

/* Remove underline from ALL children inside tile links */
a.sns-shopneed-tile *,
a.sns-shopneed-tile:hover,
a.sns-shopneed-tile:hover * {
    text-decoration: none !important;
}

.sns-shopneed-tile:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: #10b981;
}

.sns-shopneed-tile-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f4f6;
}

.sns-shopneed-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.sns-shopneed-tile:hover .sns-shopneed-tile-image img {
    transform: scale(1.05);
}

.sns-shopneed-tile-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.sns-shopneed-tile-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sns-shopneed-tile-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.sns-shopneed-tile-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 16px;
    flex: 1;
}

.sns-shopneed-tile-cta {
    font-size: 14px;
    font-weight: 600;
    color: #10b981;
    transition: color 0.2s ease;
}

.sns-shopneed-tile:hover .sns-shopneed-tile-cta {
    color: #059669;
}


/* ============================
   4. HOW IT WORKS
   ============================ */

.sns-howitworks {
    padding: 80px 20px;
    background: #f9fafb;
}

.sns-howitworks-inner {
    max-width: 900px;
    margin: 0 auto;
}

.sns-howitworks-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 48px;
    position: relative;
}

.sns-howitworks-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0 10px;
}

/* Connector line */
.sns-howitworks-step--has-connector::after {
    content: '';
    position: absolute;
    top: 30px;
    right: -10px;
    width: calc(100% - 60px);
    height: 2px;
    background: #d1d5db;
    transform: translateX(50%);
}

.sns-howitworks-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #10b981;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    position: relative;
    z-index: 2;
}

.sns-howitworks-step-title {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 8px;
}

.sns-howitworks-step-desc {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
}

.sns-howitworks-cta {
    text-align: center;
}


/* ============================
   5. TESTIMONIALS
   ============================ */

.sns-testimonials {
    padding: 80px 20px;
    background: #fff;
}

.sns-testimonials-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sns-testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.sns-testimonial-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    border: 1px solid #e5e7eb;
    transition: box-shadow 0.3s ease;
}

.sns-testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.sns-testimonial-stars {
    color: #f59e0b;
    font-size: 18px;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.sns-testimonial-quote {
    font-size: 16px;
    color: #1f2937;
    line-height: 1.6;
    margin: 0 0 24px;
    padding: 0;
    border: none;
    font-style: normal;
}

.sns-testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sns-testimonial-photo {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.sns-testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e0f2fe;
    color: #0284c7;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sns-testimonial-author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sns-testimonial-name {
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
}

.sns-testimonial-detail {
    font-size: 13px;
    color: #9ca3af;
}


/* ============================
   6. PRODUCT HIGHLIGHT
   ============================ */

.sns-products {
    padding: 80px 20px;
    background: #f9fafb;
}

.sns-products-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.sns-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* wpautop safety net — hide stray <p> and <br> injected by WordPress */
.sns-products-grid > p,
.sns-products-grid > br {
    display: none !important;
}

/* wpautop safety net — hide stray <p> and <br> inside product cards */
.sns-product-card > p,
.sns-product-card > br {
    display: none !important;
}

.sns-product-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.sns-product-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.sns-product-card-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f3f4f6;
}

.sns-product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sns-product-card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
}

.sns-product-card-body {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.sns-product-card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 12px;
}

.sns-product-card-covers {
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
    margin: 0 0 12px;
}

.sns-product-card-benefit {
    font-size: 14px;
    color: #059669;
    font-weight: 500;
    margin: 0 0 20px;
    flex: 1;
}

.sns-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.sns-product-card-price {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
}


/* ============================
   7. DIFFERENTIATION
   ============================ */

.sns-diff {
    padding: 80px 20px;
    background: #fff;
}

.sns-diff-inner {
    max-width: 800px;
    margin: 0 auto;
}

.sns-diff-table {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 40px;
}

.sns-diff-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.sns-diff-col {
    padding: 16px 24px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.sns-diff-col-others {
    background: #fef2f2;
    color: #991b1b;
}

.sns-diff-col-us {
    background: #ecfdf5;
    color: #065f46;
}

.sns-diff-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid #e5e7eb;
}

.sns-diff-cell {
    padding: 16px 24px;
    font-size: 15px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sns-diff-cell-others {
    background: #fffbfb;
}

.sns-diff-cell-us {
    background: #fafffe;
}

.sns-diff-x {
    color: #ef4444;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.sns-diff-check {
    color: #10b981;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

.sns-diff-guarantee {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #ecfdf5;
    border-left: 4px solid #10b981;
    padding: 20px 24px;
    border-radius: 0 12px 12px 0;
    margin-bottom: 32px;
}

.sns-diff-guarantee-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.sns-diff-guarantee-text {
    font-size: 16px;
    font-weight: 600;
    color: #065f46;
    margin: 0;
}

.sns-diff-cta {
    text-align: center;
}


/* ============================
   8. SEASONAL URGENCY
   ============================ */

.sns-seasonal {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    /* Full-width breakout */
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    box-sizing: border-box;
}

.sns-seasonal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.sns-seasonal-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.sns-seasonal-headline {
    font-family: 'Poppins', sans-serif;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    line-height: 1.2;
    color: inherit;
}

.sns-seasonal-subtext {
    font-size: 18px;
    margin: 0 0 28px;
    opacity: 0.9;
    color: inherit;
}

.sns-btn-seasonal,
.sns-btn-seasonal:hover {
    display: inline-block;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none !important;
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    background: #fff;
    color: #1f2937;
    font-family: 'Poppins', sans-serif;
}

.sns-btn-seasonal:hover {
    background: #f3f4f6;
    color: #1f2937;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}


/* ============================
   RESPONSIVE — Tablet (max-width: 992px)
   ============================ */

@media (max-width: 992px) {
    /* Hero */
    .sns-hero {
        padding: 40px 16px;
    }

    .sns-hero-card {
        padding: 36px 32px 32px;
    }

    .sns-hero-headline {
        font-size: 36px;
    }

    /* Shop By Need — 2 columns */
    .sns-shopneed-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Trust Strip — tighten on tablet */
    .sns-trust-tagline {
        font-size: 20px;
    }

    .sns-trust-strip-box {
        max-width: 95%;
        padding: 24px 12px;
    }

    .sns-trust-item {
        padding: 0 8px;
    }

    .sns-trust-icon-img {
        width: 80px;
        height: 80px;
    }

    .sns-trust-text {
        font-size: 13px;
    }

    /* Testimonials — 2 columns */
    .sns-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================
   RESPONSIVE — Mobile (max-width: 768px)
   ============================ */

@media (max-width: 768px) {
    /* Shared */
    .sns-section-headline {
        font-size: 28px;
        margin-bottom: 32px;
    }

    /* Hero — compact card */
    .sns-hero {
        padding: 32px 12px;
    }

    .sns-hero-card {
        padding: 28px 24px 24px;
        max-width: 100%;
    }

    .sns-hero-headline {
        font-size: 30px;
    }

    .sns-hero-subheadline {
        font-size: 16px;
    }

    .sns-hero-bullets {
        grid-template-columns: 1fr;
    }

    .sns-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    /* Trust Strip — wrap on mobile */
    .sns-trust-tagline {
        font-size: 18px;
        margin-bottom: 16px;
    }

    .sns-trust-strip-box {
        flex-wrap: wrap;
        max-width: 95%;
        padding: 20px 12px;
        gap: 20px 0;
    }

    .sns-trust-item {
        flex: 0 0 33.33%;
        padding: 0 8px;
        box-sizing: border-box;
    }

    .sns-trust-icon-img {
        width: 64px;
        height: 64px;
    }

    .sns-trust-text {
        font-size: 12px;
    }

    /* Shop By Need — 1 column */
    .sns-shopneed {
        padding: 48px 20px;
    }

    .sns-shopneed-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* How It Works — vertical stack */
    .sns-howitworks {
        padding: 48px 20px;
    }

    .sns-howitworks-steps {
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .sns-howitworks-step {
        max-width: 300px;
    }

    .sns-howitworks-step--has-connector::after {
        display: none;
    }

    /* Testimonials — 1 column */
    .sns-testimonials {
        padding: 48px 20px;
    }

    .sns-testimonials-grid {
        grid-template-columns: 1fr;
    }

    /* Products — 1 column */
    .sns-products {
        padding: 48px 20px;
    }

    .sns-products-grid {
        grid-template-columns: 1fr;
    }

    /* Differentiation — stack columns */
    .sns-diff {
        padding: 48px 20px;
    }

    .sns-diff-header,
    .sns-diff-row {
        grid-template-columns: 1fr;
    }

    .sns-diff-cell {
        padding: 12px 20px;
    }

    .sns-diff-cell-others::before {
        content: 'Others: ';
        font-weight: 700;
        color: #991b1b;
        font-size: 11px;
        text-transform: uppercase;
    }

    .sns-diff-cell-us::before {
        content: 'Us: ';
        font-weight: 700;
        color: #065f46;
        font-size: 11px;
        text-transform: uppercase;
    }

    /* Seasonal */
    .sns-seasonal {
        padding: 40px 20px;
    }

    .sns-seasonal-headline {
        font-size: 24px;
    }

    .sns-seasonal-subtext {
        font-size: 16px;
    }
}


/* ============================
   RESPONSIVE — Small Mobile (max-width: 480px)
   ============================ */

@media (max-width: 480px) {
    .sns-hero-headline {
        font-size: 28px;
    }

    .sns-hero-bullet {
        font-size: 14px;
    }

    /* Mobile-first: all CTAs full-width, thumb-friendly (48px min) */
    .sns-btn {
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sns-btn-lg {
        padding: 14px 28px;
        font-size: 16px;
        width: 100%;
        text-align: center;
    }

    .sns-btn-sm {
        min-height: 48px;
        padding: 12px 24px;
        font-size: 15px;
    }

    .sns-hero-secondary-link {
        min-height: 44px;
        display: flex;
        align-items: center;
        font-size: 15px;
    }

    /* Tiles: larger tap targets */
    .sns-shopneed-tile {
        min-height: 44px;
    }

    .sns-shopneed-tile-cta {
        font-size: 15px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Trust strip: tighter on small mobile */
    .sns-trust-tagline {
        font-size: 16px;
        margin-bottom: 12px;
    }

    .sns-trust-strip-box {
        padding: 16px 8px;
        gap: 16px 0;
        border-radius: 12px;
    }

    .sns-trust-item {
        flex: 0 0 33.33%;
        min-height: 44px;
        gap: 6px;
    }

    .sns-trust-icon-img {
        width: 48px;
        height: 48px;
    }

    .sns-trust-text {
        font-size: 11px;
    }

    .sns-testimonial-card {
        padding: 24px;
    }

    .sns-diff-guarantee {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* Product cards: full-width CTA */
    .sns-product-card-footer {
        flex-direction: column;
        gap: 12px;
    }

    .sns-product-card-footer .sns-btn-sm {
        width: 100%;
    }

    /* Seasonal: full-width CTA */
    .sns-btn-seasonal {
        width: 100%;
        min-height: 48px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
    }
}
