:root{
    --bg:#152844;
    --bg-soft:#234166;
    --card:#10233d;
    --line:rgba(255,255,255,.08);
    --text:#edf4ff;
    --muted:#9cb0c8;
    --amber:#ff7a00;
    --amber-dark:#d65f00;
    --white:#fff;
    --radius:24px;
    --shadow:0 20px 60px rgba(1,8,20,.34);
}

*{
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Inter',sans-serif;
    background:linear-gradient(180deg,#152844 0%,#234166 100%);
    color:var(--text);
    line-height:1.65;
}

a{
    text-decoration:none;
}

img{
    max-width:100%;
    display:block;
}

.section-space{
    padding:88px 0;
}

.site-header{
    backdrop-filter:blur(18px);
    background:rgba(5,14,28,.82);
    border-bottom:1px solid var(--line);
}

.navbar{
    padding:14px 0;
}

.navbar-brand{
    letter-spacing:.2px;
}

.nav-link{
    color:#d9e7f7;
}

.nav-link.active,
.nav-link:hover{
    color:#fff;
}

.btn-amber{
    background:linear-gradient(135deg,var(--amber),#ff9a2f);
    color:#111827;
    border:none;
}

.btn-amber:hover{
    background:linear-gradient(135deg,#ff9a2f,var(--amber-dark));
    color:#111;
}

.hero-section{
    padding:96px 0 72px;
    position:relative;
    overflow:hidden;
}

.hero-section:before{
    content:"";
    position:absolute;
    inset:-20% auto auto -10%;
    width:360px;
    height:360px;
    background:rgba(255,122,0,.15);
    filter:blur(70px);
    border-radius:999px;
}

.hero-section:after{
    content:"";
    position:absolute;
    right:-110px;
    bottom:-80px;
    width:320px;
    height:320px;
    background:rgba(59,130,246,.12);
    filter:blur(80px);
    border-radius:999px;
}

.eyebrow,
.section-label{
    display:inline-flex;
    align-items:center;
    gap:8px;
    font-size:.85rem;
    font-weight:700;
    color:#ff9a2f;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.hero-title{
    font-size:clamp(2.2rem,4.8vw,4.3rem);
    line-height:1.05;
    margin:18px 0 18px;
    font-weight:800;
    max-width:12ch;
}

.hero-text,
.section-copy{
    font-size:1.05rem;
    color:#cfdbeb;
    max-width:60ch;
}

.hero-actions{
    display:flex;
    gap:12px;
    flex-wrap:wrap;
    margin-top:28px;
}

.hero-badges{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
    margin-top:24px;
    color:#dbe8f7;
    font-size:.95rem;
}

.hero-badges span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border:1px solid var(--line);
    border-radius:999px;
    background:rgba(255,255,255,.03);
}

.hero-gallery-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:16px;
}

.hero-gallery-item,
.gallery-card,
.product-card,
.category-card,
.review-card,
.filter-panel,
.cart-drawer,
.info-card,
.form-panel,
.product-list-card{
    background:rgba(16,35,61,.82);
    border:1px solid var(--line);
    border-radius:var(--radius);
    box-shadow:var(--shadow);
}

.hero-gallery-item{
    overflow:hidden;
    min-height:180px;
}

.hero-gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.hero-placeholder{
    display:grid;
    place-items:center;
    gap:12px;
    min-height:376px;
    color:var(--muted);
    text-align:center;
    padding:32px;
    background:rgba(255,255,255,.02);
    border:1px dashed rgba(255,255,255,.12);
    border-radius:var(--radius);
}

.section-heading{
    margin-bottom:32px;
}

.section-heading h1,
.section-heading h2{
    font-size:clamp(1.8rem,3vw,3rem);
    font-weight:800;
    margin-top:10px;
}

.section-dark{
    background:rgba(4,13,28,.52);
}

.category-card{
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    min-height:148px;
    padding:22px;
    color:#fff;
    transition:transform .25s ease,border-color .25s ease;
}

.category-card:hover{
    transform:translateY(-4px);
    border-color:rgba(255,122,0,.42);
}

.category-name{
    font-size:1.08rem;
    font-weight:700;
}

.category-count{
    font-size:.92rem;
    color:var(--muted);
}

.product-card{
    padding:22px;
    min-height:220px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
}

.product-card-top,
.badge-row{
    display:flex;
    gap:8px;
    flex-wrap:wrap;
}

.product-category,
.product-subcategory,
.mini-badge{
    font-size:.78rem;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(255,122,0,.15);
    color:#ff9a2f;
    font-weight:700;
}

.mini-badge.muted,
.product-subcategory{
    background:rgba(255,255,255,.06);
    color:#d5deea;
}

.product-card h3,
.product-list-card h2{
    font-size:1.15rem;
    font-weight:700;
    margin:16px 0 10px;
}

.product-price{
    font-size:1.35rem;
    font-weight:800;
    color:#fff;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.gallery-card{
    overflow:hidden;
    aspect-ratio:1/1;
}

.gallery-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:transform .4s ease;
}

.gallery-card:hover img{
    transform:scale(1.05);
}

.review-card{
    padding:24px;
    height:100%;
}

.review-card p{
    color:#d7e2ef;
}

.review-stars{
    font-size:1.05rem;
    color:#ff9a2f;
    margin-bottom:12px;
}

.review-stars span{
    color:#51637b;
}

.review-card-full .review-image{
    width:120px;
    height:120px;
    object-fit:cover;
    border-radius:16px;
    margin:16px 0;
}

.filter-panel,
.form-panel,
.info-card{
    padding:24px;
}

.filter-panel .form-control,
.filter-panel .form-select,
.cart-summary .form-control,
.form-panel .form-control,
.form-panel .form-select{
    background:#071322;
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
    min-height:52px;
}

.form-control::placeholder{
    color:#73879f;
}

.product-list-card{
    display:flex;
    justify-content:space-between;
    gap:16px;
    align-items:center;
    padding:18px 20px;
}

.product-list-card .btn{
    width:52px;
    height:52px;
    border-radius:16px;
    display:grid;
    place-items:center;
    flex-shrink:0;
}

.empty-box{
    padding:28px;
    border:1px dashed rgba(255,255,255,.16);
    border-radius:var(--radius);
    color:var(--muted);
    text-align:center;
}

.cart-drawer{
    padding:24px;
    position:sticky;
    top:96px;
}

.cart-header,
.cart-total-row{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.cart-header h2{
    font-size:1.25rem;
    font-weight:800;
}

.cart-count,
.cart-empty{
    color:var(--muted);
}

.cart-items{
    display:flex;
    flex-direction:column;
    gap:12px;
    max-height:360px;
    overflow:auto;
    padding-right:6px;
    margin:20px 0;
}

.cart-item{
    display:flex;
    justify-content:space-between;
    gap:12px;
    padding:14px;
    border-radius:18px;
    background:rgba(255,255,255,.03);
}

.cart-item strong{
    display:block;
}

.cart-item small{
    color:var(--muted);
}

.cart-item-actions{
    display:flex;
    align-items:center;
    gap:8px;
}

.qty-btn{
    width:28px;
    height:28px;
    border:none;
    border-radius:999px;
    background:#1a2e49;
    color:#fff;
}

.remove-btn{
    background:none;
    border:none;
    color:#ffb0a6;
}

.contact-list li{
    display:flex;
    gap:14px;
    align-items:flex-start;
    padding:16px 0;
    border-bottom:1px solid rgba(255,255,255,.08);
}

.contact-list li:last-child{
    border-bottom:none;
}

.contact-list i{
    margin-top:4px;
    color:#ff9a2f;
}

.contact-list a{
    color:#fff;
}

.map-card{
    min-height:420px;
    border-radius:var(--radius);
    overflow:hidden;
    border:1px solid var(--line);
}

.map-card iframe{
    width:100%;
    height:100%;
    min-height:420px;
    border:0;
}

.site-footer{
    padding:42px 0 100px;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(3,11,24,.6);
}

.footer-title{
    font-size:1.2rem;
    font-weight:800;
}

.footer-text{
    color:var(--muted);
}

.footer-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    color:#fff;
    margin-left:16px;
}

.footer-bottom{
    margin-top:24px;
    padding-top:18px;
    border-top:1px solid rgba(255,255,255,.08);
    color:var(--muted);
}

.mobile-quick-actions{
    position:fixed;
    left:50%;
    bottom:14px;
    transform:translateX(-50%);
    width:min(96%,520px);
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:6px;
    padding:10px;
    background:rgba(10,25,45,.96);
    border:1px solid rgba(255,255,255,.08);
    border-radius:22px;
    backdrop-filter:blur(16px);
    z-index:1100;
}

.mobile-quick-actions a{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:6px;
    color:#fff;
    font-size:.78rem;
    padding:8px 4px;
}

@media (min-width: 992px){
    .hero-gallery-grid{
        grid-template-columns:1fr;
        gap:0;
        max-width:620px;
        margin-left:auto;
    }

    .hero-gallery-item{
        min-height:460px;
        border-radius:32px;
    }

    .hero-gallery-item img{
        width:100%;
        height:460px;
        object-fit:cover;
    }

    .hero-placeholder{
        min-height:460px;
        border-radius:32px;
    }
}

@media (max-width:991.98px){
    .section-space{
        padding:72px 0;
    }

    .hero-section{
        padding-top:78px;
    }

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

    .cart-drawer{
        position:static;
    }
}

.mobile-cart-bar{
    position:fixed;
    left:50%;
    bottom:88px;
    transform:translateX(-50%);
    width:min(94%,520px);
    z-index:1105;
}

.mobile-cart-bar-btn{
    width:100%;
    border:none;
    border-radius:18px;
    background:linear-gradient(135deg,var(--amber),#ff9a2f);
    color:#111827;
    padding:14px 18px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    font-weight:800;
    box-shadow:0 18px 40px rgba(0,0,0,.28);
}

@media (max-width:1199.98px){
    .cart-drawer{
        margin-top:10px;
    }
}

@media (max-width:575.98px){
    .hero-gallery-grid,
    .gallery-grid{
        grid-template-columns:1fr;
    }

    .hero-title{
        max-width:100%;
    }

    .hero-actions .btn{
        width:100%;
    }

    .product-list-card{
        padding:16px;
    }

    .product-price{
        font-size:1.2rem;
    }

    .mobile-quick-actions span{
        font-size:.72rem;
    }
}