html {
    font-size: 14px;
}

.storefront-display-heading {
    font-family: "Playfair Display", serif;
    font-weight: 700;
}

:root {
    --theme-primary: #1a2a4a;
    --theme-primary-rgb: 26, 42, 74;
    --theme-primary-dark: #0d1625;
    --theme-primary-dark-rgb: 13, 22, 37;
    --theme-accent: #d4a017;
    --theme-accent-rgb: 212, 160, 23;
    --theme-surface: #f7f8fa;
    --theme-surface-rgb: 247, 248, 250;
    --theme-surface-dark: #1e2030;
    --primary: var(--theme-primary);
    --primary-rgb: var(--theme-primary-rgb);
    --primary-emphasis: var(--theme-primary-dark);
    --secondary: var(--theme-surface);
    --secondary-rgb: var(--theme-surface-rgb);
    --secondary-emphasis: var(--theme-accent);
    --bs-primary: var(--theme-primary);
    --bs-primary-rgb: var(--theme-primary-rgb);
    --bs-secondary: var(--theme-surface);
    --bs-secondary-rgb: var(--theme-surface-rgb);
    --bs-success: #22c55e;
    --bs-success-rgb: 34, 197, 94;
}

[data-bs-theme=dark] {
    --primary: #e8eaf2;
    --primary-rgb: 232, 234, 242;
    --secondary: #e8eaf2;
    --secondary-rgb: 232, 234, 242;
    --bs-primary: #e8eaf2;
    --bs-primary-rgb: 232, 234, 242;
    --bs-secondary: #e8eaf2;
    --bs-secondary-rgb: 232, 234, 242;
    --bs-secondary-color: #c7cfdd;
    --bs-tertiary-color: #aeb8c8;
    /* Components whose active state uses var(--primary) as bg collide with the
       near-white --primary redefined for dark mode. Re-anchor active states to
       the brand primary token with a light label. Covers pager + Identity nav. */
    --bs-pagination-active-bg: var(--theme-primary);
    --bs-pagination-active-border-color: var(--theme-primary);
    --bs-pagination-active-color: #e8eaf2;
    --bs-nav-pills-link-active-bg: var(--theme-primary);
    --bs-nav-pills-link-active-color: #e8eaf2;
    --bs-list-group-active-bg: var(--theme-primary);
    --bs-list-group-active-border-color: var(--theme-primary);
    --bs-list-group-active-color: #e8eaf2;
    --bs-progress-bar-bg: var(--theme-primary);
}

/* Bootstrap Litera redeclares the same active vars inside each component
   (.pagination, .nav-pills, .list-group, .progress) as var(--primary), so the
   html-level overrides above are shadowed. Re-anchor at component scope. */
[data-bs-theme=dark] .pagination {
    --bs-pagination-active-bg: var(--theme-primary);
    --bs-pagination-active-border-color: var(--theme-primary);
    --bs-pagination-active-color: #e8eaf2;
}

[data-bs-theme=dark] .nav-pills {
    --bs-nav-pills-link-active-bg: var(--theme-primary);
    --bs-nav-pills-link-active-color: #e8eaf2;
}

[data-bs-theme=dark] .list-group {
    --bs-list-group-active-bg: var(--theme-primary);
    --bs-list-group-active-border-color: var(--theme-primary);
    --bs-list-group-active-color: #e8eaf2;
}

[data-bs-theme=dark] .progress,
[data-bs-theme=dark] .progress-stacked {
    --bs-progress-bar-bg: var(--theme-primary);
}

[data-bs-theme=dark] .form-check-input:checked,
[data-bs-theme=dark] .form-check-input[type=checkbox]:indeterminate {
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

/* ponytail: --bs-secondary is a surface color in this theme, unreadable behind badge
   text — pin badges to solid gray + white text in both themes (navbar/offcanvas use
   .bg-secondary without .badge, so they keep the surface). */
.badge.bg-secondary,
.badge.text-bg-secondary {
    background-color: #6c757d !important;
    color: #fff !important;
}

#productos {
    scroll-margin-top: 5rem;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.divider-text:before,
.divider-text:after {
    color: white;
    content: "";
    flex: 1;
    border-bottom: 1px solid #555;
    margin: auto 0.25rem;
    box-shadow: 0 -2px;
}

.btn:focus, .btn:active:focus, .btn-link .nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(var(--theme-accent-rgb), 0.55);
}

html {
    position: relative;
    min-height: 100%;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
 }

.nav-link {
    transition:  transform 0.3s;
}

.nav-link:hover {
    transform: scale(1.1);
}

.btn-primary {
    --bs-btn-bg: var(--theme-primary);
    --bs-btn-border-color: var(--theme-primary);
    --bs-btn-hover-bg: var(--theme-primary-dark);
    --bs-btn-hover-border-color: var(--theme-accent);
    --bs-btn-active-bg: var(--theme-primary-dark);
    --bs-btn-active-border-color: var(--theme-accent);
    --bs-btn-color: #e8eaf2;
    --bs-btn-hover-color: #e8eaf2;
}

.btn-outline-primary {
    --bs-btn-color: var(--theme-primary);
    --bs-btn-border-color: var(--theme-primary);
    --bs-btn-hover-bg: var(--theme-primary);
    --bs-btn-hover-border-color: var(--theme-primary);
    --bs-btn-hover-color: #e8eaf2;
}
/* ponytail: --secondary is surface (#f7f8fa) in light mode → outline invisible. Re-anchor to primary + solid gray, like the .badge.bg-secondary fix */
.btn-outline-secondary {
    --bs-btn-color: var(--theme-primary);
    --bs-btn-border-color: #6c757d;
    --bs-btn-hover-bg: #6c757d;
    --bs-btn-hover-border-color: #6c757d;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-bg: #6c757d;
    --bs-btn-active-border-color: #6c757d;
    --bs-btn-active-color: #fff;
}

.btn-secondary {
    --bs-btn-bg: var(--theme-surface);
    --bs-btn-border-color: #d9dee8;
    --bs-btn-color: var(--theme-primary);
    --bs-btn-hover-bg: #e8eaf2;
    --bs-btn-hover-border-color: var(--theme-accent);
    --bs-btn-hover-color: var(--theme-primary-dark);
}

.btn-language,
.btn-language-active {
    --bs-btn-border-color: rgba(var(--theme-accent-rgb), 0.72);
    --bs-btn-hover-bg: var(--theme-accent);
    --bs-btn-hover-border-color: var(--theme-accent);
    --bs-btn-hover-color: var(--theme-primary-dark);
    --bs-btn-active-bg: #b8860b;
    --bs-btn-active-border-color: #b8860b;
}

.btn-language {
    --bs-btn-color: var(--theme-primary);
    --bs-btn-bg: transparent;
}

.btn-language-active {
    --bs-btn-color: var(--theme-primary-dark);
    --bs-btn-bg: var(--theme-accent);
}

[data-bs-theme=dark] .btn-language {
    --bs-btn-color: #e8eaf2;
    --bs-btn-bg: rgba(var(--theme-primary-dark-rgb), 0.18);
}

[data-bs-theme=dark] .btn-outline-primary {
    --bs-btn-color: #e8eaf2;
    --bs-btn-border-color: #e8eaf2;
    --bs-btn-hover-bg: #e8eaf2;
    --bs-btn-hover-border-color: var(--theme-accent);
    --bs-btn-hover-color: var(--theme-primary-dark);
}
[data-bs-theme=dark] .btn-outline-secondary {
    --bs-btn-color: #e8eaf2;
    --bs-btn-border-color: #9aa4b2;
}

/* ponytail: shrink cart count pill without enlarging hit-area; keep anchor 44px */
.cart-count-badge { --bs-badge-font-size: .62rem; padding: .28em .42em; min-width: 1.1rem; line-height: 1; }

.dropdown-item.active,
.dropdown-item:active {
    background-color: var(--theme-primary);
    color: #e8eaf2;
}

.icon-link,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
    color: var(--theme-accent) !important;
}

.footer-logo--dark {
    display: none;
}

[data-bs-theme=dark] .footer-logo--light {
    display: none;
}

[data-bs-theme=dark] .footer-logo--dark {
    display: inline;
}

.footer-signature {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    opacity: 0.82;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-signature:hover,
.footer-signature:focus {
    opacity: 1;
    transform: translateY(-1px);
}

.footer-signature__mark {
    display: block;
    width: 44px;
    height: auto;
}

.navbar.bg-primary {
    background: linear-gradient(135deg, var(--theme-primary-dark), var(--theme-primary)) !important;
    box-shadow: 0 0.5rem 1.25rem rgba(var(--theme-primary-dark-rgb), 0.22);
}

[data-bs-theme=dark] .navbar.bg-primary {
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.45);
}

.bg-primary {
    background-color: var(--theme-primary) !important;
}

.bg-secondary {
    background-color: var(--theme-surface) !important;
}

[data-bs-theme=dark] .bg-secondary {
    background-color: var(--theme-surface-dark) !important;
}

.storefront-section {
    padding-top: 1.5rem;
}

.home-value-banner,
.home-trust-strip {
    border: 1px solid rgba(var(--theme-primary-rgb), 0.12);
    border-left: 4px solid var(--theme-accent);
    background-color: var(--theme-surface);
}

.product-card {
    height: 100%;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.1) !important;
    border-top: 4px solid var(--theme-accent) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
    border-color: rgba(var(--theme-accent-rgb), 0.45) !important;
    box-shadow: 0 0.75rem 1.5rem rgba(var(--theme-primary-dark-rgb), 0.12) !important;
    transform: translateY(-2px);
}

.product-card__image-link {
    position: relative;
    display: block;
    aspect-ratio: 5 / 6;
    overflow: hidden;
    background-color: #fff;
}

.product-card__stock-badge {
    position: absolute;
    inset: auto 0 0 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.5rem 0.5rem;
    background-color: rgba(var(--theme-primary-dark-rgb), 0.72);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1.2;
}

[data-bs-theme=dark] .product-card__stock-badge {
    background-color: rgba(0, 0, 0, 0.65);
}

.product-card__shipping-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background-color: var(--theme-accent);
    color: var(--theme-primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.25);
    z-index: 2;
}

[data-bs-theme=dark] .product-card__shipping-badge {
    box-shadow: 0 0.25rem 0.6rem rgba(0, 0, 0, 0.5);
}

.shipping-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 999px;
    background-color: var(--theme-accent);
    color: var(--theme-primary-dark);
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.2;
}

@media (max-width: 575.98px) {
    .product-card__shipping-badge {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
}

.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card__meta {
    color: #5a5a5a;
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.product-price {
    color: var(--theme-primary);
    font-weight: 700;
}

.empty-state {
    border: 1px dashed rgba(var(--theme-primary-rgb), 0.25);
    background-color: var(--theme-surface);
}

.product-detail {
    border: 1px solid rgba(var(--theme-primary-rgb), 0.1) !important;
}

.product-detail__media {
    overflow: hidden;
    background-color: #fff;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.1);
}

.product-detail__image {
    display: block;
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
}

.product-detail__panel {
    padding: 0.5rem;
}

.product-detail__badge {
    background-color: rgba(var(--theme-accent-rgb), 0.14);
    color: var(--theme-primary);
    border: 1px solid rgba(var(--theme-accent-rgb), 0.35);
}

.product-detail__price {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1;
}

.product-detail__description {
    color: var(--bs-body-color);
    background-color: rgba(255, 255, 255, 0.74);
    border-left: 4px solid var(--theme-accent);
    border-radius: 0.75rem;
    padding: 1rem;
    font-variant-numeric: lining-nums tabular-nums;
    overflow-wrap: break-word;
}

.product-detail__description p {
    margin-bottom: 0.75rem;
}

.product-detail__description p:last-child {
    margin-bottom: 0;
}

.product-detail__description ul,
.product-detail__description ol {
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-detail__purchase {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: 0.5rem 1rem;
}

.product-detail__stepper {
    display: inline-flex;
    align-items: stretch;
    min-height: 2.75rem;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.22);
    border-radius: 0.75rem;
    overflow: hidden;
}

.product-detail__quantity-input {
    width: 3.25rem;
    min-height: 2.625rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
    padding: 0.375rem 0;
    appearance: textfield;
    -moz-appearance: textfield;
}

.product-detail__quantity-input::-webkit-outer-spin-button,
.product-detail__quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-detail__quantity-input:focus {
    border-color: transparent;
    box-shadow: none;
}

.product-detail__step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    border: 0;
    padding: 0;
    background: transparent;
    color: var(--theme-primary);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.product-detail__step--minus {
    border-right: 1px solid rgba(var(--theme-primary-rgb), 0.15);
}

.product-detail__step--plus {
    border-left: 1px solid rgba(var(--theme-primary-rgb), 0.15);
}

.product-detail__step:hover:not(:disabled) {
    background-color: rgba(var(--theme-primary-rgb), 0.08);
}

.product-detail__step:active:not(:disabled) {
    background-color: rgba(var(--theme-primary-rgb), 0.16);
}

.product-detail__step:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.product-detail__step:focus-visible {
    outline: 2px solid var(--theme-accent);
    outline-offset: -2px;
    z-index: 1;
}

.product-detail__actions {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
    flex: 1 1 auto;
    min-width: 13rem;
}

.product-detail__add-button {
    flex: 1 1 auto;
    min-width: 0;
    min-height: 2.75rem;
}

.product-detail__quantity-validation {
    display: block;
    flex-basis: 100%;
    min-height: 1.25rem;
    font-size: 0.875rem;
}

[data-bs-theme=dark] .product-card,
[data-bs-theme=dark] .empty-state,
[data-bs-theme=dark] .product-detail {
    border-color: rgba(232, 234, 242, 0.14) !important;
    background-color: var(--theme-surface-dark) !important;
}

[data-bs-theme=dark] .home-value-banner,
[data-bs-theme=dark] .home-trust-strip {
    border-color: rgba(232, 234, 242, 0.14);
    border-left-color: var(--theme-accent);
    background-color: var(--theme-surface-dark);
}

[data-bs-theme=dark] .product-card__image-link,
[data-bs-theme=dark] .product-detail__media {
    background-color: var(--theme-primary-dark);
}

[data-bs-theme=dark] .product-card__meta {
    color: #c7cfdd;
}

[data-bs-theme=dark] .product-card:hover {
    border-color: rgba(var(--theme-accent-rgb), 0.7) !important;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.42), 0 0 0 1px rgba(var(--theme-accent-rgb), 0.24) !important;
}

[data-bs-theme=dark] .product-price {
    color: #e8eaf2;
}

[data-bs-theme=dark] .product-detail__badge {
    color: #e8eaf2;
}

[data-bs-theme=dark] .product-detail__description {
    background-color: rgba(var(--theme-primary-dark-rgb), 0.58);
}

[data-bs-theme=dark] .product-detail__stepper {
    border-color: rgba(232, 234, 242, 0.22);
}

[data-bs-theme=dark] .product-detail__step {
    color: #e8eaf2;
    border-color: rgba(232, 234, 242, 0.12);
}

[data-bs-theme=dark] .product-detail__step:hover:not(:disabled) {
    background-color: rgba(232, 234, 242, 0.08);
}

[data-bs-theme=dark] .product-detail__step:active:not(:disabled) {
    background-color: rgba(232, 234, 242, 0.16);
}

div.dt-button-collection {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-color: var(--bs-border-color);
}

div.dt-button-collection .dt-button {
    color: var(--bs-body-color);
    background-color: var(--bs-body-bg);
}

div.dt-button-collection .dt-button:hover {
    background-color: var(--bs-tertiary-bg);
}
[data-bs-theme=light] .theme-card {
    background-color: var(--theme-surface);
    color: var(--theme-primary);
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

[data-bs-theme=dark] .theme-card {
    background-color: var(--theme-surface-dark);
    color: #e8eaf2;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

.checkout-demo-notice {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1rem;
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-left: 4px solid #f59e0b;
    border-radius: 0.75rem;
    background: linear-gradient(135deg, rgba(255, 251, 235, 0.96), rgba(254, 243, 199, 0.68));
    color: #713f12;
    box-shadow: 0 0.5rem 1.25rem rgba(120, 53, 15, 0.08);
}

.checkout-demo-notice__icon {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background-color: #f59e0b;
    color: #fff7ed;
    font-size: 1.1rem;
}

.checkout-summary__card,
.admin-product-upsert .border {
    border-color: rgba(var(--theme-primary-rgb), 0.12) !important;
}

.payment-method-picker {
    border: 0;
    margin: 0;
    min-width: 0;
    padding: 0;
}

.payment-method-picker__options {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr));
}

.payment-method-picker__input {
    height: 1px;
    margin: -1px;
    overflow: hidden;
    position: absolute;
    width: 1px;
    clip: rect(0, 0, 0, 0);
    clip-path: inset(50%);
}

.payment-method-picker__card {
    align-items: center;
    background-color: var(--theme-surface);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
    border-radius: 0.75rem;
    cursor: pointer;
    display: flex;
    gap: 0.75rem;
    min-height: 4.5rem;
    padding: 0.75rem 0.875rem;
}

.payment-method-picker__mark {
    display: inline-flex;
    flex: 0 0 auto;
    height: 2.5rem;
    width: 2.5rem;
}

.payment-method-picker__mark svg {
    height: 100%;
    width: 100%;
}

.payment-method-picker__label {
    color: var(--theme-primary);
    font-weight: 600;
    line-height: 1.25;
}

.payment-method-picker__selected {
    align-items: center;
    background-color: var(--theme-primary);
    border-radius: 50%;
    color: #fff;
    display: none;
    font-size: 0.75rem;
    font-weight: 700;
    height: 1.25rem;
    justify-content: center;
    margin-left: auto;
    width: 1.25rem;
}

.payment-method-picker__input:checked + .payment-method-picker__card {
    background-color: rgba(var(--theme-accent-rgb), 0.1);
    border: 2px solid var(--theme-primary);
    padding: calc(0.75rem - 1px) calc(0.875rem - 1px);
}

.payment-method-picker__input:checked + .payment-method-picker__card .payment-method-picker__selected {
    display: inline-flex;
}

.payment-method-picker__input:focus-visible + .payment-method-picker__card {
    outline: 3px solid rgba(var(--theme-accent-rgb), 0.65);
    outline-offset: 3px;
}

.payment-method-picker__card:focus-visible {
    outline: 3px solid rgba(var(--theme-accent-rgb), 0.65);
    outline-offset: 3px;
}

.product-image-card__image {
    width: 100%;
    aspect-ratio: 5 / 6;
    object-fit: cover;
}

[data-bs-theme=dark] .checkout-demo-notice {
    border-color: rgba(251, 191, 36, 0.45);
    border-left-color: #fbbf24;
    background: linear-gradient(135deg, rgba(69, 26, 3, 0.96), rgba(120, 53, 15, 0.72));
    color: #fef3c7;
    box-shadow: 0 0.5rem 1.25rem rgba(0, 0, 0, 0.22);
}

[data-bs-theme=dark] .checkout-summary .card-footer.bg-white {
    background-color: var(--theme-surface-dark) !important;
}

[data-bs-theme=dark] .payment-method-picker__card {
    background-color: var(--theme-surface-dark);
    border-color: rgba(232, 234, 242, 0.22);
}

[data-bs-theme=dark] .payment-method-picker__label {
    color: #e8eaf2;
}

[data-bs-theme=dark] .payment-method-picker__input:checked + .payment-method-picker__card {
    background-color: rgba(var(--theme-accent-rgb), 0.18);
    border-color: var(--theme-accent);
}

@media (forced-colors: active) {
    .payment-method-picker__input:checked + .payment-method-picker__card {
        border: 3px solid Highlight;
    }

    .payment-method-picker__input:focus-visible + .payment-method-picker__card {
        outline-color: Highlight;
    }

    .payment-method-picker__card:focus-visible {
        outline-color: Highlight;
    }
}

[data-bs-theme=dark] .checkout-summary__card,
[data-bs-theme=dark] .admin-product-upsert .border {
    border-color: rgba(232, 234, 242, 0.14) !important;
}

.final-prices-dashboard {
    border: 1px solid rgba(var(--theme-primary-rgb), 0.1) !important;
}

.final-prices-dashboard__header {
    background: linear-gradient(135deg, var(--theme-primary), var(--theme-primary-dark)) !important;
}

.final-prices-dashboard__badge {
    background-color: rgba(var(--theme-accent-rgb), 0.16);
    color: var(--theme-surface);
    border: 1px solid rgba(var(--theme-accent-rgb), 0.45);
}

.final-prices-dashboard__action {
    padding: 1rem;
    border: 1px solid rgba(var(--theme-accent-rgb), 0.35);
    border-left: 4px solid var(--theme-accent);
    border-radius: 0.75rem;
    background-color: rgba(var(--theme-accent-rgb), 0.08);
}

.final-prices-dashboard__settings,
.final-prices-dashboard__table,
.final-prices-dashboard__panel,
.final-prices-dashboard__metric {
    border-color: rgba(var(--theme-primary-rgb), 0.12) !important;
}

.final-prices-dashboard__metric {
    border-top: 3px solid var(--theme-accent) !important;
}

.final-prices-dashboard__table thead th {
    white-space: nowrap;
}

[data-bs-theme=dark] .final-prices-dashboard,
[data-bs-theme=dark] .final-prices-dashboard__settings,
[data-bs-theme=dark] .final-prices-dashboard__table,
[data-bs-theme=dark] .final-prices-dashboard__panel,
[data-bs-theme=dark] .final-prices-dashboard__metric {
    border-color: rgba(232, 234, 242, 0.14) !important;
}

[data-bs-theme=dark] .final-prices-dashboard__action {
    background-color: rgba(var(--theme-accent-rgb), 0.12);
}

.rich-text-editor .ql-editor {
    min-height: 12rem;
}

.ql-toolbar.ql-snow,
.rich-text-editor.ql-container.ql-snow {
    border-color: var(--bs-border-color);
}

.ql-toolbar.ql-snow {
    background-color: var(--bs-tertiary-bg);
    color: var(--bs-body-color);
    border-top-left-radius: var(--bs-border-radius);
    border-top-right-radius: var(--bs-border-radius);
}

.rich-text-editor.ql-container.ql-snow {
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    border-bottom-left-radius: var(--bs-border-radius);
    border-bottom-right-radius: var(--bs-border-radius);
}

.rich-text-editor .ql-editor.ql-blank::before {
    color: var(--bs-secondary-color);
    opacity: 1;
}

.ql-snow .ql-picker,
.ql-snow .ql-picker-options,
.ql-snow .ql-stroke {
    color: var(--bs-body-color);
    stroke: currentColor;
}

.ql-snow .ql-fill,
.ql-snow .ql-stroke.ql-fill {
    fill: var(--bs-body-color);
}

.ql-snow .ql-picker-options {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
}

.ql-snow .ql-picker.ql-expanded .ql-picker-label,
.ql-snow .ql-picker.ql-expanded .ql-picker-options,
.ql-snow .ql-toolbar button:hover,
.ql-snow.ql-toolbar button:hover,
.ql-snow .ql-toolbar button:focus,
.ql-snow.ql-toolbar button:focus,
.ql-snow .ql-toolbar button.ql-active,
.ql-snow.ql-toolbar button.ql-active,
.ql-snow .ql-toolbar .ql-picker-label:hover,
.ql-snow.ql-toolbar .ql-picker-label:hover,
.ql-snow .ql-toolbar .ql-picker-label.ql-active,
.ql-snow.ql-toolbar .ql-picker-label.ql-active,
.ql-snow .ql-toolbar .ql-picker-item:hover,
.ql-snow.ql-toolbar .ql-picker-item:hover,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected {
    color: var(--bs-primary);
}

.ql-snow .ql-toolbar button:hover .ql-stroke,
.ql-snow.ql-toolbar button:hover .ql-stroke,
.ql-snow .ql-toolbar button:focus .ql-stroke,
.ql-snow.ql-toolbar button:focus .ql-stroke,
.ql-snow .ql-toolbar button.ql-active .ql-stroke,
.ql-snow.ql-toolbar button.ql-active .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke {
    stroke: var(--bs-primary);
}

.ql-snow .ql-toolbar button:hover .ql-fill,
.ql-snow.ql-toolbar button:hover .ql-fill,
.ql-snow .ql-toolbar button:focus .ql-fill,
.ql-snow.ql-toolbar button:focus .ql-fill,
.ql-snow .ql-toolbar button.ql-active .ql-fill,
.ql-snow.ql-toolbar button.ql-active .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,
.ql-snow .ql-toolbar .ql-picker-item.ql-selected,
.ql-snow.ql-toolbar .ql-picker-item.ql-selected {
    fill: var(--bs-primary);
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 0.625rem;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5rem;
    height: 1.5rem;
    padding: 0;
    border: 0;
    border-radius: 0.375rem;
    background: transparent;
    color: var(--bs-secondary-color);
    cursor: pointer;
    z-index: 2;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    color: var(--bs-body-color);
    background-color: var(--bs-tertiary-bg);
}

.password-toggle:focus-visible {
    outline: 2px solid var(--theme-accent);
    outline-offset: 2px;
}

.password-toggle__icon {
    width: 1.25em;
    height: 1.25em;
}

.password-toggle__icon--hide {
    display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__icon--show {
    display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle__icon--hide {
    display: inline-block;
}

.form-floating:has(.password-toggle) .form-control {
    padding-right: 2.5rem;
}

html { overflow-x: clip; } /* ponytail: required for .u-breakout 100vw — verify scrollWidth === clientWidth at 1280/390 */

/* ponytail: .u-breakout — 100vw breakout utility for hero (requires overflow-x:clip on root) */
.u-breakout {
    width: 100vw;
    margin-inline: calc(50% - 50vw);
}

/*
 * Storefront collection chips row (home + search).
 * One horizontal row, no wrap; overflow scrolls horizontally with touch.
 * ponytail: plain CSS horizontal scroll, `scroll-snap` for the mobile feel.
 */
.collections-row {
    display: flex;
    flex-wrap: nowrap;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scroll-padding-left: 0.5rem;
    padding-top: 0.75rem;
    padding-right: 0.5rem;
    padding-bottom: 0.5rem;
    margin-top: 0.15rem;
    -webkit-overflow-scrolling: touch;
}

/* ponytail: generic scroll-row — hide native bar, smooth, mask fade, nav buttons target this class */
.scroll-row {
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
    mask-image: linear-gradient(to right, transparent, black 1rem, black calc(100% - 1rem), transparent);
}
.scroll-row::-webkit-scrollbar { display: none; }
.scroll-row[data-at-start="true"] { mask-image: linear-gradient(to right, black calc(100% - 1rem), transparent); }
.scroll-row[data-at-end="true"] { mask-image: linear-gradient(to right, transparent, black 1rem, black); }
.scroll-row[data-at-start="true"][data-at-end="true"] { mask-image: none; }

.filter-row__label {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--bs-secondary-color);
    margin-bottom: 0.35rem;
}

.scroll-row-wrap { position: relative; }
.scroll-row-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    border: 1px solid rgba(var(--theme-primary-rgb), 0.15);
    background: var(--theme-surface);
    color: var(--theme-primary);
    display: none;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0.25rem 0.5rem rgba(0,0,0,0.12);
    z-index: 1;
}
.scroll-row-btn--prev { left: 0.25rem; }
.scroll-row-btn--next { right: 0.25rem; }
.scroll-row-btn.is-visible { display: flex; }

/* collection hero — reusable breakout above search results (fluid 1905:714, zero crop at every width, compositor-only parallax) */
.collection-hero--breakout {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    position: relative;
    aspect-ratio: 1905 / 714;
    overflow: hidden;
}
.collection-hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    overflow: hidden;
    transform: translateY(var(--img-ty, 0));
    will-change: transform;
}
.collection-hero__scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.05), rgba(0,0,0,0.55));
}
.collection-hero__content {
    position: absolute;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0,0,0,0.5);
    opacity: var(--content-opacity, 1);
}
.collection-hero__title { font-family: "Playfair Display", serif; font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 700; margin: 0; display: inline; }
.collection-hero__count { font-size: 0.9rem; opacity: 0.85; margin-left: 0.25rem; }
@media (prefers-reduced-motion: reduce) {
    .collection-hero__image { transform: none !important; }
    .banner .carousel-item { transition: none; }
}

.collection-chip {
    position: relative;
    flex: 0 0 auto;
    scroll-snap-align: start;
}

.collection-chip__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    width: 6.5rem;
    min-width: 6.5rem;
    max-width: 6.5rem;
    min-height: 44px;
    padding: 0.75rem;
    color: var(--theme-primary);
    text-decoration: none;
    text-align: center;
    background-color: var(--theme-surface);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.2);
    border-radius: 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.collection-chip__link:focus-visible,
.category-pill:focus-visible,
.collection-chip__remove:focus-visible {
    outline: 2px solid var(--theme-accent);
    outline-offset: 2px;
}

.collection-chip__link:hover {
    color: var(--theme-primary);
    border-color: rgba(var(--theme-accent-rgb), 0.55);
    box-shadow: 0 0.5rem 1rem rgba(var(--theme-primary-dark-rgb), 0.12);
    transform: translateY(-2px);
}

.collection-chip.active .collection-chip__link {
    border-color: rgba(var(--theme-accent-rgb), 0.9);
    box-shadow: 0 0 0 0.2rem rgba(var(--theme-accent-rgb), 0.25);
}

.collection-chip__image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4.5rem;
    height: 4.5rem;
    overflow: hidden;
    background-color: rgba(var(--theme-primary-rgb), 0.12);
    border-radius: 50%;
}

.collection-chip__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-chip__fallback {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--theme-primary);
}

.collection-chip__name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
    hyphens: auto;
    max-width: 6.5rem;
    padding-bottom: 0.12rem;
}

.collection-chip__count {
    font-size: 0.75rem;
    color: var(--bs-secondary-color);
}

.collection-chip__remove {
    position: absolute;
    top: -0.5rem;
    right: -0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    min-width: 44px;
    min-height: 44px;
    color: var(--theme-primary);
    text-decoration: none;
    background-color: var(--theme-surface);
    border: 1px solid rgba(var(--theme-primary-rgb), 0.3);
    border-radius: 50%;
    font-size: 1rem;
    line-height: 1;
    box-shadow: 0 0.25rem 0.5rem rgba(var(--theme-primary-dark-rgb), 0.12);
}

.collection-chip__remove:hover {
    color: #fff;
    background-color: var(--theme-primary);
    border-color: var(--theme-primary);
}

.active-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    color: var(--theme-primary);
    font-weight: 600;
    background-color: var(--theme-surface);
    border: 1px solid rgba(var(--theme-accent-rgb), 0.55);
    border-radius: 2rem;
}

.active-filter-chip__clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25rem;
    height: 1.25rem;
    color: inherit;
    text-decoration: none;
    border-radius: 50%;
}

.active-filter-chip__clear:hover {
    color: #fff;
    background-color: var(--theme-primary);
}

/* ponytail: category pill — alias to editorial chip (72px/6.5rem via collection-chip family); no sizing overrides */
.category-pill { min-height: 44px; }

@media (min-width: 576px) and (max-width: 991.98px) {
    .collections-row {
        scroll-padding-left: 0.75rem;
    }
}

[data-bs-theme=dark] .collection-chip__link {
    background-color: var(--theme-surface-dark);
    color: #e8eaf2;
    border-color: rgba(232, 234, 242, 0.14);
}

[data-bs-theme=dark] .collection-chip__image {
    background-color: rgba(var(--theme-accent-rgb), 0.15);
}

[data-bs-theme=dark] .collection-chip__fallback {
    color: #e8eaf2;
}

[data-bs-theme=dark] .collection-chip__count {
    color: #c7cfdd;
}

[data-bs-theme=dark] .collection-chip__remove {
    background-color: var(--theme-surface-dark);
    color: #e8eaf2;
    border-color: rgba(232, 234, 242, 0.22);
}

[data-bs-theme=dark] .active-filter-chip {
    background-color: var(--theme-surface-dark);
    color: #e8eaf2;
    border-color: rgba(var(--theme-accent-rgb), 0.55);
}

/*
 * Mobile density for Admin DataTables.
 * On phones the fixed per-column widths (percent) get recalculated by Responsive
 * over the reduced set of visible columns and blow up in proportion. Neutralize
 * them so re-layout sizes from content, and use small font + ellipsis to fit the
 * 4-5 essential columns (responsivePriority in the table JS decides which).
 * ponytail: one global block instead of per-column classes; add per-column cap only if a table needs it.
 */
@media (max-width: 575.98px) {
    table.dataTable {
        font-size: 11px !important;
    }

    table.dataTable > thead th {
        white-space: normal;
    }

    table.dataTable > tbody td {
        max-width: 110px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    table.dataTable tr.dt-hasChild td {
        max-width: none;
        overflow: visible;
        text-overflow: clip;
        white-space: normal;
    }

    table.dataTable > thead th,
    table.dataTable > tbody td {
        padding: 0.2rem 0.3rem !important;
        width: auto !important;
    }

    table.dataTable col {
        width: auto !important;
    }

    table.dataTable .btn-group {
        width: auto !important;
    }

table.dataTable .btn {
		padding: 0.15rem 0.4rem;
		font-size: 0.85em;
		line-height: 1.2;
	}
}

/* ponytail: branch picker labels — prevent address/hours truncation */
.branch-cascade-picker .list-group-item > span {
	flex: 1 1 0%;
	min-width: 0;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
}
.branch-cascade-picker .list-group-item > span small {
	display: block;
}

/* ponytail: Chrome lays <fieldset> children out horizontally and shrink-fits flex children, so
   .list-group (display:flex) collapses to 0 width — a zero-width column pinned to the right edge.
   width: 100% restores block layout. Drop this if the partial ever stops using <fieldset>. */
.branch-cascade-picker fieldset > * { width: 100%; }

.checkout-delivery-options { display: grid; gap: 0.75rem; }
.checkout-delivery-option {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin: 0;
	padding: 0.9rem 1rem;
	border: 1px solid var(--bs-border-color);
	border-radius: 0.65rem;
	background: var(--bs-body-bg);
	cursor: pointer;
}
.checkout-delivery-option:focus-within { outline: 3px solid var(--bs-primary); outline-offset: 2px; }
.checkout-delivery-option:has(> input:checked) { border-color: var(--bs-primary); background: var(--bs-primary-bg-subtle); }
.checkout-delivery-option > .form-check-input { flex: 0 0 auto; margin: 0.2rem 0 0; }
.checkout-delivery-option__content { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem 1rem; flex: 1; min-width: 0; }
.checkout-delivery-option__main { display: block; min-width: 0; }
.checkout-delivery-option__title { display: flex; align-items: center; gap: 0.55rem; font-weight: 600; line-height: 1.35; }
.checkout-delivery-option__icon { width: 1.2em; height: 1.2em; flex: 0 0 auto; color: var(--bs-primary); }
.checkout-delivery-option__details { display: block; margin-top: 0.2rem; color: var(--bs-secondary-color); font-size: 0.9rem; line-height: 1.4; overflow-wrap: anywhere; }
.checkout-delivery-option__price { flex: 0 0 auto; color: var(--bs-success-text-emphasis); font-weight: 700; }

@media (max-width: 575.98px) {
	.checkout-delivery-option__content { flex-direction: column; }
}

/* home-banners 4.3: full-bleed carousel; desktop 1905:714; below 992px both layouts share 4:5 (cover center-cropped, mobile asset art-directed) */
.banner .carousel-item { aspect-ratio: 1905 / 714; overflow: hidden; }
.banner__slide-link { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; }
a.banner__slide-link:focus-visible { outline: 3px solid var(--banner-text); outline-offset: -6px; }
.banner__image { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.banner--layout-imageled .banner__image { object-position: right center; }
.banner__content { position: absolute; top: var(--banner-safe-top, 0); right: var(--banner-safe-right, 0); bottom: var(--banner-safe-bottom, 0); left: var(--banner-safe-left, 0); color: var(--banner-text); }

/* text-color contract: the single choice fixes text + opposing scrim (WCAG AA over arbitrary images) */
.banner--color-brandlight { --banner-text: var(--theme-surface); --banner-scrim: linear-gradient(to bottom, rgba(10,14,24,0.55), rgba(10,14,24,0.72)); --banner-scrim-side: linear-gradient(to right, rgba(10,14,24,0.72) 0%, rgba(10,14,24,0.55) 40%, rgba(10,14,24,0) 62%); }
.banner--color-white { --banner-text: #fff; --banner-scrim: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0.72)); --banner-scrim-side: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0) 62%); }
.banner--color-branddark { --banner-text: var(--theme-primary); --banner-scrim: linear-gradient(to bottom, rgba(247,248,250,0.65), rgba(247,248,250,0.82)); --banner-scrim-side: linear-gradient(to right, rgba(247,248,250,0.82) 0%, rgba(247,248,250,0.65) 40%, rgba(247,248,250,0) 62%); }
.banner--color-black { --banner-text: #000; --banner-scrim: linear-gradient(to bottom, rgba(255,255,255,0.65), rgba(255,255,255,0.82)); --banner-scrim-side: linear-gradient(to right, rgba(255,255,255,0.82) 0%, rgba(255,255,255,0.65) 40%, rgba(255,255,255,0) 62%); }
.banner__scrim { position: absolute; inset: 0; background: var(--banner-scrim); }
.banner--layout-imageled .banner__scrim { background: var(--banner-scrim-side); }

/* Crossed desktop: title/CTA left, hook right */
.banner--layout-crossed .banner__content { display: grid; grid-template-columns: 1fr 1fr; grid-template-areas: "title hook" "body hook" "cta hook"; align-content: center; column-gap: 2rem; padding: 2rem clamp(1rem, 6vw, 5rem); }
.banner--layout-crossed .banner__title { grid-area: title; }
.banner--layout-crossed .banner__body { grid-area: body; }
.banner--layout-crossed .banner__cta { grid-area: cta; justify-self: start; }
.banner--layout-crossed .banner__hook { grid-area: hook; align-self: center; }
/* ImageLed desktop: left text rail over full-bleed image, subject clear on the right */
.banner--layout-imageled .banner__content { display: flex; flex-direction: column; justify-content: center; gap: 0.75rem; width: 40%; padding-left: clamp(1rem, 6vw, 5rem); padding-right: 1rem; }
.banner--layout-imageled .banner__cta { align-self: flex-start; width: fit-content; max-width: 100%; }

.banner__title { font-family: "Playfair Display", serif; font-size: clamp(1.6rem, 3.4vw, 2.6rem); font-weight: 700; line-height: 1.1; text-wrap: balance; }
.banner__hook { font-size: clamp(1.1rem, 2.2vw, 1.6rem); font-weight: 600; line-height: 1.2; text-wrap: balance; }
.banner__body { font-size: clamp(0.95rem, 1.4vw, 1.1rem); line-height: 1.45; }
.banner__cta { display: inline-block; padding: 0.6rem 1.5rem; border: 2px solid var(--banner-text); border-radius: 999px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.banner__pause { position: absolute; right: 1rem; bottom: 1rem; z-index: 5; width: 2.75rem; height: 2.75rem; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 2px solid rgba(255,255,255,0.85); background: rgba(0,0,0,0.45); color: #fff; font-size: 1.25rem; }

@media (max-width: 991.98px) {
    .carousel-item.banner--layout-crossed,
    .carousel-item.banner--layout-imageled { aspect-ratio: 4 / 5; }
    /* safe zone is desktop-only: mobile always uses the per-layout default geometry below. */
    .banner .banner__content { top: 0; right: 0; bottom: 0; left: 0; }
    .banner--layout-crossed .banner__content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 1.25rem 1rem 3.5rem; }
    .banner--layout-crossed .banner__cta { margin-top: 0.5rem; width: 100%; max-width: 22rem; text-align: center; }
    .banner--layout-imageled .banner__content { width: auto; justify-content: flex-start; padding: 1.25rem 1rem 3.5rem; }
    .banner--layout-imageled .banner__title { text-align: left; }
    .banner--layout-imageled .banner__cta { margin-top: auto; align-self: flex-start; }
}
/* banner-preview-safe-zone 3.1/5.3: admin live preview reuses the storefront banner geometry above.
   Both frames render at once: the desktop frame is full-width at live size (u-breakout, vw-based
   clamp() type); the mobile frame mirrors the portrait composition viewport-independently, so the
   mobile content rules are scoped to .banner-preview--mobile instead of a media query. */
.banner-preview__frame { position: relative; overflow: hidden; background: var(--bs-tertiary-bg, #f0f2f5); }
.banner-preview__frame [hidden] { display: none !important; }
.banner-preview__desktop { aspect-ratio: 1905 / 714; }
.banner-preview__mobile--crossed,
.banner-preview__mobile--imageled { aspect-ratio: 4 / 5; }
.banner-preview--mobile.banner--layout-crossed .banner__content { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem; text-align: center; padding: 1rem 0.75rem; }
.banner-preview--mobile.banner--layout-crossed .banner__cta { margin-top: 0.5rem; width: 100%; max-width: 22rem; text-align: center; }
/* safe zone is desktop-only: the mobile preview always uses the per-layout default geometry. */
.banner-preview--mobile .banner__content { top: 0; right: 0; bottom: 0; left: 0; }
.banner-preview--mobile.banner--layout-imageled .banner__content { width: auto; justify-content: flex-start; padding: 1rem 0.75rem; }
.banner-preview--mobile.banner--layout-imageled .banner__cta { margin-top: auto; align-self: flex-start; }
.banner-preview__editor { position: absolute; inset: 0; z-index: 2; cursor: crosshair; touch-action: none; }
.banner-preview__safezone { position: absolute; border: 2px dashed #fff; outline: 2px solid rgba(0, 0, 0, 0.55); background: rgba(255, 255, 255, 0.08); }
.banner-preview__safezone-handle { position: absolute; right: -8px; bottom: -8px; width: 16px; height: 16px; background: #fff; border: 2px solid #000; border-radius: 50%; cursor: nwse-resize; }

/* Keep colvis dropdown visible even though the table wrapper clips overflow during resize.
   :has() covers mouse interactions where :focus-within does not fire. */
.final-prices-dashboard__table:focus-within,
.final-prices-dashboard__table:has(.dt-button-collection) {
    overflow: visible;
}

/* Colvis dropdown: scroll vertically instead of being cut off, and wrap long column labels. */
.final-prices-dashboard__table .dt-button-collection {
    max-height: calc(100vh - 4rem);
    overflow-y: auto;
    overflow-x: hidden;
}

.final-prices-dashboard__table .dt-button-collection .dt-button {
    white-space: normal;
    overflow-wrap: anywhere;
}
