:root {
    --red: #C8102E;
    --dark-red: #9E0B23;
    --soft-red: #FCEBED;
    --white: #FFFFFF;
    --off-white: #FAFAF8;
    --soft-gray: #F5F5F5;
    --dark: #171717;
    --muted: #6B7280;
    --line: rgba(23, 23, 23, .09);
    --red-line: rgba(200, 16, 46, .16);
    --shadow: 0 24px 70px rgba(23, 23, 23, .08);
    --soft-shadow: 0 14px 38px rgba(23, 23, 23, .06);
}

* { letter-spacing: 0; }
body {
    font-family: Inter, system-ui, sans-serif;
    color: var(--dark);
    background: var(--white);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1200px; }
.font-serif { font-family: "Playfair Display", Georgia, serif; }

.top-info {
    background: var(--dark-red);
    color: var(--white);
    font-size: .82rem;
    text-align: center;
    padding: .52rem 1rem;
}
.premium-nav {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .25s ease, background .25s ease;
}
.premium-nav.is-scrolled { box-shadow: 0 16px 36px rgba(23,23,23,.08); background: var(--white); }
.brand { display: inline-flex; align-items: center; gap: .75rem; font-weight: 800; color: var(--dark); }
.brand-logo { display: block; width: auto; height: 46px; object-fit: contain; }
.footer-logo { height: 58px; background: var(--white); border-radius: 14px; padding: .45rem .7rem; border: 1px solid var(--line); }
.brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--red);
    color: var(--white);
    font-family: "Playfair Display", serif;
}
.nav-link { font-weight: 650; color: var(--dark); font-size: .94rem; position: relative; }
.nav-link:hover, .nav-link:focus { color: var(--red); }
.nav-link::after {
    content: "";
    position: absolute;
    left: .5rem;
    right: .5rem;
    bottom: .25rem;
    height: 2px;
    background: var(--red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .24s ease;
}
.nav-link:hover::after { transform: scaleX(1); }
.premium-dropdown { border: 1px solid var(--line); box-shadow: var(--shadow); border-radius: 16px; padding: .75rem; }
.dropdown-item { color: var(--dark); border-radius: 10px; }
.dropdown-item:hover { background: var(--soft-red); color: var(--red); }
.nav-search {
    min-width: 190px;
    display: flex;
    align-items: center;
    gap: .45rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: .42rem .78rem;
    background: var(--off-white);
    color: var(--muted);
}
.nav-search:focus-within { border-color: var(--red-line); background: var(--white); box-shadow: 0 0 0 4px rgba(200,16,46,.06); }
.nav-search input { border: 0; outline: 0; width: 100%; font-size: .9rem; color: var(--dark); background: transparent; }
.nav-search input::placeholder { color: var(--muted); }
.nav-icon {
    width: 42px;
    height: 42px;
    border: 1px solid var(--line);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: var(--white);
    color: var(--dark);
    transition: transform .2s ease, border-color .2s ease, color .2s ease;
}
.nav-icon:hover { color: var(--red); border-color: var(--red-line); transform: translateY(-1px); }
.cart-link span {
    position: absolute;
    top: -5px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--red);
    color: var(--white);
    font-size: .72rem;
    font-weight: 800;
}

.hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 56%, #fff 100%);
    color: var(--dark);
}
.hero-split { min-height: 720px; display: flex; align-items: center; padding: 72px 0 88px; }
.hero .container { position: relative; z-index: 2; }
.hero-shape { position: absolute; border-radius: 999px; background: var(--red); opacity: .07; filter: blur(4px); pointer-events: none; }
.hero-shape-one { width: 360px; height: 360px; top: 70px; right: 5%; }
.hero-shape-two { width: 180px; height: 180px; bottom: 74px; left: 8%; opacity: .05; }
.eyebrow {
    color: var(--red);
    text-transform: uppercase;
    font-weight: 800;
    font-size: .78rem;
    letter-spacing: 0;
}
.hero h1 {
    font-family: "Playfair Display", serif;
    font-size: clamp(2.65rem, 5.3vw, 5.35rem);
    line-height: 1.02;
    max-width: 760px;
    color: var(--dark);
}
.hero p { max-width: 610px; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.14rem); line-height: 1.8; }
.hero-actions .btn { min-width: 190px; }
.hero-trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    max-width: 560px;
}
.hero-trust div { border-left: 2px solid var(--red); padding-left: 1rem; }
.hero-trust strong { display: block; font-size: 1.25rem; color: var(--dark); }
.hero-trust span { display: block; color: var(--muted); font-size: .86rem; }
.hero-visual {
    position: relative;
    border-radius: 28px;
    padding: .85rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.hero-visual::before {
    content: "";
    position: absolute;
    inset: 8% -4% -5% 12%;
    border-radius: 28px;
    border: 1px solid var(--red-line);
    z-index: -1;
}
.hero-visual img {
    width: 100%;
    aspect-ratio: 1 / .86;
    object-fit: cover;
    object-position: center;
    border-radius: 22px;
    display: block;
}
.hero-product-note {
    position: absolute;
    left: 2rem;
    bottom: 2rem;
    max-width: 260px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: .9rem 1rem;
    box-shadow: var(--soft-shadow);
}
.hero-product-note span { display: block; color: var(--red); font-size: .76rem; font-weight: 800; text-transform: uppercase; }
.hero-product-note strong { display: block; color: var(--dark); }

.btn-premium, .btn-outline-premium, .btn-whatsapp, .btn-secondary-hero, .btn-light-outline {
    border-radius: 999px;
    font-weight: 800;
    padding: .82rem 1.22rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
}
.btn-premium { background: var(--red); border-color: var(--red); color: var(--white); box-shadow: 0 12px 26px rgba(200,16,46,.18); }
.btn-premium:hover { transform: translateY(-2px); background: var(--dark-red); border-color: var(--dark-red); color: var(--white); box-shadow: 0 16px 30px rgba(158,11,35,.2); }
.btn-outline-premium, .btn-secondary-hero, .btn-light-outline { background: var(--white); border: 1px solid var(--line); color: var(--dark); }
.btn-outline-premium:hover, .btn-secondary-hero:hover, .btn-light-outline:hover { border-color: var(--red-line); color: var(--red); transform: translateY(-2px); box-shadow: var(--soft-shadow); }
.btn-secondary-hero .bi-whatsapp { color: #16A34A; }
.btn-whatsapp { background: var(--white); border: 1px solid var(--line); color: var(--dark); }
.btn-whatsapp .bi-whatsapp { color: #16A34A; }
.btn-whatsapp:hover { border-color: var(--red-line); color: var(--red); transform: translateY(-2px); box-shadow: var(--soft-shadow); }
.btn-outline-dark { border-color: var(--red-line); color: var(--dark); }
.btn-outline-dark:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.text-success { color: var(--red) !important; }

.section-pad { padding: 96px 0; }
.section-soft { background: var(--off-white); }
.section-title {
    font-family: "Playfair Display", serif;
    color: var(--dark);
    font-size: clamp(2rem, 4vw, 3.25rem);
    line-height: 1.12;
}
.section-heading { border-bottom: 1px solid var(--line); padding-bottom: 1.4rem; }
.section-lead, .text-muted { color: var(--muted) !important; line-height: 1.75; }
.benefits-section { background: var(--white); }
.benefit {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 1.55rem;
    background: var(--white);
    height: 100%;
    box-shadow: 0 8px 24px rgba(23,23,23,.035);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.benefit:hover { transform: translateY(-4px); box-shadow: var(--soft-shadow); border-color: var(--red-line); }
.benefit i { color: var(--red); font-size: 1.85rem; }
.benefit h5, .benefit h6 { color: var(--dark); font-weight: 800; }
.category-card, .product-card, .testimonial-card, .info-panel, .checkout-panel {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(23,23,23,.045);
}
.category-card { overflow: hidden; height: 100%; transition: transform .24s ease, box-shadow .24s ease; }
.category-card:hover { transform: translateY(-5px); box-shadow: var(--soft-shadow); }
.category-card img { height: 220px; width: 100%; object-fit: cover; transition: transform .5s ease; }
.category-card:hover img, .product-card:hover .product-img img { transform: scale(1.035); }
.category-card .content { padding: 1.25rem; }
.category-card h5 { font-weight: 850; color: var(--dark); }

.product-card { overflow: hidden; height: 100%; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); border-color: var(--red-line); }
.product-img { position: relative; aspect-ratio: 4/3.15; overflow: hidden; background: var(--soft-gray); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.badge-premium {
    position: absolute;
    top: .9rem;
    left: .9rem;
    background: var(--red);
    color: var(--white);
    border-radius: 999px;
    padding: .38rem .72rem;
    font-size: .69rem;
    font-weight: 850;
}
.product-body { padding: 1.15rem; }
.product-meta { color: var(--muted); font-size: .82rem; margin-bottom: .35rem; }
.product-body h5 { font-weight: 850; font-size: 1rem; line-height: 1.4; margin-bottom: .45rem; color: var(--dark); }
.product-variant { color: var(--muted); font-size: .84rem; margin-bottom: .55rem; }
.price { color: var(--red); font-weight: 850; }
.rating { color: var(--red); font-size: .82rem; }

.promo-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(255,255,255,.98) 0%, rgba(255,255,255,.92) 48%, rgba(255,255,255,.54) 74%, rgba(255,255,255,.18) 100%), url('../uploads/asin2.png') center/cover;
    color: var(--dark);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: clamp(2rem, 6vw, 4.5rem);
    box-shadow: var(--soft-shadow);
}
.promo-band::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: var(--red);
}
.step-no {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--soft-red);
    color: var(--red);
    font-weight: 900;
}
.step-card { padding: 1.35rem; }
.info-panel { position: relative; overflow: hidden; }
.info-panel::after {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    right: -70px;
    bottom: -70px;
    background: var(--red);
    opacity: .06;
    border-radius: 50%;
}
.testimonial-card { transition: transform .24s ease, box-shadow .24s ease; }
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--soft-shadow); }
.cta-section { background: var(--white); }

.site-footer {
    background: var(--off-white);
    color: var(--dark);
    padding: 70px 0 26px;
    border-top: 1px solid var(--line);
}
.site-footer h6 { color: var(--dark); font-weight: 850; }
.site-footer a { display: block; color: var(--muted); margin: .45rem 0; }
.site-footer a:hover { color: var(--red); }
.site-footer .footer-social a { display: inline-flex; margin: 0; }
.site-footer .footer-copy span { color: var(--muted); }
.footer-copy { color: var(--muted); }
.footer-bottom { border-top: 1px solid var(--line); margin-top: 2rem; padding-top: 1.2rem; color: var(--muted); font-size: .9rem; }
.floating-wa, .scroll-top {
    position: fixed;
    right: 22px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    z-index: 20;
}
.floating-wa { bottom: 84px; background: var(--white); color: #16A34A; border: 1px solid var(--line); font-size: 1.25rem; box-shadow: var(--soft-shadow); }
.scroll-top { bottom: 24px; background: var(--red); color: var(--white); border: 0; opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.scroll-top.show { opacity: 1; pointer-events: auto; }

.page-hero {
    background: linear-gradient(135deg, var(--off-white), var(--white));
    color: var(--dark);
    padding: 76px 0;
    border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-family: "Playfair Display", serif; font-size: clamp(2.2rem, 5vw, 4rem); color: var(--dark); }
.page-hero .text-white-50 { color: var(--muted) !important; }
.form-control, .form-select { border-radius: 14px; border-color: var(--line); padding: .78rem .9rem; color: var(--dark); }
.form-control:focus, .form-select:focus { border-color: var(--red-line); box-shadow: 0 0 0 .2rem rgba(200,16,46,.08); }
.table { vertical-align: middle; color: var(--dark); }
.alert-warning { background: var(--soft-red); border-color: var(--red-line); color: var(--dark); }
.alert-danger { background: var(--soft-red); border-color: var(--red-line); color: var(--dark); }
.alert-success { background: var(--soft-red); border-color: var(--red-line); color: var(--dark); }

.admin-shell { min-height: 100vh; background: var(--off-white); }
.admin-sidebar { background: var(--dark-red); color: var(--white); min-height: 100vh; padding: 1rem; position: sticky; top: 0; }
.admin-sidebar a { color: rgba(255,255,255,.86); display: flex; gap: .65rem; padding: .72rem .8rem; border-radius: 12px; margin: .15rem 0; }
.admin-sidebar a:hover, .admin-sidebar a.active { background: var(--white); color: var(--red); }
.stat-card { border: 0; border-radius: 18px; box-shadow: 0 10px 28px rgba(23,23,23,.06); }
.fade-up { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.fade-up.is-visible { opacity: 1; transform: translateY(0); }

@media (max-width: 991px) {
    .hero-split { min-height: auto; padding: 58px 0 72px; }
    .hero-visual { margin-top: .5rem; }
    .nav-search { margin: .75rem 0; }
    .admin-sidebar { min-height: auto; position: static; }
    .nav-link::after { display: none; }
}

@media (max-width: 575px) {
    .section-pad { padding: 62px 0; }
    .hero-split { padding: 48px 0 62px; }
    .hero h1 { font-size: clamp(2.35rem, 12vw, 3.4rem); }
    .hero-trust { grid-template-columns: 1fr; gap: .7rem; }
    .hero-actions .btn, .btn-premium, .btn-outline-premium, .btn-whatsapp, .btn-secondary-hero { width: 100%; }
    .hero-product-note { position: static; margin: .85rem .2rem .2rem; max-width: none; }
    .brand-logo { height: 38px; max-width: 180px; }
    .footer-logo { height: 48px; }
    .product-actions { display: grid !important; }
}
.variant-editor {
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    padding: 1.15rem;
    box-shadow: 0 8px 22px rgba(23,23,23,.035);
}
.variant-editor-head {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: .75rem;
    margin-bottom: 1rem;
    padding-bottom: .8rem;
    border-bottom: 1px solid var(--line);
}
.variant-editor-head h6 {
    margin: 0;
    font-weight: 850;
    color: var(--dark);
}
.variant-editor-head span {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: var(--soft-red);
    color: var(--red);
    font-size: .82rem;
    font-weight: 750;
    padding: .35rem .75rem;
}
.form-label {
    font-weight: 750;
    color: var(--dark);
    font-size: .9rem;
}

.action-heading {
    width: 250px;
}
.action-cell {
    min-width: 250px;
}
.admin-action-group {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: .45rem;
    width: 100%;
}
.admin-action-group form {
    margin: 0;
    display: inline-flex;
}
.admin-action-btn {
    width: 76px;
    height: 38px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: var(--white);
    color: var(--dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .34rem;
    font-size: .84rem;
    font-weight: 750;
    line-height: 1;
    white-space: nowrap;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.admin-action-btn i {
    font-size: .9rem;
    line-height: 1;
}
.admin-action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(23,23,23,.08);
}
.action-view {
    background: var(--white);
    border-color: var(--line);
    color: var(--dark);
}
.action-view:hover {
    border-color: var(--red-line);
    color: var(--red);
}
.action-edit {
    background: var(--soft-red);
    border-color: var(--red-line);
    color: var(--dark-red);
}
.action-edit:hover {
    background: var(--white);
    border-color: var(--red);
    color: var(--red);
}
.action-delete {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
}
.action-delete:hover {
    background: var(--dark-red);
    border-color: var(--dark-red);
    color: var(--white);
}

@media (max-width: 767px) {
    .action-heading,
    .action-cell {
        min-width: 230px;
        width: 230px;
    }
    .admin-action-btn {
        width: 70px;
        height: 36px;
        font-size: .8rem;
    }
}

.variant-list {
    display: grid;
    gap: 1rem;
}
.variant-remove-btn {
    height: 34px;
    border-radius: 999px;
    border: 1px solid var(--red-line);
    background: var(--white);
    color: var(--red);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .35rem;
    padding: 0 .8rem;
    font-size: .82rem;
    font-weight: 800;
    transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.variant-remove-btn:hover:not(:disabled) {
    background: var(--red);
    border-color: var(--red);
    color: var(--white);
    transform: translateY(-1px);
}
.variant-remove-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    color: var(--white);
    font-weight: 850;
}
.admin-logo-box {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: .35rem;
    box-shadow: 0 10px 22px rgba(23,23,23,.12);
}
.admin-logo-box img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.map-preview {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--off-white);
    padding: 1rem;
}
.map-preview i {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-red);
    color: var(--red);
    flex: 0 0 42px;
}

.nav-brand-logo {
    height: 76px;
    max-width: 220px;
}
.premium-nav .navbar-brand {
    padding-top: .35rem;
    padding-bottom: .35rem;
}
.premium-nav .container {
    min-height: 82px;
}
@media (max-width: 991px) {
    .nav-brand-logo {
        height: 58px;
        max-width: 190px;
    }
    .premium-nav .container {
        min-height: 68px;
    }
}
@media (max-width: 575px) {
    .nav-brand-logo {
        height: 50px;
        max-width: 165px;
    }
}

.login-alert {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    border-radius: 16px;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    font-weight: 700;
    line-height: 1.55;
}
.login-alert i {
    margin-top: .15rem;
    font-size: 1.05rem;
}
.login-alert-success {
    background: #F0FDF4;
    border-color: rgba(22, 163, 74, .22);
    color: #166534;
}
.login-alert-danger {
    background: var(--soft-red);
    border-color: var(--red-line);
    color: var(--dark-red);
}
.login-alert-warning {
    background: #FFF7ED;
    border-color: rgba(234, 88, 12, .22);
    color: #9A3412;
}

.payment-box {
    border: 1px solid var(--red-line);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--white), var(--off-white));
}
.payment-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-red);
    color: var(--red);
    flex: 0 0 46px;
    font-size: 1.15rem;
}
.payment-instruction,
.payment-note {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    padding: 1rem;
    color: var(--dark);
}
.payment-note {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    color: var(--muted);
    font-size: .92rem;
}
.payment-note i {
    color: var(--red);
    margin-top: .15rem;
}
.payment-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}
.payment-summary > div,
.bank-destination {
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--white);
    padding: 1rem;
}
.payment-summary span,
.bank-destination span {
    display: block;
    color: var(--muted);
    font-size: .88rem;
    margin-bottom: .25rem;
}
.payment-summary strong,
.bank-destination strong {
    display: block;
    color: var(--dark);
    font-size: 1.1rem;
}
.payment-steps {
    color: var(--dark);
    line-height: 1.85;
}
@media (max-width: 575px) {
    .payment-summary {
        grid-template-columns: 1fr;
    }
}

.status-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    padding: .35rem .7rem;
    font-size: .78rem;
    font-weight: 850;
    border: 1px solid var(--line);
    white-space: nowrap;
}
.status-good { background: #F0FDF4; color: #166534; border-color: rgba(22,163,74,.22); }
.status-wait { background: #FFF7ED; color: #9A3412; border-color: rgba(234,88,12,.22); }
.status-bad { background: var(--soft-red); color: var(--dark-red); border-color: var(--red-line); }
.status-neutral { background: var(--off-white); color: var(--dark); }
.product-gallery-view { display: grid; gap: 1rem; }
.product-gallery-main { width: 100%; height: auto; object-fit: contain; background: var(--white); border: 1px solid var(--line); padding: 0; display: block; }
.product-gallery-thumbs,
.product-gallery-admin { display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: .75rem; }
.product-gallery-thumb,
.product-gallery-admin-item { border: 1px solid var(--line); border-radius: 12px; background: var(--white); padding: .35rem; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.product-gallery-thumb { cursor: pointer; }
.product-gallery-thumb.active,
.product-gallery-thumb:hover { border-color: var(--red); box-shadow: var(--soft-shadow); transform: translateY(-1px); }
.product-gallery-thumb img,
.product-gallery-admin-item img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--white); border-radius: 8px; display: block; }
.product-gallery-admin-item { display: grid; gap: .45rem; color: var(--muted); font-size: .84rem; }
.product-gallery-admin-item span { display: flex; align-items: center; gap: .4rem; }
.contact-hero {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--white) 58%, var(--soft-red) 100%);
    border-bottom: 1px solid var(--line);
    padding: 72px 0 76px;
    overflow: hidden;
}
.contact-hero h1 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2.6rem, 6vw, 5rem);
    line-height: 1.02;
    color: var(--dark);
    margin: 0;
}
.contact-hero-visual {
    position: relative;
    border-radius: 24px;
    padding: .75rem;
    background: var(--white);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.contact-hero-visual img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    display: block;
}
.contact-hero-badge {
    position: absolute;
    left: 1.6rem;
    bottom: 1.6rem;
    max-width: 250px;
    background: rgba(255,255,255,.94);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: .85rem 1rem;
    box-shadow: var(--soft-shadow);
}
.contact-hero-badge span {
    display: block;
    color: var(--red);
    font-size: .74rem;
    font-weight: 850;
    text-transform: uppercase;
}
.contact-hero-badge strong {
    display: block;
    color: var(--dark);
    line-height: 1.35;
}
.contact-section {
    padding: 72px 0;
}
.contact-section-heading {
    max-width: 760px;
}
.contact-info-card,
.contact-social-card {
    height: 100%;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--white);
    box-shadow: 0 10px 28px rgba(23,23,23,.045);
    transition: transform .24s ease, box-shadow .24s ease, border-color .24s ease;
}
.contact-info-card {
    padding: 1.35rem;
}
.contact-info-card:hover,
.contact-social-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--soft-shadow);
    border-color: var(--red-line);
}
.contact-icon,
.contact-social-card span {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--soft-red);
    color: var(--red);
    font-size: 1.25rem;
    flex: 0 0 48px;
}
.contact-info-card h3 {
    margin: 1rem 0 .45rem;
    font-size: 1.05rem;
    font-weight: 850;
    color: var(--dark);
}
.contact-info-card p {
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
    overflow-wrap: anywhere;
}
.contact-bank-note {
    display: inline-flex;
    align-items: flex-start;
    gap: .9rem;
    border: 1px solid var(--red-line);
    border-radius: 18px;
    background: linear-gradient(135deg, var(--white), var(--off-white));
    padding: 1rem 1.15rem;
    box-shadow: 0 10px 24px rgba(23,23,23,.035);
}
.contact-bank-note i {
    color: var(--red);
    font-size: 1.3rem;
}
.contact-bank-note strong,
.contact-bank-note span {
    display: block;
}
.contact-bank-note span {
    color: var(--muted);
    margin-top: .15rem;
}
.contact-map-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--white);
    box-shadow: var(--shadow);
    min-height: 430px;
}
.contact-map-wrap iframe {
    display: block;
    width: 100%;
    height: 430px;
    border: 0;
}
.contact-social-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.2rem;
    color: var(--dark);
}
.contact-social-card strong {
    display: block;
    font-weight: 850;
    font-size: 1.05rem;
}
.contact-social-card small {
    display: block;
    color: var(--muted);
    margin-top: .12rem;
}
.contact-social-card:hover {
    color: var(--red);
}
.contact-cta {
    padding: 0 0 76px;
    background: var(--white);
}
.contact-cta-panel {
    border-radius: 24px;
    background: linear-gradient(135deg, var(--dark-red), var(--red));
    color: var(--white);
    padding: clamp(2rem, 5vw, 4rem);
    box-shadow: 0 24px 70px rgba(158,11,35,.2);
    overflow: hidden;
    position: relative;
}
.contact-cta-panel::after {
    content: "";
    position: absolute;
    inset: auto -80px -110px auto;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
}
.contact-cta-panel .eyebrow,
.contact-cta-panel h2,
.contact-cta-panel p,
.contact-cta-panel a {
    position: relative;
    z-index: 1;
}
.contact-cta-panel .eyebrow {
    color: rgba(255,255,255,.82);
}
.contact-cta-panel h2 {
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(2rem, 4vw, 3.2rem);
    margin-bottom: .85rem;
}
.contact-cta-panel p {
    max-width: 720px;
    margin: 0 auto 1.5rem;
    color: rgba(255,255,255,.86);
    line-height: 1.75;
}
.btn-contact-cta {
    border-radius: 999px;
    background: var(--white);
    color: var(--dark-red);
    border: 1px solid rgba(255,255,255,.4);
    font-weight: 850;
    padding: .86rem 1.3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    transition: transform .2s ease, box-shadow .2s ease;
}
.btn-contact-cta:hover {
    color: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(23,23,23,.18);
}

@media (max-width: 991px) {
    .contact-hero {
        padding: 58px 0 64px;
    }
    .contact-map-wrap,
    .contact-map-wrap iframe {
        min-height: 360px;
        height: 360px;
    }
}

@media (max-width: 575px) {
    .contact-hero,
    .contact-section {
        padding: 52px 0;
    }
    .contact-cta {
        padding-bottom: 56px;
    }
    .contact-hero-actions .btn,
    .btn-contact-cta {
        width: 100%;
    }
    .contact-hero-badge {
        position: static;
        max-width: none;
        margin: .8rem .15rem .1rem;
    }
    .contact-map-wrap,
    .contact-map-wrap iframe {
        min-height: 320px;
        height: 320px;
    }
    .contact-social-card {
        align-items: flex-start;
    }
    .contact-bank-note {
        width: 100%;
    }
}
.contact-hero-map iframe {
    width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 360px;
    border: 0;
    border-radius: 20px;
    display: block;
}

@media (max-width: 575px) {
    .contact-hero-map iframe {
        min-height: 320px;
    }
}

/* Responsive hardening for storefront and admin pages */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

iframe,
video,
canvas,
svg {
    max-width: 100%;
}

.table-responsive {
    -webkit-overflow-scrolling: touch;
}

.table {
    min-width: 680px;
}

.checkout-panel,
.info-panel,
.benefit,
.product-card,
.category-card,
.testimonial-card,
.stat-card,
.contact-info-card,
.contact-social-card,
.contact-cta-panel {
    overflow-wrap: anywhere;
}

.premium-nav .navbar-collapse {
    min-width: 0;
}

.nav-search {
    width: min(100%, 260px);
}

.product-actions,
.hero-actions,
.contact-hero-actions {
    min-width: 0;
}

@media (max-width: 991px) {
    .premium-nav .navbar-collapse {
        padding: .75rem 0 1rem;
    }
    .premium-nav .navbar-nav {
        align-items: stretch !important;
        gap: .25rem !important;
    }
    .premium-nav .nav-link,
    .premium-nav .nav-icon,
    .premium-nav .nav-search {
        margin-top: .2rem;
    }
    .premium-nav .nav-icon {
        width: 100%;
        height: 44px;
        border-radius: 14px;
    }
    .nav-search {
        width: 100%;
        min-width: 0;
    }
    .dropdown-menu.premium-dropdown {
        box-shadow: none;
        border-radius: 14px;
    }
    .site-footer {
        padding-top: 52px;
    }
}

@media (max-width: 767px) {
    .page-hero {
        padding: 54px 0;
    }
    .section-heading {
        padding-bottom: 1rem;
    }
    .checkout-panel,
    .info-panel,
    .stat-card {
        border-radius: 16px;
    }
    .checkout-panel.p-5,
    .stat-card.p-4,
    .info-panel.p-4,
    .info-panel.p-lg-5 {
        padding: 1.25rem !important;
    }
    .payment-box.p-4 {
        padding: 1rem !important;
    }
    .product-gallery-thumbs,
    .product-gallery-admin {
        grid-template-columns: repeat(auto-fill, minmax(74px, 1fr));
    }
    .admin-action-group {
        justify-content: flex-start;
    }
}

@media (max-width: 575px) {
    .top-info {
        font-size: .76rem;
        line-height: 1.45;
        padding: .5rem .75rem;
    }
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .section-title,
    .page-hero h1,
    .contact-hero h1 {
        word-break: normal;
        overflow-wrap: anywhere;
    }
    .btn-premium,
    .btn-outline-premium,
    .btn-whatsapp,
    .btn-secondary-hero,
    .btn-light-outline,
    .btn-contact-cta {
        min-height: 46px;
        white-space: normal;
        text-align: center;
    }
    .category-card img {
        height: 190px;
    }
    .promo-band {
        border-radius: 18px;
    }
    .floating-wa,
    .scroll-top {
        right: 14px;
        width: 44px;
        height: 44px;
    }
    .floating-wa {
        bottom: 76px;
    }
    .scroll-top {
        bottom: 22px;
    }
    .payment-summary strong,
    .bank-destination strong {
        font-size: 1rem;
    }
    .contact-cta-panel {
        border-radius: 20px;
    }
}

.shipping-search-results,
.shipping-options {
    display: grid;
    gap: .6rem;
}
.shipping-destination-result,
.shipping-option {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--white);
    color: var(--dark);
    padding: .8rem .9rem;
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.shipping-destination-result:hover,
.shipping-option:hover {
    border-color: var(--red-line);
    box-shadow: var(--soft-shadow);
    transform: translateY(-1px);
}
.shipping-option {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    cursor: pointer;
}
.shipping-option input {
    margin-top: .28rem;
    accent-color: var(--red);
}
.shipping-option strong,
.shipping-option small {
    display: block;
}
.shipping-option small {
    color: var(--muted);
    margin-top: .16rem;
}

.tracking-timeline {
    display: grid;
    gap: .85rem;
}
.tracking-event {
    position: relative;
    display: flex;
    gap: .85rem;
    padding-left: .2rem;
}
.tracking-event:not(:last-child)::after {
    content: "";
    position: absolute;
    left: .48rem;
    top: 1.25rem;
    bottom: -.85rem;
    width: 1px;
    background: var(--line);
}
.tracking-dot {
    position: relative;
    z-index: 1;
    width: .72rem;
    height: .72rem;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 4px var(--soft-red);
    flex: 0 0 .72rem;
    margin-top: .32rem;
}
.tracking-event strong,
.tracking-event small {
    display: block;
}
.tracking-event small {
    color: var(--muted);
    margin-top: .15rem;
}
