* { box-sizing: border-box; }

:root {
    --bg: #f6f8fb;
    --text: #111827;
    --muted: #6b7280;
    --line: #e5e7eb;
    --brand: #0ea5b7;
    --brand-dark: #0b7f8c;
    --purple: #6f1d7a;
    --surface: #ffffff;
    --maxw: 1440px;
}

body {
    margin: 0;
    font-family: "Inter", "Segoe UI", Arial, sans-serif;
    background:
        radial-gradient(1200px 500px at 10% -20%, rgba(14, 165, 183, 0.08), transparent),
        radial-gradient(1000px 420px at 90% -20%, rgba(111, 29, 122, 0.08), transparent),
        var(--bg);
    color: var(--text);
    line-height: 1.45;
}

.container { width: 100%; margin: 0; }
.muted { color: var(--muted); font-size: 13px; }

h1, h2, h3, h4 { margin: 0 0 10px; line-height: 1.2; color: #0f172a; }
p { margin: 0 0 10px; }
a { color: inherit; }

.ecom-header {
    background: rgba(255, 255, 255, 0.9);
    border-bottom: 1px solid var(--line);
    margin-bottom: 16px;
    position: sticky;
    top: 0;
    z-index: 40;
    backdrop-filter: blur(6px);
}

.header-main-row,
.header-nav-row,
.header-category-strip,
.content-wrap {
    max-width: var(--maxw);
    margin: 0 auto;
}

.header-main-row {
    display: grid;
    grid-template-columns: 330px minmax(0, 1fr) auto;
    gap: 16px;
    align-items: center;
    padding: 14px;
    background: transparent;
}

.brand { text-decoration: none; font-weight: 800; }
.brand-large {
    font-size: clamp(28px, 3.5vw, 58px);
    line-height: 1;
    letter-spacing: -0.03em;
    color: var(--brand);
    text-transform: lowercase;
}

.header-search { display: flex; align-items: center; }
.header-search input {
    width: 100%;
    height: 46px;
    border: 1px solid #d1d5db;
    border-right: 0;
    border-radius: 10px 0 0 10px;
    padding: 0 14px;
    font-size: 15px;
    background: #fff;
}
.header-search button {
    height: 46px;
    min-width: 86px;
    border: 0;
    border-radius: 0 10px 10px 0;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.header-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}
.header-actions a {
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    padding: 9px 12px;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    background: #f8fbff;
    color: #334155;
    transition: all .18s ease;
}
.header-actions a:hover {
    transform: translateY(-1px);
    border-color: #c6d8ef;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.header-nav-row {
    background: var(--brand);
    color: #fff;
    display: grid;
    grid-template-columns: 180px auto 1fr;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

.all-categories-btn {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    padding: 14px 8px;
}

.site-nav {
    display: flex;
    gap: 14px;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 0;
}

.site-nav a {
    text-decoration: none;
    color: #f8fdff;
    font-weight: 600;
    font-size: 13px;
    padding: 4px 0;
}

.site-nav a.active {
    color: #0f172a;
    background: #fff;
    border-radius: 999px;
    padding: 5px 11px;
}

.nav-toggle {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.55);
    background: rgba(255,255,255,0.2);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

.header-category-strip {
    display: flex;
    gap: 14px;
    overflow: auto;
    padding: 12px 14px 14px;
    background: #fff;
    border-top: 1px solid #eaf0f6;
}

.category-pill {
    min-width: 100px;
    text-align: center;
    text-decoration: none;
    color: #374151;
    font-size: 12px;
}

.category-bullet {
    width: 58px;
    height: 58px;
    border-radius: 999px;
    border: 2px solid #aadfe4;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 6px;
    background: radial-gradient(circle at 30% 20%, #fff, #dff6f8);
    font-weight: 700;
}

.utility-bar { display: none; }

.alert {
    max-width: var(--maxw);
    margin: 12px auto;
    padding: 10px 14px;
    border: 1px solid #dbe5ef;
    background: #fff;
}
.alert.success { border-color: #86efac; background: #f0fdf4; }
.alert.error { border-color: #fca5a5; background: #fef2f2; }
.alert {
    transition: opacity .28s ease, transform .28s ease;
}
.alert.alert-hide {
    opacity: 0;
    transform: translateY(-6px);
}

.card {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 14px;
    border-bottom: 1px solid var(--line);
    background: transparent;
}

.home-hero {
    max-width: var(--maxw);
    margin: 10px auto 0;
    padding: 64px 22px;
    background:
        linear-gradient(112deg, rgba(15, 23, 42, 0.9), rgba(15, 118, 129, 0.72)),
        url("https://images.unsplash.com/photo-1556911220-e15b29be8c8f?auto=format&fit=crop&w=1600&q=80");
    background-size: cover;
    background-position: center;
    color: #f8fafc;
}

.hero-chip {
    display: inline-block;
    border: 1px solid rgba(255,255,255,0.4);
    padding: 6px 12px;
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.home-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 52px); max-width: 760px; }
.home-hero p { color: #ddedf2; max-width: 640px; }

.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #cfd8e5;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    cursor: pointer;
    border-radius: 10px;
    transition: all .18s ease;
}
.link-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.08);
}
.primary-link {
    border-color: transparent;
    background: var(--brand);
    color: #fff;
}

.section-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 14px; }
.text-link { color: #0b7f8c; text-decoration: none; font-weight: 700; font-size: 13px; }

.set-summary-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.set-summary-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px;
    border-radius: 14px;
    transition: transform .15s ease, box-shadow .15s ease;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.process-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
}

.process-no {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #e6f8fb;
    color: #0b7f8c;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 8px;
}
.set-summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 18px rgba(15, 23, 42, 0.08);
}

.trust-strip {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    padding: 18px 14px;
    border-bottom: 1px solid var(--line);
}
.trust-strip div {
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px;
    text-align: center;
    border-radius: 14px;
}
.trust-strip strong { font-size: 22px; display: block; margin-bottom: 2px; }
.trust-strip span { color: var(--muted); font-size: 12px; }

.catalog-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.product-card {
    background: #fff;
    border: 1px solid var(--line);
    padding: 10px;
    border-radius: 14px;
    transition: transform .15s ease, box-shadow .15s ease;
}
.product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 18px rgba(15, 23, 42, 0.08); }
.product-media { position: relative; }
.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    background: #f3f4f6;
}
.product-image.placeholder { display: flex; align-items: center; justify-content: center; color: #6b7280; font-size: 13px; }
.badge {
    position: absolute; left: 8px; top: 8px;
    padding: 4px 8px; background: rgba(15,23,42,.82); color: #fff; font-size: 11px;
}
.product-card h4 { margin: 10px 0 6px; font-size: 16px; min-height: 40px; }
.product-sku { margin: 2px 0 8px; color: #94a3b8; font-size: 12px; }
.product-meta { display: flex; justify-content: space-between; gap: 8px; align-items: center; margin-top: 10px; }
.price { font-size: 19px; font-weight: 800; }
.product-actions { display: grid; gap: 8px; margin-top: 8px; }
.product-cta {
    display: block;
    text-align: center;
    border: 1px solid #c9d5e5;
    padding: 9px 10px;
    text-decoration: none;
    background: #fff;
    color: #1f2937;
    font-size: 13px;
    font-weight: 700;
    border-radius: 10px;
    transition: all .16s ease;
}
.product-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 14px rgba(15, 23, 42, 0.08);
}
.secondary-cta { background: #f7fbff; color: var(--brand-dark); border-color: #c4e7ed; }

.split-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; }
.about-highlight, .contact-mini-form {
    background: #fff;
    border: 1px solid var(--line);
    padding: 14px;
}
.contact-page-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 16px; }
.contact-info-panel {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 16px;
}
.contact-line {
    display: grid;
    gap: 4px;
    padding: 9px 0;
    border-bottom: 1px dashed #dbe5f1;
}
.contact-link { text-decoration: none; color: var(--brand-dark); font-weight: 700; }
.contact-highlight-list { margin: 12px 0 0; padding-left: 18px; }
.contact-highlight-list li { margin-bottom: 6px; }
.contact-cta-row { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.modern-contact-form {
    border-radius: 14px;
    box-shadow: 0 8px 16px rgba(15, 23, 42, 0.05);
}
.contact-chip {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    background: #e9f5ff;
    color: #0f4f8a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 8px;
}
.thankyou-wrap {
    max-width: 780px;
    margin: 22px auto;
    text-align: center;
}
.thankyou-badge {
    display: inline-flex;
    padding: 6px 12px;
    border-radius: 999px;
    background: #e8f7ef;
    color: #166534;
    font-size: 12px;
    font-weight: 800;
    margin-bottom: 10px;
}
.plain-list { margin: 12px 0 0; padding-left: 18px; }
.plain-list li { margin-bottom: 6px; }

.shop-layout {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 14px;
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 18px;
}
.shop-sidebar {
    background: #fff;
    border: 1px solid var(--line);
    padding: 12px;
    align-self: start;
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.05);
}
.shop-toolbar {
    background: #fff;
    border: 1px solid var(--line);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-radius: 14px;
}
.filter-form { display: grid; gap: 8px; }
.toolbar-controls { display: flex; align-items: end; gap: 10px; }
.toolbar-controls label { margin: 0; min-width: 150px; }
.set-header {
    display: flex; justify-content: space-between; align-items: center;
    margin: 0 0 10px; padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.set-count { color: var(--muted); font-size: 12px; }

.store-pagination {
    max-width: var(--maxw);
    margin: 0 auto 18px;
    padding: 0 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}

.page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 74px;
    padding: 0 10px;
    border: 1px solid #d5e2f4;
    border-radius: 8px;
    text-decoration: none;
    color: #1e3a8a;
    background: #f8fbff;
    font-size: 13px;
    font-weight: 600;
    transition: all .16s ease;
}

.page-link:hover {
    transform: translateY(-1px);
    border-color: #b9cfee;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.page-link.is-disabled {
    opacity: 0.5;
    pointer-events: none;
}

.page-number {
    min-width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #d5e2f4;
    border-radius: 8px;
    text-decoration: none;
    color: #1e3a8a;
    background: #f8fbff;
    font-size: 13px;
    font-weight: 600;
    transition: all .16s ease;
}

.page-number:hover {
    transform: translateY(-1px);
    border-color: #b9cfee;
    box-shadow: 0 6px 14px rgba(15, 23, 42, 0.08);
}

.page-number.active {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #157fcb);
    border-color: transparent;
    box-shadow: 0 10px 18px rgba(14, 165, 183, 0.28);
}

.page-gap {
    color: var(--muted);
    font-weight: 600;
}

.product-detail-layout {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 18px 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}
.detail-image {
    width: 100%;
    height: 460px;
    object-fit: cover;
    background: #f3f4f6;
    border: 1px solid var(--line);
}
.detail-price { font-size: 34px; font-weight: 800; margin: 10px 0; }

.quote-form {
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 24px 14px;
}

.grid { display: grid; gap: 12px; }
.grid.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }

label { display: block; font-weight: 600; margin-bottom: 10px; color: #334155; }
input, select, textarea, button {
    width: 100%;
    border: 1px solid #cfd8e5;
    background: #fff;
    padding: 10px;
    font-size: 14px;
}
button {
    border: 0;
    background: var(--brand);
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.danger-btn { background: #dc2626; }

.quote-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(15,23,42,.62);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 70;
    padding: 14px;
}
.quote-modal-backdrop.is-open { display: flex; }
.quote-modal {
    width: min(760px, 100%);
    max-height: 90vh;
    overflow: auto;
    background: #fff;
    border: 1px solid var(--line);
    padding: 16px;
    position: relative;
}
.modal-close-btn {
    position: absolute;
    right: 10px;
    top: 10px;
    width: 34px;
    height: 34px;
    border: 1px solid #d5deea;
    background: #f8fafc;
    color: #334155;
    padding: 0;
    font-size: 22px;
    line-height: 1;
}
.ghost-btn { background: #eef2f7; color: #334155; }
.modal-open { overflow: hidden; }
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.site-footer {
    margin-top: 24px;
    background: #0f172a;
    color: #e2e8f0;
    padding: 22px 14px 10px;
}
.footer-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 16px;
}
.footer-grid h4 { margin: 0 0 8px; font-size: 14px; color: #f8fafc; }
.footer-grid a, .footer-grid span {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 13px;
    margin-bottom: 6px;
}
.footer-brand { color: #f8fafc; margin-bottom: 10px; display: inline-block; }
.footer-bottom {
    max-width: var(--maxw);
    margin: 10px auto 0;
    border-top: 1px solid rgba(226,232,240,.18);
    padding-top: 12px;
    font-size: 12px;
    color: #94a3b8;
}

.whatsapp-fab {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 120;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 126px;
    height: 46px;
    padding: 0 14px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, #1fb654, #15a14a);
    box-shadow: 0 12px 24px rgba(21, 161, 74, 0.35);
    transition: transform .16s ease, box-shadow .16s ease;
}

.whatsapp-fab:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(21, 161, 74, 0.42);
}

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { border-bottom: 1px solid #e4e9f2; text-align: left; padding: 9px 8px; }
.metric-card span { color: #536075; font-size: 13px; }
.metric-card strong { display: block; margin-top: 8px; font-size: 22px; }

@media (max-width: 1024px) {
    .catalog-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .header-main-row { grid-template-columns: 1fr; }
    .header-actions { justify-content: flex-start; }
    .header-nav-row { grid-template-columns: 1fr auto; }
    .header-nav-row .nav-toggle { display: inline-flex; }
    .header-nav-row .site-nav {
        display: none;
        grid-column: 1 / -1;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        background: rgba(255,255,255,0.16);
        padding: 10px;
    }
    .header-nav-row .site-nav.is-open { display: flex; }
    .brand-large { font-size: 40px; }
    .shop-layout { grid-template-columns: 1fr; }
    .toolbar-controls { width: 100%; display: grid; grid-template-columns: 1fr 1fr; }
    .toolbar-controls label { min-width: 0; }
    .shop-toolbar { flex-direction: column; align-items: stretch; }
    .catalog-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .split-card, .product-detail-layout, .contact-page-grid { grid-template-columns: 1fr; }
    .detail-image { height: 340px; }
    .grid.two, .grid.four { grid-template-columns: 1fr; }
    .set-summary-grid { grid-template-columns: 1fr 1fr; }
    .process-grid { grid-template-columns: 1fr 1fr; }
    .trust-strip { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 620px) {
    .catalog-grid,
    .set-summary-grid,
    .process-grid,
    .trust-strip,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .whatsapp-fab {
        right: 12px;
        bottom: 12px;
        min-width: 112px;
        height: 42px;
        font-size: 13px;
    }
}
