/* ============================================================
   Ybry Parfums — Custom Stylesheet
   Adapted from the static site for WordPress / GeneratePress
   ============================================================ */

/* ------------------------------------------------------------
   Typography & Base
   ------------------------------------------------------------ */
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

html {
    scroll-behavior: smooth;
}

/* Force Ybry link styling over theme defaults */
body a,
body a:link,
body a:visited,
body a:hover,
body a:active {
    color: inherit;
    text-decoration: none;
}

body a:focus {
    outline: none;
}

/* ------------------------------------------------------------
   Hero Gradient
   ------------------------------------------------------------ */
.hero-gradient {
    background: linear-gradient(
        135deg,
        rgba(140, 209, 231, 0.1) 0%,
        rgba(155, 93, 162, 0.1) 25%,
        rgba(226, 156, 0,   0.1) 50%,
        rgba(161, 36,  45,  0.1) 75%,
        rgba(10,  96,  44,  0.1) 100%
    );
    background-size: 400% 400%;
    animation: gradient-shift 15s ease infinite;
}

@keyframes gradient-shift {
    0%,  100% { background-position: 0%   50%; }
    50%        { background-position: 100% 50%; }
}

/* ------------------------------------------------------------
   Fade-in-up Animation
   ------------------------------------------------------------ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 1s ease forwards;
}

/* ------------------------------------------------------------
   Gem Badges
   ------------------------------------------------------------ */
.gem-badge {
    padding: 0.6rem 1.2rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    border-radius: 0;
    transition: all 0.3s ease;
    display: inline-block;
    text-decoration: none;
    color: inherit;
    border: 2px solid transparent;
}

@media (min-width: 640px) {
    .gem-badge {
        padding: 0.75rem 1.5rem;
        font-size: 0.875rem;
    }
}

.gem-badge.text-white {
    color: #ffffff;
}

.gem-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
}

@media (hover: none) and (pointer: coarse) {
    .gem-badge:hover { transform: none; }
    .gem-badge:active {
        transform: scale(0.95);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }
}

/* ------------------------------------------------------------
   Navigation
   ------------------------------------------------------------ */
#navbar {
    transition: all 0.3s ease;
}

#navbar.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav-link {
    position: relative;
    text-decoration: none;
    color: inherit;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: currentColor;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

    .nav-link,
    .nav-link:visited,
    .nav-link:active {
        color: inherit;
        text-decoration: none;
        outline: none;
    }

    #navbar a,
    #navbar a:link,
    #navbar a:visited,
    #navbar a:hover,
    #navbar a:active {
        color: inherit;
        text-decoration: none;
    }

    #navbar a:focus {
        outline: none;
        box-shadow: none;
    }

/* ------------------------------------------------------------
   Perfume Sections
   ------------------------------------------------------------ */
.perfume-section {
    position: relative;
    background-color: white;
}

.perfume-section[data-color="turquoise"] {
    background: linear-gradient(135deg, rgba(140, 209, 231, 0.08) 0%, white 100%);
}

.perfume-section[data-color="amethyste"] {
    background: linear-gradient(135deg, rgba(155, 93, 162, 0.08) 0%, white 100%);
}

.perfume-section[data-color="ambre"] {
    background: linear-gradient(135deg, rgba(226, 156, 0, 0.08) 0%, white 100%);
}

.perfume-section[data-color="rubis"] {
    background: linear-gradient(135deg, rgba(161, 36, 45, 0.08) 0%, white 100%);
}

.perfume-section[data-color="moissanite"] {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
}

.perfume-section[data-color="emeraude"] {
    background: linear-gradient(135deg, #0A602C 0%, #0d7636 100%);
}

.perfume-section[data-color="rose"] {
    background: linear-gradient(135deg, rgba(241, 148, 170, 0.08) 0%, white 100%);
}

/* ------------------------------------------------------------
   Perfume Images
   ------------------------------------------------------------ */
.perfume-image-container {
    position: relative;
    overflow: hidden;
}

.perfume-image {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (hover: hover) and (pointer: fine) {
    .perfume-image-container:hover .perfume-image {
        transform: scale(1.05);
    }
}

@media (hover: none) and (pointer: coarse) {
    .perfume-image-container:active .perfume-image {
        transform: scale(0.98);
    }
}

/* Shimmer loading state for images without src */
.perfume-image:not([src]),
.perfume-image[src=""] {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading-shimmer 1.5s infinite;
}

@keyframes loading-shimmer {
    0%   { background-position:  200% 0; }
    100% { background-position: -200% 0; }
}

/* WordPress attachment images inside containers */
.perfume-image-container img {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

@media (hover: hover) and (pointer: fine) {
    .perfume-image-container:hover img {
        transform: scale(1.05);
    }
}

/* ------------------------------------------------------------
   Perfume Info Animations (Intersection Observer)
   ------------------------------------------------------------ */
.perfume-info {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.perfume-section.visible .perfume-info {
    opacity: 1;
    transform: translateY(0);
}

.perfume-image-container {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.perfume-section.visible .perfume-image-container {
    opacity: 1;
    transform: translateX(0);
}

/* Force visible on single product page (no observer needed) */
.perfume-info.visible {
    opacity: 1;
    transform: translateY(0);
}

.note-group {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.perfume-section.visible .note-group:nth-child(1) {
    animation: fadeInUp 0.6s ease 0.3s forwards;
}

.perfume-section.visible .note-group:nth-child(2) {
    animation: fadeInUp 0.6s ease 0.5s forwards;
}

.perfume-section.visible .note-group:nth-child(3) {
    animation: fadeInUp 0.6s ease 0.7s forwards;
}

/* ------------------------------------------------------------
   Mobile Menu
   ------------------------------------------------------------ */
#mobile-menu {
    transition: max-height 0.3s ease;
}

/* ------------------------------------------------------------
   Skip to Content (Accessibility)
   ------------------------------------------------------------ */
.skip-to-content {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: #000;
    color: #fff;
    padding: 0.75rem 1.25rem;
    z-index: 200;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    transition: top 0.3s ease;
    text-decoration: none;
}

.skip-to-content:focus {
    top: 0.5rem;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ------------------------------------------------------------
   Parallax
   ------------------------------------------------------------ */
.parallax {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ------------------------------------------------------------
   Selection Color
   ------------------------------------------------------------ */
::selection {
    background-color: rgba(140, 209, 231, 0.3);
}

/* ------------------------------------------------------------
   Performance: GPU acceleration
   ------------------------------------------------------------ */
.gem-badge,
.nav-link {
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

/* ------------------------------------------------------------
   Responsive Typography
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    .perfume-info {
        text-align: center;
    }

    .perfume-notes {
        text-align: left;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }

    h1, h2, h3 {
        line-height: 1.2;
    }

    body {
        font-size: 16px;
        line-height: 1.6;
    }

    img {
        image-rendering: -webkit-optimize-contrast;
    }
}

@media (min-width: 1280px) {
    .container {
        max-width: 1200px;
    }
}

/* ------------------------------------------------------------
   Touch Targets (min 44px per WCAG)
   ------------------------------------------------------------ */
@media (max-width: 768px) {
    a, button {
        min-height: 44px;
        min-width: 44px;
    }

    nav a {
        padding: 0.75rem;
    }

    html {
        -webkit-text-size-adjust: 100%;
        text-size-adjust: 100%;
    }

    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Small phones */
@media (max-width: 375px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }

    .gem-badge {
        padding: 0.5rem 1rem;
        font-size: 0.7rem;
    }
}

/* Landscape mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .min-h-screen {
        min-height: auto;
        padding-top: 2rem;
        padding-bottom: 2rem;
    }

    #home {
        min-height: auto;
        padding-top: 6rem;
        padding-bottom: 4rem;
    }
}

/* ------------------------------------------------------------
   Focus States (Accessibility)
   ------------------------------------------------------------ */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
}

/* ------------------------------------------------------------
   High Contrast Mode
   ------------------------------------------------------------ */
@media (prefers-contrast: high) {
    .gem-badge {
        border: 2px solid currentColor;
    }
}

/* ------------------------------------------------------------
   Mini Cart Dropdown
   ------------------------------------------------------------ */
#minicart-trigger {
    position: relative;
}

.minicart-dropdown {
    position: absolute;
    right: 0;
    top: 100%;
    width: 300px;
    background: white;
    border: 1px solid rgba(0, 0, 0, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 200;
    pointer-events: none;
}

#minicart-trigger:hover .minicart-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
}

/* Inner padding */
.minicart-dropdown .widget_shopping_cart_content {
    padding: 1.25rem;
}

/* Cart items list */
.minicart-dropdown .woocommerce-mini-cart {
    list-style: none;
    margin: 0 0 0.5rem;
    padding: 0;
    max-height: 220px;
    overflow-y: auto;
}

/* Scrollbar — subtle */
.minicart-dropdown .woocommerce-mini-cart::-webkit-scrollbar {
    width: 3px;
}
.minicart-dropdown .woocommerce-mini-cart::-webkit-scrollbar-track {
    background: transparent;
}
.minicart-dropdown .woocommerce-mini-cart::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.15);
}

/* Individual item */
.minicart-dropdown .mini_cart_item {
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem 0.75rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.minicart-dropdown .mini_cart_item:last-child {
    border-bottom: none;
}

/* Remove button */
.minicart-dropdown .remove_from_cart_button {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    line-height: 1;
    opacity: 0.3;
    color: inherit !important;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.minicart-dropdown .remove_from_cart_button:hover {
    opacity: 1;
}

/* Product link (image + name) */
.minicart-dropdown .mini_cart_item > a:not(.remove_from_cart_button) {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    flex: 1;
    min-width: 0;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: inherit;
    text-decoration: none;
}

/* Product image */
.minicart-dropdown .mini_cart_item img {
    width: 48px;
    height: 48px;
    object-fit: cover;
    flex-shrink: 0;
}

/* Quantity */
.minicart-dropdown .mini_cart_item .quantity {
    font-size: 0.65rem;
    letter-spacing: 0.05em;
    opacity: 0.6;
    flex-shrink: 0;
    white-space: nowrap;
}

/* Total row */
.minicart-dropdown .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    margin: 0;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* Buttons */
.minicart-dropdown .woocommerce-mini-cart__buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin: 0;
}

.minicart-dropdown .woocommerce-mini-cart__buttons .button,
.minicart-dropdown .woocommerce-mini-cart__buttons .button:link,
.minicart-dropdown .woocommerce-mini-cart__buttons .button:visited,
.minicart-dropdown .woocommerce-mini-cart__buttons .button:active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-align: center;
    padding: 0.75rem 1rem;
    font-size: 0.68rem;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: 1px solid #000;
    background: transparent;
    color: #000 !important;
    text-decoration: none;
    text-shadow: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.minicart-dropdown .woocommerce-mini-cart__buttons .button:hover,
.minicart-dropdown .woocommerce-mini-cart__buttons .button:focus-visible {
    background: #000;
    color: #fff !important;
    border-color: #000;
}

.minicart-dropdown .woocommerce-mini-cart__buttons a.button.checkout,
.minicart-dropdown .woocommerce-mini-cart__buttons a.button.checkout:link,
.minicart-dropdown .woocommerce-mini-cart__buttons a.button.checkout:visited,
.minicart-dropdown .woocommerce-mini-cart__buttons a.button.checkout:active,
.minicart-dropdown .woocommerce-mini-cart__buttons .button.checkout,
.minicart-dropdown .woocommerce-mini-cart__buttons .button.checkout:link,
.minicart-dropdown .woocommerce-mini-cart__buttons .button.checkout:visited,
.minicart-dropdown .woocommerce-mini-cart__buttons .button.checkout:active {
    background: #000 !important;
    color: #fff !important;
    border-color: #000 !important;
    opacity: 1;
    text-shadow: none;
}

.minicart-dropdown .woocommerce-mini-cart__buttons a.button.checkout:hover,
.minicart-dropdown .woocommerce-mini-cart__buttons a.button.checkout:focus-visible,
.minicart-dropdown .woocommerce-mini-cart__buttons .button.checkout:hover,
.minicart-dropdown .woocommerce-mini-cart__buttons .button.checkout:focus-visible {
    background: transparent !important;
    color: #000 !important;
    border-color: #000 !important;
}

/* Empty cart message */
.minicart-dropdown .woocommerce-mini-cart__empty-message {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.55;
    text-align: center;
    padding: 1rem 0;
    margin: 0;
}

/* ------------------------------------------------------------
   Reduced Motion
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* ------------------------------------------------------------
   Print
   ------------------------------------------------------------ */
@media print {
    nav, footer, #contact {
        display: none;
    }

    .perfume-section {
        page-break-inside: avoid;
    }
}

/* ============================================================
   WooCommerce Overrides — Ybry Aesthetic
   ============================================================ */

/* Product grid on archive page */
.ybry-product-grid ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 3rem 2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ybry-product-grid .woocommerce-loop-product__title {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

.ybry-product-grid .woocommerce-loop-product__link {
    text-decoration: none;
    color: inherit;
}

.ybry-product-grid .price {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    opacity: 0.8;
}

.ybry-product-grid .button,
.ybry-product-grid .add_to_cart_button {
    background: transparent !important;
    color: inherit !important;
    border: 2px solid currentColor !important;
    border-radius: 0 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.15em !important;
    padding: 0.6rem 1.5rem !important;
    transition: all 0.3s ease !important;
    margin-top: 1rem !important;
    text-transform: uppercase !important;
}

.ybry-product-grid .button:hover,
.ybry-product-grid .add_to_cart_button:hover {
    background: #000 !important;
    color: white !important;
    border-color: #000 !important;
}

/* WooCommerce result count and ordering */
.woocommerce-result-count {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
}

.woocommerce-ordering select {
    border: 1px solid rgba(0, 0, 0, 0.2);
    background: transparent;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: 0.4rem 0.75rem;
    border-radius: 0;
    appearance: auto;
}

/* Single product WC summary area */
.ybry-wc-summary .price {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem !important;
    margin-bottom: 1.5rem;
    display: block;
}

/* Cart form row: quantity + button side-by-side */
.ybry-wc-summary .cart {
    display: flex;
    align-items: stretch;
    gap: 0;
    margin-top: 0.5rem;
}

/* Quantity stepper */
.ybry-wc-summary .quantity {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 2px solid #000;
    flex-shrink: 0;
    margin-right: -2px; /* merge border with button */
}

.ybry-wc-summary .quantity input[type="number"] {
    width: 3.5rem;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    text-align: center;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
    font-size: 0.9rem !important;
    padding: 0 !important;
    -moz-appearance: textfield;
    appearance: textfield;
    outline: none !important;
    box-shadow: none !important;
}

.ybry-wc-summary .quantity input[type="number"]::-webkit-inner-spin-button,
.ybry-wc-summary .quantity input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Add-to-cart button — sweep fill */
.ybry-wc-summary .single_add_to_cart_button {
    position: relative;
    flex: 1;
    overflow: hidden;
    background: linear-gradient(to right, #fff 50%, #000 50%) !important;
    background-size: 200% 100% !important;
    background-position: right center !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-size: 0.68rem !important;
    letter-spacing: 0.22em !important;
    padding: 1.15rem 2rem !important;
    text-transform: uppercase !important;
    transition: background-position 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.45s ease !important;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
    font-weight: 600 !important;
    cursor: pointer;
    z-index: 1;
}

.ybry-wc-summary .single_add_to_cart_button:hover {
    background-position: left center !important;
    color: #000 !important;
}

.sp-sticky-btn.is-disabled,
.sp-sticky-btn:disabled {
    background: #d9d9d9 !important;
    border-color: #d9d9d9 !important;
    color: #666 !important;
    cursor: not-allowed !important;
    opacity: 0.9;
}

/* Light-text variant (Moissanite, Émeraude) */
.text-white .ybry-wc-summary .quantity {
    border-color: #fff;
}

.text-white .ybry-wc-summary .quantity input[type="number"] {
    color: #fff !important;
}

.text-white .ybry-wc-summary .single_add_to_cart_button {
    background: linear-gradient(to right, #000 50%, #fff 50%) !important;
    background-size: 200% 100% !important;
    background-position: right center !important;
    color: #000 !important;
    border-color: #fff !important;
}

.text-white .ybry-wc-summary .single_add_to_cart_button:hover {
    background-position: left center !important;
    color: #fff !important;
}

/* Product meta (SKU and stock hidden, category metadata kept off) */
.ybry-wc-summary .product_meta {
    margin-top: 1.5rem;
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    opacity: 0.6;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ybry-wc-summary .stock,
.ybry-wc-summary .sku_wrapper,
.ybry-wc-summary .product_meta .sku_wrapper,
body .stock,
body .sku_wrapper,
body .product_meta .sku_wrapper,
.ybry-wc-summary .product_meta .posted_in,
.ybry-wc-summary .product_meta .tagged_as,
body .product_meta .posted_in,
body .product_meta .tagged_as {
    display: none !important;
}

/* Related products section */
.related.products h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    text-align: center;
    margin-bottom: 2rem;
}

/* Woocommerce product gallery */
.woocommerce-product-gallery .woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
}

/* Hide the gallery zoom/fullscreen trigger button */
.woocommerce-product-gallery__trigger {
    display: none !important;
}

/* Cart & Checkout — cream background, minimal borders */
.woocommerce-cart .woocommerce,
.woocommerce-checkout .woocommerce {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.woocommerce table.shop_table {
    border: none;
    border-radius: 0;
}

.woocommerce table.shop_table th {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 600;
    border-bottom: 2px solid #000;
}

.woocommerce table.shop_table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0.75rem;
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
    background: #000 !important;
    color: white !important;
    border-radius: 0 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.15em !important;
    padding: 0.75rem 1.75rem !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    border: 2px solid #000 !important;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
    background: transparent !important;
    color: #000 !important;
}

.woocommerce-checkout #order_review {
    /* Panel border is on .ybry-cart-summary; remove inner double-border */
    border: none;
    padding: 0;
}

/* Form inputs */
.woocommerce-checkout input[type="text"],
.woocommerce-checkout input[type="email"],
.woocommerce-checkout input[type="tel"],
.woocommerce-checkout textarea,
.woocommerce-checkout select {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
    padding: 0.75rem !important;
    font-size: 0.875rem !important;
}

.woocommerce-checkout input[type="text"]:focus,
.woocommerce-checkout input[type="email"]:focus,
.woocommerce-checkout input[type="tel"]:focus,
.woocommerce-checkout textarea:focus {
    border-color: rgba(0, 0, 0, 0.5) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Notices */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-radius: 0 !important;
    border-top: none !important;
    font-size: 0.875rem !important;
    color: #000 !important;
    background: rgba(225, 232, 228, 0.92) !important;
    border: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: none !important;
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button,
body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-info a.button,
body.woocommerce-checkout .woocommerce-message a.button,
body.woocommerce-checkout .woocommerce-info a.button,
body.woocommerce-account .woocommerce-message a.button,
body.woocommerce-account .woocommerce-info a.button {
    background: #000 !important;
    color: #fff !important;
    border: 1px solid #000 !important;
    border-radius: 0 !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    padding: 0.65rem 1rem !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    text-shadow: none !important;
    box-shadow: none !important;
    opacity: 1 !important;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover,
body.woocommerce-cart .woocommerce-message a.button:hover,
body.woocommerce-cart .woocommerce-info a.button:hover,
body.woocommerce-checkout .woocommerce-message a.button:hover,
body.woocommerce-checkout .woocommerce-info a.button:hover,
body.woocommerce-account .woocommerce-message a.button:hover,
body.woocommerce-account .woocommerce-info a.button:hover {
    background: transparent !important;
    color: #000 !important;
    border-color: #000 !important;
}

/* ------------------------------------------------------------
   Contact Form 7 — Ybry Aesthetic
   ------------------------------------------------------------ */
.ybry-cf7-form .wpcf7-form input[type="text"],
.ybry-cf7-form .wpcf7-form input[type="email"],
.ybry-cf7-form .wpcf7-form textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: transparent;
    padding: 0.875rem 1rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.02em;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.ybry-cf7-form .wpcf7-form input:focus,
.ybry-cf7-form .wpcf7-form textarea:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.6);
}

.ybry-cf7-form .wpcf7-form textarea {
    min-height: 140px;
    resize: vertical;
}

.ybry-cf7-form .wpcf7-form input[type="submit"] {
    background: #000;
    color: white;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    padding: 0.875rem 2.5rem;
    text-transform: uppercase;
    cursor: pointer;
    font-family: 'Avenir Next', system-ui, sans-serif;
    transition: all 0.3s ease;
    width: auto;
}

.ybry-cf7-form .wpcf7-form input[type="submit"]:hover {
    background: transparent;
    color: #000;
}

.ybry-cf7-form .wpcf7-not-valid-tip {
    font-size: 0.7rem;
    color: #A1242D;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

.ybry-cf7-form .wpcf7-response-output {
    border-radius: 0;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    margin-top: 1rem;
}

/* ------------------------------------------------------------
   Ybry Page Content (About page body text)
   ------------------------------------------------------------ */
.ybry-content p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.ybry-content h2,
.ybry-content h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

/* ============================================================
   Cart Page — Ybry Luxury Design
   ============================================================ */

/* ── Layout ───────────────────────────────────────────────── */
.ybry-cart-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .ybry-cart-layout {
        grid-template-columns: 2fr 1fr;
        align-items: start;
        gap: 4rem;
    }
}

/* Column grid used for header + item rows.
   6 explicit columns: thumb | name | price | qty | subtotal | remove
   On mobile, price and subtotal are set to display:none (below), so
   CSS Grid auto-placement naturally collapses them, giving:
   thumb | name | qty | remove                                         */
.ybry-cart-cols {
    display: grid;
    grid-template-columns: 80px 1fr 110px 90px 110px 32px;
    align-items: center;
    gap: 0 1.25rem;
}

@media (max-width: 767px) {
    .ybry-cart-cols {
        grid-template-columns: 72px 1fr 72px 32px;
        gap: 0 0.75rem;
    }
}

/* ── Sidebar / Summary Panel ──────────────────────────────── */
.ybry-cart-sidebar {
    position: relative;
}

@media (min-width: 1024px) {
    .ybry-cart-sidebar {
        position: sticky;
        top: 6rem; /* below fixed navbar */
    }
}

.ybry-cart-summary {
    background: rgba(255, 255, 255, 0.35);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 2rem;
}

@media (min-width: 768px) {
    .ybry-cart-summary {
        padding: 2.5rem;
    }
}

/* ── Cart Row ─────────────────────────────────────────────── */
.ybry-cart-row {
    transition: background 0.2s ease;
}

.ybry-cart-row:hover {
    background: rgba(0, 0, 0, 0.015);
}

/* Thumbnail */
.ybry-cart-row__image {
    position: relative;
    overflow: hidden;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

@media (max-width: 767px) {
    .ybry-cart-row__image {
        width: 72px;
        height: 72px;
    }
}

.ybry-cart-row__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.ybry-cart-row__image:hover img {
    transform: scale(1.07);
}

/* Gem accent dot */
.ybry-gem-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

/* Product name */
.ybry-cart-row__name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.3;
    text-decoration: none;
    color: inherit;
}

.ybry-cart-row__name:hover {
    opacity: 0.7;
}

/* Variation data */
.ybry-cart-row__info .variation {
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    opacity: 0.6;
    margin-top: 0.35rem;
}

.ybry-cart-row__info .variation dt,
.ybry-cart-row__info .variation dd {
    display: inline;
    font-weight: 400;
}

.ybry-cart-row__info .variation dd:after {
    content: ', ';
}

.ybry-cart-row__info .variation .last dd:after {
    content: '';
}

/* ── Quantity Input ───────────────────────────────────────── */
.ybry-cart-row__qty .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ybry-cart-row__qty .qty {
    width: 3rem !important;
    height: 2.25rem !important;
    text-align: center !important;
    border: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.25) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
    font-size: 0.875rem !important;
    padding: 0 0.25rem !important;
    box-shadow: none !important;
    appearance: textfield !important;
    -webkit-appearance: textfield !important;
    -moz-appearance: textfield !important;
}

.ybry-cart-row__qty .qty:focus {
    outline: none !important;
    border-bottom-color: rgba(0, 0, 0, 0.6) !important;
    box-shadow: none !important;
}

/* Hide browser number spinners */
.ybry-cart-row__qty .qty::-webkit-outer-spin-button,
.ybry-cart-row__qty .qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* WooCommerce quantity +/- buttons — hide (not used in cart list) */
.ybry-cart-row__qty .quantity .minus,
.ybry-cart-row__qty .quantity .plus {
    display: none !important;
}

/* ── Remove Button ────────────────────────────────────────── */
.ybry-remove-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.75rem;
    height: 1.75rem;
    font-size: 1.25rem;
    line-height: 1;
    font-weight: 300;
    opacity: 0.35;
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

.ybry-remove-item:hover {
    opacity: 1;
    color: #A1242D; /* ybry-rubis */
}

/* ── Cart Actions ─────────────────────────────────────────── */
.ybry-cart-actions {
    flex-wrap: wrap;
    gap: 1rem;
}

/* Coupon input */
.ybry-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 0;
    padding: 0.5rem 0;
    font-family: 'Avenir Next', system-ui, sans-serif;
    font-size: 0.875rem;
    letter-spacing: 0.04em;
    width: 14rem;
    max-width: 100%;
    transition: border-color 0.2s ease;
    color: inherit;
}

.ybry-input:focus {
    outline: none;
    border-bottom-color: rgba(0, 0, 0, 0.65);
}

.ybry-input::placeholder {
    font-style: italic;
    opacity: 0.45;
}

/* Apply coupon button */
.ybry-btn-outline {
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.35);
    border-radius: 0;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 0.55rem 1.25rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
    cursor: pointer;
    transition: all 0.25s ease;
    color: inherit;
    text-transform: uppercase;
}

.ybry-btn-outline:hover {
    background: #000;
    color: white;
    border-color: #000;
}

/* Update cart button */
.ybry-btn-ghost {
    background: transparent;
    border: none;
    border-radius: 0;
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    padding: 0.55rem 0;
    font-family: 'Avenir Next', system-ui, sans-serif;
    cursor: pointer;
    color: inherit;
    opacity: 0.55;
    transition: opacity 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: transparent;
}

.ybry-btn-ghost:hover {
    opacity: 1;
    text-decoration-color: currentColor;
}

.ybry-btn-ghost:disabled {
    opacity: 0.25;
    cursor: default;
    pointer-events: none;
}

/* Primary button (empty-cart CTA) */
.ybry-btn-primary {
    background: #000;
    color: white;
    border: 2px solid #000;
    border-radius: 0;
    font-size: 0.75rem;
    letter-spacing: 0.18em;
    padding: 0.875rem 2.5rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.ybry-btn-primary:hover {
    background: transparent;
    color: #000;
}

/* ── Order Summary Table ──────────────────────────────────── */
.ybry-totals-table {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ybry-totals-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.ybry-totals-row--total {
    border-bottom: none;
}

.ybry-totals-label {
    flex-shrink: 0;
}

.ybry-totals-value {
    text-align: right;
}

/* WooCommerce injects a <table> + <td> for wc_cart_totals_order_total_html;
   the font-serif class on the wrapper covers the inner amount span. */
.ybry-totals-row--total .ybry-totals-value,
.ybry-totals-row--total .ybry-totals-value .woocommerce-Price-amount {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.25rem;
}

/* Shipping methods list */
.ybry-shipping-methods ul {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.8rem;
}

.ybry-shipping-methods label {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.35rem;
}

.ybry-shipping-methods input[type="radio"] {
    accent-color: #000;
}

/* Coupon discount — positive green accent */
.ybry-totals-row--coupon .ybry-totals-value {
    color: #0A602C; /* ybry-emeraude */
}

.ybry-coupon-remove {
    text-decoration: none;
    transition: opacity 0.2s ease, color 0.2s ease;
    cursor: pointer;
}

/* ── Checkout CTA Button ──────────────────────────────────── */
.ybry-btn-checkout,
.ybry-btn-checkout:link,
.ybry-btn-checkout:visited,
.ybry-btn-checkout:active {
    display: block;
    width: 100%;
    background: #000;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    padding: 1.125rem 2rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
    transition: background 0.25s ease, color 0.25s ease;
    border: 2px solid #000;
    cursor: pointer;
}

.ybry-btn-checkout:hover {
    background: #A1242D; /* ybry-rubis */
    border-color: #A1242D;
    color: #fff;
}

.ybry-btn-checkout:focus-visible {
    outline: 3px solid rgba(0, 0, 0, 0.5);
    outline-offset: 2px;
}

/* WooCommerce also fires its own checkout link via do_action('woocommerce_proceed_to_checkout');
   suppress any duplicate default button it might inject below ours. */
.ybry-checkout-cta ~ .wc-proceed-to-checkout {
    display: none !important;
}

/* ── Empty Cart State ─────────────────────────────────────── */
.ybry-empty-cart {
    text-align: center;
    max-width: 28rem;
    margin: 0 auto;
    padding: 3rem 0;
}

/* ── WooCommerce Notices (cart-scoped) ───────────────────── */
body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
    border-top: none !important;
    padding: 1rem 1.25rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.04em !important;
    border-radius: 0 !important;
    margin-bottom: 1.5rem !important;
}

body.woocommerce-cart .woocommerce-message {
    background: rgba(10, 96, 44, 0.07);
    border-left: 3px solid #0A602C;
}

body.woocommerce-cart .woocommerce-info {
    background: rgba(140, 209, 231, 0.12);
    border-left: 3px solid #8CD1E7;
}

body.woocommerce-cart .woocommerce-error {
    background: rgba(161, 36, 45, 0.07);
    border-left: 3px solid #A1242D;
}

body.woocommerce-cart .woocommerce-message a.button,
body.woocommerce-cart .woocommerce-info a.button {
    font-size: 0.7rem !important;
    letter-spacing: 0.12em !important;
    padding: 0.4rem 1rem !important;
    float: right !important;
    margin-top: -0.15rem !important;
}

/* ── Responsive Adjustments ──────────────────────────────── */
@media (max-width: 767px) {
    /* Hide price and subtotal columns — price shown inline inside .ybry-cart-row__info */
    /* display:none removes them from grid flow; qty + remove auto-fill cols 3 & 4     */
    .ybry-cart-row__price                  { display: none !important; }
    .ybry-cart-row__subtotal               { display: none !important; }
    /* Tighten summary padding on small screens */
    .ybry-cart-summary                     { padding: 1.5rem; }
    /* Input width */
    .ybry-input                            { width: 100%; max-width: 14rem; }
}

@media (max-width: 375px) {
    .ybry-cart-row__name                   { font-size: 1rem; }
    .ybry-btn-checkout                     { font-size: 0.7rem; letter-spacing: 0.14em; padding: 1rem; }
}

/* ── Reduced-motion override ─────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ybry-cart-row__image img,
    .ybry-btn-checkout,
    .ybry-btn-outline,
    .ybry-remove-item {
        transition: none !important;
    }
}

/* ============================================================
   Checkout Page — Ybry Luxury Design
   ============================================================ */

/* ── Layout ───────────────────────────────────────────────── */
.ybry-checkout-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    align-items: start;
}

@media (min-width: 1024px) {
    .ybry-checkout-layout {
        grid-template-columns: 1fr 420px;
        gap: 4rem;
    }
}

/* ── Sidebar (Order Summary) ──────────────────────────────── */
.ybry-checkout-sidebar {
    position: relative;
}

@media (min-width: 1024px) {
    .ybry-checkout-sidebar {
        position: sticky;
        top: 7rem;
    }
}

/* ── Section headings inside checkout fields ──────────────── */
body.woocommerce-checkout .woocommerce-billing-fields > h3,
body.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.woocommerce-checkout .woocommerce-additional-fields > h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.08em;
    margin-bottom: 1.5rem;
    margin-top: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* ── Field labels ─────────────────────────────────────────── */
body.woocommerce-checkout .woocommerce-billing-fields label,
body.woocommerce-checkout .woocommerce-shipping-fields label,
body.woocommerce-checkout .woocommerce-additional-fields label,
body.woocommerce-checkout #customer_details label {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.65;
    font-weight: 400;
    display: block;
    margin-bottom: 0.4rem;
}

/* Required asterisk */
body.woocommerce-checkout .required {
    color: #A1242D;
    text-decoration: none;
}

/* ── Form grid (first + last name side by side) ───────────── */
body.woocommerce-checkout .woocommerce-billing-fields .form-row,
body.woocommerce-checkout .woocommerce-shipping-fields .form-row {
    margin-bottom: 1.25rem;
}

/* ── Field inputs (supplements the existing global rules) ── */
body.woocommerce-checkout input[type="text"],
body.woocommerce-checkout input[type="email"],
body.woocommerce-checkout input[type="tel"],
body.woocommerce-checkout input[type="number"],
body.woocommerce-checkout input[type="password"],
body.woocommerce-checkout textarea,
body.woocommerce-checkout select {
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
    padding: 0.75rem 0.875rem !important;
    font-size: 0.875rem !important;
    width: 100%;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    color: inherit;
    -webkit-appearance: none;
    appearance: none;
}

body.woocommerce-checkout input[type="text"]:focus,
body.woocommerce-checkout input[type="email"]:focus,
body.woocommerce-checkout input[type="tel"]:focus,
body.woocommerce-checkout input[type="number"]:focus,
body.woocommerce-checkout input[type="password"]:focus,
body.woocommerce-checkout textarea:focus,
body.woocommerce-checkout select:focus {
    border-color: rgba(0, 0, 0, 0.55) !important;
    box-shadow: none !important;
    outline: none !important;
}

body.woocommerce-checkout select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 0.875rem center !important;
    padding-right: 2.5rem !important;
}

/* ── Ship-to-different-address toggle ─────────────────────── */
body.woocommerce-checkout .ship-to-different-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    cursor: pointer;
    user-select: none;
}

body.woocommerce-checkout .ship-to-different-address label {
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    opacity: 0.65 !important;
    cursor: pointer;
}

body.woocommerce-checkout .ship-to-different-address input[type="checkbox"] {
    accent-color: #000;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
    flex-shrink: 0;
}

/* ── Order Review table (inside sidebar) ──────────────────── */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table {
    width: 100%;
    border: none !important;
    border-collapse: collapse;
    margin-bottom: 0;
}

/* Hide thead — "Product / Subtotal" header is redundant in a compact sidebar */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table thead {
    display: none;
}

/* ── All cells: shared baseline ── */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table td {
    border-bottom: 1px solid rgba(0, 0, 0, 0.06) !important;
    padding: 0.65rem 0 !important;
    vertical-align: middle;
    font-weight: 400;          /* reset <th> browser bold */
    background: transparent !important;
}

/* ── Product rows (tbody) ── */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart_item td.product-name {
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.95rem;
    font-weight: 400;
    text-align: left;
    color: inherit;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart_item td.product-name a {
    text-decoration: none;
    color: inherit;
}

/* × 1 quantity — <strong> override */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart_item .product-quantity {
    font-family: 'Avenir Next', system-ui, sans-serif;
    font-size: 0.7rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    opacity: 0.4;
    margin-left: 0.15rem;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart_item td.product-total {
    font-size: 0.875rem;
    text-align: right;
    color: inherit;
}

/* ── Subtotal row ── */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal td {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
    padding-top: 0.8rem !important;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal th {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.45;
    text-align: left;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .cart-subtotal td {
    font-size: 0.875rem;
    text-align: right;
    opacity: 0.7;
}

/* ── Shipping row ── */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .shipping th {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.45;
    text-align: left;
    vertical-align: top;
    padding-top: 0.8rem !important;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .shipping td {
    font-size: 0.8rem;
    text-align: right;
    line-height: 1.6;
}

/* Strip WooCommerce shipping methods list */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout .woocommerce-checkout-review-order-table .woocommerce-shipping-methods li {
    list-style: none !important;
}

/* DHL and other carrier logos — the plugin injects inline max-width:100px */
body.woocommerce-checkout .woocommerce-checkout-review-order-table .shipping .dhl_shipping_icon,
body.woocommerce-checkout .woocommerce-checkout-review-order-table .shipping td img {
    max-height: 1.1rem !important;
    max-width: none !important;
    width: auto !important;
    height: auto !important;
    opacity: 0.65;
    vertical-align: middle;
    display: inline-block;
    margin-bottom: 0.15rem;
}

/* ── Total row ── */
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .order-total th,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .order-total td {
    border-top: 1.5px solid rgba(0, 0, 0, 0.18) !important;
    border-bottom: none !important;
    padding-top: 0.9rem !important;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .order-total th {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0.7;
    text-align: left;
}

body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .order-total td,
body.woocommerce-checkout table.shop_table.woocommerce-checkout-review-order-table .order-total td strong {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.2rem;
    font-weight: 400;         /* <strong> override */
    text-align: right;
}

/* ── Express Checkout (Stripe banner gateway) ─────────────── */
body.woocommerce-checkout .wc-stripe-banner-checkout {
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box;
    margin-bottom: 1.5rem;
}

body.woocommerce-checkout .wc-stripe-banner-checkout fieldset {
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 1.25rem;
    margin: 0;
}

body.woocommerce-checkout .wc-stripe-banner-checkout legend.banner-title {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    font-weight: 400;
    padding: 0 0.5rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
}

body.woocommerce-checkout .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways {
    list-style: none !important;
    margin: 0;
    padding: 0;
    width: 100%;
}

body.woocommerce-checkout .wc-stripe-banner-checkout ul.wc_stripe_checkout_banner_gateways li {
    width: 100%;
}

body.woocommerce-checkout .wc-stripe-banner-checkout .wc-stripe-express-checkout-element,
body.woocommerce-checkout .wc-stripe-banner-checkout iframe,
body.woocommerce-checkout .wc-stripe-banner-checkout button {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

/* ── Payment methods ──────────────────────────────────────── */
body.woocommerce-checkout .woocommerce-checkout-payment {
    background: rgba(0, 0, 0, 0.025);
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0;
    border-radius: 0;
}

body.woocommerce-checkout ul.wc_payment_methods {
    list-style: none;
    margin: 0;
    padding: 0;
}

body.woocommerce-checkout ul.wc_payment_methods li.payment_method {
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

body.woocommerce-checkout ul.wc_payment_methods li.payment_method:last-child {
    border-bottom: none;
}

body.woocommerce-checkout ul.wc_payment_methods li.payment_method label {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.75rem !important;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    opacity: 1 !important;
    padding: 1rem 1.25rem;
    cursor: pointer;
    transition: background 0.15s ease;
    margin-bottom: 0;
}

body.woocommerce-checkout ul.wc_payment_methods li.payment_method label:hover {
    background: rgba(0, 0, 0, 0.025);
}

body.woocommerce-checkout ul.wc_payment_methods li.payment_method input[type="radio"] {
    accent-color: #000;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    cursor: pointer;
}

body.woocommerce-checkout ul.wc_payment_methods li.payment_method img {
    max-height: 1.5rem;
    width: auto;
    vertical-align: middle;
    opacity: 0.75;
}

/* Payment box description (e.g., test mode notice, secure payment text) */
body.woocommerce-checkout .payment_box {
    background: rgba(0, 0, 0, 0.03);
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1rem 1.25rem;
    font-size: 0.8rem;
    opacity: 0.75;
    margin: 0;
}

body.woocommerce-checkout .payment_box p {
    margin: 0;
    line-height: 1.6;
}

/* ── Place Order button ───────────────────────────────────── */
body.woocommerce-checkout #payment .place-order {
    padding: 1.25rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    background: transparent;
}

body.woocommerce-checkout #place_order {
    display: block !important;
    width: 100% !important;
    background: #000 !important;
    color: #fff !important;
    border: 2px solid #000 !important;
    border-radius: 0 !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.2em !important;
    padding: 1.125rem 2rem !important;
    text-transform: uppercase !important;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
    cursor: pointer !important;
    transition: background 0.25s ease, color 0.25s ease !important;
    text-align: center;
}

body.woocommerce-checkout #place_order:hover {
    background: transparent !important;
    color: #000 !important;
}

body.woocommerce-checkout #place_order:focus-visible {
    outline: 3px solid rgba(0, 0, 0, 0.5) !important;
    outline-offset: 2px !important;
}

/* ── Privacy policy notice ────────────────────────────────── */
body.woocommerce-checkout .woocommerce-privacy-policy-text {
    font-size: 0.75rem;
    opacity: 0.5;
    line-height: 1.6;
    margin-top: 1rem;
    padding: 0 1.25rem 1.25rem;
}

body.woocommerce-checkout .woocommerce-privacy-policy-text a {
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* ── Checkout notices ─────────────────────────────────────── */
body.woocommerce-checkout .woocommerce-message,
body.woocommerce-checkout .woocommerce-info,
body.woocommerce-checkout .woocommerce-error {
    border-top: none !important;
    padding: 1rem 1.25rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.04em !important;
    border-radius: 0 !important;
    margin-bottom: 1.5rem !important;
}

body.woocommerce-checkout .woocommerce-message {
    background: rgba(10, 96, 44, 0.07);
    border-left: 3px solid #0A602C;
}

body.woocommerce-checkout .woocommerce-info {
    background: rgba(140, 209, 231, 0.12);
    border-left: 3px solid #8CD1E7;
}

body.woocommerce-checkout .woocommerce-error {
    background: rgba(161, 36, 45, 0.07);
    border-left: 3px solid #A1242D;
}

/* Validation error highlight */
body.woocommerce-checkout .woocommerce-invalid input,
body.woocommerce-checkout .woocommerce-invalid select,
body.woocommerce-checkout .woocommerce-invalid textarea {
    border-color: #A1242D !important;
}

body.woocommerce-checkout .woocommerce-invalid-required-field label:after {
    content: ' *';
    color: #A1242D;
}

/* ── Login / coupon toggle bar (woocommerce_before_checkout_form) ── */

/* Reset the default WC .woocommerce-info blue notice style */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info {
    background: transparent !important;
    border: none !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08) !important;
    border-radius: 0 !important;
    padding: 0 0 0.875rem !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.04em;
    color: inherit;
    opacity: 0.6;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,
body.woocommerce-checkout .woocommerce-form-login-toggle .woocommerce-info::before {
    display: none !important;
}

/* The "Click here" trigger link */
body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon,
body.woocommerce-checkout .woocommerce-form-login-toggle .showlogin {
    color: inherit !important;
    opacity: 1;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 0, 0, 0.35);
    font-weight: 400;
    transition: text-decoration-color 0.2s ease, opacity 0.2s ease;
}

body.woocommerce-checkout .woocommerce-form-coupon-toggle .showcoupon:hover,
body.woocommerce-checkout .woocommerce-form-login-toggle .showlogin:hover {
    text-decoration-color: rgba(0, 0, 0, 0.8);
    opacity: 1;
}

body.woocommerce-checkout .woocommerce-form-login-toggle,
body.woocommerce-checkout .woocommerce-form-coupon-toggle {
    margin-bottom: 1.5rem;
}

/* Expanded coupon / login form panels */
body.woocommerce-checkout .woocommerce-form-login,
body.woocommerce-checkout .woocommerce-form-coupon {
    border: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.25rem 0 1.5rem;
    margin-top: -1.5rem;
    margin-bottom: 1.5rem;
    background: transparent;
}

body.woocommerce-checkout .woocommerce-form-login .form-row,
body.woocommerce-checkout .woocommerce-form-coupon .form-row {
    margin-bottom: 1rem;
}

body.woocommerce-checkout .woocommerce-form-login label,
body.woocommerce-checkout .woocommerce-form-coupon label {
    font-size: 0.7rem !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    opacity: 0.65 !important;
}

/* ── Secure checkout badge ────────────────────────────────── */
.ybry-secure-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    opacity: 0.45;
    margin-top: 1rem;
    text-transform: uppercase;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767px) {
    .ybry-checkout-layout {
        gap: 2.5rem;
    }

    body.woocommerce-checkout .woocommerce-billing-fields > h3,
    body.woocommerce-checkout .woocommerce-shipping-fields > h3,
    body.woocommerce-checkout .woocommerce-additional-fields > h3 {
        font-size: 1rem;
    }

    body.woocommerce-checkout #place_order {
        font-size: 0.7rem !important;
        letter-spacing: 0.14em !important;
        padding: 1rem !important;
    }

    body.woocommerce-checkout ul.wc_payment_methods li.payment_method label {
        padding: 0.875rem 1rem;
    }

    body.woocommerce-checkout #payment .place-order {
        padding: 1rem;
    }
}

/* ── Reduced-motion override ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    body.woocommerce-checkout input,
    body.woocommerce-checkout select,
    body.woocommerce-checkout textarea,
    body.woocommerce-checkout #place_order,
    body.woocommerce-checkout ul.wc_payment_methods li.payment_method label {
        transition: none !important;
    }
}

/* ============================================================
   My Account Page — Ybry Luxury Design
   ============================================================ */

/* ── Layout: Sidebar + Content ────────────────────────────── */
.ybry-account-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2.5rem;
}

@media (min-width: 1024px) {
    .ybry-account-layout {
        grid-template-columns: 240px 1fr;
        gap: 4rem;
        align-items: start;
    }
}

/* ── Account Navigation ───────────────────────────────────── */
.ybry-account-nav {
    position: relative;
}

@media (min-width: 1024px) {
    .ybry-account-nav {
        position: sticky;
        top: 6rem;
    }
}

.ybry-account-nav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.ybry-account-nav__list::-webkit-scrollbar {
    display: none;
}

@media (min-width: 1024px) {
    .ybry-account-nav__list {
        flex-direction: column;
        overflow-x: visible;
    }
}

.ybry-account-nav__item {
    flex-shrink: 0;
}

.ybry-account-nav__item a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    opacity: 0.55;
    transition: opacity 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    border-left: 2px solid transparent;
}

@media (max-width: 1023px) {
    .ybry-account-nav__item a {
        border-left: none;
        border-bottom: 2px solid transparent;
        padding: 0.75rem 1rem;
    }
}

.ybry-account-nav__item a:hover {
    opacity: 1;
    background: rgba(0, 0, 0, 0.02);
}

/* Active state — gold left border */
.ybry-account-nav__item--active a {
    opacity: 1;
    border-left-color: #C9A84C;
    background: rgba(201, 168, 76, 0.04);
}

@media (max-width: 1023px) {
    .ybry-account-nav__item--active a {
        border-left-color: transparent;
        border-bottom-color: #C9A84C;
    }
}

/* Logout — subdued, separated */
.ybry-account-nav__item--logout {
    margin-top: 0;
}

@media (min-width: 1024px) {
    .ybry-account-nav__item--logout {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid rgba(0, 0, 0, 0.08);
    }
}

.ybry-account-nav__item--logout a {
    opacity: 0.35;
}

.ybry-account-nav__item--logout a:hover {
    opacity: 0.7;
    color: #A1242D;
}

.ybry-account-nav__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    opacity: 0.7;
}

.ybry-account-nav__item--active .ybry-account-nav__icon {
    opacity: 1;
    color: #C9A84C;
}

.ybry-account-nav__label {
    font-family: 'Avenir Next', system-ui, sans-serif;
}

/* ── Account Content Area ─────────────────────────────────── */
.ybry-account-content {
    min-width: 0; /* prevent grid blowout */
}

/* ── Dashboard ────────────────────────────────────────────── */
.ybry-dashboard__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .ybry-dashboard__grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Dashboard cards */
.ybry-dashboard__card {
    position: relative;
    display: block;
    padding: 1.75rem;
    border: 1px solid rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.ybry-dashboard__card:hover {
    border-color: rgba(201, 168, 76, 0.3);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.ybry-dashboard__card-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    opacity: 0.4;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.ybry-dashboard__card:hover .ybry-dashboard__card-icon {
    opacity: 0.7;
    color: #C9A84C;
}

.ybry-dashboard__card-arrow {
    position: absolute;
    top: 1.75rem;
    right: 1.75rem;
    font-size: 1.1rem;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    color: #C9A84C;
}

.ybry-dashboard__card:hover .ybry-dashboard__card-arrow {
    opacity: 0.6;
    transform: translateX(3px);
}

/* Recent orders list */
.ybry-recent-order {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
    transition: background 0.2s ease;
}

.ybry-recent-order:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.ybry-recent-order:hover {
    background: rgba(0, 0, 0, 0.01);
}

/* Order status badges */
.ybry-order-status {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.ybry-order-status--completed {
    border-color: rgba(10, 96, 44, 0.3);
    color: #0A602C;
    background: rgba(10, 96, 44, 0.05);
}

.ybry-order-status--processing {
    border-color: rgba(140, 209, 231, 0.4);
    color: #2a7d9b;
    background: rgba(140, 209, 231, 0.08);
}

.ybry-order-status--on-hold {
    border-color: rgba(226, 156, 0, 0.3);
    color: #b07800;
    background: rgba(226, 156, 0, 0.06);
}

.ybry-order-status--cancelled,
.ybry-order-status--failed,
.ybry-order-status--refunded {
    border-color: rgba(161, 36, 45, 0.3);
    color: #A1242D;
    background: rgba(161, 36, 45, 0.05);
}

.ybry-order-status--pending {
    border-color: rgba(0, 0, 0, 0.15);
    color: inherit;
    opacity: 0.6;
}

/* ── Login / Register ─────────────────────────────────────── */
.ybry-login-wrapper {
    max-width: 480px;
    margin: 0 auto;
}

.ybry-login-wrapper--dual {
    max-width: 900px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: start;
}

@media (min-width: 768px) {
    .ybry-login-wrapper--dual {
        grid-template-columns: 1fr auto 1fr;
        gap: 3rem;
    }
}

.ybry-login-panel,
.ybry-register-panel {
    padding: 2rem 0;
}

@media (min-width: 768px) {
    .ybry-login-panel,
    .ybry-register-panel {
        padding: 0;
    }
}

/* Login/Register divider */
.ybry-login-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
}

@media (min-width: 768px) {
    .ybry-login-divider {
        flex-direction: column;
        gap: 1.5rem;
    }
}

.ybry-login-divider__line {
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

/* ============================================================
   Single Product Page — Enhanced Styles
   ============================================================ */

/* ── Image side gem glow ─────────────────────────────────── */
.sp-gallery-side {
    position: relative;
    /* Constrain on desktop so large viewports don't blow up the bottle image */
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .sp-gallery-side {
        max-width: 500px;
        justify-self: end; /* push toward center of the grid */
    }
}

.sp-image-glow {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    opacity: 0;
    filter: blur(80px);
    transition: opacity 1s ease;
}

.perfume-section.visible .sp-image-glow {
    opacity: 1;
}

.sp-gallery-side .woocommerce-product-gallery,
.sp-gallery-side > *:not(.sp-image-glow) {
    position: relative;
    z-index: 1;
}

.perfume-section[data-color="turquoise"]  .sp-image-glow { background: radial-gradient(ellipse at center, rgba(140, 209, 231, 0.55) 0%, transparent 70%); }
.perfume-section[data-color="amethyste"] .sp-image-glow { background: radial-gradient(ellipse at center, rgba(155, 93,  162, 0.5)  0%, transparent 70%); }
.perfume-section[data-color="ambre"]     .sp-image-glow { background: radial-gradient(ellipse at center, rgba(226, 156,   0, 0.45) 0%, transparent 70%); }
.perfume-section[data-color="rubis"]     .sp-image-glow { background: radial-gradient(ellipse at center, rgba(161,  36,  45, 0.4)  0%, transparent 70%); }
.perfume-section[data-color="moissanite"].sp-image-glow { background: radial-gradient(ellipse at center, rgba(180, 180, 180, 0.3)  0%, transparent 70%); }
.perfume-section[data-color="emeraude"]  .sp-image-glow { background: radial-gradient(ellipse at center, rgba( 10,  96,  44, 0.5)  0%, transparent 70%); }
.perfume-section[data-color="rose"]      .sp-image-glow { background: radial-gradient(ellipse at center, rgba(241, 148, 170, 0.5)  0%, transparent 70%); }

/* ── Product info layout ─────────────────────────────────── */
.sp-product-info {
    display: flex;
    flex-direction: column;
}

/* ── Short desc ──────────────────────────────────────────── */
.sp-short-desc p { margin-bottom: 0.75rem; }
.sp-short-desc p:last-child { margin-bottom: 0; }

/* ── Divider ─────────────────────────────────────────────── */
.sp-divider {
    border-top: 1px solid;
    opacity: 0.12;
    width: 100%;
}

/* ── Fragrance notes grid ────────────────────────────────── */
.sp-notes-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.sp-note-tier {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
}

.sp-note-tier-label {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.45;
    white-space: nowrap;
    padding-top: 0.3rem;
    min-width: 3.25rem;
    flex-shrink: 0;
}

.sp-note-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.375rem;
}

.sp-note-pill {
    display: inline-block;
    font-size: 0.68rem;
    letter-spacing: 0.07em;
    padding: 0.28rem 0.7rem;
    border: 1px solid currentColor;
    transition: opacity 0.2s ease, background 0.2s ease;
    cursor: default;
}

.sp-note-pill--top   { opacity: 0.42; }
.sp-note-pill--heart { opacity: 0.62; }
.sp-note-pill--base  { opacity: 0.85; }

.sp-note-pill:hover { opacity: 1 !important; }

/* Light-text contexts (moissanite, emeraude) */
.text-white .sp-note-pill:hover {
    background: rgba(255, 255, 255, 0.12);
}

/* ── Trust badges ────────────────────────────────────────── */
.sp-trust-badges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    border-top: 1px solid;
    padding-top: 1.25rem;
    opacity: 0.12; /* border color opacity handled separately */
}

/* Revert opacity on the grid itself since we're using border-cls class */
.sp-trust-badges {
    opacity: 1;
}

.sp-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.45rem;
    text-align: center;
}

.sp-trust-item svg {
    opacity: 0.45;
    flex-shrink: 0;
}

.sp-trust-item span {
    font-size: 0.6rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    line-height: 1.4;
}

/* ── Scent Story section ─────────────────────────────────── */
.sp-story-section {
    padding: 5rem 0;
    background: #fff;
    overflow: hidden;
}

@media (min-width: 768px) {
    .sp-story-section {
        padding: 7rem 0;
    }
}

.sp-story-section--dark {
    background: #080808;
    color: #fff;
}

.sp-story-inner {
    max-width: 680px;
    margin: 0 auto;
    text-align: center;
}

.sp-story-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    opacity: 0.35;
    margin-bottom: 1.5rem;
}

.sp-story-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 2rem;
}

.sp-story-line {
    display: block;
    width: 48px;
    height: 1px;
    background: currentColor;
    opacity: 0.18;
}

.sp-story-gem {
    display: block;
    width: 7px;
    height: 7px;
    background: currentColor;
    transform: rotate(45deg);
    opacity: 0.7;
}

.sp-story-title {
    font-size: 1.875rem;
    line-height: 1.25;
    letter-spacing: 0.02em;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .sp-story-title {
        font-size: 2.5rem;
    }
}

.sp-story-body {
    font-size: 1rem;
    line-height: 1.9;
    opacity: 0.75;
    text-align: left;
}

@media (min-width: 640px) {
    .sp-story-body {
        font-size: 1.075rem;
        text-align: center;
    }
}

.sp-story-body p {
    margin-bottom: 1.5rem;
}

.sp-story-body p:last-child {
    margin-bottom: 0;
}

/* ── Related products wrapper ────────────────────────────── */
.sp-related-wrap {
    padding: 5rem 0 6rem;
    background: #fff;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

@media (min-width: 768px) {
    .sp-related-wrap {
        padding: 6rem 0 8rem;
    }
}

.sp-related-wrap .related.products > h2 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.625rem;
    font-weight: 400;
    letter-spacing: 0.15em;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.sp-related-wrap .related.products > h2::after {
    content: '';
    display: block;
    width: 36px;
    height: 1px;
    background: currentColor;
    opacity: 0.25;
    margin: 0.75rem auto 3rem;
}

/* ── Sticky mobile ATC bar ───────────────────────────────── */
.sp-sticky-atc {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    padding: 0.875rem 1.25rem;
    transform: translateY(calc(100% + 1px));
    transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.07);
    /* Desktop: always hidden */
    display: none;
}

@media (max-width: 767px) {
    .sp-sticky-atc {
        display: block;
    }
}

.sp-sticky-atc.is-visible {
    transform: translateY(0);
}

.sp-sticky-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 480px;
    margin: 0 auto;
    gap: 1rem;
}

.sp-sticky-price {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.25rem;
    letter-spacing: 0.02em;
    min-width: 0;
}

.sp-sticky-btn {
    background: #000;
    color: #fff;
    border: 2px solid #000;
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    padding: 0.75rem 1.5rem;
    text-transform: uppercase;
    transition: background 0.3s ease, color 0.3s ease;
    font-family: 'Avenir Next', system-ui, sans-serif;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.sp-sticky-btn:hover {
    background: transparent;
    color: #000;
}

/* Extra bottom padding on mobile so sticky bar doesn't overlap content */
@media (max-width: 767px) {
    body.single-product main {
        padding-bottom: 5rem;
    }
}

/* ── Back to collection band ─────────────────────────────── */
.sp-back-section {
    background: #000;
    color: #fff;
    padding: 5rem 1.5rem;
    text-align: center;
    overflow: hidden;
    position: relative;
}

.sp-back-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,
        rgba(255,255,255,0.02) 0%,
        transparent 50%,
        rgba(255,255,255,0.02) 100%);
    pointer-events: none;
}

.sp-back-link {
    display: inline-flex;
    align-items: center;
    gap: 1.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.35em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    opacity: 0.55;
    transition: opacity 0.3s ease, gap 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-family: 'Avenir Next', system-ui, sans-serif;
    font-weight: 600;
}

.sp-back-link:hover {
    opacity: 1;
    gap: 2rem;
}

.sp-back-arrow-left,
.sp-back-arrow-right {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.sp-back-link:hover .sp-back-arrow-left  { transform: translateX(-5px); }
.sp-back-link:hover .sp-back-arrow-right { transform: translateX( 5px); }

@media (min-width: 768px) {
    .sp-back-section {
        padding: 7rem 1.5rem;
    }

    .sp-back-link {
        font-size: 0.75rem;
        gap: 1.75rem;
    }

    .sp-back-link:hover {
        gap: 2.5rem;
    }
}

@media (min-width: 768px) {
    .ybry-login-divider__line {
        width: 1px;
        height: auto;
        min-height: 3rem;
        flex: 1;
    }
}

/* ── Form Fields (shared for login, register, edit-account, edit-address) ── */
.ybry-form-label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 0.4rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
}

.ybry-form-input {
    display: block;
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: transparent;
    font-family: 'Avenir Next', system-ui, sans-serif;
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    color: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.ybry-form-input:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.55);
}

.ybry-form-input::placeholder {
    opacity: 0.4;
    font-style: italic;
}

/* WooCommerce address fields injected by woocommerce_form_field */
.ybry-address-fields .form-row {
    margin-bottom: 1.25rem;
}

.ybry-address-fields label {
    display: block;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.6;
    margin-bottom: 0.4rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
}

.ybry-address-fields .required {
    color: #A1242D;
    text-decoration: none;
}

.ybry-address-fields input[type="text"],
.ybry-address-fields input[type="email"],
.ybry-address-fields input[type="tel"],
.ybry-address-fields input[type="number"],
.ybry-address-fields select,
.ybry-address-fields textarea {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: transparent;
    font-family: 'Avenir Next', system-ui, sans-serif;
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    color: inherit;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.ybry-address-fields input:focus,
.ybry-address-fields select:focus,
.ybry-address-fields textarea:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.55);
    box-shadow: none;
}

.ybry-address-fields select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

/* ── Edit Account ─────────────────────────────────────────── */
.ybry-edit-account .ybry-password-section h3 {
    font-family: 'Times New Roman', Times, serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* ── WooCommerce Orders Table (Account > Orders) ──────────── */
body.woocommerce-account .woocommerce-orders-table {
    width: 100%;
    border-collapse: collapse;
    border: none;
}

body.woocommerce-account .woocommerce-orders-table thead th {
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 600;
    opacity: 0.5;
    padding: 0.75rem 0.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.15);
    text-align: left;
    font-family: 'Avenir Next', system-ui, sans-serif;
}

body.woocommerce-account .woocommerce-orders-table tbody td {
    padding: 1rem 0.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.875rem;
    vertical-align: middle;
}

body.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1rem;
    text-decoration: none;
    color: inherit;
}

body.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-number a:hover {
    opacity: 0.7;
}

body.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a {
    display: inline-block;
    background: transparent;
    border: 1px solid rgba(0, 0, 0, 0.25);
    color: inherit;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 0.4rem 0.75rem;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-right: 0.25rem;
    margin-bottom: 0.25rem;
}

body.woocommerce-account .woocommerce-orders-table .woocommerce-orders-table__cell-order-actions a:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

/* ── WooCommerce Addresses (My Address listing) ───────────── */
body.woocommerce-account .woocommerce-Addresses {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 640px) {
    body.woocommerce-account .woocommerce-Addresses {
        grid-template-columns: 1fr 1fr;
    }
}

body.woocommerce-account .woocommerce-Address {
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.5);
}

body.woocommerce-account .woocommerce-Address-title h3 {
    font-family: 'Times New Roman', Times, serif;
    font-size: 1.15rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

body.woocommerce-account .woocommerce-Address-title a {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.5;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

body.woocommerce-account .woocommerce-Address-title a:hover {
    opacity: 1;
}

body.woocommerce-account .woocommerce-Address address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.7;
    opacity: 0.7;
}

/* ── My Account Notices ───────────────────────────────────── */
body.woocommerce-account .woocommerce-message,
body.woocommerce-account .woocommerce-info,
body.woocommerce-account .woocommerce-error {
    border-top: none !important;
    padding: 1rem 1.25rem !important;
    font-size: 0.8rem !important;
    letter-spacing: 0.04em !important;
    border-radius: 0 !important;
    margin-bottom: 1.5rem !important;
}

body.woocommerce-account .woocommerce-message {
    background: rgba(10, 96, 44, 0.07);
    border-left: 3px solid #0A602C;
}

body.woocommerce-account .woocommerce-info {
    background: rgba(140, 209, 231, 0.12);
    border-left: 3px solid #8CD1E7;
}

body.woocommerce-account .woocommerce-error {
    background: rgba(161, 36, 45, 0.07);
    border-left: 3px solid #A1242D;
}

/* ── My Account Buttons (global override for account pages) ─ */
body.woocommerce-account .woocommerce .button,
body.woocommerce-account .woocommerce button.button {
    background: #000 !important;
    color: #fff !important;
    border-radius: 0 !important;
    font-size: 0.7rem !important;
    letter-spacing: 0.15em !important;
    padding: 0.75rem 1.75rem !important;
    text-transform: uppercase !important;
    transition: all 0.3s ease !important;
    border: 2px solid #000 !important;
    font-family: 'Avenir Next', system-ui, sans-serif !important;
}

body.woocommerce-account .woocommerce .button:hover,
body.woocommerce-account .woocommerce button.button:hover {
    background: transparent !important;
    color: #000 !important;
}

/* ── Responsive: Mobile Account ───────────────────────────── */
@media (max-width: 767px) {
    .ybry-account-layout {
        gap: 2rem;
    }

    .ybry-account-nav__list {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding-bottom: 0.5rem;
    }

    .ybry-dashboard__card {
        padding: 1.25rem;
    }

    .ybry-dashboard__card-arrow {
        display: none;
    }

    /* Stack orders table on mobile */
    body.woocommerce-account .woocommerce-orders-table,
    body.woocommerce-account .woocommerce-orders-table thead,
    body.woocommerce-account .woocommerce-orders-table tbody,
    body.woocommerce-account .woocommerce-orders-table tr,
    body.woocommerce-account .woocommerce-orders-table td {
        display: block;
        width: 100%;
    }

    body.woocommerce-account .woocommerce-orders-table thead {
        display: none;
    }

    body.woocommerce-account .woocommerce-orders-table tbody tr {
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        padding: 1rem 0;
        margin-bottom: 0.5rem;
    }

    body.woocommerce-account .woocommerce-orders-table tbody td {
        border-bottom: none;
        padding: 0.25rem 0;
        font-size: 0.8rem;
    }

    body.woocommerce-account .woocommerce-orders-table tbody td::before {
        content: attr(data-title) ": ";
        font-size: 0.6rem;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        opacity: 0.5;
        margin-right: 0.5rem;
        font-weight: 600;
    }
}

@media (max-width: 375px) {
    .ybry-account-nav__item a {
        font-size: 0.6rem;
        padding: 0.5rem 0.75rem;
    }

    .ybry-dashboard__grid {
        gap: 0.75rem;
    }
}

/* ── Reduced-motion override ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ybry-dashboard__card,
    .ybry-dashboard__card-icon,
    .ybry-dashboard__card-arrow,
    .ybry-account-nav__item a,
    .ybry-recent-order,
    .ybry-form-input,
    .ybry-order-status {
        transition: none !important;
    }
}

/* ============================================================
   THANK-YOU / ORDER CONFIRMED PAGE
   ============================================================ */

/* ── Hero band ────────────────────────────────────────────── */
.ybry-ty-hero {
    padding: 3.5rem 0 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.ybry-ty-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 50% 0%, rgba(201, 168, 76, 0.06) 0%, transparent 65%);
    pointer-events: none;
}

/* Gold text utility */
.ybry-ty-gold-text {
    color: #C9A84C;
}

/* ── Animated checkmark ───────────────────────────────────── */
.ybry-ty-check-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.75rem;
}

.ybry-ty-check-svg {
    width: 64px;
    height: 64px;
    filter: drop-shadow(0 0 12px rgba(201, 168, 76, 0.25));
}

@media (min-width: 768px) {
    .ybry-ty-check-svg {
        width: 80px;
        height: 80px;
    }
}

.ybry-ty-check-circle {
    stroke: #C9A84C;
    stroke-width: 1.5;
    stroke-miterlimit: 10;
    stroke-linecap: round;
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    animation: ybry-ty-stroke 0.7s cubic-bezier(0.65, 0, 0.45, 1) 0.4s forwards;
}

.ybry-ty-check-path {
    stroke: #C9A84C;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: ybry-ty-stroke 0.35s ease 1.1s forwards;
}

@keyframes ybry-ty-stroke {
    to { stroke-dashoffset: 0; }
}

/* ── Gold ornament rule ───────────────────────────────────── */
.ybry-ty-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
}

.ybry-ty-cta-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.875rem;
    margin-bottom: 1.5rem;
    margin-top: 0.5rem;
}

.ybry-ty-orn-line {
    width: 40px;
    height: 1px;
    background: #C9A84C;
    opacity: 0.5;
}

.ybry-ty-orn-gem {
    font-size: 0.55rem;
    color: #C9A84C;
    opacity: 0.8;
    line-height: 1;
}

/* ── Fade-in animation ────────────────────────────────────── */
.ybry-ty-fade-in {
    opacity: 0;
    transform: translateY(14px);
    animation: ybry-ty-fadein 0.65s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

@keyframes ybry-ty-fadein {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Two-column layout ────────────────────────────────────── */
.ybry-ty-layout {
    max-width: 960px;
    margin: 0 auto;
    display: grid;
    gap: 2rem;
    padding-top: 3.5rem;
}

@media (min-width: 1024px) {
    .ybry-ty-layout {
        grid-template-columns: 1.1fr 0.9fr;
        gap: 3.5rem;
        align-items: start;
    }
}

/* ── Order summary card ───────────────────────────────────── */
.ybry-ty-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.07);
    padding: 2rem;
    position: relative;
}

.ybry-ty-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #C9A84C 50%, transparent 100%);
    opacity: 0.6;
}

@media (min-width: 768px) {
    .ybry-ty-card {
        padding: 2.5rem;
    }
}

.ybry-ty-card-heading {
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

/* ── Items list ───────────────────────────────────────────── */
.ybry-ty-items {
    margin-bottom: 1.75rem;
}

.ybry-ty-items-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.35;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    margin-bottom: 0.25rem;
}

.ybry-ty-item-row {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.ybry-ty-item-row:last-child {
    border-bottom: none;
    padding-bottom: 0.25rem;
}

/* Product thumbnail */
.ybry-ty-item-img {
    position: relative;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
}

.ybry-ty-item-thumb {
    width: 56px;
    height: 56px;
    object-fit: cover;
    display: block;
}

.ybry-ty-item-img-placeholder {
    width: 56px;
    height: 56px;
    background: rgba(0, 0, 0, 0.04);
}

/* Gem colour dot badge on thumbnail */
.ybry-ty-gem-dot {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.ybry-ty-item-info {
    flex: 1;
    min-width: 0;
}

.ybry-ty-item-price {
    flex-shrink: 0;
    font-size: 0.875rem;
    padding-top: 0.2rem;
    text-align: right;
}

/* ── Totals table ─────────────────────────────────────────── */
.ybry-ty-totals {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 1.25rem;
}

.ybry-ty-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 0.45rem 0;
    font-size: 0.875rem;
}

.ybry-ty-total-label {
    font-size: 0.6rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    opacity: 0.45;
}

.ybry-ty-discount-val {
    color: #0A602C;
}

.ybry-ty-total-row--grand {
    border-top: 1px solid rgba(0, 0, 0, 0.12);
    margin-top: 0.75rem;
    padding-top: 1rem;
    letter-spacing: 0.1em;
    font-size: 0.875rem;
}

.ybry-ty-total-row--payment {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    font-size: 0.75rem;
}

/* ── Address cards ────────────────────────────────────────── */
.ybry-ty-addresses {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

@media (max-width: 479px) {
    .ybry-ty-addresses {
        grid-template-columns: 1fr;
    }
}

.ybry-ty-address-card {
    padding: 1.375rem;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(0, 0, 0, 0.07);
}

.ybry-ty-address-heading {
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

/* ── Order note card ──────────────────────────────────────── */
.ybry-ty-note-card {
    padding: 1.25rem 1.375rem;
    background: rgba(201, 168, 76, 0.04);
    border: 1px solid rgba(201, 168, 76, 0.2);
    margin-bottom: 2rem;
}

/* ── CTA block ────────────────────────────────────────────── */
.ybry-ty-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 2rem 0 1rem;
    gap: 1rem;
}

.ybry-ty-cta-btn {
    display: inline-block;
    border: 2px solid #000000;
    padding: 0.8rem 2.25rem;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-decoration: none;
    color: inherit;
    transition: background 0.3s ease, color 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ybry-ty-cta-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #000000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s cubic-bezier(0.45, 0, 0.55, 1);
    z-index: -1;
}

.ybry-ty-cta-btn:hover {
    color: #ffffff;
}

.ybry-ty-cta-btn:hover::before {
    transform: scaleX(1);
}

.ybry-ty-cta-link {
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    opacity: 0.45;
    transition: opacity 0.2s ease;
    text-decoration: underline;
    text-underline-offset: 4px;
    color: inherit;
}

.ybry-ty-cta-link:hover {
    opacity: 1;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 767px) {
    .ybry-ty-hero {
        padding: 2.5rem 0 2rem;
    }

    .ybry-ty-layout {
        padding-top: 2.5rem;
    }

    .ybry-ty-card {
        padding: 1.5rem;
    }

    .ybry-ty-addresses {
        margin-bottom: 1.5rem;
    }
}

/* ── Reduced-motion override ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ybry-ty-check-circle,
    .ybry-ty-check-path {
        animation: none;
        stroke-dashoffset: 0;
    }

    .ybry-ty-fade-in {
        animation: none;
        opacity: 1;
        transform: none;
    }

    .ybry-ty-cta-btn::before {
        display: none;
    }

    .ybry-ty-cta-btn:hover {
        background: #000;
        color: #fff;
    }
}

/* ============================================================
   Archive — Product Grid (gem-card layout)
   ============================================================ */

/* ── Hero ─────────────────────────────────────────────────── */
.ybry-archive-hero {
    padding: 5rem 1rem 4rem;
    min-height: 38vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 768px) {
    .ybry-archive-hero {
        padding: 7rem 1.5rem 5.5rem;
        min-height: 44vh;
    }
}

.ybry-archive-hero__ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 2.5rem;
}

.ybry-archive-hero__line {
    display: block;
    width: 60px;
    height: 1px;
    background: currentColor;
    opacity: 0.18;
}

.ybry-archive-hero__gem {
    display: block;
    width: 7px;
    height: 7px;
    background: currentColor;
    transform: rotate(45deg);
    opacity: 0.45;
}

/* ── Toolbar (result count + ordering) ───────────────────── */
.ybry-archive-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.ybry-archive-toolbar .woocommerce-result-count {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.45;
    margin: 0;
}

.ybry-archive-toolbar .woocommerce-ordering {
    margin: 0;
}

.ybry-archive-toolbar .woocommerce-ordering select {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 0;
    background: transparent;
    padding: 0.45rem 2rem 0.45rem 0.75rem;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='none' stroke='%23000' stroke-width='1.5' d='M1 1l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    cursor: pointer;
    transition: border-color 0.2s ease;
    font-family: 'Avenir Next', system-ui, sans-serif;
}

.ybry-archive-toolbar .woocommerce-ordering select:focus {
    outline: none;
    border-color: rgba(0, 0, 0, 0.45);
}

/* ── Main section ─────────────────────────────────────────── */
.ybry-archive-section {
    padding: 3rem 0 5rem;
}

@media (min-width: 768px) {
    .ybry-archive-section {
        padding: 4rem 0 7rem;
    }
}

/* ── Grid ─────────────────────────────────────────────────── */
.ybry-archive-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 600px) {
    .ybry-archive-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.75rem;
    }
}

@media (min-width: 1024px) {
    .ybry-archive-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
}

@media (min-width: 1280px) {
    .ybry-archive-grid {
        gap: 2.5rem;
    }
}

/* ── Card ─────────────────────────────────────────────────── */
.ybry-archive-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #ffffff;
    overflow: hidden;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    .ybry-archive-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 64px rgba(0, 0, 0, 0.10);
    }
}

/* All cards: white background, black text */
.ybry-archive-card[data-color] {
    background: #ffffff;
    color: #000000;
}

/* ── Gem accent bar (top edge) ────────────────────────────── */
.ybry-archive-card__accent {
    height: 3px;
    width: 100%;
}

.ybry-archive-card[data-color="turquoise"]  .ybry-archive-card__accent { background: #8CD1E7; }
.ybry-archive-card[data-color="amethyste"]  .ybry-archive-card__accent { background: #9B5DA2; }
.ybry-archive-card[data-color="ambre"]      .ybry-archive-card__accent { background: #E29C00; }
.ybry-archive-card[data-color="rubis"]      .ybry-archive-card__accent { background: #A1242D; }
.ybry-archive-card[data-color="moissanite"] .ybry-archive-card__accent { background: #000000; }
.ybry-archive-card[data-color="emeraude"]   .ybry-archive-card__accent { background: #0A602C; }
.ybry-archive-card[data-color="rose"]       .ybry-archive-card__accent { background: #F194AA; }
.ybry-archive-card[data-color="gold"]       .ybry-archive-card__accent { background: #C9A84C; }

/* ── Product thumbnail ────────────────────────────────────── */
.ybry-archive-card__thumb {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    position: relative;
    background: rgba(0, 0, 0, 0.03);
}

/* Uniform thumbnail placeholder on white cards */
.ybry-archive-card[data-color] .ybry-archive-card__thumb {
    background: rgba(0, 0, 0, 0.04);
}

.ybry-archive-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) and (pointer: fine) {
    .ybry-archive-card:hover .ybry-archive-card__img {
        transform: scale(1.05);
    }
}

.ybry-archive-card__no-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.3;
}

/* ── Card body ────────────────────────────────────────────── */
.ybry-archive-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

@media (min-width: 768px) {
    .ybry-archive-card__body {
        padding: 1.75rem;
    }
}

/* ── Gem badge row ────────────────────────────────────────── */
.ybry-archive-card__gem-row {
    margin-bottom: 0.875rem;
}

.ybry-archive-card__badge {
    font-size: 0.6rem !important;
    padding: 0.3rem 0.75rem !important;
    letter-spacing: 0.15em;
    display: inline-block;
}

/* ── Product name ─────────────────────────────────────────── */
.ybry-archive-card__name {
    font-size: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.01em;
    margin-bottom: 0.35rem;
    font-weight: 400;
}

@media (min-width: 768px) {
    .ybry-archive-card__name {
        font-size: 1.625rem;
    }
}

.ybry-archive-card__name a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .ybry-archive-card__name a:hover {
        opacity: 0.7;
    }
}

/* ── Perfumer ─────────────────────────────────────────────── */
.ybry-archive-card__perfumer {
    font-size: 0.8rem;
    font-style: italic;
    opacity: 0.55;
    margin-bottom: 0.5rem;
}

/* ── Fragrance family ─────────────────────────────────────── */
.ybry-archive-card__family {
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    opacity: 0.38;
    margin-bottom: 1rem;
}

/* ── Top notes teaser ─────────────────────────────────────── */
.ybry-archive-card__notes {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    margin-bottom: 0.75rem;
}

.ybry-archive-card__notes-label {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    opacity: 0.35;
    padding-top: 0.3rem;
    flex-shrink: 0;
    min-width: 2.5rem;
}

.ybry-archive-card__notes-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.ybry-archive-card__note-pill {
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    padding: 0.2rem 0.55rem;
    border: 1px solid currentColor;
    opacity: 0.5;
    transition: opacity 0.2s ease;
    cursor: default;
    display: inline-block;
}

.ybry-archive-card__note-pill:hover {
    opacity: 0.85;
}

/* ── Spacer ───────────────────────────────────────────────── */
.ybry-archive-card__spacer {
    flex: 1;
    min-height: 0.75rem;
}

/* ── Divider ──────────────────────────────────────────────── */
.ybry-archive-card__divider {
    height: 1px;
    background: currentColor;
    opacity: 0.1;
    margin-bottom: 1.25rem;
}

/* ── Footer: price + CTA ──────────────────────────────────── */
.ybry-archive-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.ybry-archive-card__price {
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    line-height: 1;
}

.ybry-archive-card__price .woocommerce-Price-amount {
    font-family: 'Times New Roman', Times, serif;
}

.ybry-archive-card__size {
    font-size: 0.7rem;
    font-family: 'Avenir Next', system-ui, sans-serif;
    opacity: 0.45;
    margin-left: 0.2rem;
    font-style: normal;
}

/* ── CTA button ───────────────────────────────────────────── */
.ybry-archive-card__cta {
    display: inline-block;
    font-size: 0.62rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    padding: 0.55rem 1.1rem;
    border: 1.5px solid;
    text-decoration: none;
    transition: background 0.25s ease, color 0.25s ease;
    white-space: nowrap;
    font-family: 'Avenir Next', system-ui, sans-serif;
}

.ybry-archive-card__cta--dark {
    border-color: rgba(0, 0, 0, 0.65);
    color: inherit;
}

.ybry-archive-card__cta--dark:hover {
    background: #000;
    color: #fff;
    border-color: #000;
}

.ybry-archive-card__cta--light {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
}

.ybry-archive-card__cta--light:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

/* ── Pagination ───────────────────────────────────────────── */
.ybry-archive-pagination {
    margin-top: 3.5rem;
    text-align: center;
}

.ybry-archive-pagination .woocommerce-pagination {
    display: flex;
    justify-content: center;
}

.ybry-archive-pagination ul.page-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ybry-archive-pagination .page-numbers li a,
.ybry-archive-pagination .page-numbers li span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 2.25rem;
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    border: 1px solid rgba(0, 0, 0, 0.18);
    color: inherit;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.ybry-archive-pagination .page-numbers li a:hover {
    background: #000;
    border-color: #000;
    color: #fff;
}

.ybry-archive-pagination .page-numbers li span.current {
    background: #000;
    border-color: #000;
    color: #fff;
}

.ybry-archive-pagination .page-numbers li span.dots {
    border: none;
    opacity: 0.4;
}

/* ── Empty state ──────────────────────────────────────────── */
.ybry-archive-empty {
    padding: 5rem 1rem;
    text-align: center;
}

/* ── Fade-in entrance for cards ───────────────────────────── */
@keyframes ybryCardIn {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

.ybry-archive-card {
    animation: ybryCardIn 0.55s ease both;
}

.ybry-archive-grid .ybry-archive-card:nth-child(1) { animation-delay: 0.05s; }
.ybry-archive-grid .ybry-archive-card:nth-child(2) { animation-delay: 0.12s; }
.ybry-archive-grid .ybry-archive-card:nth-child(3) { animation-delay: 0.19s; }
.ybry-archive-grid .ybry-archive-card:nth-child(4) { animation-delay: 0.26s; }
.ybry-archive-grid .ybry-archive-card:nth-child(5) { animation-delay: 0.33s; }
.ybry-archive-grid .ybry-archive-card:nth-child(6) { animation-delay: 0.40s; }
.ybry-archive-grid .ybry-archive-card:nth-child(7) { animation-delay: 0.47s; }

/* ── Reduced-motion override ──────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
    .ybry-archive-card {
        animation: none;
    }
    .ybry-archive-card:hover {
        transform: none;
    }
    .ybry-archive-card:hover .ybry-archive-card__img {
        transform: none;
    }
}

/* ============================================================
   Discovery Set — single product template
   ============================================================ */
.ds-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    opacity: 0.45;
    margin-bottom: 1rem;
}

.ds-section-title {
    font-size: 1.875rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
    .ds-section-title { font-size: 2.5rem; }
}

/* ── Hero ─────────────────────────────────────────────────── */
.ds-hero {
    padding: 2.5rem 0 3rem;
    background: linear-gradient(180deg, rgba(201, 168, 76, 0.1) 0%, #fff 70%);
}

@media (min-width: 768px) {
    .ds-hero { padding: 4.5rem 0 5rem; }
}

.ds-hero__head {
    text-align: center;
    margin-bottom: 2rem;
}

.ds-hero__title {
    font-size: 2.5rem;
    line-height: 1.1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

@media (min-width: 768px) {
    .ds-hero__title { font-size: 4rem; }
}

.ds-hero__sub {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    opacity: 0.55;
}

/* Mobile shows the portrait picture, desktop the landscape one. */
.ds-hero__media {
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    background: rgba(0, 0, 0, 0.04);
}

.ds-hero__img {
    display: block;
    width: 100%;
    height: auto;
}

@media (max-width: 767px) {
    .ds-hero__media {
        max-width: 420px;
        aspect-ratio: 550 / 884;
    }
    .ds-hero__img {
        height: 100%;
        object-fit: cover;
    }
}

.ds-hero__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 18rem;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    opacity: 0.4;
}

/* ── Buy panel ────────────────────────────────────────────── */
.ds-buy {
    display: grid;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto 2.5rem;
    text-align: center;
}

@media (min-width: 768px) {
    .ds-buy {
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 4rem;
        text-align: left;
    }
}

.ds-buy__desc {
    font-size: 0.95rem;
    line-height: 1.8;
    opacity: 0.75;
}

.ds-buy__desc p { margin-bottom: 0.75rem; }
.ds-buy__desc p:last-child { margin-bottom: 0; }

.ds-trust {
    max-width: 640px;
    margin: 0 auto;
}

/* ── Vials ────────────────────────────────────────────────── */
.ds-vials {
    padding: 4rem 0;
    background: #fff;
}

@media (min-width: 768px) {
    .ds-vials { padding: 6rem 0; }
}

.ds-vials__image { display: none; }

@media (min-width: 768px) {
    .ds-vials__layout--with-image {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 4rem;
        align-items: start;
    }

    .ds-vials__layout--with-image .ds-vials__image {
        display: block;
        position: sticky;
        top: 7rem;
    }
}

.ds-vials__img {
    display: block;
    width: 100%;
    height: auto;
}

.ds-vial-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.ds-vial {
    display: grid;
    grid-template-columns: 2rem 0.75rem 1fr;
    align-items: start;
    column-gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.ds-vial:last-child { border-bottom: 1px solid rgba(0, 0, 0, 0.1); }

.ds-vial__num {
    font-family: 'Times New Roman', Times, serif;
    font-size: 0.95rem;
    opacity: 0.35;
    padding-top: 0.2rem;
}

.ds-vial__gem {
    display: block;
    width: 0.75rem;
    height: 0.75rem;
    margin-top: 0.4rem;
    transform: rotate(45deg);
}

.ds-vial__name {
    font-size: 1.5rem;
    line-height: 1.2;
    margin: 0 0 0.35rem;
}

.ds-vial__meta {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
    opacity: 0.5;
    margin-bottom: 0.35rem;
}

.ds-vial__perfumer {
    font-size: 0.85rem;
    font-style: italic;
    opacity: 0.65;
    margin-bottom: 0.5rem;
}

.ds-vial__notes {
    font-size: 0.85rem;
    line-height: 1.6;
    opacity: 0.75;
}

/* ── Noses ────────────────────────────────────────────────── */
.ds-noses {
    padding: 4rem 0;
    background: rgba(201, 168, 76, 0.07);
}

@media (min-width: 768px) {
    .ds-noses { padding: 6rem 0; }
}

.ds-noses__head {
    text-align: center;
}

.ds-noses__grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: 1fr;
    max-width: 1000px;
    margin: 0 auto;
}

@media (min-width: 640px) {
    .ds-noses__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
    .ds-noses__grid { grid-template-columns: repeat(3, 1fr); }
}

.ds-nose {
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    padding: 1.75rem;
}

.ds-nose__name {
    font-size: 1.35rem;
    margin-bottom: 1rem;
}

.ds-nose__list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.85rem;
}

.ds-nose__list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.25rem 0;
}

.ds-nose__dot {
    display: inline-block;
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    flex-shrink: 0;
}

/* ── Feature band (homepage + shop archive) ───────────────── */
.ds-feature-wrap {
    padding: 0;
    background: linear-gradient(180deg, #fbf8f2 0%, #fdfbf7 100%);
    border-top: 1px solid rgba(154, 123, 34, 0.12);
    border-bottom: 1px solid rgba(154, 123, 34, 0.12);
}

.ds-separator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 3rem 0 2.5rem;
    color: #9a7b22;
}

@media (min-width: 768px) {
    .ds-separator { padding: 4rem 0 3rem; }
}

.ds-separator__line {
    display: block;
    width: 72px;
    height: 1px;
    background: currentColor;
    opacity: 0.4;
}

.ds-separator__gem {
    display: block;
    width: 7px;
    height: 7px;
    background: currentColor;
    transform: rotate(45deg);
    opacity: 0.8;
}

.ds-feature {
    display: flex;
    flex-direction: column;
    height: 100vh;
    height: 100svh;
    min-height: 34rem;
    margin: 0 auto;
    padding: 3rem 0;
    box-sizing: border-box;
    max-width: 1100px;
    text-align: center;
}

.ds-feature__head {
    flex-shrink: 0;
    margin-bottom: 1.5rem;
}

.ds-feature__media {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    margin: 0 auto;
}

.ds-feature__img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 1.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}

@media (hover: hover) and (pointer: fine) {
    .ds-feature:hover .ds-feature__img { transform: scale(1.03); }
}

.ds-feature__noimg {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 16rem;
    font-size: 0.7rem;
    letter-spacing: 0.2em;
    opacity: 0.4;
}

.ds-feature__eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.65rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: #9a7b22;
    margin-bottom: 1.5rem;
}

.ds-feature__eyebrow::before,
.ds-feature__eyebrow::after {
    content: '';
    width: 2.5rem;
    height: 1px;
    background: currentColor;
    opacity: 0.5;
}

.ds-feature__title {
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: 0.04em;
    margin: 0 0 1rem;
}

@media (min-width: 900px) {
    .ds-feature__title { font-size: 3.5rem; }
}

.ds-feature__title a { color: inherit; text-decoration: none; }

.ds-feature__sub {
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.45;
}

.ds-feature__vials {
    flex-shrink: 0;
    list-style: none;
    margin: 1.5rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 2.25rem;
    font-family: 'Times New Roman', Times, serif;
    font-style: italic;
    font-size: 1rem;
    opacity: 0.8;
}

.ds-feature__vials li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.ds-feature__dot {
    display: inline-block;
    width: 0.4rem;
    height: 0.4rem;
    transform: rotate(45deg);
    flex-shrink: 0;
}

.ds-feature__footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
    gap: 1rem;
    margin-top: 1.5rem;
}

.ds-feature__price {
    font-size: 1.25rem;
    opacity: 0.7;
}

.ds-feature__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 0.35rem;
    font-size: 0.68rem;
    letter-spacing: 0.3em;
    text-decoration: none;
    color: inherit;
}

.ds-feature__cta::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: currentColor;
    opacity: 0.35;
    transform-origin: left;
    transition: opacity 0.4s ease;
}

.ds-feature__cta::after {
    content: '\2192';
    font-size: 0.9rem;
    letter-spacing: 0;
    transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ds-feature__cta:hover::before { opacity: 1; }
.ds-feature__cta:hover::after  { transform: translateX(6px); }

.ds-feature__stock {
    margin: 0;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    font-style: italic;
    opacity: 0.45;
}

/* Slow reveal on scroll; only active when JS marks the element. */
.ds-feature.ds-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 1.2s ease, transform 1.2s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ds-feature.ds-reveal.is-visible {
    opacity: 1;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .ds-feature.ds-reveal { opacity: 1; transform: none; transition: none; }
    .ds-feature__img { transition: none; }
}

/* Let the form wrap so "View cart" drops to its own line */
form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px 0;
}

/* "View cart" — outlined secondary button */
form.cart .added_to_cart.wc-forward {
  flex: 0 0 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  border: 1px solid #000;
  background: transparent;
  color: #000;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color .25s ease, color .25s ease;
}

/* Small arrow after the label */
form.cart .added_to_cart.wc-forward::after {
  content: "→";
  font-size: 14px;
  letter-spacing: 0;
  transition: transform .25s ease;
}

form.cart .added_to_cart.wc-forward:hover,
form.cart .added_to_cart.wc-forward:focus-visible {
  background: #000;
  color: #fff;
}

form.cart .added_to_cart.wc-forward:hover::after {
  transform: translateX(4px);
}

form.cart .added_to_cart.wc-forward:focus-visible {
  outline: 2px solid #000;
  outline-offset: 2px;
}