* { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --green: #159447;
    --green-dark: #0f7a38;
    --green-soft: #ecfdf3;
    --blue: #075985;
    --blue-dark: #054a6f;
    --blue-soft: #e0f2fe;
    --primary: #159447;
    --primary-dark: #0f7a38;
    --primary-light: #ecfdf3;
    --dark: #17202a;
    --text: #475569;
    --border: #e2e8f0;
    --danger: #ef4444;
    --shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    --radius: 16px;
    --brand-gradient: linear-gradient(135deg, #159447 0%, #075985 100%);
    --brand-gradient-h: linear-gradient(90deg, #159447 0%, #075985 100%);
}

html { scroll-behavior: smooth; }
body { font-family: Arial, Helvetica, sans-serif; background: #fff; color: var(--dark); line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
button, input { font-family: inherit; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, 92%); margin: auto; }

.top-bar { background: var(--brand-gradient-h); color: #fff; font-size: 13px; padding: 8px 0; }
.top-bar-inner { display: flex; justify-content: space-between; align-items: center; gap: 15px; }
.top-left, .top-right { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }

header {
    background: #fff;
    border-bottom: 3px solid transparent;
    border-image: var(--brand-gradient-h) 1;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 18px rgba(7, 89, 133, 0.06);
}
.header-main { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.logo { display: flex; align-items: center; gap: 10px; min-width: 120px; }
.logo img { height: 52px; width: auto; object-fit: contain; }
nav { display: flex; align-items: center; gap: 25px; }
nav a { font-size: 14px; font-weight: 600; color: #334155; transition: .3s; position: relative; }
nav a:hover, nav a.active { color: var(--green); }
nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -9px;
    width: 100%;
    height: 2px;
    background: var(--brand-gradient-h);
}
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
    border: 1px solid var(--border);
    background: #fff;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    transition: .3s;
}
.icon-btn:hover { border-color: var(--green); color: var(--green); }
.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--blue);
    color: #fff;
    width: 19px;
    height: 19px;
    border-radius: 50%;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}
.member-btn {
    background: var(--brand-gradient);
    color: #fff;
    padding: 11px 17px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    transition: .3s;
}
.member-btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.login-btn { padding: 10px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 13px; font-weight: 700; }
.login-btn:hover { border-color: var(--blue); color: var(--blue); }
.mobile-menu-btn { display: none; border: none; background: transparent; font-size: 25px; cursor: pointer; }
nav .nav-auth-link { display: none; }

.hero {
    background:
        radial-gradient(circle at 85% 20%, rgba(21, 148, 71, .12), transparent 32%),
        radial-gradient(circle at 15% 80%, rgba(7, 89, 133, .10), transparent 32%),
        linear-gradient(180deg, #f7fdf9 0%, #f0f9ff 100%);
    padding: 70px 0;
    overflow: hidden;
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 55px; }
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #bbf7d0;
    color: var(--green);
    padding: 8px 13px;
    border-radius: 30px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}
.hero h1 { font-size: clamp(38px, 5vw, 64px); line-height: 1.05; letter-spacing: -2px; margin-bottom: 20px; }
.hero h1 .green { color: var(--green); }
.hero h1 .blue { color: var(--blue); }
.hero p { color: var(--text); font-size: 17px; max-width: 570px; margin-bottom: 28px; }
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

.btn {
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 22px;
    border-radius: 11px;
    font-weight: 700;
    font-size: 14px;
    transition: .3s;
}
.btn-primary {
    background: var(--brand-gradient);
    color: #fff;
    box-shadow: 0 10px 24px rgba(21, 148, 71, 0.22);
}
.btn-primary:hover { filter: brightness(1.05); transform: translateY(-2px); }
.btn-outline { border: 1px solid #b6cbd0; background: #fff; color: var(--dark); }
.btn-outline:hover { border-color: var(--green); color: var(--green); }

.hero-visual { position: relative; min-height: 430px; }

.hero-slider {
    width: min(100%, 420px);
    height: 390px;
    margin-left: auto;
    position: relative;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(7, 89, 133, 0.16);
    border: 1px solid #e2e8f0;
    background: #fff;
}
.hero-slides {
    position: relative;
    width: 100%;
    height: 100%;
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease, visibility .6s ease;
}
.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 1;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    background: #f1f5f9;
}
.hero-slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 38px;
    height: 38px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92);
    color: var(--blue);
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.12);
    transition: .25s;
}
.hero-slider-btn:hover {
    background: #fff;
    color: var(--green);
    transform: translateY(-50%) scale(1.05);
}
.hero-slider-btn.prev { left: 12px; }
.hero-slider-btn.next { right: 12px; }
.hero-slider-dots {
    position: absolute;
    left: 50%;
    bottom: 14px;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    padding: 0;
    transition: .25s;
}
.hero-dot.active {
    width: 28px;
    border-radius: 999px;
    background: var(--brand-gradient);
}
.floating-card {
    position: absolute;
    background: #fff;
    box-shadow: var(--shadow);
    border-radius: 14px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2;
}
.floating-card.one { left: 0; bottom: 75px; }
.floating-card.two { right: 0; bottom: 20px; }
.floating-icon {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: var(--green-soft);
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.floating-text strong { display: block; font-size: 13px; }
.floating-text small { color: #64748b; font-size: 11px; }

.trust-strip { border-bottom: 1px solid var(--border); border-top: 1px solid var(--border); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 20px; display: flex; align-items: center; justify-content: center; gap: 12px; border-right: 1px solid var(--border); }
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 22px; }
.trust-item strong { font-size: 13px; display: block; }
.trust-item span { font-size: 11px; color: #64748b; }

section { padding: 80px 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 35px; }
.section-title {
    font-size: 32px;
    letter-spacing: -.7px;
    margin-bottom: 6px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.section-subtitle { color: #64748b; max-width: 620px; font-size: 14px; }
.view-all { color: var(--blue); font-weight: 700; font-size: 14px; white-space: nowrap; }
.view-all:hover { text-decoration: underline; }

.categories { background: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; }
.category-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px 15px;
    text-align: center;
    background: #fff;
    transition: .3s;
    cursor: pointer;
    color: inherit;
    text-decoration: none;
    display: block;
}
.category-card:hover { transform: translateY(-5px); border-color: #86efac; box-shadow: var(--shadow); }
.category-icon {
    width: 70px;
    height: 70px;
    margin: auto auto 15px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    background: linear-gradient(135deg, var(--green-soft), var(--blue-soft));
}
.category-card h3 { font-size: 14px; margin-bottom: 5px; }
.category-card p { color: #64748b; font-size: 11px; }

.products { background: #f8fafc; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: .3s;
    position: relative;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(21, 148, 71, 0.25); }
.product-image {
    height: 230px;
    background: linear-gradient(135deg, var(--green-soft), #f8fafc);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-badge {
    position: absolute;
    left: 12px;
    top: 12px;
    background: var(--brand-gradient);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 5px 9px;
    border-radius: 6px;
}
.wishlist {
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    border: none;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 3px 12px rgba(0,0,0,.08);
    cursor: pointer;
    font-size: 16px;
}
.wishlist.active { color: var(--danger); }
.product-info { padding: 17px; }
.product-category {
    color: var(--green);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .6px;
    margin-bottom: 5px;
}
.product-info h3 { font-size: 15px; margin-bottom: 7px; }
.rating { font-size: 12px; color: #f59e0b; margin-bottom: 10px; }
.rating-link { color: inherit; }
.rating-link:hover span { text-decoration: underline; }
.rating span { color: #94a3b8; margin-left: 4px; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.price { font-size: 19px; font-weight: 800; color: var(--blue); }
.add-cart {
    width: 39px;
    height: 39px;
    border: none;
    background: var(--brand-gradient);
    color: #fff;
    border-radius: 10px;
    cursor: pointer;
    font-size: 17px;
    transition: .3s;
}
.add-cart:hover { filter: brightness(1.06); }

.promo { padding: 25px 0 80px; background: #f8fafc; }
.promo-box {
    border-radius: 24px;
    background: var(--brand-gradient);
    color: #fff;
    padding: 45px 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    overflow: hidden;
    position: relative;
}
.promo-box::after {
    content: "";
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 60px solid rgba(255,255,255,.06);
    position: absolute;
    right: -80px;
    top: -130px;
}
.promo-content { position: relative; z-index: 1; }
.promo-content small { font-weight: 700; text-transform: uppercase; letter-spacing: 1px; opacity: .8; }
.promo-content h2 { font-size: 32px; margin: 7px 0; }
.promo-content p { opacity: .85; max-width: 600px; font-size: 14px; }
.promo .btn { background: #fff; color: var(--blue); position: relative; z-index: 2; white-space: nowrap; font-weight: 800; }

.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.why-card { padding: 28px 22px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.why-icon {
    width: 50px;
    height: 50px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--green-soft), var(--blue-soft));
    color: var(--green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    margin-bottom: 17px;
}
.why-card h3 { font-size: 16px; margin-bottom: 7px; }
.why-card p { color: #64748b; font-size: 13px; }

.how { background: #f8fafc; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step { text-align: center; }
.step-number {
    width: 52px;
    height: 52px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 800;
}
.step h3 { font-size: 15px; margin-bottom: 6px; }
.step p { color: #64748b; font-size: 12px; max-width: 210px; margin: auto; }

.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.about-visual {
    min-height: 380px;
    background: linear-gradient(135deg, var(--green-soft), var(--blue-soft));
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    border: 1px solid var(--border);
}
.about-visual img {
    max-width: 280px;
    width: 100%;
    height: auto;
    object-fit: contain;
    background: #fff;
    border-radius: 16px;
    padding: 16px;
    box-shadow: var(--shadow);
}
.about-content .eyebrow { color: var(--green); font-size: 12px; text-transform: uppercase; letter-spacing: 1.2px; font-weight: 800; }
.about-content h2 { font-size: 38px; line-height: 1.15; margin: 10px 0 17px; }
.about-content p { color: #64748b; font-size: 14px; margin-bottom: 18px; }
.about-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 22px 0; }
.about-point { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 600; }
.check { color: var(--green); font-weight: 900; }

.newsletter { background: linear-gradient(180deg, var(--green-soft) 0%, var(--blue-soft) 100%); }
.newsletter-box { text-align: center; max-width: 720px; margin: auto; }
.newsletter-box h2 { font-size: 32px; margin-bottom: 8px; }
.newsletter-box p { color: #64748b; font-size: 14px; margin-bottom: 22px; }
.newsletter-form {
    max-width: 560px;
    margin: auto;
    background: #fff;
    padding: 6px;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    gap: 5px;
}
.newsletter-form input { flex: 1; border: none; outline: none; padding: 12px; min-width: 0; }

.site-footer {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 10% 0%, rgba(21, 148, 71, 0.18), transparent 28%),
        radial-gradient(circle at 90% 100%, rgba(7, 89, 133, 0.22), transparent 32%),
        linear-gradient(180deg, #0f172a 0%, #111827 45%, #0b1220 100%);
    color: #fff;
    padding: 0 0 0;
    margin-top: 20px;
}
.footer-top-accent {
    height: 4px;
    background: var(--brand-gradient-h);
}
.footer-glow {
    position: absolute;
    width: 280px;
    height: 280px;
    border-radius: 50%;
    filter: blur(70px);
    opacity: .35;
    pointer-events: none;
}
.footer-glow-left { left: -80px; top: 80px; background: rgba(21, 148, 71, 0.45); }
.footer-glow-right { right: -60px; bottom: 40px; background: rgba(7, 89, 133, 0.5); }
.site-footer .container.footer-inner,
.site-footer .footer-inner {
    position: relative;
    z-index: 1;
    width: min(1180px, 92%);
    max-width: 1180px;
    margin: 0 auto;
    padding: 42px 20px 0;
    display: block;
}

.footer-trust {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    width: 100%;
    margin-bottom: 38px;
}
.footer-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 18px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(8px);
    transition: .3s;
}
.footer-trust-item:hover {
    transform: translateY(-3px);
    border-color: rgba(21, 148, 71, 0.35);
    background: rgba(255, 255, 255, 0.06);
}
.footer-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: linear-gradient(135deg, rgba(21, 148, 71, 0.2), rgba(7, 89, 133, 0.25));
    flex-shrink: 0;
}
.footer-trust-item strong {
    display: block;
    font-size: 13px;
    margin-bottom: 2px;
}
.footer-trust-item small {
    color: #94a3b8;
    font-size: 11px;
}

.footer-main {
    display: grid;
    grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
    gap: 36px 40px;
    align-items: start;
    width: 100%;
    padding-bottom: 42px;
}
.footer-nav-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 28px;
    align-items: start;
    width: 100%;
    min-width: 0;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
}
.footer-logo-wrap {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 14px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}
.footer-logo-wrap img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.footer-tagline {
    color: #e2e8f0;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;
    margin-bottom: 10px;
}
.footer-about {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 16px;
    max-width: 280px;
}
.footer-contact-list {
    display: grid;
    gap: 8px;
}
.footer-contact-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 9px 12px;
    border-radius: 10px;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
    font-size: 11px;
    transition: .25s;
    word-break: break-word;
}
.footer-contact-chip:hover {
    color: #fff;
    border-color: rgba(21, 148, 71, 0.45);
}
.footer-contact-chip span { font-size: 13px; flex-shrink: 0; }

.footer-col h3 {
    font-size: 12px;
    margin-bottom: 16px;
    color: #fff;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
    line-height: 1.35;
    min-height: 34px;
    position: relative;
    padding-bottom: 10px;
}
.footer-col h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 34px;
    height: 2px;
    border-radius: 2px;
    background: var(--brand-gradient-h);
}
.footer-col:nth-child(1) h3::after { background: #159447; }
.footer-col:nth-child(2) h3::after { background: #075985; }
.footer-col:nth-child(3) h3::after { background: #0ea5e9; }
.footer-col:nth-child(4) h3::after { background: #14b8a6; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    display: inline-flex;
    align-items: flex-start;
    gap: 9px;
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.45;
    transition: .25s;
}
.footer-links a::before {
    content: "";
    width: 5px;
    height: 5px;
    margin-top: 7px;
    border-radius: 50%;
    background: var(--brand-gradient);
    flex-shrink: 0;
    opacity: .8;
    transition: .25s;
}
.footer-col:nth-child(1) .footer-links a::before { background: #159447; }
.footer-col:nth-child(2) .footer-links a::before { background: #075985; }
.footer-col:nth-child(3) .footer-links a::before { background: #0ea5e9; }
.footer-col:nth-child(4) .footer-links a::before { background: #14b8a6; }
.footer-links a:hover {
    color: #fff;
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    width: 100%;
}
.footer-copy {
    color: #94a3b8;
    font-size: 12px;
}
.footer-bottom-tag {
    font-size: 12px;
    font-weight: 700;
    color: #cbd5e1;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: none; align-items: flex-start; justify-content: center; padding-top: 90px; z-index: 2000; }
.modal-overlay.show { display: flex; }
.search-modal { background: #fff; width: min(650px, 92%); border-radius: 18px; padding: 22px; box-shadow: 0 25px 70px rgba(0,0,0,.2); }
.search-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 15px; }
.search-header h3 { font-size: 18px; }
.close-btn { border: none; background: #f1f5f9; width: 35px; height: 35px; border-radius: 8px; cursor: pointer; font-size: 18px; }
.search-input { width: 100%; border: 1px solid var(--border); border-radius: 10px; padding: 14px; outline: none; font-size: 14px; }
.search-input:focus { border-color: var(--green); }

.toast {
    position: fixed;
    right: 25px;
    bottom: 25px;
    background: #17202a;
    color: #fff;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    transform: translateY(100px);
    opacity: 0;
    pointer-events: none;
    transition: .35s;
    z-index: 3000;
}
.toast.show { transform: translateY(0); opacity: 1; }

.cart-overlay { position: fixed; inset: 0; background: rgba(15,23,42,.55); display: none; justify-content: flex-end; z-index: 2500; }
.cart-overlay.show { display: flex; }
.cart-drawer { width: min(420px, 100%); height: 100%; background: #fff; display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.15); animation: cartSlide .28s ease; }
@keyframes cartSlide { from { transform: translateX(100%); } to { transform: translateX(0); } }
.cart-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--border); }
.cart-header h3 { font-size: 18px; }
.cart-header span { color: #64748b; font-weight: 600; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 22px; }
.cart-empty { text-align: center; padding: 50px 20px; color: #64748b; }
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; }
.cart-empty p { font-size: 16px; font-weight: 700; color: #334155; margin-bottom: 6px; }
.cart-item { display: grid; grid-template-columns: 72px 1fr auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.cart-item img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); background: #f8fafc; }
.cart-item h4 { font-size: 14px; margin-bottom: 4px; }
.cart-item .cart-price { color: var(--blue); font-weight: 800; font-size: 14px; }
.cart-qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-qty button { width: 28px; height: 28px; border: 1px solid var(--border); background: #fff; border-radius: 8px; cursor: pointer; font-weight: 700; }
.cart-qty span { min-width: 20px; text-align: center; font-size: 13px; font-weight: 700; }
.cart-remove { border: none; background: #fee2e2; color: #b91c1c; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 16px; }
.cart-footer { padding: 18px 22px 24px; border-top: 1px solid var(--border); background: #f8fafc; }
.cart-total-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; font-size: 16px; }
.cart-total-row strong { font-size: 22px; color: var(--green); }
.cart-note { font-size: 12px; color: #64748b; margin-bottom: 14px; line-height: 1.5; }
.cart-checkout-btn, .cart-clear-btn { width: 100%; margin-top: 8px; }

@media (max-width: 1050px) {
    nav { gap: 15px; }
    .category-grid { grid-template-columns: repeat(3, 1fr); }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .footer-trust { grid-template-columns: 1fr 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 28px; }
    .footer-nav-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
    .top-left { display: none; }
    .header-main { min-height: 65px; position: relative; }
    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
        padding: 12px 20px 18px;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        z-index: 1001;
    }
    nav.show { display: flex; }
    nav a {
        display: block;
        padding: 12px 0;
        border-bottom: 1px solid #f1f5f9;
    }
    nav a.active::after { display: none; }
    nav .nav-auth-link {
        display: block;
        text-align: center;
        border-radius: 10px;
        margin-top: 10px;
        border: none;
    }
    nav .nav-auth-register {
        background: var(--brand-gradient);
        color: #fff !important;
        padding: 12px 16px;
    }
    nav .nav-auth-login {
        border: 1px solid var(--border);
        padding: 11px 16px;
        margin-top: 8px;
    }
    .mobile-menu-btn { display: block; }
    .login-btn, .member-btn { display: none; }
    .hero-grid, .about-grid { grid-template-columns: 1fr; }
    .hero { padding: 55px 0; }
    .hero-visual { min-height: 370px; }
    .hero-slider { margin: 0 auto; width: min(100%, 360px); height: 340px; }
    .floating-card.one { left: 5%; }
    .floating-card.two { right: 5%; }
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(2) { border-right: none; }
    .why-grid, .steps { grid-template-columns: repeat(2, 1fr); }
    .about-visual { min-height: 300px; }
}

@media (max-width: 600px) {
    .top-bar { display: none; }
    .logo { min-width: auto; }
    .header-actions { margin-left: auto; }
    section { padding: 60px 0; }
    .hero h1 { font-size: 42px; }
    .hero p { font-size: 15px; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; }
    .hero-visual { min-height: 330px; }
    .hero-slider { width: min(100%, 300px); height: 300px; }
    .floating-card { padding: 10px; }
    .floating-card.one { left: 0; bottom: 30px; }
    .floating-card.two { right: 0; bottom: -5px; }
    .section-head { align-items: flex-start; flex-direction: column; }
    .section-title { font-size: 28px; }
    .category-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
    .category-card { padding: 20px 10px; }
    .category-icon { width: 58px; height: 58px; font-size: 25px; }
    .product-image { height: 170px; }
    .product-info { padding: 12px; }
    .product-info h3 { font-size: 13px; }
    .price { font-size: 16px; }
    .promo-box { padding: 32px 25px; flex-direction: column; align-items: flex-start; }
    .promo-content h2 { font-size: 27px; }
    .why-grid, .steps, .about-points { grid-template-columns: 1fr; }
    .about-content h2 { font-size: 31px; }
    .newsletter-form { flex-direction: column; background: transparent; border: none; }
    .newsletter-form input { background: #fff; border: 1px solid var(--border); border-radius: 10px; }
    .newsletter-form button { width: 100%; }
    .footer-trust { grid-template-columns: 1fr; }
    .footer-nav-grid { grid-template-columns: 1fr 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; justify-content: center; }
    .trust-item { padding: 15px 8px; }
    .site-footer .container.footer-inner,
    .site-footer .footer-inner {
        width: min(1180px, 94%);
        padding: 32px 16px 0;
    }
    .policy-hero { padding: 48px 16px; }
    .policy-hero h1 { font-size: 32px; }
    .policy-section { padding: 48px 16px; }
    .policy-card { padding: 22px 16px; }
    .policy-block h2 { font-size: 18px; }
    .contact-hero { padding: 48px 16px; }
    .contact-hero h1 { font-size: 34px; }
}

@media (max-width: 390px) {
    .category-grid, .product-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 37px; }
    .footer-nav-grid { grid-template-columns: 1fr; }
    .product-filters { gap: 8px; }
    .filter-chip { padding: 8px 12px; font-size: 12px; }
}

.page-hero {
    background: linear-gradient(135deg, #f0fdf4 0%, #eff6ff 100%);
    padding: 70px 0 60px;
    text-align: center;
}
.page-hero .eyebrow {
    color: var(--green);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
    margin-bottom: 10px;
    display: block;
}
.page-hero h1 {
    font-size: 40px;
    margin-bottom: 12px;
    background: var(--brand-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.page-hero p { max-width: 640px; margin: 0 auto; color: #64748b; }

.products-page { background: #f8fafc; padding-top: 50px; }
.product-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
}
.filter-chip {
    padding: 10px 16px;
    border: 1px solid var(--border);
    border-radius: 999px;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    transition: .25s;
}
.filter-chip:hover,
.filter-chip.active {
    background: var(--brand-gradient);
    color: #fff;
    border-color: transparent;
}
.products-page-head { margin-bottom: 22px; }
.products-empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    padding: 40px 20px;
    background: #fff;
    border: 1px dashed var(--border);
    border-radius: var(--radius);
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
}
.product-title-link {
    color: inherit;
    transition: color .25s;
}
.product-title-link:hover { color: var(--green); }
.product-info h3 { margin-bottom: 7px; }
.view-product-link {
    display: inline-block;
    margin-top: 10px;
    font-size: 12px;
    font-weight: 700;
    color: var(--blue);
}
.view-product-link:hover { text-decoration: underline; }

.product-detail-page section { padding: 0; }
.product-breadcrumb {
    padding: 18px 0;
    background: #fff;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
    color: #64748b;
}
.product-breadcrumb a:hover { color: var(--green); }
.product-breadcrumb span { margin: 0 8px; color: #cbd5e1; }

.product-detail { padding: 50px 0; background: #fff; }
.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.product-detail-gallery {
    position: relative;
    border: 1px solid var(--border);
    border-radius: 20px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--green-soft), #f8fafc);
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-detail-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 420px;
}
.product-detail-info h1 {
    font-size: 34px;
    line-height: 1.2;
    margin-bottom: 12px;
}
.product-detail-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}
.product-detail-rating .stars,
.reviews-summary .stars,
.review-card .stars {
    color: #f59e0b;
    letter-spacing: 1px;
}
.rating-count,
.reviews-summary small {
    color: #64748b;
    font-size: 13px;
}
.product-detail-price {
    font-size: 32px;
    font-weight: 800;
    color: var(--blue);
    margin-bottom: 18px;
}
.product-detail-description {
    color: #475569;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 20px;
}
.product-highlights {
    list-style: none;
    margin-bottom: 28px;
}
.product-highlights li {
    position: relative;
    padding-left: 22px;
    margin-bottom: 10px;
    color: #334155;
    font-size: 14px;
}
.product-highlights li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--green);
    font-weight: 700;
}
.product-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.add-cart-large {
    min-width: 180px;
    border: none;
    cursor: pointer;
}

.product-reviews {
    padding: 60px 0 80px;
    background: #f8fafc;
    border-top: 1px solid var(--border);
}
.reviews-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 20px;
    margin-bottom: 28px;
}
.reviews-head h2 {
    font-size: 28px;
    margin-bottom: 6px;
}
.reviews-head p { color: #64748b; font-size: 14px; }
.reviews-summary {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 16px 20px;
}
.reviews-score {
    font-size: 34px;
    font-weight: 800;
    color: var(--blue);
    line-height: 1;
}
.review-list {
    display: grid;
    gap: 16px;
}
.review-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 20px 22px;
}
.review-card-head {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 16px;
    margin-bottom: 10px;
}
.review-date {
    display: block;
    color: #94a3b8;
    font-size: 12px;
    margin-top: 4px;
}
.review-card p {
    color: #475569;
    line-height: 1.7;
    font-size: 14px;
}
.reviews-empty {
    text-align: center;
    color: #64748b;
    padding: 30px 20px;
    background: #fff;
    border-radius: 16px;
    border: 1px dashed var(--border);
}

@media (max-width: 900px) {
    .product-detail-grid { grid-template-columns: 1fr; gap: 28px; }
    .product-detail-gallery,
    .product-detail-gallery img { min-height: 300px; }
    .reviews-head { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
    .page-hero h1 { font-size: 30px; }
    .product-detail-info h1 { font-size: 28px; }
}

.checkout-page section { padding: 0; }
.checkout-hero { padding-bottom: 50px; }
.checkout-section { padding: 0 0 80px; background: #f8fafc; }
.checkout-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 24px;
    align-items: start;
}
.checkout-card {
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 24px;
    margin-bottom: 18px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}
.checkout-card h2 {
    font-size: 20px;
    margin-bottom: 18px;
}
.checkout-form .form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.checkout-form .form-group { display: flex; flex-direction: column; gap: 6px; }
.checkout-form .form-group.full { grid-column: 1 / -1; }
.checkout-form label { font-size: 13px; font-weight: 700; color: #334155; }
.checkout-form input,
.checkout-form textarea,
.checkout-form select {
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 14px;
    background: #fff;
}
.checkout-form input:focus,
.checkout-form textarea:focus {
    outline: none;
    border-color: var(--green);
    box-shadow: 0 0 0 3px rgba(21, 148, 71, 0.12);
}
.payment-options { display: grid; gap: 12px; }
.payment-option { display: block; cursor: pointer; }
.payment-option input { display: none; }
.payment-option-box {
    display: block;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 18px;
    background: #fff;
    transition: .25s;
}
.payment-option input:checked + .payment-option-box {
    border-color: var(--green);
    background: #f0fdf4;
    box-shadow: 0 0 0 1px rgba(21, 148, 71, 0.15);
}
.payment-option.disabled { opacity: .75; cursor: not-allowed; }
.payment-option-box strong { display: block; margin-bottom: 4px; }
.payment-option-box small { color: #64748b; font-size: 12px; }
.checkout-submit-btn { width: 100%; border: none; cursor: pointer; }
.checkout-error {
    margin-top: 12px;
    color: #b91c1c;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 13px;
}
.checkout-summary { position: sticky; top: 100px; }
.checkout-items { display: grid; gap: 14px; margin-bottom: 18px; }
.checkout-item {
    display: grid;
    grid-template-columns: 56px 1fr auto;
    gap: 12px;
    align-items: center;
}
.checkout-item img {
    width: 56px;
    height: 56px;
    object-fit: cover;
    border-radius: 10px;
    background: #f8fafc;
}
.checkout-item strong { display: block; font-size: 14px; }
.checkout-item small { color: #64748b; font-size: 12px; }
.checkout-total-row,
.order-success-row {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 16px;
}
.checkout-empty,
.checkout-back-btn { margin-top: 14px; display: inline-block; }
.checkout-back-btn { width: 100%; text-align: center; }

.order-success-page { background: #f8fafc; min-height: 70vh; }
.order-success-box { padding: 70px 0; text-align: center; }
.success-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: var(--brand-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    font-weight: 800;
}
.order-success-box h1 { font-size: 34px; margin-bottom: 10px; }
.order-success-box > .container > p { color: #64748b; margin-bottom: 28px; }
.order-success-card,
.order-success-items {
    max-width: 720px;
    margin: 0 auto 24px;
    text-align: left;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 22px 24px;
}
.order-success-row { padding: 10px 0; border-top: none; border-bottom: 1px solid #f1f5f9; font-size: 14px; }
.order-success-row:last-child { border-bottom: none; }
.order-success-row strong { text-align: right; max-width: 60%; }
.order-success-items h2 { font-size: 18px; margin-bottom: 14px; }
.order-success-item {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}
.order-success-item:last-child { border-bottom: none; }
.order-success-item small { display: block; color: #64748b; margin-top: 4px; }
.order-success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .checkout-grid { grid-template-columns: 1fr; }
    .checkout-summary { position: static; }
    .checkout-form .form-grid { grid-template-columns: 1fr; }
}

/* Protect shared footer from page-level style conflicts */
.site-footer .footer-brand p {
    max-width: 280px;
    color: #94a3b8;
    font-size: 13px;
}

.site-footer .footer-bottom {
    text-align: unset;
    color: inherit;
    font-size: inherit;
}

.policy-list a {
    word-break: break-word;
}
