:root {
    --brand-navy: #062a4f;
    --brand-orange: #f3701c;
    --brand-grey: #69727a;
    --brand-dark: #031b33;
    --mist: #f5f7fa;
}

body {
    color: var(--brand-dark);
    background: #fff;
}

a {
    color: var(--brand-navy);
}

a:hover {
    color: var(--brand-orange);
}

.btn-success {
    --bs-btn-bg: var(--brand-orange);
    --bs-btn-border-color: var(--brand-orange);
    --bs-btn-hover-bg: #d95d10;
    --bs-btn-hover-border-color: #d95d10;
    --bs-btn-active-bg: #bd4f0c;
    --bs-btn-active-border-color: #bd4f0c;
}

.btn-outline-success {
    --bs-btn-color: var(--brand-navy);
    --bs-btn-border-color: var(--brand-navy);
    --bs-btn-hover-bg: var(--brand-navy);
    --bs-btn-hover-border-color: var(--brand-navy);
}

.text-brand {
    color: var(--brand-orange);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    min-height: 56px;
    padding: 0;
}

.brand-mark img {
    width: auto;
    height: 52px;
    object-fit: contain;
}

.admin-brand img {
    background: white;
    border-radius: 6px;
    padding: 3px;
}

.admin-brand span {
    font-weight: 700;
}

.login-logo {
    width: min(280px, 100%);
    height: auto;
}

.hero {
    background: linear-gradient(120deg, #f4f7fb, #fff);
    border-bottom: 1px solid #dfe6ee;
}

.hero h1,
.page-band h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.05;
    font-weight: 800;
}

.hero-panel,
.order-summary,
.location-box {
    background: var(--mist);
    border: 1px solid #dce4ec;
    border-radius: 8px;
    padding: 1.5rem;
}

.featured-slider-wrap {
    width: 100%;
}

.featured-slider {
    border-radius: 0;
    overflow: hidden;
    background: var(--brand-navy);
}

.slider-banner-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1984 / 793;
    object-fit: contain;
}

.page-band {
    background: var(--mist);
    border-bottom: 1px solid #dce4ec;
}

.search-strip {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: .75rem;
}

.search-strip select {
    min-width: 220px;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: .75rem;
}

.category-tile {
    border: 1px solid #dfe7d8;
    border-radius: 8px;
    color: var(--brand-dark);
    padding: 1rem;
    text-decoration: none;
    font-weight: 700;
}

.product-card {
    border: 1px solid #e1e5dd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.product-card h3 {
    font-size: 1.05rem;
    margin: .7rem 0 .35rem;
}

.product-media {
    display: grid;
    place-items: center;
    width: 100%;
    height: 240px;
    padding: 12px;
    overflow: hidden;
    background: #fff;
}

.product-img,
.detail-img {
    display: grid;
    place-items: center;
    min-height: 160px;
    background: linear-gradient(135deg, var(--brand-navy), var(--brand-orange));
    color: white;
    font-size: 4rem;
    font-weight: 800;
}

.product-photo {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center;
}

.product-media .product-img {
    width: 100%;
    height: 100%;
    min-height: 0;
}

.detail-img {
    min-height: 360px;
    border-radius: 8px;
}

.detail-photo {
    display: block;
    width: 100%;
    height: clamp(320px, 42vw, 520px);
    padding: 18px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center;
    border-radius: 8px;
    border: 1px solid #e1e5dd;
    background: #fff;
}

.price {
    color: var(--brand-orange);
    font-weight: 800;
}

.stock {
    font-size: .9rem;
    font-weight: 700;
}

.qty-input {
    max-width: 110px;
}

.checkout-form {
    display: grid;
    gap: 1rem;
}

.checkout-form label {
    display: grid;
    gap: .35rem;
    font-weight: 700;
}

.payment-note {
    background: #fff8e8;
    border: 1px solid #f0c89e;
    border-radius: 8px;
    padding: 1rem;
}

.footer-band {
    background: var(--brand-dark);
    color: white;
}

.footer-logo {
    width: min(260px, 100%);
    height: auto;
    margin-bottom: 1rem;
    border-radius: 6px;
    background: white;
}

.footer-band a {
    color: white;
}

.social-links {
    display: flex;
    gap: .7rem;
    align-items: center;
}

.social-links a {
    display: inline-grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--brand-orange);
    color: white;
    font-size: 1.15rem;
    text-decoration: none;
}

.social-links a:hover {
    background: white;
    color: var(--brand-navy);
}

.social-links-dark a:hover {
    background: var(--brand-navy);
    color: white;
}

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--brand-orange);
    color: white;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
}

.admin-shell {
    min-height: 100vh;
    background: #f7f8f5;
}

.admin-nav {
    background: #18231d;
}

.metric {
    background: white;
    border: 1px solid #e0e4dc;
    border-radius: 8px;
    padding: 1rem;
}

@media (max-width: 768px) {
    .product-photo {
        max-width: 100%;
        max-height: 100%;
    }

    .product-media {
        height: 220px;
    }

    .detail-photo {
        height: 340px;
        padding: 12px;
    }

    .search-strip {
        grid-template-columns: 1fr;
    }

    .section-head {
        align-items: start;
        flex-direction: column;
    }
}
