/* =========================================================
   KODVISION STOREFRONT — GLOBAL DESIGN SYSTEM
   ========================================================= */

:root {
    --navy: #071b36;
    --blue: #1264ad;
    --sky: #eaf4ff;
    --ink: #17263b;
    --muted: #64748b;
    --line: #e4eaf1;
    --white: #fff;
    --bg: #f7f9fc;
    --radius: 18px;
    --shadow: 0 14px 40px rgba(7,27,54,.08);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ink);
    background: #fff;
    line-height: 1.55;
}

a {
    color: inherit;
    text-decoration: none;
}

.container {
    width: min(1160px, calc(100% - 40px));
    margin: auto;
}

/* =========================================================
   TOP BAR & NAVIGATION
   ========================================================= */

.topline {
    background: #041226;
    color: #dbeafe;
    text-align: center;
    padding: 8px 15px;
    font-size: 12px;
    letter-spacing: .03em;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}

.nav-wrap {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--navy);
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--navy);
    color: #fff;
    display: grid;
    place-items: center;
    font-weight: 900;
    font-size: 22px;
}

.brand strong {
    display: block;
    font-size: 17px;
    letter-spacing: .08em;
}

.brand small {
    display: block;
    font-size: 8px;
    letter-spacing: .12em;
    color: var(--muted);
}

nav {
    display: flex;
    gap: 26px;
    font-size: 14px;
    color: #40516a;
}

nav a:hover,
.text-link:hover {
    color: var(--blue);
}

.cart-link {
    background: var(--sky);
    padding: 9px 14px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 13px;
}

.cart-link span {
    display: inline-grid;
    place-items: center;
    background: var(--blue);
    color: white;
    border-radius: 50%;
    min-width: 22px;
    height: 22px;
    margin-left: 5px;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 10px;
    padding: 13px 19px;
    font-weight: 750;
    font-size: 14px;
    cursor: pointer;
}

.btn-light {
    background: white;
    color: var(--navy);
}

.btn-outline {
    border: 1px solid #8bb7df;
    color: white;
}

.btn-primary {
    background: var(--blue);
    color: white;
}

.btn-primary:hover {
    background: #084d8c;
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    background: linear-gradient(115deg, #06172e, #0a3159 65%, #0d4c83);
    color: white;
    overflow: hidden;
}

.hero-grid {
    min-height: 480px;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    align-items: center;
    gap: 50px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.eyebrow {
    font-size: 11px;
    letter-spacing: .16em;
    font-weight: 800;
    color: #9ccfff;
}

.eyebrow.dark {
    color: var(--blue);
}

h1, h2, h3, p {
    margin-top: 0;
}

.hero h1 {
    font-size: clamp(36px, 5vw, 58px);
    line-height: 1.08;
    letter-spacing: -.04em;
    max-width: 700px;
    margin: 17px 0;
}

.hero p {
    color: #d0e2f5;
    font-size: 17px;
    max-width: 620px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.trust-row {
    display: flex;
    gap: 22px;
    flex-wrap: wrap;
    margin-top: 30px;
    color: #c4def7;
    font-size: 12px;
}

.hero-card {
    min-height: 310px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 26px;
    background: linear-gradient(145deg, rgba(255,255,255,.14), rgba(255,255,255,.04));
    padding: 34px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0,0,0,.18);
}

.hero-orbit {
    width: 130px;
    height: 130px;
    border: 1px solid rgba(255,255,255,.35);
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 46px;
    font-weight: 900;
    color: #b8dcff;
    box-shadow: 0 0 0 18px rgba(255,255,255,.04), 0 0 0 38px rgba(255,255,255,.025);
}

.hero-card-label {
    font-size: 10px;
    letter-spacing: .18em;
    color: #9ccfff;
    margin-top: 42px;
}

.hero-card-title {
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    margin-top: 8px;
}

.hero-card-lines {
    position: absolute;
    right: 25px;
    bottom: 25px;
    display: flex;
    gap: 6px;
}

.hero-card-lines i {
    display: block;
    width: 7px;
    height: 48px;
    border-radius: 5px;
    background: #80bff5;
    opacity: .65;
}

.hero-card-lines i:nth-child(2) {
    height: 70px;
}

.hero-card-lines i:nth-child(3) {
    height: 34px;
}

/* =========================================================
   SECTIONS & CATEGORIES
   ========================================================= */

.section {
    padding-top: 76px;
    padding-bottom: 76px;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 25px;
    margin-bottom: 28px;
}

.section-heading h2 {
    font-size: 32px;
    letter-spacing: -.03em;
    margin: 7px 0;
}

.section-heading p {
    color: var(--muted);
    margin: 0;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

.category-card {
    border: 1px solid var(--line);
    border-radius: 15px;
    padding: 20px;
    min-height: 185px;
    display: flex;
    flex-direction: column;
    transition: .2s;
    background: #fff;
}

.category-card:hover,
.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
    border-color: #c5ddf5;
}

.category-icon {
    font-size: 25px;
    color: var(--blue);
    margin-bottom: 14px;
}

.category-card strong {
    font-size: 14px;
}

.category-card small {
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
    margin-top: 6px;
}

.arrow {
    font-size: 12px;
    color: var(--blue);
    font-weight: 750;
    margin-top: auto;
    padding-top: 13px;
}

/* =========================================================
   PRODUCT CATALOGUE
   ========================================================= */

.products-section {
    background: var(--bg);
}

.search-form {
    display: flex;
    gap: 8px;
}

.search-form input {
    width: 260px;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 13px;
    font: inherit;
    background: white;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.product-card {
    background: white;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    transition: .2s;
}

.product-image {
    height: 210px;
    display: block;
    background: #edf2f7;
    position: relative;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e4f2ff;
    color: #07549a;
    border-radius: 99px;
    padding: 5px 9px;
    font-size: 10px;
    font-weight: 800;
}

.product-info {
    padding: 17px;
}

.product-info > small {
    color: var(--blue);
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.product-info h3 {
    font-size: 14px;
    line-height: 1.4;
    min-height: 58px;
    margin: 8px 0;
}

.price-row {
    display: flex;
    gap: 10px;
    align-items: center;
}

.price-row strong {
    font-size: 17px;
    color: var(--navy);
}

del {
    color: #94a3b8;
    font-size: 12px;
}

.stock-note {
    font-size: 10px;
    color: var(--muted);
    margin: 8px 0;
}

.text-link {
    color: var(--blue);
    font-size: 12px;
    font-weight: 800;
}

.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border: 1px dashed #cbd5e1;
    border-radius: 18px;
}

.empty-state p {
    color: var(--muted);
}

/* =========================================================
   CALL TO ACTION
   ========================================================= */

.cta-band {
    background: #eaf4ff;
    padding: 48px 0;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.cta-inner h2 {
    font-size: 27px;
    margin: 8px 0;
}

.cta-inner p {
    color: var(--muted);
    margin: 0;
}

/* =========================================================
   KODVISION PROFESSIONAL STOREFRONT FOOTER
   ========================================================= */

.kv-footer {
    background: #071b36;
    color: #dce7f7;
    margin-top: 0;
}

.kv-footer > .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 65px 24px 55px;
}

.kv-footer-inner {
    display: grid;
    grid-template-columns: 1.35fr .85fr 1.05fr 1.15fr;
    gap: 40px;
    align-items: start;
}

.kv-footer-column {
    min-width: 0;
}

.kv-footer-column h3 {
    position: relative;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 30px;
    padding-bottom: 15px;
}

.kv-footer-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    border-radius: 5px;
    background: #4387ff;
}

/* Brand */

.kv-footer-logo {
    display: inline-block;
    color: #fff;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -1.2px;
    margin-bottom: 18px;
}

.kv-footer-brand > p {
    color: #c3d1e5;
    font-size: 14px;
    line-height: 1.9;
    margin: 0 0 15px;
    max-width: 310px;
}

.kv-footer-brand > p:first-of-type {
    color: #fff;
    font-weight: 600;
}

.kv-footer-brand ul {
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}

.kv-footer-brand ul li {
    margin-bottom: 10px;
}

.kv-footer-brand ul a {
    color: #c3d1e5;
    font-size: 12px;
}

.kv-footer-brand ul a:hover {
    color: #fff;
}

/* Quick links and support */

.kv-footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.kv-footer-column ul li {
    margin: 0 0 15px;
    padding: 0;
}

.kv-footer-column ul li a {
    color: #c3d1e5;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.7;
    transition: color .2s ease, padding-left .2s ease;
}

.kv-footer-column ul li a:hover {
    color: #fff;
    padding-left: 4px;
}

/* WhatsApp */

.kv-footer-whatsapp {
    display: flex;
    align-items: center;
    gap: 13px;
    width: 100%;
    max-width: 245px;
    padding: 14px 15px;
    margin-top: 25px;
    border: 1px solid rgba(34,197,94,.4);
    border-radius: 11px;
    background: rgba(16,185,129,.09);
    color: #25d366;
    text-decoration: none;
    transition: background .2s ease, border-color .2s ease;
}

.kv-footer-whatsapp:hover {
    background: rgba(16,185,129,.16);
    border-color: #25d366;
}

.kv-footer-whatsapp svg {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
}

.kv-footer-whatsapp span {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.kv-footer-whatsapp strong {
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.kv-footer-whatsapp small {
    color: #c3d1e5;
    font-size: 11px;
}

/* Contact details */

.kv-footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-bottom: 22px;
}

.kv-footer-contact-icon {
    display: flex;
    flex: 0 0 38px;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(75,137,255,.4);
    border-radius: 10px;
    background: rgba(59,130,246,.12);
    color: #65a0ff;
    font-size: 17px;
    font-weight: 700;
}

.kv-footer-contact-item > div {
    min-width: 0;
}

.kv-footer-contact-item small {
    display: block;
    color: #91a9c9;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .8px;
    text-transform: uppercase;
    margin: 2px 0 7px;
}

.kv-footer-contact-item a,
.kv-footer-contact-item p {
    display: block;
    color: #fff;
    font-size: 12px;
    line-height: 1.8;
    text-decoration: none;
    margin: 0;
    overflow-wrap: anywhere;
}

.kv-footer-contact-item a:hover {
    color: #75aaff;
}

/* Copyright */

.kv-footer-bottom {
    border-top: 1px solid rgba(255,255,255,.11);
    background: rgba(0,0,0,.12);
}

.kv-footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    max-width: 1200px;
    min-height: 72px;
    margin: 0 auto;
    padding: 15px 24px;
}

.kv-footer-bottom-inner p {
    margin: 0;
    color: #bdcde2;
    font-size: 12px;
    line-height: 1.7;
}

.kv-footer-tagline {
    color: #fff !important;
    font-weight: 600;
}

/* =========================================================
   PRODUCT DETAILS
   ========================================================= */

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 55px;
    padding-top: 65px;
    padding-bottom: 65px;
}

.detail-image {
    background: #f1f5f9;
    border-radius: 20px;
    min-height: 440px;
    display: grid;
    place-items: center;
    padding: 25px;
}

.detail-image img {
    max-width: 100%;
    max-height: 430px;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.breadcrumbs {
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 28px;
}

.breadcrumbs a {
    color: var(--blue);
}

.detail-copy h1 {
    font-size: 34px;
    line-height: 1.2;
    letter-spacing: -.03em;
    margin: 10px 0;
}

.detail-price {
    font-size: 27px;
    font-weight: 850;
    color: var(--navy);
    margin: 15px 0;
}

.lead {
    color: #52647a;
}

.availability-box {
    background: #f0f7ff;
    border: 1px solid #d5e9fc;
    border-radius: 12px;
    padding: 16px;
    margin: 22px 0;
}

.availability-box p {
    font-size: 12px;
    color: var(--muted);
    margin: 5px 0 0;
}

.add-form {
    display: flex;
    align-items: end;
    gap: 12px;
}

.add-form label {
    font-size: 12px;
    font-weight: 700;
}

.add-form input {
    display: block;
    width: 80px;
    margin-top: 5px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 12px;
}

.fine-print {
    font-size: 11px;
    color: var(--muted);
    margin-top: 12px;
}

.description-section {
    padding-bottom: 65px;
}

.description-text {
    white-space: normal;
    color: #46576c;
    max-width: 900px;
}

/* =========================================================
   CART
   ========================================================= */

.cart-page {
    padding-top: 60px;
    padding-bottom: 80px;
}

.cart-page h1 {
    font-size: 36px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 35px;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 18px;
    border-bottom: 1px solid var(--line);
    padding: 16px 0;
}

.cart-item img {
    width: 86px;
    height: 78px;
    object-fit: contain;
    background: #f1f5f9;
    border-radius: 10px;
}

.cart-item-copy {
    display: flex;
    flex-direction: column;
    gap: 4px;
    flex: 1;
}

.cart-item-copy small,
.cart-item-copy span {
    color: var(--muted);
    font-size: 12px;
}

.cart-summary {
    background: #f7f9fc;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 22px;
    height: max-content;
}

.cart-summary h2 {
    font-size: 19px;
}

.cart-summary > div {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--line);
    padding-top: 15px;
}

.cart-summary p {
    font-size: 12px;
    color: var(--muted);
    margin-top: 15px;
}

.btn-full {
    width: 100%;
    opacity: .55;
    cursor: not-allowed;
}

.cart-summary .text-link {
    display: block;
    text-align: center;
    margin-top: 15px;
}

/* =========================================================
   TABLET RESPONSIVENESS
   ========================================================= */

@media (max-width: 900px) {
    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .product-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .hero-grid {
        gap: 25px;
    }

    .product-detail {
        gap: 30px;
    }

    .section-heading {
        align-items: start;
        flex-direction: column;
    }

    .search-form {
        width: 100%;
    }

    .search-form input {
        flex: 1;
    }

    .kv-footer-inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 45px;
        row-gap: 45px;
    }

    .kv-footer > .container {
        padding-top: 50px;
        padding-bottom: 45px;
    }
}

/* =========================================================
   MOBILE RESPONSIVENESS
   ========================================================= */

@media (max-width: 640px) {
    .container {
        width: min(100% - 28px, 1160px);
    }

    .nav-wrap {
        height: 68px;
        gap: 10px;
    }

    .brand-mark {
        width: 36px;
        height: 36px;
    }

    .brand strong {
        font-size: 14px;
    }

    .brand small {
        font-size: 7px;
    }

    nav {
        display: none;
    }

    .cart-link {
        font-size: 12px;
        padding: 7px 10px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .hero h1 {
        font-size: 39px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-card {
        min-height: 245px;
    }

    .hero-orbit {
        width: 95px;
        height: 95px;
        font-size: 34px;
    }

    .hero-card-label {
        margin-top: 30px;
    }

    .section {
        padding-top: 52px;
        padding-bottom: 52px;
    }

    .section-heading h2 {
        font-size: 27px;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .category-card {
        padding: 15px;
        min-height: 175px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-image {
        height: 145px;
    }

    .product-info {
        padding: 12px;
    }

    .product-info h3 {
        font-size: 12px;
        min-height: 68px;
    }

    .price-row strong {
        font-size: 14px;
    }

    .stock-note {
        font-size: 9px;
    }

    .cta-inner {
        align-items: flex-start;
        flex-direction: column;
    }

    .cta-inner h2 {
        font-size: 23px;
    }

    .product-detail {
        grid-template-columns: 1fr;
        padding-top: 30px;
        gap: 25px;
    }

    .detail-image {
        min-height: 270px;
    }

    .detail-image img {
        max-height: 260px;
    }

    .detail-copy h1 {
        font-size: 27px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-item {
        gap: 10px;
    }

    .cart-item img {
        width: 65px;
        height: 65px;
    }

    .cart-item > strong {
        font-size: 12px;
    }

    /* Footer */

    .kv-footer > .container {
        padding: 42px 22px 35px;
    }

    .kv-footer-inner {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .kv-footer-column h3 {
        margin-bottom: 23px;
    }

    .kv-footer-brand > p {
        max-width: 100%;
    }

    .kv-footer-whatsapp {
        max-width: 100%;
    }

    .kv-footer-contact-item {
        margin-bottom: 19px;
    }

    .kv-footer-bottom-inner {
        min-height: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 7px;
        padding: 20px 22px;
    }
}
