/* ==========================================================
   SolidSupply Theme — Main Stylesheet
   Industrial-modern design with orange + dark blue palette
   ========================================================== */

/* ---------- 1. CSS VARIABLES ---------- */
:root {
    /* Colors */
    --ss-orange:       #ff6b00;
    --ss-orange-dark:  #e55f00;
    --ss-orange-soft:  #fff4ec;
    --ss-dark:         #0a1f44;
    --ss-dark-2:       #142a55;
    --ss-dark-soft:    #f0f3f9;
    --ss-text:         #1a1f2e;
    --ss-text-soft:    #5a6478;
    --ss-line:         #e6e9ef;
    --ss-bg:           #ffffff;
    --ss-bg-alt:       #fafbfc;

    /* Typography */
    --ss-font-display: 'Archivo', system-ui, sans-serif;
    --ss-font-body:    'DM Sans', system-ui, sans-serif;

    /* Spacing */
    --ss-space-xs: 0.5rem;
    --ss-space-sm: 1rem;
    --ss-space-md: 1.5rem;
    --ss-space-lg: 2.5rem;
    --ss-space-xl: 4rem;
    --ss-space-2xl: 6rem;

    /* Other */
    --ss-radius:    8px;
    --ss-radius-lg: 16px;
    --ss-shadow-sm: 0 1px 3px rgba(10, 31, 68, 0.08);
    --ss-shadow:    0 4px 16px rgba(10, 31, 68, 0.08);
    --ss-shadow-lg: 0 12px 40px rgba(10, 31, 68, 0.12);
    --ss-transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

    /* Container */
    --ss-container: 1200px;
}


/* ---------- 2. RESET & BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--ss-font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--ss-text);
    background: var(--ss-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg { max-width: 100%; height: auto; display: block; }

a {
    color: var(--ss-orange);
    text-decoration: none;
    transition: var(--ss-transition);
}
a:hover { color: var(--ss-orange-dark); }

h1, h2, h3, h4, h5, h6 {
    font-family: var(--ss-font-display);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--ss-dark);
    margin: 0 0 0.5em;
}

p { margin: 0 0 1em; }

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

.container {
    max-width: var(--ss-container);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.screen-reader-text {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap; border: 0;
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 999;
    padding: 1rem;
    background: var(--ss-dark);
    color: white;
}
.skip-link:focus { left: 1rem; top: 1rem; }


/* ---------- 3. BUTTONS ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--ss-radius);
    font-family: var(--ss-font-display);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--ss-transition);
    white-space: nowrap;
}
.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}
.btn-primary {
    background: var(--ss-orange);
    color: #fff;
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
}
.btn-primary:hover {
    background: var(--ss-orange-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.4);
}
.btn-outline {
    background: transparent;
    color: var(--ss-dark);
    border-color: var(--ss-dark);
}
.btn-outline:hover {
    background: var(--ss-dark);
    color: #fff;
}
.btn-outline-light {
    background: transparent;
    color: #fff;
    border-color: rgba(255,255,255,0.4);
}
.btn-outline-light:hover {
    background: #fff;
    color: var(--ss-dark);
    border-color: #fff;
}
.btn-dark {
    background: var(--ss-dark);
    color: #fff;
}
.btn-dark:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}
.btn-whatsapp {
    background: #25d366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}
.btn-whatsapp:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.45);
}
.btn-cta-wa {
    background: #fff;
    color: var(--ss-dark);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}
.btn-cta-wa:hover {
    background: #25d366;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}


/* ---------- 4. HEADER ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #fff;
    box-shadow: 0 1px 0 var(--ss-line);
}

.topbar {
    background: var(--ss-dark);
    color: rgba(255,255,255,0.85);
    font-size: 0.85rem;
}
.topbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 38px;
}
.topbar-tagline {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.7);
}
.topbar-tagline svg { color: var(--ss-orange); }
.topbar-contact a {
    color: #fff;
    font-weight: 500;
}
.topbar-contact a:hover { color: var(--ss-orange); }

.header-main { padding: 1rem 0; }
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.site-branding { flex-shrink: 0; }
.site-logo-text {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--ss-font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--ss-dark);
    letter-spacing: -0.02em;
}
.site-logo-text:hover { color: var(--ss-dark); }
.logo-mark {
    display: inline-block;
    width: 10px;
    height: 24px;
    background: var(--ss-orange);
    transform: skewX(-12deg);
}
.custom-logo { max-height: 50px; width: auto; }

.primary-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}
.nav-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 2rem;
}
.nav-menu li { position: relative; }
.nav-menu a {
    font-family: var(--ss-font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--ss-dark);
    padding: 0.5rem 0;
    position: relative;
}
.nav-menu a::after {
    content: '';
    position: absolute;
    left: 0; bottom: 0;
    width: 0; height: 2px;
    background: var(--ss-orange);
    transition: var(--ss-transition);
}
.nav-menu a:hover::after,
.nav-menu .current-menu-item > a::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.cart-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px; height: 44px;
    border-radius: 50%;
    background: var(--ss-dark-soft);
    color: var(--ss-dark);
    transition: var(--ss-transition);
}
.cart-link:hover {
    background: var(--ss-dark);
    color: #fff;
}
.cart-count {
    position: absolute;
    top: -4px; right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    background: var(--ss-orange);
    color: #fff;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.menu-toggle {
    display: none;
    width: 44px; height: 44px;
    border-radius: var(--ss-radius);
    background: var(--ss-dark);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    padding: 0;
}
.menu-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: #fff;
    transition: var(--ss-transition);
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }


/* ---------- 5. HERO ---------- */
.hero {
    position: relative;
    background: var(--ss-dark);
    color: #fff;
    overflow: hidden;
    padding: 5rem 0 0;
}
.hero-bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
    background-size: 40px 40px;
    background-position: 0 0;
    mask-image: radial-gradient(ellipse at center top, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at center top, black 30%, transparent 80%);
}
.hero-shape {
    position: absolute;
    top: -10%; right: -10%;
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.18) 0%, transparent 60%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: center;
    padding-bottom: 4rem;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: rgba(255, 107, 0, 0.12);
    border: 1px solid rgba(255, 107, 0, 0.3);
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    color: #ffb27a;
    margin-bottom: 1.5rem;
}
.eyebrow-dot {
    width: 8px; height: 8px;
    background: var(--ss-orange);
    border-radius: 50%;
    animation: ss-pulse-dot 2s infinite;
}
@keyframes ss-pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}

.hero-title {
    font-size: clamp(2.5rem, 5.5vw, 4.5rem);
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 900;
    line-height: 1.05;
}
.hero-title .hl {
    color: var(--ss-orange);
    position: relative;
    display: inline-block;
}
.hero-title .hl::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 5%;
    height: 8px;
    background: var(--ss-orange);
    opacity: 0.25;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255,255,255,0.7);
    margin-bottom: 2rem;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}
.stat-num {
    font-family: var(--ss-font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}
.stat-label {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.55);
    margin-top: 0.3rem;
}
.stat-divider {
    width: 1px; height: 30px;
    background: rgba(255,255,255,0.15);
}

/* Hero visual */
.hero-visual {
    position: relative;
    height: 100%;
    min-height: 400px;
}
.hero-construction {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-construction svg {
    width: 100%; max-width: 380px;
    opacity: 0.95;
}
.hero-card {
    position: absolute;
    background: rgba(255,255,255,0.95);
    color: var(--ss-dark);
    padding: 1rem 1.25rem;
    border-radius: var(--ss-radius);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--ss-shadow-lg);
    backdrop-filter: blur(10px);
    z-index: 2;
    animation: ss-float 4s ease-in-out infinite;
}
.hero-card-1 {
    top: 15%; left: -10%;
    animation-delay: 0s;
}
.hero-card-2 {
    bottom: 15%; right: -5%;
    animation-delay: 1.5s;
}
@keyframes ss-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-10px); }
}
.hero-card-icon {
    width: 40px; height: 40px;
    background: var(--ss-orange-soft);
    color: var(--ss-orange);
    border-radius: var(--ss-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hero-card-num {
    font-family: var(--ss-font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--ss-dark);
    line-height: 1;
}
.hero-card-label {
    font-size: 0.8rem;
    color: var(--ss-text-soft);
    margin-top: 0.2rem;
}

/* Hero marquee */
.hero-marquee {
    background: var(--ss-orange);
    color: var(--ss-dark);
    padding: 0.75rem 0;
    overflow: hidden;
    border-top: 4px solid var(--ss-dark);
    border-bottom: 4px solid var(--ss-dark);
    white-space: nowrap;
}
.marquee-track {
    display: flex;
    gap: 3rem;
    font-family: var(--ss-font-display);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.05em;
    animation: ss-marquee 30s linear infinite;
}
.marquee-track span { flex-shrink: 0; }
@keyframes ss-marquee {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}


/* ---------- 5b. HERO SEARCH BAR ---------- */
.hero-search-row {
    position: relative;
    z-index: 10;
    padding: 0 0 2.5rem;
}
.hero-search-wrap {
    display: flex;
    justify-content: flex-end;
}
.ss-search-form {
    position: relative;
    width: 46%;
}
.ss-search-input {
    width: 100%;
    padding: 1rem 3.25rem 1rem 1.5rem;
    border-radius: 12px;
    border: 2px solid transparent;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    font-size: 1rem;
    font-family: var(--ss-font-body);
    color: var(--ss-dark);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.28), 0 2px 8px rgba(0, 0, 0, 0.14);
    outline: none;
    transition: border-color 0.22s ease, box-shadow 0.22s ease;
    -webkit-appearance: none;
    appearance: none;
}
.ss-search-input::placeholder { color: rgba(10, 31, 68, 0.42); }
.ss-search-input::-webkit-search-cancel-button { display: none; }
.ss-search-input:focus {
    border-color: var(--ss-orange);
    box-shadow: 0 10px 36px rgba(0, 0, 0, 0.32), 0 0 0 3px rgba(255, 107, 0, 0.22);
}
.ss-search-btn {
    position: absolute;
    right: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--ss-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
    border-radius: 8px;
    transition: background 0.18s;
}
.ss-search-btn:hover { background: rgba(255, 107, 0, 0.1); }

/* Live results dropdown */
.ss-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22), 0 4px 14px rgba(0, 0, 0, 0.1);
    z-index: 999;
    overflow: hidden;
    display: none;
    border: 1px solid rgba(10, 31, 68, 0.08);
}
.ss-search-results.is-open { display: block; }

.ss-result-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.7rem 1rem;
    text-decoration: none;
    color: var(--ss-dark);
    border-bottom: 1px solid rgba(10, 31, 68, 0.06);
    transition: background 0.14s;
}
.ss-result-item:last-child { border-bottom: none; }
.ss-result-item:hover,
.ss-result-item.is-focused { background: var(--ss-bg-alt); }

.ss-result-img {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--ss-bg-alt);
}
.ss-result-img-placeholder {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    background: var(--ss-orange-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--ss-orange);
}
.ss-result-body { flex: 1; min-width: 0; }
.ss-result-name {
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.ss-result-price {
    font-size: 0.82rem;
    color: var(--ss-orange);
    font-weight: 700;
    margin-top: 0.15rem;
}
.ss-result-viewall {
    display: block;
    padding: 0.65rem 1rem;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ss-orange);
    border-top: 1px solid rgba(10, 31, 68, 0.07);
    text-decoration: none;
    transition: background 0.14s;
}
.ss-result-viewall:hover { background: var(--ss-orange-soft); }
.ss-result-msg {
    padding: 1.1rem 1rem;
    text-align: center;
    color: var(--ss-text-soft);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 900px) {
    .ss-search-form { width: 60%; }
}
@media (max-width: 640px) {
    .hero-search-row { padding: 0 0 2rem; }
    .hero-search-wrap { justify-content: center; }
    .ss-search-form { width: 100%; }
}

/* ---------- 6. SECTIONS — SHARED ---------- */
.section {
    padding: var(--ss-space-2xl) 0;
}
.section-bg-alt { background: var(--ss-bg-alt); }

.section-head { margin-bottom: 3rem; max-width: 620px; }
.section-head-center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 1.5rem;
    max-width: 100%;
}

.section-label {
    display: inline-block;
    font-family: var(--ss-font-display);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--ss-orange);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(2rem, 4vw, 3.25rem);
    margin-bottom: 1rem;
    font-weight: 900;
}
.section-desc {
    font-size: 1.1rem;
    color: var(--ss-text-soft);
    margin: 0;
}
.section-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--ss-font-display);
    font-weight: 600;
    color: var(--ss-dark);
}
.section-link:hover {
    color: var(--ss-orange);
    transform: translateX(4px);
}


/* ---------- 7. CATEGORIES ---------- */
.section-categories { background: var(--ss-bg-alt); }
.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.cat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ss-line);
    transition: var(--ss-transition);
}
.cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-lg);
    border-color: transparent;
}
.cat-card-num {
    position: absolute;
    top: 1.25rem; left: 1.25rem;
    z-index: 2;
    font-family: var(--ss-font-display);
    font-weight: 900;
    font-size: 1rem;
    color: var(--ss-orange);
    letter-spacing: 0.05em;
}
.cat-card-img {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--ss-dark-soft);
}
.cat-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.cat-card:hover .cat-card-img img { transform: scale(1.06); }
.cat-card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(10, 31, 68, 0.2);
}
.cat-card-body {
    padding: 1.25rem 1.5rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.cat-card-name {
    flex: 1;
    margin: 0;
    font-size: 1.25rem;
    color: var(--ss-dark);
}
.cat-card-count {
    font-size: 0.85rem;
    color: var(--ss-text-soft);
}
.cat-card-arrow {
    margin-left: auto;
    font-family: var(--ss-font-display);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--ss-dark);
    transition: var(--ss-transition);
}
.cat-card:hover .cat-card-arrow {
    color: var(--ss-orange);
    transform: translateX(4px);
}


/* ---------- 8. FEATURED PRODUCTS ---------- */
.products-wrap {
    margin-top: 1rem;
}

/* WooCommerce shortcode product grid restyle */
.products-wrap .products,
.wc-page .products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.products-wrap .products::before,
.products-wrap .products::after,
.wc-page .products::before,
.wc-page .products::after { display: none !important; }
.products-wrap .product,
.wc-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    padding: 1rem !important;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: var(--ss-radius-lg);
    text-align: left !important;
    float: none !important;
    transition: var(--ss-transition);
}
.products-wrap .product:hover,
.wc-page ul.products li.product:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-lg);
    border-color: transparent;
}
.products-wrap .product img,
.wc-page ul.products li.product img {
    border-radius: var(--ss-radius);
    margin-bottom: 1rem !important;
    aspect-ratio: 1/1;
    object-fit: cover;
}
.products-wrap .product .woocommerce-loop-product__title,
.wc-page ul.products li.product .woocommerce-loop-product__title {
    font-family: var(--ss-font-display) !important;
    font-weight: 700 !important;
    font-size: 1.05rem !important;
    color: var(--ss-dark) !important;
    padding: 0 !important;
    margin: 0 0 0.5rem !important;
}
.products-wrap .product .price,
.wc-page ul.products li.product .price {
    color: var(--ss-dark) !important;
    font-weight: 700 !important;
    font-size: 1.15rem !important;
    display: block;
    margin-bottom: 1rem;
}
.products-wrap .button,
.wc-page .button,
.wc-page .add_to_cart_button {
    background: var(--ss-orange) !important;
    color: #fff !important;
    font-family: var(--ss-font-display) !important;
    font-weight: 700 !important;
    border-radius: var(--ss-radius) !important;
    padding: 0.6rem 1rem !important;
    transition: var(--ss-transition) !important;
}
.products-wrap .button:hover,
.wc-page .button:hover {
    background: var(--ss-dark) !important;
}
.products-wrap .star-rating,
.wc-page .star-rating { color: var(--ss-orange); }


/* ---------- 9. WHY CHOOSE US ---------- */
.section-why { background: var(--ss-bg-alt); }
.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.why-card {
    background: #fff;
    padding: 2.5rem 2rem;
    border-radius: var(--ss-radius-lg);
    border: 1px solid var(--ss-line);
    transition: var(--ss-transition);
    position: relative;
    overflow: hidden;
}
.why-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 4px;
    background: var(--ss-orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: var(--ss-transition);
}
.why-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-lg);
    border-color: transparent;
}
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
    width: 64px; height: 64px;
    background: var(--ss-orange-soft);
    color: var(--ss-orange);
    border-radius: var(--ss-radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.why-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.why-text {
    color: var(--ss-text-soft);
    font-size: 1rem;
    margin: 0;
}


/* ---------- 10. HOW IT WORKS ---------- */
.section-how { background: #fff; }
.how-steps {
    display: grid;
    grid-template-columns: 1fr auto 1fr auto 1fr;
    gap: 1.5rem;
    align-items: stretch;
}
.how-step {
    background: var(--ss-bg-alt);
    border-radius: var(--ss-radius-lg);
    padding: 2.5rem 2rem;
    position: relative;
    border: 2px solid transparent;
    transition: var(--ss-transition);
}
.how-step:hover {
    border-color: var(--ss-orange);
    background: #fff;
    box-shadow: var(--ss-shadow-lg);
}
.how-step-num {
    font-family: var(--ss-font-display);
    font-weight: 900;
    font-size: 3.5rem;
    line-height: 1;
    color: var(--ss-orange);
    margin-bottom: 1rem;
    letter-spacing: -0.04em;
}
.how-step-title {
    font-size: 1.4rem;
    margin-bottom: 0.75rem;
}
.how-step-text {
    color: var(--ss-text-soft);
    margin: 0;
}
.how-step-arrow {
    color: var(--ss-line);
    align-self: center;
}


/* ---------- 11. CTA SECTION ---------- */
.section-cta { padding: 4rem 0; }
.cta-box {
    position: relative;
    background: linear-gradient(135deg, var(--ss-orange) 0%, var(--ss-orange-dark) 100%);
    border-radius: var(--ss-radius-lg);
    padding: 4rem;
    color: #fff;
    overflow: hidden;
    display: grid;
    grid-template-columns: 2fr 1fr;
    align-items: center;
    gap: 2rem;
}
.cta-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(45deg, rgba(255,255,255,0.08) 25%, transparent 25%),
        linear-gradient(-45deg, rgba(255,255,255,0.08) 25%, transparent 25%);
    background-size: 30px 30px;
    pointer-events: none;
    opacity: 0.5;
}
.cta-content { position: relative; }
.cta-title {
    color: #fff;
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    margin-bottom: 0.75rem;
}
.cta-desc {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin: 0;
}
.cta-action {
    position: relative;
    display: flex;
    justify-content: flex-end;
}


/* ---------- 12. FOOTER ---------- */
.site-footer {
    background: var(--ss-dark);
    color: rgba(255,255,255,0.7);
    padding: 4rem 0 2rem;
    margin-top: 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}
.footer-tagline {
    color: rgba(255,255,255,0.6);
    margin-bottom: 1.5rem;
    max-width: 320px;
}
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}
.footer-contact a {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
}
.footer-contact a:hover { color: var(--ss-orange); }

.footer-widget-title {
    color: #fff;
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}
.footer-links {
    list-style: none;
    margin: 0; padding: 0;
}
.footer-links li { margin-bottom: 0.6rem; }
.footer-links a {
    color: rgba(255,255,255,0.65);
    font-size: 0.95rem;
}
.footer-links a:hover { color: var(--ss-orange); }
.footer-address, .footer-hours {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.65);
    margin-bottom: 1rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.footer-copy {
    margin: 0;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom-menu {
    list-style: none;
    margin: 0; padding: 0;
    display: flex;
    gap: 1.5rem;
}
.footer-bottom-menu a {
    color: rgba(255,255,255,0.5);
    font-size: 0.875rem;
}
.footer-bottom-menu a:hover { color: var(--ss-orange); }


/* ---------- 13. CONTENT PAGES ---------- */
.content-wrap {
    padding: 4rem 0;
}
.content-narrow {
    max-width: 760px;
    margin: 0 auto;
}
.page-header {
    text-align: center;
    margin-bottom: 3rem;
}
.page-title {
    font-size: clamp(2rem, 4vw, 3rem);
}
.page-content,
.single-content {
    font-size: 1.05rem;
    line-height: 1.7;
}
.page-content h2,
.single-content h2 { margin-top: 2em; font-size: 1.75rem; }
.page-content h3,
.single-content h3 { margin-top: 1.6em; font-size: 1.35rem; }


/* Single post */
.single-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    color: var(--ss-text-soft);
}
.single-cat {
    background: var(--ss-orange-soft);
    color: var(--ss-orange);
    padding: 0.2rem 0.7rem;
    border-radius: 999px;
    font-weight: 600;
}
.single-thumb {
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    margin: 2rem 0;
}

/* Posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.post-card {
    background: #fff;
    border-radius: var(--ss-radius-lg);
    overflow: hidden;
    border: 1px solid var(--ss-line);
    transition: var(--ss-transition);
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ss-shadow-lg);
}
.post-card-img img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.post-card-body { padding: 1.5rem; }
.post-card-title { font-size: 1.2rem; margin-bottom: 0.5rem; }
.post-card-title a { color: var(--ss-dark); }
.post-card-title a:hover { color: var(--ss-orange); }
.post-card-meta { font-size: 0.85rem; color: var(--ss-text-soft); margin-bottom: 0.75rem; }
.post-card-link {
    font-family: var(--ss-font-display);
    font-weight: 600;
    color: var(--ss-orange);
}


/* ---------- 14. 404 ---------- */
.error-404 {
    text-align: center;
    padding: 4rem 0;
}
.error-num {
    font-family: var(--ss-font-display);
    font-weight: 900;
    font-size: clamp(8rem, 18vw, 14rem);
    line-height: 0.9;
    color: var(--ss-orange);
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
}
.error-title { font-size: 2rem; }
.error-text {
    color: var(--ss-text-soft);
    font-size: 1.1rem;
    margin-bottom: 2rem;
}
.error-actions {
    display: inline-flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}


/* ---------- 15. SEARCH FORM ---------- */
.search-form {
    display: flex;
    align-items: stretch;
    border: 2px solid var(--ss-line);
    border-radius: var(--ss-radius);
    overflow: hidden;
    max-width: 480px;
}
.search-field {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    background: transparent;
}
.search-submit {
    padding: 0.75rem 1.25rem;
    background: var(--ss-dark);
    color: #fff;
}
.search-submit:hover { background: var(--ss-orange); }


/* ---------- 16. PAGINATION ---------- */
.pagination-wrap { margin-top: 3rem; }
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 42px; height: 42px;
    padding: 0 0.6rem;
    margin: 0 0.2rem;
    background: #fff;
    border: 1px solid var(--ss-line);
    border-radius: var(--ss-radius);
    color: var(--ss-dark);
    font-family: var(--ss-font-display);
    font-weight: 600;
    text-decoration: none;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover {
    background: var(--ss-orange);
    color: #fff;
    border-color: var(--ss-orange);
}


/* ---------- 16b. NEW COMPONENTS ---------- */

/* Second hero shape — bottom-left accent */
.hero-shape-2 {
    position: absolute;
    bottom: 10%; left: -8%;
    width: 420px; height: 420px;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.10) 0%, transparent 65%);
    pointer-events: none;
}

/* Third hero floating card */
.hero-card-3 {
    top: 55%; right: -5%;
    animation-delay: 3s;
}

/* How-it-works WhatsApp step */
.how-step--wa {
    border-color: rgba(37, 211, 102, 0.35);
    background: linear-gradient(135deg, #f0fff6 0%, #fff 100%);
}
.how-step--wa:hover {
    border-color: #25d366;
}
.how-step--wa .how-step-num { color: #25d366; }
.how-step-wa-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.55rem 1.1rem;
    background: #25d366;
    color: #fff;
    border-radius: 999px;
    font-family: var(--ss-font-display);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.how-step-wa-link:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-1px);
}

/* Floating WhatsApp button */
.floating-wa {
    position: fixed;
    bottom: 1.75rem;
    right: 1.75rem;
    z-index: 300;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.25rem 0.75rem 1rem;
    background: #25d366;
    color: #fff;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
    font-family: var(--ss-font-display);
    font-weight: 700;
    font-size: 0.9rem;
    transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.floating-wa:hover {
    background: #1da851;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.55);
}
.floating-wa svg { flex-shrink: 0; }
@media (max-width: 480px) {
    .floating-wa-label { display: none; }
    .floating-wa { padding: 0.85rem; border-radius: 50%; }
}

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero-visual { min-height: 320px; max-width: 480px; margin: 0 auto; }
    .hero-card-1 { left: 0; }
    .hero-card-2 { right: 0; bottom: 25%; }
    .hero-card-3 { display: none; }

    .categories-grid,
    .why-grid,
    .posts-grid { grid-template-columns: repeat(2, 1fr); }

    .products-wrap .products,
    .wc-page .products { grid-template-columns: repeat(3, 1fr); }

    .how-steps {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    .how-step-arrow { display: none; }

    .footer-grid { grid-template-columns: 1fr 1fr; }

    .cta-box {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
        text-align: center;
    }
    .cta-action { justify-content: center; }
}

@media (max-width: 768px) {
    .topbar-tagline { display: none; }

    .menu-toggle { display: flex; }
    .primary-nav {
        position: fixed;
        top: 0; right: -100%;
        bottom: 0;
        width: 80%;
        max-width: 320px;
        background: var(--ss-dark);
        padding: 5rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 200;
    }
    .primary-nav.is-open { right: 0; }
    .nav-menu {
        flex-direction: column;
        gap: 0;
    }
    .nav-menu li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    .nav-menu a {
        display: block;
        padding: 1rem 0;
        color: #fff;
        font-size: 1.05rem;
    }
    .nav-menu a::after { display: none; }

    body.menu-open { overflow: hidden; }
    body.menu-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.5);
        z-index: 150;
    }

    .hero { padding: 3rem 0 0; }
    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .stat-divider { display: none; }
    .hero-actions .btn { flex: 1; min-width: 140px; }

    .section { padding: 4rem 0; }

    .categories-grid,
    .why-grid,
    .posts-grid { grid-template-columns: 1fr; }

    .products-wrap .products,
    .wc-page .products { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 1rem; }
    .hero-card-num { font-size: 0.95rem; }
    .hero-card { padding: 0.75rem 1rem; }
    .cta-box { padding: 2rem 1.5rem; }

    .products-wrap .products,
    .wc-page .products { grid-template-columns: 1fr; }
}


/* Reveal-on-scroll */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Sticky header scroll state */
.site-header.is-scrolled {
    box-shadow: 0 2px 20px rgba(10, 31, 68, 0.08);
}
.site-header.is-scrolled .topbar {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
}


/* ---------- 18. ANIMATIONS ---------- */
@media (prefers-reduced-motion: reduce) {
    *,*::before,*::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}


/* ---------- 19. WOOCOMMERCE COMPATIBILITY ---------- */
.wc-page .container { padding-top: 2rem; padding-bottom: 4rem; }
.woocommerce-breadcrumb {
    font-size: 0.875rem;
    color: var(--ss-text-soft);
    margin-bottom: 2rem;
}
.woocommerce-breadcrumb a { color: var(--ss-orange); }
.woocommerce-result-count {
    color: var(--ss-text-soft);
    font-size: 0.95rem;
}
.woocommerce-ordering select {
    padding: 0.5rem 1rem;
    border: 1px solid var(--ss-line);
    border-radius: var(--ss-radius);
    font-family: inherit;
}
.woocommerce-message,
.woocommerce-info {
    background: var(--ss-orange-soft);
    color: var(--ss-dark);
    border-left: 4px solid var(--ss-orange);
    padding: 1rem 1.5rem;
    border-radius: 0 var(--ss-radius) var(--ss-radius) 0;
    margin-bottom: 1.5rem;
}
.woocommerce-message a.button,
.woocommerce-info a.button { background: var(--ss-dark) !important; color: #fff !important; }

/* Single product */
.single-product .product {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}
.single-product .product .summary { padding: 0; }
.single-product .product_title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}
.single-product .price {
    font-size: 1.5rem;
    color: var(--ss-dark);
    font-weight: 700;
    margin-bottom: 1rem;
}
.single-product .quantity input {
    padding: 0.5rem;
    border: 1px solid var(--ss-line);
    border-radius: var(--ss-radius);
    width: 80px;
}
@media (max-width: 768px) {
    .single-product .product { grid-template-columns: 1fr; gap: 2rem; }
}
