:root {
    --bg: #f5f5f5;
    --surface: #ffffff;
    --surface-soft: #fafafa;
    --text: #111111;
    --muted: #6b7280;
    --line: #e5e7eb;
    --line-dark: #d1d5db;
    --primary: #d90429;
    --primary-dark: #b00020;
    --dark: #111111;
    --success: #0f766e;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 18px;
    --shadow-sm: 0 4px 10px rgba(17, 17, 17, 0.04);
    --shadow-md: 0 12px 28px rgba(17, 17, 17, 0.08);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
    background: var(--bg);
    color: var(--text);
    font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 700;
    line-height: 1.2;
}

p {
    margin: 0;
    line-height: 1.7;
}

.container-xxl {
    max-width: 1320px;
}

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

.section-kicker {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 8px;
}

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

.section-heading h2,
.page-hero h1,
.content-page h1,
.success-panel h1 {
    font-size: clamp(26px, 3vw, 38px);
}

.section-heading p:last-child,
.page-hero p,
.content-page p {
    color: var(--muted);
}

.top-strip {
    background: #1f1f1f;
    color: #ffffff;
    font-size: 12px;
}

.top-strip-inner {
    min-height: 42px;
    display: grid;
    grid-template-columns: 180px 1fr 180px;
    align-items: center;
    gap: 16px;
}

.top-strip-left a,
.top-strip-right span {
    color: rgba(255, 255, 255, 0.88);
}

.top-strip-center {
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, 0.92);
}

.top-strip-right {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.site-header {
    background: var(--surface);
    border-bottom: 1px solid var(--line);
}

.header-main {
    background: var(--surface);
}

.header-main-inner {
    display: flex;
    align-items: center;
    gap: 20px;
    min-height: 82px;
    flex-wrap: nowrap;
}

.navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--primary);
    color: #fff;
    font-size: 14px;
    font-weight: 800;
}

.navbar-brand small {
    display: block;
    font-size: 11px;
    color: var(--muted);
    text-transform: uppercase;
    margin-bottom: 2px;
}

.navbar-brand strong {
    display: block;
    font-size: 24px;
    color: var(--text);
}

.header-search {
    flex: 1;
    max-width: 520px;
}

.header-search-mobile {
    display: none;
}

.mobile-utility-bar {
    display: none;
}

.mobile-utility-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: var(--surface);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.mobile-utility-link i {
    font-size: 15px;
    line-height: 1;
}

.mobile-utility-link-primary {
    background: #111111;
    border-color: #111111;
    color: #ffffff;
}

.search-shell {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 12px;
}

.search-shell.wide {
    max-width: 760px;
}

.search-shell input {
    flex: 1;
    min-width: 0;
    border: 0;
    background: transparent;
    outline: none;
}

.search-shell button {
    border: 0;
    background: var(--dark);
    color: #fff;
    border-radius: 999px;
    padding: 10px 18px;
    font-size: 14px;
    font-weight: 700;
}

.header-icons .icon-link {
    position: relative;
    width: 40px;
    height: 40px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.header-icons .icon-link span {
    position: absolute;
    top: -3px;
    right: -2px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--primary);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.header-nav-strip {
    border-top: 1px solid var(--line);
    background: var(--surface);
}

.nav-row {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
}

.nav-link {
    display: inline-block;
    padding: 14px 8px !important;
    color: var(--text);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.nav-link.active,
.nav-link:hover,
.text-link,
.btn-link-luxe {
    color: var(--primary);
}

.mobile-nav-links {
    display: grid;
    gap: 12px;
}

.mobile-nav-links a {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
    font-weight: 600;
}

.liperla-alert {
    border-radius: 10px;
}

.hero-card,
.page-hero,
.promo-card,
.product-card,
.spotlight-card,
.brand-tile,
.brand-showcase,
.newsletter-panel,
.summary-card,
.content-card,
.trust-card,
.filter-card,
.table-card,
.success-panel,
.timeline-card,
.wishlist-card,
.admin-sidebar,
.form-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.hero-card,
.page-hero,
.newsletter-panel,
.summary-card,
.content-card,
.filter-card,
.table-card,
.success-panel,
.timeline-card,
.wishlist-card,
.form-card {
    padding: 24px;
}

.hero-card {
    overflow: hidden;
    padding: 28px;
}

.hero-accent-red {
    background: linear-gradient(90deg, #ffffff 0%, #fff2f4 100%);
}

.hero-accent-gold {
    background: linear-gradient(90deg, #ffffff 0%, #fff8ed 100%);
}

.hero-accent-dark {
    background: linear-gradient(90deg, #ffffff 0%, #f2f2f2 100%);
}

.hero-copy {
    font-size: 16px;
    color: var(--muted);
    max-width: 540px;
}

.hero-actions {
    margin-top: 20px;
}

.btn-liperla {
    border: 0;
    background: var(--primary);
    color: #fff;
    border-radius: 999px;
    padding: 12px 20px;
    font-size: 14px;
    font-weight: 700;
}

.btn-liperla:hover,
.btn-liperla:focus {
    color: #fff;
    background: var(--primary-dark);
}

.icon-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    padding: 10px 14px;
    border: 1px solid var(--line-dark);
    border-radius: 999px;
    background: #fff;
}

.hero-visual {
    min-height: 360px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.92), rgba(255,255,255,0) 34%),
        linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-badge {
    position: absolute;
    top: 18px;
    right: 18px;
    background: var(--dark);
    color: #fff;
    border-radius: 12px;
    padding: 12px 14px;
}

.hero-badge strong {
    display: block;
    font-size: 14px;
    margin-bottom: 4px;
}

.hero-badge span {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.74);
}

.hero-countdown {
    position: absolute;
    left: 18px;
    bottom: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 12px 14px;
}

.hero-countdown span {
    display: block;
    font-size: 11px;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}

.hero-countdown strong {
    font-size: 16px;
}

.hero-art-svg {
    width: min(100%, 540px);
    height: auto;
    display: block;
}

.hero-indicators {
    justify-content: center;
    gap: 8px;
}

.hero-indicators button {
    width: 36px !important;
    height: 4px !important;
    border: 0 !important;
    background: #d1d5db !important;
    border-radius: 999px;
}

.hero-indicators button.active {
    background: var(--primary) !important;
}

.collection-tile,
.brand-tile {
    display: flex;
    align-items: center;
    gap: 14px;
    height: 100%;
    padding: 18px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.collection-tile:hover,
.brand-tile:hover,
.promo-card:hover,
.spotlight-card:hover,
.brand-showcase:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.collection-icon,
.brand-monogram {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-grid;
    place-items: center;
    background: #fff2f4;
    color: var(--primary);
    font-size: 18px;
    font-weight: 700;
    flex: 0 0 auto;
}

.brand-monogram.large {
    width: 70px;
    height: 70px;
    font-size: 28px;
}

.promo-grid .promo-card {
    display: block;
    min-height: 190px;
    padding: 22px;
}

.promo-men {
    background: linear-gradient(180deg, #f7f8fa 0%, #ffffff 100%);
}

.promo-women {
    background: linear-gradient(180deg, #fff3f5 0%, #ffffff 100%);
}

.promo-home {
    background: linear-gradient(180deg, #f7f5ef 0%, #ffffff 100%);
}

.promo-card h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.promo-card p {
    color: var(--muted);
    max-width: 250px;
}

.product-card {
    padding: 14px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 12px 24px rgba(17, 17, 17, 0.05);
}

.product-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.pill-dark {
    background: #111;
    color: #fff;
}

.pill-sale {
    background: #fff2f4;
    color: var(--primary);
}

.wishlist-toggle {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

.wishlist-toggle .bi-heart-fill {
    color: var(--primary);
}

.product-visual,
.product-stage {
    position: relative;
    min-height: 250px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.88), rgba(255,255,255,0) 34%),
        linear-gradient(180deg, #ffffff 0%, #f6f6f6 100%);
    border: 1px solid var(--line);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-stage {
    min-height: 540px;
}

.visual-discount {
    position: absolute;
    left: 12px;
    top: 12px;
    z-index: 2;
    background: var(--primary);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 999px;
}

.bottle-art {
    width: 84%;
    max-width: 230px;
    height: auto;
    display: block;
}

.bottle-art-large {
    width: min(84%, 360px);
    max-width: 360px;
}

.product-accent-amber { --accent-main: #c08b2f; --accent-soft: #fff1cd; }
.product-accent-ocean { --accent-main: #3b82c4; --accent-soft: #dff5ff; }
.product-accent-rose { --accent-main: #cf5a7d; --accent-soft: #ffe0ea; }
.product-accent-forest { --accent-main: #3e6c52; --accent-soft: #dff3e7; }
.product-accent-sand { --accent-main: #d4a65d; --accent-soft: #fff0d5; }
.product-accent-pearl { --accent-main: #8f97a3; --accent-soft: #f1f4f8; }
.product-accent-ember { --accent-main: #b05b35; --accent-soft: #ffe4d8; }
.product-accent-midnight { --accent-main: #443759; --accent-soft: #ece8f7; }

.product-accent-amber .product-visual,
.product-accent-amber.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.9), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff8ef 0%, #fff1d8 100%); }
.product-accent-ocean .product-visual,
.product-accent-ocean.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.92), rgba(255,255,255,0) 34%), linear-gradient(180deg, #eef8ff 0%, #dff1fd 100%); }
.product-accent-rose .product-visual,
.product-accent-rose.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.92), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff3f7 0%, #ffe3ec 100%); }
.product-accent-forest .product-visual,
.product-accent-forest.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.92), rgba(255,255,255,0) 34%), linear-gradient(180deg, #eef8f1 0%, #def0e6 100%); }
.product-accent-sand .product-visual,
.product-accent-sand.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.92), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff8ee 0%, #fff0db 100%); }
.product-accent-pearl .product-visual,
.product-accent-pearl.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.95), rgba(255,255,255,0) 34%), linear-gradient(180deg, #f9fafc 0%, #edf1f5 100%); }
.product-accent-ember .product-visual,
.product-accent-ember.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.9), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff4ee 0%, #ffe4d8 100%); }
.product-accent-midnight .product-visual,
.product-accent-midnight.product-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.9), rgba(255,255,255,0) 34%), linear-gradient(180deg, #f7f5fb 0%, #ece8f7 100%); }

.product-size {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
}

.product-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.product-brand,
.product-brand-line a {
    font-size: 12px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
}

.product-meta h3 {
    font-size: 17px;
    min-height: 42px;
}

.product-meta p {
    color: var(--muted);
    font-size: 14px;
    min-height: 44px;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--muted);
}

.product-rating i {
    color: #f59e0b;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.price-row strong {
    font-size: 22px;
}

.price-row s {
    color: var(--muted);
    font-size: 14px;
}

.card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.page-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
}

.brand-quote {
    min-width: 220px;
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 14px;
    text-align: center;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
    padding: 20px;
}

.meta-stack,
.applied-filters,
.spec-chips,
.size-options,
.thumbnail-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.meta-stack span,
.applied-filters span,
.spec-chips span,
.size-pill {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--line);
    background: var(--surface-soft);
    border-radius: 999px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 600;
}

.breadcrumb-row {
    margin-top: 16px;
    color: var(--muted);
    font-size: 14px;
}

.crumb-sep {
    margin: 0 6px;
}

.catalog-toolbar {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.sort-form select,
.filter-form select,
.filter-form input,
.checkout-form input,
.checkout-form textarea,
.form-card input,
.form-card textarea,
.coupon-card input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    outline: none;
}

.filter-card h2,
.summary-card h2,
.form-card h2,
.content-card h2,
.timeline-card h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

.filter-form,
.checkout-form {
    display: grid;
    gap: 14px;
}

.checkbox-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-line input {
    width: auto;
}

.empty-state {
    text-align: center;
    background: #fff;
    border: 1px dashed var(--line-dark);
    border-radius: var(--radius-md);
    padding: 50px 20px;
}

.product-title {
    font-size: clamp(28px, 4vw, 42px);
    margin: 6px 0 10px;
}

.product-summary {
    color: var(--muted);
    margin-bottom: 10px;
}

.product-price strong {
    font-size: 28px;
}

.size-pill.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.delivery-card {
    display: grid;
    gap: 14px;
    margin-top: 20px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface-soft);
}

.delivery-card p {
    color: var(--muted);
    margin-top: 4px;
}

.product-tabs .nav-pills {
    gap: 8px;
}

.product-tabs .nav-link {
    padding: 10px 14px !important;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: #fff;
}

.product-tabs .nav-link.active {
    background: #111;
    color: #fff;
    border-color: #111;
}

.spec-grid,
.confirmation-grid,
.note-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
}

.spec-grid div,
.confirmation-grid div,
.metric-card,
.address-card,
.note-card {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: #fff;
}

.spec-grid span,
.confirmation-grid span,
.metric-card span,
.address-card span,
.note-card span {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-bottom: 6px;
}

.review-panel {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 14px;
}

.review-summary,
.review-list article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 18px;
}

.review-summary strong {
    font-size: 34px;
}

.review-list {
    display: grid;
    gap: 12px;
}

.spotlight-card,
.brand-showcase,
.trust-card,
.admin-sidebar {
    padding: 20px;
}

.spotlight-card h3,
.brand-showcase h2,
.brand-tile h3,
.collection-tile h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.spotlight-card p,
.brand-showcase p,
.brand-tile p,
.collection-tile p,
.trust-card p,
.footer-copy,
.footer-links a {
    color: var(--muted);
}

.spotlight-card span:last-child,
.brand-showcase span:last-child {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    color: var(--primary);
    font-weight: 700;
}

.table-card {
    padding: 14px;
}

.cart-table th {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--muted);
}

.cart-product {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mini-bottle {
    width: 42px;
    height: 58px;
    border-radius: 10px 10px 16px 16px;
    display: inline-block;
    background: linear-gradient(180deg, #ffffff 0%, #ececec 100%);
    border: 1px solid var(--line);
}

.quantity-form {
    display: flex;
    align-items: center;
    gap: 8px;
}

.quantity-form input {
    width: 74px;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 8px 10px;
}

.summary-card {
    display: grid;
    gap: 12px;
}

.sticky-summary {
    position: sticky;
    top: 110px;
}

.summary-line,
.summary-product,
.order-card {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.summary-line.total {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.coupon-card {
    background: var(--surface-soft);
    border-radius: 10px;
    padding: 14px;
}

.shipping-progress {
    margin-top: 18px;
    background: #effaf8;
    border: 1px solid #c9efea;
    color: var(--success);
    border-radius: 10px;
    padding: 12px 14px;
    font-weight: 600;
}

.payment-options {
    display: grid;
    gap: 10px;
}

.payment-options label {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
}

.success-panel {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.account-shell {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 18px;
    margin-top: 18px;
}

.account-nav,
.admin-sidebar {
    display: grid;
    gap: 8px;
}

.account-nav a,
.admin-sidebar a {
    padding: 12px 14px;
    border-radius: 10px;
    font-weight: 600;
}

.account-nav a.active,
.admin-sidebar a.active,
.account-nav a:hover,
.admin-sidebar a:hover {
    background: #fff2f4;
    color: var(--primary);
}

.order-list,
.timeline {
    display: grid;
    gap: 12px;
}

.order-card,
.timeline-item {
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.order-card:last-child,
.timeline-item:last-child {
    border-bottom: 0;
}

.timeline-item strong {
    display: block;
    margin-bottom: 6px;
}

.timeline-item span {
    color: var(--muted);
}

.timeline-item.active strong {
    color: var(--primary);
}

.timeline-item-payment {
    padding: 16px 18px;
    border: 1px solid rgba(217, 4, 41, 0.16);
    border-radius: 18px;
    background: #fff7f9;
}

.timeline-item-payment:last-child {
    border-bottom: 1px solid rgba(217, 4, 41, 0.16);
}

.newsletter-panel {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    background: linear-gradient(135deg, #ffffff 0%, #fff3f6 100%);
}

.newsletter-panel h2 {
    font-size: clamp(24px, 3vw, 34px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    width: min(480px, 100%);
}

.newsletter-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 12px 14px;
}

.newsletter-form button {
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 12px 18px;
    font-weight: 700;
}

.footer-newsletter-form {
    margin: 16px 0 18px;
}

.footer-trust,
.footer-main,
.footer-bottom {
    padding: 28px 0;
}

.footer-trust {
    background: #fff;
    border-top: 1px solid var(--line);
}

.trust-card {
    height: 100%;
}

.trust-card i {
    font-size: 22px;
    color: var(--primary);
}

.trust-card h3 {
    margin: 12px 0 6px;
    font-size: 18px;
}

.site-footer {
    background: #fff;
    border-top: 1px solid var(--line);
}

.footer-brand {
    font-size: 28px;
    margin-bottom: 12px;
}

.footer-main h4 {
    font-size: 18px;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 14px 0 0;
    display: grid;
    gap: 10px;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    background: var(--surface-soft);
    border: 1px solid var(--line);
}

.footer-bottom {
    border-top: 1px solid var(--line);
    color: var(--muted);
}

.footer-bottom p {
    margin: 0;
}

.content-page {
    max-width: 1100px;
}

.content-page.narrow {
    max-width: 820px;
}

.feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 10px;
}

.feature-list li {
    position: relative;
    padding-left: 20px;
    color: var(--muted);
}

.feature-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 11px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
}

.auth-page {
    min-height: calc(100vh - 240px);
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(300px, 1.1fr) minmax(320px, 0.9fr);
    gap: 20px;
    align-items: stretch;
}

.auth-panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}

.auth-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 14px;
}

.auth-form-card {
    display: grid;
    gap: 14px;
}

.auth-form-card label,
.admin-form-grid label {
    display: grid;
    gap: 8px;
    font-weight: 600;
}

.auth-form-card input,
.auth-form-card select,
.auth-form-card textarea,
.admin-form-grid input,
.admin-form-grid select,
.admin-form-grid textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 12px 14px;
    background: #fff;
    outline: none;
}

.auth-footnote {
    font-size: 14px;
    color: var(--muted);
    margin: 0;
}

.auth-footnote a {
    color: var(--primary);
    font-weight: 700;
}

.admin-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-form-span-2 {
    grid-column: span 2;
}

.admin-check-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
}

.admin-list {
    display: grid;
    gap: 12px;
}

.admin-list-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
}

.admin-list-item:last-child {
    border-bottom: 0;
}

.admin-list-item p,
.admin-list-item small {
    color: var(--muted);
}

.thumbnail-row .thumb {
    width: 60px;
    height: 60px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--surface-soft);
    display: inline-block;
}

.thumbnail-row .thumb.active {
    border-color: var(--primary);
}

.accordion-item {
    border: 1px solid var(--line) !important;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 10px;
}

.accordion-button {
    box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
    color: var(--text);
    background: #fff2f4;
}

@media (max-width: 1199.98px) {
    .top-strip-inner {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 8px 0;
    }

    .top-strip-left,
    .top-strip-right {
        display: none;
    }

    .header-main-inner {
        min-height: 72px;
        justify-content: space-between;
        flex-wrap: wrap;
        row-gap: 12px;
    }

    .sticky-summary {
        position: static;
    }

    .header-search-mobile {
        display: block;
        padding-bottom: 12px;
    }

    .mobile-utility-bar {
        display: flex;
        align-items: center;
        gap: 10px;
        padding-bottom: 14px;
        overflow-x: auto;
        scrollbar-width: none;
    }

    .mobile-utility-bar::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 991.98px) {
    .page-hero,
    .newsletter-panel,
    .account-shell,
    .auth-shell {
        grid-template-columns: 1fr;
        display: grid;
    }

    .review-panel {
        grid-template-columns: 1fr;
    }

    .newsletter-form {
        width: 100%;
    }

    .hero-visual {
        min-height: 300px;
    }

    .brand-quote {
        min-width: 0;
        width: 100%;
    }
}

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

    .hero-card,
    .page-hero,
    .newsletter-panel,
    .summary-card,
    .content-card,
    .filter-card,
    .table-card,
    .success-panel,
    .timeline-card,
    .wishlist-card,
    .form-card {
        padding: 18px;
    }

    .hero-actions,
    .meta-stack,
    .spec-chips,
    .size-options,
    .card-actions,
    .newsletter-form,
    .toolbar-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .top-strip-center {
        gap: 10px;
        font-size: 11px;
    }

    .header-main-inner {
        min-height: auto;
        padding: 12px 0 4px;
        gap: 10px;
    }

    .navbar-brand {
        min-width: 0;
        flex: 1 1 auto;
    }

    .navbar-brand strong {
        font-size: 20px;
        line-height: 1.1;
    }

    .brand-mark {
        width: 40px;
        height: 40px;
    }

    .header-icons {
        gap: 8px !important;
    }

    .header-icons .icon-link {
        width: 36px;
        height: 36px;
    }

    .search-shell {
        border-radius: 16px;
        align-items: stretch;
        flex-wrap: wrap;
    }

    .search-shell button,
    .newsletter-form button {
        width: 100%;
    }

    .product-stage {
        min-height: 380px;
    }

    .hero-visual {
        min-height: 260px;
    }

    .bottle-art {
        width: 92%;
    }

    .bottle-art-large {
        width: min(88%, 300px);
    }

    .account-shell {
        grid-template-columns: 1fr;
    }

    .auth-panel,
    .admin-sidebar {
        padding: 20px;
    }

    .admin-form-grid {
        grid-template-columns: 1fr;
    }

    .admin-form-span-2 {
        grid-column: auto;
    }

    .admin-list-item,
    .summary-line,
    .summary-product,
    .order-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .catalog-toolbar {
        align-items: stretch;
    }

    .sort-form {
        width: 100%;
    }

    .sort-form select {
        width: 100%;
    }

    .product-meta h3,
    .product-meta p {
        min-height: 0;
    }

    .quantity-form {
        flex-wrap: wrap;
    }

    .cart-table,
    .cart-table thead,
    .cart-table tbody,
    .cart-table tr,
    .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        padding: 12px 0;
        border-bottom: 1px solid var(--line);
    }

    .cart-table td {
        padding-left: 0;
        padding-right: 0;
    }

    .offcanvas {
        width: min(100vw, 420px);
    }
}

/* Reference-led refresh */

:root {
    --bg: #ffffff;
    --surface: #ffffff;
    --surface-soft: #fafafa;
    --text: #16181d;
    --muted: #707785;
    --line: #e7e9ee;
    --line-dark: #d7dbe3;
    --primary: #16181d;
    --primary-dark: #050608;
    --dark: #16181d;
    --shadow-sm: none;
    --shadow-md: 0 18px 38px rgba(22, 24, 29, 0.08);
}

body {
    background: #ffffff;
    color: var(--text);
}

.container-xxl {
    max-width: 1248px;
}

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

.top-strip {
    background: #1c1d20;
    color: #ffffff;
}

.top-strip-inner {
    min-height: 30px;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.top-strip-left {
    display: none !important;
}

.top-strip-right {
    display: flex;
    align-items: center;
    gap: 18px;
    font-size: 13px;
    font-weight: 500;
}

.top-strip-right a,
.top-strip-right span {
    color: rgba(255, 255, 255, 0.92);
}

.top-strip-right a i {
    margin-right: 6px;
}

.utility-meta {
    position: relative;
    padding-left: 14px;
}

.utility-meta::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.65);
    transform: translateY(-50%);
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #eef0f4;
    z-index: 1040;
}

.header-main-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: auto auto minmax(240px, 1fr) auto;
    align-items: center;
    gap: 28px;
}

.navbar-toggler {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    padding: 0;
    color: #111111;
    border-radius: 12px;
}

.navbar-toggler i {
    font-size: 28px;
    line-height: 1;
}

.navbar-brand {
    min-width: max-content;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.brand-wordmark {
    display: block;
    font-size: 34px;
    line-height: 1;
    letter-spacing: 0.22em;
    font-weight: 800;
}

.navbar-brand small {
    font-size: 10px;
    line-height: 1;
    letter-spacing: 0.18em;
    color: #8a91a0;
    text-transform: uppercase;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 28px;
}

.desktop-nav-link {
    position: relative;
    padding: 8px 0;
    font-size: 15px;
    font-weight: 600;
    color: #17181d;
}

.desktop-nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -13px;
    height: 2px;
    background: #17181d;
    opacity: 0;
    transform: scaleX(0.4);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.desktop-nav-link.active::after,
.desktop-nav-link:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

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

.header-search {
    width: 100%;
    max-width: 340px;
    justify-self: end;
}

.header-search .search-shell,
.header-search-mobile .search-shell,
.offcanvas .search-shell {
    min-height: 42px;
    padding: 0 14px;
    gap: 12px;
    border-radius: 12px;
    border: 1px solid #dfe2e8;
    background: #ffffff;
}

.header-search .search-shell i,
.header-search-mobile .search-shell i,
.offcanvas .search-shell i {
    color: #2d3139;
    font-size: 18px;
}

.header-search .search-shell input,
.header-search-mobile .search-shell input,
.offcanvas .search-shell input {
    height: 42px;
    padding: 0;
    font-size: 14px;
    color: #17181d;
}

.header-search .search-shell button,
.header-search-mobile .search-shell button,
.offcanvas .search-shell button {
    display: none;
}

.header-actions {
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
    gap: 0;
    margin-left: auto;
}

.toolbar-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 76px;
    padding: 0 16px;
    border-left: 1px solid #eef0f4;
    color: #1d2128;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.toolbar-link:hover {
    color: #111111;
}

.toolbar-link i {
    font-size: 20px;
    line-height: 1;
}

.toolbar-link em {
    position: absolute;
    top: 15px;
    right: 9px;
    min-width: 18px;
    height: 18px;
    display: inline-grid;
    place-items: center;
    padding: 0 4px;
    border-radius: 999px;
    background: #d81e2c;
    color: #ffffff;
    font-style: normal;
    font-size: 10px;
    font-weight: 700;
}

    .header-search-mobile {
        padding: 0 0 14px;
    }

    .mobile-utility-bar {
        gap: 8px;
        padding-bottom: 12px;
    }

    .mobile-utility-link {
        flex: 1 0 auto;
        min-width: max-content;
        padding: 0 12px;
        font-size: 12px;
    }

    .mobile-nav-links {
        display: grid;
        gap: 0;
}

.mobile-nav-links a {
    padding: 14px 0;
    border-bottom: 1px solid #eceef2;
    font-size: 15px;
    font-weight: 600;
}

.offcanvas-header {
    padding: 18px 20px;
    border-bottom: 1px solid #eceef2;
}

.offcanvas-body {
    padding: 20px;
}

.hero-card,
.page-hero,
.promo-card,
.product-card,
.spotlight-card,
.brand-tile,
.brand-showcase,
.newsletter-panel,
.summary-card,
.content-card,
.trust-card,
.filter-card,
.table-card,
.success-panel,
.timeline-card,
.wishlist-card,
.admin-sidebar,
.form-card {
    border-radius: 18px;
    box-shadow: none;
    border-color: #eceef2;
}

.hero-card {
    padding: 30px;
}

.hero-accent-red {
    background: linear-gradient(135deg, #ffffff 0%, #f4f6fb 100%);
}

.hero-accent-gold {
    background: linear-gradient(135deg, #ffffff 0%, #fbf7ef 100%);
}

.hero-accent-dark {
    background: linear-gradient(135deg, #ffffff 0%, #f2f4f7 100%);
}

.hero-copy,
.page-hero p,
.content-page p,
.product-summary,
.product-meta p,
.delivery-card p {
    color: var(--muted);
}

.homepage-banner-carousel {
    overflow: hidden;
    border: 1px solid #eceef3;
    border-radius: 18px;
    background: #ffffff;
}

.homepage-banner-image {
    width: 100%;
    height: clamp(230px, 31vw, 430px);
    display: block;
    object-fit: cover;
}

.homepage-banner-carousel .carousel-control-prev,
.homepage-banner-carousel .carousel-control-next {
    width: 54px;
}

.homepage-quicklinks-grid {
    display: grid;
    grid-template-columns: repeat(8, minmax(0, 1fr));
    gap: 10px;
}

.homepage-quicklink {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 10px;
    border: 1px solid #eceef3;
    border-radius: 14px;
    background: #ffffff;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    line-height: 1.35;
}

.homepage-quicklink:hover {
    border-color: #d8dde6;
    background: #fafbfc;
}

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

.homepage-section-head h2 {
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.04;
    letter-spacing: -0.04em;
    margin-bottom: 6px;
}

.homepage-section-head p {
    color: var(--muted);
    font-size: 16px;
}

.homepage-countdown-panel {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #e8ebf1;
    border-radius: 14px;
    background: #ffffff;
    margin-bottom: 18px;
}

.homepage-countdown-panel span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.homepage-countdown-panel strong {
    font-size: 20px;
    letter-spacing: -0.02em;
}

.homepage-gender-card {
    min-height: 290px;
    display: flex;
    align-items: flex-end;
    border-radius: 18px;
    overflow: hidden;
    background-color: #dfe3ea;
    background-position: center;
    background-size: cover;
}

.homepage-gender-card-body {
    width: 100%;
    padding: 26px;
    color: #ffffff;
}

.homepage-gender-card .section-kicker {
    color: rgba(255, 255, 255, 0.9);
}

.homepage-gender-card h3 {
    font-size: clamp(30px, 3.2vw, 46px);
    line-height: 1.02;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.homepage-gender-card p {
    color: rgba(255, 255, 255, 0.88);
    font-size: 16px;
}

.hero-visual,
.product-visual,
.product-stage {
    border-radius: 16px;
    border: 1px solid #eef0f4;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7f9 100%);
}

.product-card {
    padding: 18px;
    gap: 16px;
}

.product-card-top {
    min-height: 34px;
}

.pill-dark {
    background: #181a1f;
}

.pill-sale {
    background: #fcebed;
    color: #cf2332;
}

.wishlist-toggle {
    width: 40px;
    height: 40px;
    border-radius: 14px;
    border-color: #e7eaf0;
}

.product-visual {
    min-height: 285px;
}

.product-stage {
    min-height: 520px;
    padding-bottom: 84px;
}

.thumbnail-row {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 18px;
    justify-content: center;
}

.thumbnail-row .thumb {
    background: #ffffff;
}

.product-meta h3 {
    font-size: 18px;
    min-height: 46px;
}

.product-brand,
.product-brand-line a,
.section-kicker,
.text-link,
.btn-link-luxe {
    color: #16181d;
}

.btn-link-luxe {
    display: inline-flex;
    align-items: center;
    padding: 0;
    background: transparent;
    border: 0;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.price-row strong {
    font-size: 24px;
}

.btn-liperla {
    min-height: 48px;
    padding: 12px 20px;
    border-radius: 12px;
    background: #17181d;
    color: #ffffff;
}

.btn-liperla:hover,
.btn-liperla:focus {
    background: #050608;
}

.icon-outline {
    min-width: 54px;
    border-radius: 12px;
}

.page-hero {
    padding: 26px;
}

.catalog-toolbar {
    margin-top: 24px;
}

.newsletter-panel {
    background: #1c1d20;
    border: 0;
    color: #ffffff;
}

.newsletter-panel h2,
.newsletter-panel .section-kicker {
    color: #ffffff;
}

.newsletter-form input {
    border-radius: 12px;
    border: 0;
}

.newsletter-form button {
    border-radius: 12px;
}

.auth-page {
    min-height: auto;
    background: #ffffff;
}

.auth-reference-shell {
    display: flex;
    justify-content: center;
    padding: 20px 0 12px;
}

.auth-reference-card {
    width: min(100%, 420px);
    display: grid;
    gap: 16px;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.auth-reference-card-compact {
    width: min(100%, 420px);
}

.auth-reference-card h1 {
    font-size: clamp(34px, 3vw, 56px);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.auth-reference-copy {
    color: var(--muted);
    font-size: 16px;
    margin-top: -4px;
}

.auth-reference-card label {
    display: grid;
    gap: 9px;
    font-size: 16px;
    font-weight: 600;
    color: #17181d;
}

.auth-reference-card input[type="email"],
.auth-reference-card input[type="password"],
.auth-reference-card input[type="text"] {
    width: 100%;
    height: 46px;
    border: 1px solid #dfe3ea;
    border-radius: 10px;
    background: #ffffff;
    padding: 0 16px;
    font-size: 15px;
    outline: none;
}

.auth-reference-card input[type="email"]:focus,
.auth-reference-card input[type="password"]:focus,
.auth-reference-card input[type="text"]:focus {
    border-color: #b7bfcc;
}

.auth-checkline {
    display: flex !important;
    align-items: flex-start;
    gap: 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--muted) !important;
    line-height: 1.6;
}

.auth-checkline input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
}

.auth-checkline a {
    color: #16181d;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 18px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: #d7dce5;
}

.social-auth-list {
    display: grid;
    gap: 14px;
}

.social-auth-btn {
    width: 100%;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 18px;
    border: 1px solid #d8dde6;
    border-radius: 12px;
    background: #ffffff;
    color: #16181d;
    font-size: 16px;
    font-weight: 600;
}

.social-auth-btn i {
    font-size: 23px;
}

.auth-reference-links {
    display: grid;
    gap: 6px;
    text-align: center;
    font-size: 14px;
    color: var(--muted);
}

.auth-reference-links a,
.auth-inline-note {
    color: var(--muted);
}

.auth-reference-links a {
    color: #16181d;
    font-weight: 700;
}

.auth-inline-note {
    font-size: 14px;
    line-height: 1.6;
    margin: -4px 0 0;
}

.footer-trust {
    background: #ffffff;
    color: #16181d;
    border-top: 1px solid #eceef2;
    padding: 28px 0 34px;
}

.trust-card {
    height: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: #ffffff;
    border: 1px solid #e6e8ed;
}

.trust-icon {
    width: 50px;
    height: 50px;
    flex: 0 0 50px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    border: 1px solid #eceef2;
    background: #ffffff;
}

.trust-card i,
.trust-icon i {
    font-size: 24px;
    color: #17181d;
}

.trust-card h3 {
    margin: 0 0 4px;
    font-size: 22px;
}

.trust-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #707785;
}

.site-footer {
    background: #1c1d20;
    color: #ffffff;
    border-top: 0;
}

.footer-main {
    padding: 42px 0 34px;
}

.footer-news-row {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
    gap: 32px;
    align-items: center;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-brand {
    font-size: 42px;
    line-height: 1;
    letter-spacing: 0.22em;
    font-weight: 800;
    color: #ffffff;
}

.site-footer .footer-copy {
    color: rgba(255, 255, 255, 0.72);
}

.footer-copy-small {
    font-size: 15px;
}

.footer-socials a {
    width: auto;
    height: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 18px;
    opacity: 0.9;
}

.footer-newsletter-block {
    display: grid;
    gap: 10px;
}

.footer-newsletter-form {
    margin: 0;
}

.footer-newsletter-form input {
    height: 48px;
    border: 0;
    border-radius: 12px;
    background: #ffffff;
}

.footer-newsletter-form button {
    min-width: 48px;
    height: 48px;
    padding: 0;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #050608;
    color: #ffffff;
}

.footer-story-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    padding: 30px 0 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-story-card h4 {
    margin-bottom: 12px;
    color: #ffffff;
    font-size: 34px;
}

.footer-story-card p {
    color: rgba(255, 255, 255, 0.72);
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.8fr 0.8fr 0.8fr 1fr;
    gap: 28px;
    padding-top: 30px;
}

.footer-main h4 {
    color: #ffffff;
    font-size: 22px;
}

.site-footer .footer-links {
    margin-top: 12px;
    gap: 8px;
}

.site-footer .footer-links a,
.site-footer .footer-links span {
    color: rgba(255, 255, 255, 0.72);
    font-size: 16px;
    line-height: 1.75;
}

.app-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.app-badge {
    min-width: 126px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.footer-bottom {
    padding: 18px 0;
    background: #000000;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a {
    color: #ffffff;
}

@media (max-width: 1199.98px) {
    .top-strip {
        display: none;
    }

    .header-main-inner {
        grid-template-columns: auto 1fr auto;
        gap: 14px;
        min-height: 68px;
    }

    .brand-wordmark {
        font-size: 28px;
        letter-spacing: 0.18em;
    }

    .header-actions {
        gap: 2px;
    }

    .toolbar-link {
        min-height: 40px;
        padding: 0 8px;
        border-left: 0;
    }

    .toolbar-link span {
        display: none;
    }

    .toolbar-link em {
        top: -2px;
        right: -1px;
    }

    .footer-news-row,
    .footer-story-grid,
    .footer-links-grid {
        grid-template-columns: 1fr;
    }

    .homepage-quicklinks-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

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

    .header-main-inner {
        min-height: 62px;
        padding: 10px 0;
        gap: 12px;
    }

    .brand-wordmark {
        font-size: 22px;
        letter-spacing: 0.16em;
    }

    .navbar-brand small {
        letter-spacing: 0.14em;
    }

    .header-search-mobile {
        padding-bottom: 10px;
    }

    .auth-reference-shell {
        padding: 8px 0 0;
    }

    .auth-reference-card {
        width: 100%;
    }

    .auth-reference-card h1 {
        font-size: 34px;
    }

    .auth-divider {
        gap: 10px;
        font-size: 14px;
    }

    .social-auth-btn {
        font-size: 15px;
    }

    .trust-card {
        padding: 16px;
    }

    .trust-card h3 {
        font-size: 19px;
    }

    .footer-main {
        padding: 32px 0 28px;
    }

    .footer-brand {
        font-size: 32px;
    }

    .footer-story-card h4 {
        font-size: 26px;
    }

    .site-footer .footer-links a,
    .site-footer .footer-links span {
        font-size: 15px;
    }

    .product-card {
        padding: 16px;
    }

    .product-visual {
        min-height: 230px;
    }

    .product-stage {
        min-height: 340px;
    }

    .page-hero,
    .hero-card {
        padding: 22px;
    }

    .hero-visual {
        min-height: 250px;
    }

    .homepage-banner-image {
        height: 178px;
    }

    .homepage-quicklinks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .homepage-quicklink {
        min-height: 48px;
        font-size: 13px;
    }

    .homepage-section-head {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 14px;
    }

    .homepage-countdown-panel {
        width: 100%;
        justify-content: space-between;
        margin-bottom: 14px;
    }

    .homepage-gender-card {
        min-height: 220px;
    }

    .homepage-gender-card-body {
        padding: 18px;
    }

    .homepage-gender-card h3 {
        font-size: 32px;
    }
}

/* Inner-page alignment pass */

.page-hero.compact {
    align-items: center;
    gap: 20px;
}

.page-hero.compact > :first-child {
    max-width: 760px;
}

.page-hero.compact .meta-stack {
    justify-content: flex-end;
}

.meta-stack span,
.applied-filters span,
.spec-chips span,
.size-pill {
    min-height: 38px;
    padding: 9px 14px;
}

.toolbar-actions {
    justify-content: flex-end;
}

.sort-form {
    min-width: 220px;
}

.sort-form select {
    min-height: 46px;
}

.filter-form label,
.checkout-form label {
    display: grid;
    gap: 8px;
    font-weight: 600;
    color: #17181d;
}

.product-actions-stack {
    display: grid;
    gap: 12px;
    margin-top: 20px;
}

.product-action-form {
    width: 100%;
    margin: 0;
}

.product-action-form .btn {
    width: 100%;
    justify-content: center;
}

.product-actions-inline {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.product-actions-inline .product-action-form {
    flex: 1 1 220px;
}

.btn-link-luxe-action {
    min-height: 48px;
    padding: 0 18px;
    border: 1px solid var(--line);
    border-radius: 12px;
    text-decoration: none;
    justify-content: center;
}

.btn-link-luxe-action:hover,
.btn-link-luxe-action:focus {
    color: #16181d;
    border-color: #d4d8e0;
}

.delivery-card {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-tabs .nav-pills {
    flex-wrap: wrap;
}

.footer-newsletter-form {
    width: 100%;
    max-width: 440px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
}

.footer-news-submit-label {
    display: none;
}

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

.product-photo-card {
    max-width: min(86%, 260px);
    max-height: calc(100% - 26px);
    margin: auto;
}

.product-photo-stage {
    max-width: min(88%, 440px);
    max-height: calc(100% - 92px);
    margin: auto;
}

.mini-product-thumb {
    width: 42px;
    height: 58px;
    flex: 0 0 42px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--line);
    background: #fff;
}

.admin-product-image-preview {
    max-width: 220px;
}

.admin-product-image-preview img,
.admin-list-thumb {
    display: block;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
}

.admin-product-image-preview img {
    width: 100%;
    aspect-ratio: 1 / 1;
}

.admin-gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.admin-gallery-card {
    display: grid;
    gap: 10px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
}

.admin-gallery-card img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 12px;
    background: #f7f8fb;
}

.admin-delivery-editor {
    display: grid;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fbfbfc;
}

.admin-delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

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

.admin-delivery-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.admin-delivery-card-grid > .admin-form-span-2,
.admin-delivery-card-grid > .admin-grid-span-full {
    grid-column: 1 / -1;
}

.admin-list-item-main {
    display: flex;
    align-items: center;
    gap: 14px;
}

.admin-list-thumb {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
}

.admin-search-shell {
    max-width: 520px;
}

.order-activity-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.order-activity-list span,
.order-activity-list a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 6px 10px;
    border-radius: 999px;
    background: #f7f8fb;
    border: 1px solid #eceef2;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.invoice-shell {
    padding: 28px;
}

.invoice-toolbar {
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.invoice-meta-grid,
.invoice-summary-grid,
.timeline-grid {
    display: grid;
    gap: 14px;
}

.invoice-meta-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.invoice-summary-grid {
    max-width: 420px;
    margin-left: auto;
}

.summary-line-total,
.summary-line.total {
    border-top: 1px solid var(--line);
    padding-top: 12px;
}

.timeline-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.timeline-card {
    display: grid;
    gap: 8px;
}

.timeline-card span {
    color: var(--primary);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.timeline-card strong {
    font-size: 15px;
    line-height: 1.5;
}

.timeline-card small {
    color: var(--muted);
    font-weight: 600;
}

.timeline-card.is-active {
    border-color: rgba(217, 4, 41, 0.22);
    background: #fff6f8;
}

.invoice-table th {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--muted);
}

.invoice-table td,
.invoice-table th {
    padding-top: 14px;
    padding-bottom: 14px;
    border-color: var(--line);
}

.invoice-list-item {
    align-items: center;
}

.invoice-print-header {
    display: none;
}

.invoice-print-header h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1;
}

.invoice-print-facts {
    display: grid;
    gap: 4px;
    color: var(--muted);
    font-size: 13px;
}

.pdp-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 34px;
    align-items: start;
    margin-top: 18px;
}

.pdp-gallery {
    display: grid;
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
}

.pdp-thumb-rail {
    display: grid;
    gap: 18px;
}

.pdp-thumb {
    width: 100%;
    aspect-ratio: 1 / 1;
    padding: 10px;
    border: 1px solid #eceef2;
    border-radius: 18px;
    background: #ffffff;
    display: grid;
    place-items: center;
    cursor: pointer;
}

.pdp-thumb.is-active {
    border-color: #111111;
}

.pdp-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.pdp-stage-wrap {
    position: relative;
}

.pdp-stage {
    position: relative;
    min-height: 600px;
    border: 1px solid #eceef2;
    border-radius: 28px;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%),
        linear-gradient(180deg, #ffffff 0%, #f7f7f8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.product-accent-amber.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff8ef 0%, #fdf7ef 100%); }
.product-accent-ocean.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%), linear-gradient(180deg, #eef8ff 0%, #eff8fd 100%); }
.product-accent-rose.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff3f7 0%, #fff6f8 100%); }
.product-accent-forest.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%), linear-gradient(180deg, #eef8f1 0%, #f1f8f3 100%); }
.product-accent-sand.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff8ee 0%, #fff7f0 100%); }
.product-accent-pearl.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.95), rgba(255,255,255,0) 34%), linear-gradient(180deg, #f9fafc 0%, #f5f7fa 100%); }
.product-accent-ember.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%), linear-gradient(180deg, #fff4ee 0%, #fff7f4 100%); }
.product-accent-midnight.pdp-stage { background: radial-gradient(circle at top right, rgba(255,255,255,0.94), rgba(255,255,255,0) 34%), linear-gradient(180deg, #f7f5fb 0%, #f4f1fb 100%); }

.pdp-stage-toolbar {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 4;
    display: grid;
    gap: 12px;
}

.pdp-toolbar-form {
    margin: 0;
}

.pdp-tool-btn,
.pdp-zoom-btn {
    width: 46px;
    height: 46px;
    border: 1px solid #eceef2;
    border-radius: 14px;
    background: #ffffff;
    display: inline-grid;
    place-items: center;
    color: #111111;
    box-shadow: 0 10px 24px rgba(17, 17, 17, 0.06);
}

.pdp-tool-btn .bi-heart-fill {
    color: var(--primary);
}

.pdp-zoom-btn {
    position: absolute;
    right: 18px;
    bottom: 18px;
    z-index: 4;
}

.pdp-info-panel {
    display: grid;
    gap: 18px;
}

.pdp-title-stack {
    display: grid;
    gap: 8px;
}

.pdp-product-name {
    margin: 0;
    color: #2a2d34;
    font-size: 18px;
    font-weight: 600;
}

.pdp-size-heading {
    font-size: clamp(34px, 4vw, 50px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.pdp-summary-copy {
    color: var(--muted);
    font-size: 17px;
    line-height: 1.55;
    max-width: 760px;
}

.pdp-price-row {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.pdp-price-row strong {
    font-size: clamp(28px, 3vw, 42px);
    line-height: 1;
}

.pdp-price-row s {
    color: var(--muted);
    font-size: 16px;
}

.pdp-discount-chip,
.pdp-rating-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
}

.pdp-discount-chip {
    color: #15803d;
}

.pdp-rating-chip {
    background: #e8f7eb;
    color: #15803d;
}

.pdp-size-picker {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.pdp-size-pill {
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 12px;
    border: 1px solid #e7e8ed;
    background: #ffffff;
    color: #111111;
    font-size: 15px;
    font-weight: 600;
}

.pdp-size-pill.is-active {
    border-color: #cfd2da;
    background: #f6f7fb;
}

.pdp-destination-line {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 15px;
    font-weight: 500;
}

.pdp-destination-line strong,
.pdp-destination-line i {
    color: #111111;
}

.pdp-destination-sep {
    color: #b6bbc7;
}

.pdp-service-stack {
    border-top: 1px solid #eceef2;
    border-bottom: 1px solid #eceef2;
}

.pdp-service-card + .pdp-service-card {
    border-top: 1px solid #eceef2;
}

.pdp-service-toggle {
    width: 100%;
    padding: 18px 0;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #111111;
}

.pdp-service-toggle span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.pdp-delivery-box,
.pdp-coupon-copy {
    margin: 0 0 18px;
}

.pdp-delivery-box {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #eceef2;
    border-radius: 18px;
    background: #fafafa;
}

.pdp-delivery-box + .pdp-delivery-box {
    margin-top: 12px;
}

.pdp-delivery-box.is-featured {
    border-color: #dfe4ea;
    background: #f7f8fb;
}

.pdp-delivery-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 104px;
    min-height: 28px;
    padding: 4px 12px;
    border-radius: 999px;
    background: #c8ccd6;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
}

.pdp-delivery-copy {
    display: grid;
    gap: 6px;
}

.pdp-delivery-copy strong {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    line-height: 1.45;
}

.pdp-delivery-copy small,
.pdp-coupon-copy p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.pdp-coupon-copy strong {
    display: block;
    margin-bottom: 6px;
    font-size: 15px;
}

.pdp-action-grid,
.pdp-payment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.pdp-action-form {
    margin: 0;
}

.pdp-action-btn {
    width: 100%;
    min-height: 58px;
    padding: 14px 18px;
    border-radius: 16px;
    border: 1px solid #111111;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 16px;
    font-weight: 700;
}

.pdp-action-btn-outline {
    background: #ffffff;
    color: #111111;
}

.pdp-action-btn-dark {
    background: #111111;
    color: #ffffff;
}

.pdp-action-btn:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.pdp-payment-card {
    min-height: 108px;
    padding: 18px;
    border: 1px solid #eceef2;
    border-radius: 16px;
    background: #ffffff;
    display: grid;
    gap: 8px;
}

.pdp-payment-card span {
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.pdp-payment-card strong {
    font-size: 17px;
    line-height: 1.45;
}

.pdp-payment-card small {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.pdp-payment-card em {
    justify-self: end;
    align-self: end;
    padding: 6px 10px;
    border-radius: 10px;
    background: #43e78a;
    color: #0e4c2d;
    font-style: normal;
    font-weight: 800;
    text-transform: lowercase;
}

.pdp-spec-chips span {
    border-radius: 14px;
    background: #ffffff;
}

.pdp-spec-chips i {
    font-size: 14px;
}

@media (max-width: 1199.98px) and (min-width: 768px) {
    .footer-news-row {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: flex-start;
    }

    .footer-links-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 991.98px) {
    .page-hero.compact {
        align-items: flex-start;
    }

    .page-hero.compact .meta-stack {
        justify-content: flex-start;
    }

    .delivery-card {
        grid-template-columns: 1fr;
    }

    .invoice-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pdp-shell {
        grid-template-columns: 1fr;
        gap: 26px;
    }

    .pdp-stage {
        min-height: 500px;
    }
}

@media (max-width: 767.98px) {
    .container-xxl {
        padding-left: 16px;
        padding-right: 16px;
    }

    .page-hero.compact {
        padding: 18px;
        gap: 14px;
    }

    .page-hero.compact h1 {
        font-size: 30px;
        line-height: 1.08;
    }

    .page-hero.compact p {
        margin-bottom: 0;
    }

    .meta-stack,
    .spec-chips,
    .size-options {
        flex-direction: row;
        align-items: flex-start;
        gap: 8px;
    }

    .meta-stack span,
    .applied-filters span,
    .spec-chips span,
    .size-pill {
        font-size: 12px;
        min-height: 34px;
        padding: 7px 11px;
    }

    .spec-chips span {
        font-size: 11px;
        padding: 6px 10px;
    }

    .catalog-toolbar {
        margin-top: 16px;
        gap: 10px;
    }

    .catalog-toolbar .applied-filters {
        order: 2;
    }

    .toolbar-actions {
        order: 1;
        width: 100%;
        gap: 10px;
    }

    .toolbar-actions > * {
        width: 100%;
    }

    .sort-form {
        min-width: 0;
        width: 100%;
    }

    .product-layout {
        row-gap: 24px;
    }

    .product-stage {
        min-height: 320px;
        padding-bottom: 78px;
    }

    .thumbnail-row {
        left: 16px;
        right: 16px;
        bottom: 14px;
    }

    .product-actions-inline {
        flex-direction: column;
    }

    .product-actions-inline .product-action-form {
        flex: 1 1 auto;
    }

    .product-tabs .nav-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 4px;
        -webkit-overflow-scrolling: touch;
    }

    .product-tabs .nav-link {
        white-space: nowrap;
    }

    .cart-table td {
        position: relative;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .cart-table td[data-label]::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 6px;
        color: var(--muted);
        font-size: 11px;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .quantity-form {
        width: 100%;
        justify-content: flex-start;
    }

    .quantity-form input {
        flex: 0 0 84px;
    }

    .summary-line,
    .summary-product {
        flex-direction: row;
        align-items: flex-start;
    }

    .trust-card {
        align-items: flex-start;
        padding: 16px;
    }

    .trust-card h3 {
        font-size: 18px;
    }

    .footer-trust {
        padding: 22px 0 26px;
    }

    .footer-main {
        padding: 28px 0 24px;
    }

    .footer-news-row {
        gap: 20px;
        padding-bottom: 24px;
    }

    .footer-newsletter-form {
        grid-template-columns: 1fr;
    }

    .footer-newsletter-form button {
        width: 100%;
        padding: 0 16px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }

    .footer-news-submit-label {
        display: inline;
    }

    .footer-links-grid {
        gap: 18px;
        padding-top: 24px;
    }

    .admin-search-shell,
    .invoice-summary-grid {
        max-width: none;
    }

    .order-activity-list {
        flex-direction: column;
        align-items: stretch;
    }

    .invoice-shell {
        padding: 18px;
    }

    .invoice-meta-grid,
    .timeline-grid {
        grid-template-columns: 1fr;
    }

    .pdp-gallery {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .pdp-thumb-rail {
        order: 2;
        grid-template-columns: repeat(auto-fit, 78px);
        justify-content: flex-start;
    }

    .pdp-stage {
        min-height: 380px;
        border-radius: 22px;
    }

    .pdp-stage-toolbar {
        top: 14px;
        right: 14px;
    }

    .pdp-price-row strong {
        font-size: 34px;
    }

    .pdp-price-row,
    .pdp-destination-line {
        align-items: flex-start;
    }

    .pdp-action-grid,
    .pdp-payment-grid {
        grid-template-columns: 1fr;
    }

    .pdp-delivery-box {
        flex-direction: column;
    }

    .admin-list-item-main {
        align-items: flex-start;
    }

.admin-delivery-card-grid {
    grid-template-columns: 1fr;
}
}

/* Brand system and visual polish pass */

body {
    background:
        radial-gradient(circle at top right, rgba(223, 235, 252, 0.42), rgba(223, 235, 252, 0) 26%),
        radial-gradient(circle at left 15%, rgba(255, 237, 242, 0.38), rgba(255, 237, 242, 0) 24%),
        linear-gradient(180deg, #fafbfd 0%, #ffffff 220px);
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(18px) saturate(140%);
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.page-hero,
.product-card,
.brand-showcase,
.content-card,
.hero-card,
.hero-visual,
.product-stage {
    border-color: #eceff4;
    box-shadow: 0 16px 36px rgba(17, 24, 39, 0.05);
}

.page-hero,
.content-card {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(251, 252, 254, 0.98) 100%);
}

.product-card {
    border-radius: 22px;
    padding: 14px;
    gap: 12px;
    transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: #dfe4ec;
    box-shadow: 0 24px 42px rgba(17, 24, 39, 0.11);
}

.product-visual {
    min-height: 200px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 40%),
        linear-gradient(180deg, #ffffff 0%, #f4f6f9 100%);
}

.product-meta {
    gap: 6px;
}

.product-meta h3 {
    min-height: 0;
    font-size: 16px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-meta p {
    min-height: 0;
    font-size: 13px;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-size {
    font-size: 11px;
}

.product-rating {
    font-size: 12px;
}

.price-row strong {
    font-size: 20px;
}

.product-photo-card {
    max-width: min(78%, 210px);
    max-height: calc(100% - 18px);
    transition: transform 0.28s ease;
}

.product-card:hover .product-photo-card {
    transform: scale(1.035);
}

.brand-showcase {
    position: relative;
    overflow: hidden;
    border-radius: 26px;
}

.brand-showcase::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0) 36%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 253, 0.98) 100%);
    pointer-events: none;
}

.brand-showcase > * {
    position: relative;
    z-index: 1;
}

.brand-showcase:hover {
    border-color: #dde4ee;
    box-shadow: 0 24px 46px rgba(17, 24, 39, 0.1);
}

.brands-directory-hero .meta-stack span {
    background: rgba(255, 255, 255, 0.82);
}

.brand-directory-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.brand-directory-card {
    min-height: 320px;
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(180px, 220px);
    gap: 24px;
    align-items: stretch;
    padding: 28px;
    text-decoration: none;
    color: inherit;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, #ffffff 0%, var(--brand-soft, #fff4dc) 100%);
}

.brand-directory-copy {
    display: flex;
    flex-direction: column;
}

.brand-directory-tagline {
    margin-bottom: 10px;
    font-size: 17px;
    line-height: 1.45;
    color: var(--text);
    font-weight: 600;
}

.brand-directory-story {
    margin-bottom: 16px;
    color: var(--muted);
    line-height: 1.65;
}

.brand-directory-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: auto;
}

.brand-chip,
.brand-stat-chip,
.brand-note-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 9px 14px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1;
    font-weight: 700;
}

.brand-chip,
.brand-stat-chip {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: var(--text);
}

.brand-note-chip {
    background: color-mix(in srgb, var(--brand-soft, #fff0c2) 80%, #ffffff 20%);
    border: 1px solid color-mix(in srgb, var(--brand-primary, #d90429) 18%, #ffffff 82%);
    color: color-mix(in srgb, var(--brand-ink, #5d0d1d) 88%, #111111 12%);
}

.brand-directory-visual,
.brand-page-visual {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    border: 1px solid rgba(17, 24, 39, 0.08);
    background:
        radial-gradient(circle at top, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0) 38%),
        linear-gradient(180deg, #ffffff 0%, color-mix(in srgb, var(--brand-soft, #fff0c2) 75%, #ffffff 25%) 100%);
}

.brand-directory-visual {
    min-height: 100%;
    display: grid;
    place-items: center;
    padding: 22px;
}

.brand-directory-visual img,
.brand-page-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-directory-fallback-art,
.brand-page-fallback-art {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
}

.brand-directory-fallback-art .bottle-art-card,
.brand-page-fallback-art .hero-art-svg {
    width: min(100%, 100%);
    height: auto;
}

.brand-directory-monogram,
.brand-page-monogram {
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(17, 24, 39, 0.08);
    color: var(--brand-ink, #16181d);
    font-size: 38px;
    font-weight: 800;
    letter-spacing: 0.06em;
}

.brand-page-shell {
    margin-bottom: 28px;
}

.brand-page-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
    gap: 30px;
    align-items: stretch;
    padding: 30px;
    border: 1px solid #eceff4;
    border-radius: 30px;
    background:
        radial-gradient(circle at top right, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0) 34%),
        linear-gradient(135deg, #ffffff 0%, color-mix(in srgb, var(--brand-soft, #fff0c2) 54%, #ffffff 46%) 100%);
    box-shadow: 0 22px 46px rgba(17, 24, 39, 0.06);
}

.brand-page-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.brand-page-copy h1 {
    margin-bottom: 12px;
    font-size: clamp(42px, 5vw, 66px);
    line-height: 0.96;
    letter-spacing: -0.05em;
}

.brand-page-lede {
    margin-bottom: 12px;
    font-size: 20px;
    line-height: 1.45;
    color: var(--brand-ink, #16181d);
    font-weight: 600;
}

.brand-page-story {
    max-width: 720px;
    margin-bottom: 0;
    color: var(--muted);
    line-height: 1.72;
}

.brand-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.brand-meta-row-secondary {
    margin-top: 12px;
}

.brand-page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}

.brand-page-visual {
    min-height: 360px;
    padding: 28px;
}

.brand-page-visual::before,
.brand-page-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.brand-page-visual::before {
    width: 180px;
    height: 180px;
    top: -34px;
    right: -24px;
    background: color-mix(in srgb, var(--brand-secondary, #ff8da2) 35%, #ffffff 65%);
    opacity: 0.45;
}

.brand-page-visual::after {
    width: 140px;
    height: 140px;
    left: -18px;
    bottom: -18px;
    background: color-mix(in srgb, var(--brand-primary, #d90429) 14%, #ffffff 86%);
}

.brand-hero-badge {
    position: absolute;
    left: 24px;
    right: 24px;
    bottom: 24px;
    z-index: 1;
    display: grid;
    gap: 4px;
    padding: 16px 18px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.88);
    border: 1px solid rgba(17, 24, 39, 0.08);
    box-shadow: 0 16px 28px rgba(17, 24, 39, 0.08);
}

.brand-hero-badge strong {
    font-size: 18px;
    line-height: 1.3;
}

.brand-hero-badge small {
    color: var(--muted);
}

.brand-assortment-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

@media (max-width: 1199px) {
    .brand-directory-card,
    .brand-page-hero {
        grid-template-columns: 1fr;
    }

    .brand-directory-visual {
        min-height: 220px;
    }
}

@media (max-width: 767px) {
    .brand-directory-card,
    .brand-page-hero {
        padding: 22px;
        border-radius: 24px;
    }

    .brand-page-copy h1 {
        font-size: clamp(34px, 12vw, 46px);
    }

    .brand-page-lede {
        font-size: 17px;
    }

    .brand-page-actions .btn,
    .brand-page-actions .btn-outline-dark {
        width: 100%;
        justify-content: center;
    }

    .brand-page-visual {
        min-height: 280px;
        padding: 20px;
    }

    .brand-hero-badge {
        left: 16px;
        right: 16px;
        bottom: 16px;
        padding: 14px 16px;
    }
}

@media print {
    @page {
        size: A4 portrait;
        margin: 8mm;
    }

    .top-strip,
    .site-header,
    .site-footer,
    .admin-sidebar,
    .page-hero,
    .success-panel,
    .invoice-toolbar,
    .invoice-meta-grid,
    .invoice-activity-card,
    .invoice-timeline-block,
    .invoice-toolbar .btn,
    .flash-stack {
        display: none !important;
    }

    body {
        background: #ffffff;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .section-space,
    .invoice-shell,
    .content-card {
        padding: 0 !important;
        box-shadow: none !important;
        border: 0 !important;
    }

    .container-xxl,
    .col-xl-9 {
        max-width: 100% !important;
        width: 100% !important;
        padding: 0 !important;
    }

    .invoice-print-header {
        display: grid !important;
        grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
        gap: 10px;
        align-items: start;
        padding-bottom: 8px;
        margin-bottom: 8px;
        border-bottom: 1px solid #dcdfe6;
    }

    .invoice-print-header .section-kicker {
        margin-bottom: 4px !important;
        font-size: 10px !important;
    }

    .invoice-print-header h1 {
        font-size: 20px !important;
        margin-bottom: 4px !important;
    }

    .invoice-print-header p,
    .invoice-print-facts {
        margin: 0 !important;
        font-size: 11px !important;
        line-height: 1.3 !important;
    }

    .invoice-detail-grid {
        --bs-gutter-x: 10px !important;
        --bs-gutter-y: 10px !important;
        margin-top: 2px !important;
    }

    .invoice-billing-card,
    .invoice-line-items-card {
        padding: 8px !important;
        break-inside: avoid;
    }

    .invoice-billing-card h3,
    .invoice-line-items-card h3 {
        font-size: 13px !important;
        margin-bottom: 6px !important;
    }

    .invoice-billing-card p,
    .invoice-billing-card small {
        margin-bottom: 2px !important;
        font-size: 11px !important;
        line-height: 1.25 !important;
    }

    .invoice-line-items-card .table-responsive,
    .invoice-line-items-card .invoice-summary-grid {
        margin-top: 6px !important;
    }

    .invoice-table th {
        font-size: 10px !important;
        letter-spacing: 0.04em !important;
    }

    .invoice-table td,
    .invoice-table th {
        padding-top: 5px !important;
        padding-bottom: 5px !important;
        font-size: 11px !important;
        line-height: 1.2 !important;
    }

    .invoice-table .small {
        font-size: 10px !important;
        line-height: 1.2 !important;
    }

    .invoice-summary-grid {
        max-width: 260px !important;
        gap: 6px !important;
    }

    .summary-line,
    .summary-line-total {
        padding-top: 2px !important;
        font-size: 11px !important;
    }

    .summary-line-total,
    .summary-line.total {
        padding-top: 6px !important;
        margin-top: 2px !important;
    }
}
