/* ============================================================
   PETMAISON WOOCOMMERCE STYLES
   Category Archive + Single Product
   ============================================================ */

/* Shared: Container */
.pm-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================================
   CRITICAL: PRODUCT CARD FIXES (XStore override)
   Targets XStore's actual HTML: div.product > div.content-product
   with images-slider-wrapper, product-image-wrapper etc.
   ============================================================ */

/* --- Product grid: 4 per row on archive (clean, no Bootstrap) --- */
.pm-product-grid,
.pm-archive__products .products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 0;
    padding: 0;
}

.pm-product-grid > .product,
.pm-archive__products .product {
    width: auto;
    max-width: none;
    padding: 0;
    margin: 0;
    float: none;
}

/* Homepage grid */
.pm-products-grid {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
}

.pm-products-grid .product {
    width: calc(25% - 15px) !important;
    max-width: calc(25% - 15px) !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

/* --- Card wrapper — premium editorial: white surface, soft shadow, gold-tinted lift on hover --- */
.content-product {
    background: #FFFFFF !important;
    border-radius: 0 !important;
    border: 1px solid rgba(25,36,27,.06) !important;
    overflow: hidden !important;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(25,36,27,.025) !important;
    transform: none !important;
    transition: box-shadow .35s ease, transform .35s ease, border-color .35s ease !important;
    padding: 0 !important;
    position: relative;
}

.content-product:hover {
    box-shadow: 0 18px 40px -22px rgba(190,157,92,.35), 0 6px 14px -8px rgba(25,36,27,.10) !important;
    transform: translateY(-3px) !important;
    border-color: rgba(190,157,92,.22) !important;
}

/* Gold accent line at top — reveals on hover */
.content-product::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--pm-gold), transparent);
    opacity: 0;
    transition: opacity .35s ease;
    z-index: 5;
    pointer-events: none;
}
.content-product:hover::before { opacity: 1; }

/* --- Image area — square, white background (matches packshots with their built-in white margins) --- */
.content-product .product-image-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    aspect-ratio: 1 / 1 !important;
    background: #FFFFFF !important;
    overflow: hidden;
    position: relative;
}
.content-product:hover .product-image-wrapper img {
    transform: scale(1.05) !important;
}

/* Spacing inside the card body (after the image) */
.content-product .product-details,
.content-product .text-center.product-details {
    padding: 16px 16px 18px !important;
}

.content-product .images-slider-wrapper {
    width: 100% !important;
    height: 100% !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-product .product-content-image {
    width: 100% !important;
    height: 100% !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-height: unset !important;
}

.content-product .product-content-image img,
.content-product .product-image-wrapper img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;       /* Show whole product, add white space around */
    object-position: center !important;
    display: block !important;
    margin: 0 !important;
    padding: 3% !important;                /* Reduced from 8% — image fills more of the box */
    transition: transform .8s cubic-bezier(.16,1,.3,1) !important;
}

/* Placeholder / lazy images */
.content-product img.lazyload,
.content-product img[data-src] {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
}

/* --- Product details — editorial typography --- */
.content-product .product-details,
.content-product .text-center.product-details {
    text-align: left !important;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    /* Padding handled by the .product-details rule in the card block above */
}

/* Brand label — visually positioned above title via flex order */
.pm-loop-brand {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
    line-height: 1.2;
    order: -1;
    margin-bottom: 2px;
}

/* Hide XStore's category chain (we use pa_brand instead) */
.content-product .products-page-cats,
.content-product .product-category-label { display: none !important; }

/* Product title — sentence case, regular weight */
.content-product .product-title {
    margin: 0 !important;
    padding: 0 !important;
    /* Override XStore parent which uses calc(var(--product-title-size-proportion) * 1rem) */
    font-size: calc(var(--product-title-size-proportion) * 0.9rem) !important;
}
.content-product .product-title a,
.content-product h2.woocommerce-loop-product__title,
/* Out-of-stock styling: gray button + subtle image dim + corner badge */
.product.outofstock .content-product .product-image-wrapper img {
    filter: grayscale(.35) brightness(.95);
    transition: filter .3s ease;
}
/* Corner OOS badge removed — the "Stoc epuizat" button below the card is the single source of truth */
/* OOS button styling consolidated below in the new card block */

.content-product .woocommerce-loop-product__title {
    font-size: 14px !important;
    font-weight: 400 !important;
    color: var(--pm-charcoal) !important;
    text-decoration: none !important;
    line-height: 1.45 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: color .2s ease;
    letter-spacing: .1px;
}
.content-product .product-title a:hover,
.content-product:hover .woocommerce-loop-product__title { color: var(--pm-green-dark) !important; }

/* Price — elegant, sage on sale instead of orange */
.content-product .price {
    text-align: left !important;
    font-size: 14.5px !important;
    font-weight: 500 !important;
    color: var(--pm-charcoal) !important;
    margin: 2px 0 4px !important;
    line-height: 1.3;
}
.content-product .price del { color: var(--pm-charcoal-light) !important; opacity: .7; font-weight: 300; margin-right: 6px; }
.content-product .price ins {
    color: var(--pm-charcoal) !important;
    text-decoration: none !important;
    font-weight: 500;
}

/* ============================================================
   QUANTITY + ADD-TO-CART (compact qty stepper + text/icon CTA)
   ============================================================ */
.content-product .quantity-wrapper {
    display: flex !important;
    align-items: center !important;     /* center, not stretch — keeps button height locked at 36px */
    justify-content: flex-start !important;
    gap: 6px !important;
    margin-top: auto !important;
    transform: none !important;
    height: auto !important;
    min-height: 36px !important;
    /* Override XStore's max-width:130px cap that was squeezing the button into a tiny square */
    max-width: none !important;
    width: 100% !important;
}

/* Compact qty stepper — secondary control, less visual weight */
.content-product .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    border: 1px solid rgba(25,36,27,.14) !important;
    height: 36px !important;
    background: #fff !important;
    flex-shrink: 0;
    flex-grow: 0 !important;
    width: auto !important;
    max-width: none !important;
    transition: border-color .25s ease;
}
.content-product:hover .quantity {
    border-color: rgba(25,36,27,.28) !important;
}
.content-product .quantity .minus,
.content-product .quantity .plus,
.content-product .quantity .et-qty-minus,
.content-product .quantity .et-qty-plus {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 20px !important;
    min-width: 20px !important;
    height: 100% !important;
    background: transparent !important;
    color: var(--pm-charcoal-light) !important;
    cursor: pointer;
    font-size: 12px;
    font-weight: 400;
    transition: color .2s ease, background-color .2s ease;
    border: 0 !important;
    padding: 0 !important;
}
.content-product .quantity .minus:hover,
.content-product .quantity .plus:hover,
.content-product .quantity .et-qty-minus:hover,
.content-product .quantity .et-qty-plus:hover {
    color: var(--pm-green-dark) !important;
    background: rgba(25,36,27,.04) !important;
}
.content-product .quantity input.qty,
.content-product .quantity input.input-text {
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    color: var(--pm-charcoal) !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.content-product .quantity input.qty::-webkit-outer-spin-button,
.content-product .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* Add to cart — full pill button with text "Comandă" + cart icon.
   Brand orange (logo-derived) for higher conversion vs. neutral green/black —
   stands out against the green/charcoal card chrome. */
.content-product .button.add_to_cart_button,
.content-product .button.pm-loop-cart,
.content-product .add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    flex: 1 1 auto;
    min-width: 0;
    box-sizing: border-box !important;
    height: 36px !important;
    min-height: 36px !important;
    max-height: 36px !important;
    padding: 0 14px !important;
    margin: 0 !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
    background: var(--pm-orange) !important;
    background-color: var(--pm-orange) !important;
    color: #fff !important;
    border: 1px solid var(--pm-orange) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, letter-spacing .25s ease !important;
    position: relative;
    text-decoration: none !important;
    overflow: hidden;
    text-indent: 0 !important;
    line-height: 1 !important;
    white-space: nowrap;
}
/* Cart icon appended via ::after so the button shows actual text content */
.content-product .button.add_to_cart_button::after,
.content-product .add_to_cart_button::after {
    content: '';
    display: inline-block !important;
    width: 14px; height: 14px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'><circle cx='9' cy='21' r='1'/><circle cx='20' cy='21' r='1'/><path d='M1 1h4l2.7 13.4a2 2 0 0 0 2 1.6h9.7a2 2 0 0 0 2-1.6L23 6H6'/></svg>") center/contain no-repeat;
    flex-shrink: 0;
}
.content-product .button.add_to_cart_button::before,
.content-product .add_to_cart_button::before {
    content: none !important;
    display: none !important;
}
.content-product .button.add_to_cart_button:hover,
.content-product .add_to_cart_button:hover {
    background: var(--pm-orange-hover) !important;
    background-color: var(--pm-orange-hover) !important;
    border-color: var(--pm-orange-hover) !important;
    color: #fff !important;
    letter-spacing: 1.9px !important;
}
.content-product .button.add_to_cart_button.added,
.content-product .button.add_to_cart_button.loading {
    background: var(--pm-green) !important;
    background-color: var(--pm-green) !important;
    border-color: var(--pm-green) !important;
}
/* Hide XStore's native icon if any */
.content-product .add_to_cart_button .et-icon,
.content-product .add_to_cart_button i { display: none !important; }
/* Keep label text visible (it IS the button content now) */

/* ---- OUT OF STOCK ---- */

/* 1) Hide XStore's centered <p class="stock out-of-stock"> overlay — our small corner pill is enough */
.content-product p.stock.out-of-stock,
.content-product .stock.out-of-stock,
.content-product .product-stock-status,
.products-loop .stock.out-of-stock,
.productCarousel .stock.out-of-stock,
.pm-product-grid .stock.out-of-stock,
.pm-products-grid .stock.out-of-stock {
    display: none !important;
}

/* 2) Hide qty stepper for OOS, button becomes a flat disabled pill at the SAME height as in-stock CTA */
.product.outofstock .content-product .quantity {
    display: none !important;
}
.product.outofstock .content-product .quantity-wrapper {
    display: block !important;
}

/* Vertical alignment: the in-stock card has a `.quantity-wrapper` (which
   already has margin-top: auto so it sits at the card's baseline). The
   out-of-stock card has the action button as a DIRECT child of
   `.product-details` with no wrapper, so without this rule it floats up to
   sit right under the price — leaving the bottom of the card empty and
   producing the "buttons not on the same row" effect when in-stock and OOS
   cards mix on the same grid row. Pushing the bare button to margin-top:
   auto locks every card's action element to the same baseline. */
.content-product .product-details > .button.pm-loop-cart,
.content-product .text-center.product-details > .button.pm-loop-cart,
.content-product .product-details > .button.add_to_cart_button,
.content-product .text-center.product-details > .button.add_to_cart_button {
    margin-top: auto !important;
}
.product.outofstock .content-product .button.add_to_cart_button,
.product.outofstock .content-product .add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    flex: none !important;
    height: 36px !important;
    max-height: 36px !important;
    min-height: 36px !important;
    line-height: 1 !important;
    padding: 0 14px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--pm-charcoal-light) !important;
    border: 1px solid rgba(25,36,27,.18) !important;
    cursor: not-allowed !important;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
    text-indent: 0 !important;
    white-space: nowrap;
}
.product.outofstock .content-product .button.add_to_cart_button:hover,
.product.outofstock .content-product .add_to_cart_button:hover {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--pm-charcoal-light) !important;
    border-color: rgba(25,36,27,.18) !important;
    letter-spacing: 1.6px !important;
    transform: none !important;
}
/* Hide the cart icon on OOS button (label-only "Stoc epuizat") */
.product.outofstock .content-product .button.add_to_cart_button::after,
.product.outofstock .content-product .add_to_cart_button::after {
    display: none !important;
    content: none !important;
}

/* "View cart" link after AJAX add */
.content-product .added_to_cart {
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase;
    color: var(--pm-green) !important;
    border-bottom: 1px solid var(--pm-green);
    padding-bottom: 2px;
    margin-left: 8px;
    text-decoration: none !important;
}

/* Quick view footer - hide */
.content-product .footer-product {
    display: none !important;
}

/* --- Wishlist button on card ---
   XStore applies `max-width: min-content` to `.product-view-default
   .xstore-wishlist` which collapses our 34px circle into a ~22px ellipse
   (max-width wins over width). Explicit `max-width: 34px` + `min-width: 34px`
   pin it to a perfect circle regardless of XStore's rule order. */
.content-product .xstore-wishlist {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 10;
    background: var(--pm-white) !important;
    border-radius: 50% !important;
    width: 34px !important;
    min-width: 34px !important;
    max-width: 34px !important;
    height: 34px !important;
    min-height: 34px !important;
    max-height: 34px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
    opacity: 0;
    text-decoration: none !important;
}

.content-product:hover .xstore-wishlist {
    opacity: 1;
}

.content-product .xstore-wishlist:hover {
    background: var(--pm-gold) !important;
    color: var(--pm-green-dark) !important;
}

/* --- Responsive product grid --- */
@media (max-width: 1024px) {
    .pm-product-grid,
    .pm-archive__products .products {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .pm-archive__products .product {
        width: auto !important;
        max-width: none !important;
    }
    .pm-products-grid .product {
        width: calc(33.333% - 14px) !important;
        max-width: calc(33.333% - 14px) !important;
    }
}

@media (max-width: 740px) {
    .pm-product-grid,
    .pm-archive__products .products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px !important;
    }
    .pm-archive__products .product {
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
    }
    .pm-products-grid .product {
        width: calc(50% - 10px) !important;
        max-width: calc(50% - 10px) !important;
    }
}

/* Very narrow 2-col cards: shrink CTA text further so "COMANDĂ" + icon still fit */
@media (max-width: 540px) and (min-width: 421px) {
    .content-product .button.add_to_cart_button,
    .content-product .button.pm-loop-cart,
    .content-product .add_to_cart_button {
        font-size: 8.5px !important;
        letter-spacing: 0.2px !important;
        padding: 0 6px !important;
        gap: 4px !important;
    }
    .content-product .button.add_to_cart_button::after,
    .content-product .add_to_cart_button::after {
        width: 11px !important;
        height: 11px !important;
    }
    .content-product .quantity .minus,
    .content-product .quantity .plus,
    .content-product .quantity .et-qty-minus,
    .content-product .quantity .et-qty-plus {
        width: 16px !important;
        min-width: 16px !important;
    }
    .content-product .quantity input.qty,
    .content-product .quantity input.input-text {
        width: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
    }
    .product.outofstock .content-product .button.add_to_cart_button,
    .product.outofstock .content-product .add_to_cart_button {
        font-size: 8.5px !important;
        letter-spacing: 0.2px !important;
        padding: 0 6px !important;
    }
}

@media (max-width: 420px) {
    .pm-product-grid,
    .pm-archive__products .products {
        grid-template-columns: 1fr !important;
    }
    .pm-products-grid .product {
        width: 100% !important;
        max-width: 100% !important;
    }
    /* Single-column → plenty of room; bring back normal CTA sizing */
    .content-product .button.add_to_cart_button,
    .content-product .button.pm-loop-cart,
    .content-product .add_to_cart_button {
        font-size: 11px !important;
        letter-spacing: 1.2px !important;
        padding: 0 14px !important;
        height: 38px !important;
        min-height: 38px !important;
        max-height: 38px !important;
    }
}

/* ============================================================
   BREADCRUMBS BAR
   ============================================================ */
.pm-breadcrumb-sep {
    margin: 0 8px;
    opacity: 0.45;
}

/* ============================================================
   ARCHIVE / CATEGORY PAGE — Editorial luxury layout
   ============================================================ */

/* Category Hero — editorial split layout (image right, text left).
   Previous version used `object-fit: cover` over a 460px-tall area, which
   aggressively cropped portrait/square thumbnails (most categories use
   product photos shot at ~1:1). New layout:
     - Desktop (≥992px): image is anchored to the right ~52% of the hero,
       text content sits on the left half with a deep-green panel that
       fades into the image via a horizontal gradient. Image keeps its
       native aspect (cover within its own column, not over the whole
       hero) so it crops far less.
     - Mobile (<992px): image goes back to full-bleed background with a
       bottom-up legibility gradient (the editorial fallback). */
.pm-archive__hero {
    position: relative;
    background: var(--pm-green-dark);
    color: #fff;
    overflow: hidden;
    min-height: 320px;
    display: flex;
    align-items: flex-end;
}
.pm-archive__hero.has-image { min-height: 420px; }

/* Image layer */
.pm-archive__hero-img {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.pm-archive__hero-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(.95) contrast(1.02);
    transition: transform 1.2s cubic-bezier(.16,1,.3,1), filter .6s ease;
}

/* Desktop: split image right / text left.
   Image SPANS THE FULL hero width so the dark→transparent gradient can
   smoothly mask its left half — no visible seam between the green panel
   and the photo. `object-position: right center` keeps the photo subject
   (typically center-right in product photography) visible on the visible
   right side. Left half of the photo sits BEHIND the gradient and never
   appears as a hard edge.

   Tried previously with `left: 48%` (image confined to right column) but
   that produced a visible vertical line at the column boundary because
   the image element ended abruptly at 48%. Extending the image full-bleed
   and letting the gradient do the masking yields a seamless blend. */
@media (min-width: 992px) {
    /* Image takes the right ~70% of the hero. The left 30% is dark green
       panel (solid in gradient). The right 70% has the image, but the
       gradient also extends INTO this column, fading from semi-opaque dark
       at the left edge to fully transparent past ~55% — so the seam
       between panel and image is hidden by the gradient blend, NOT by a
       hard column boundary. The photo's natural composition (subject in
       its original position) stays intact; viewers see the whole subject
       in the right portion regardless of whether it's framed left/center/right
       in the source image. */
    .pm-archive__hero.has-image .pm-archive__hero-img {
        left: 30%;
    }
    .pm-archive__hero.has-image .pm-archive__hero-img img {
        object-position: center center;
        filter: saturate(1) contrast(1) brightness(.96);
    }
}

.pm-archive__hero.has-image:hover .pm-archive__hero-img img {
    transform: scale(1.02);
}

/* Overlay system.
   Default (≥992px): horizontal gradient — solid deep-green on the LEFT
   that fades to transparent ~58% so the image-on-the-right blends in
   organically without a harsh seam. Plus the existing radial accents.

   Mobile fallback: revert to the full-bleed bottom-up gradient so the
   text-on-image remains legible. */
.pm-archive__hero::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    /* Mobile-first: bottom-up dark gradient (legibility over full-bleed image) */
    background:
        radial-gradient(ellipse 60% 70% at 100% 0%, rgba(190,157,92,.16), transparent 70%),
        linear-gradient(to top,
            rgba(25,36,27,.92) 0%,
            rgba(25,36,27,.72) 30%,
            rgba(25,36,27,.42) 55%,
            rgba(25,36,27,.15) 80%,
            rgba(25,36,27,0)   100%);
}
@media (min-width: 992px) {
    /* Desktop: left-to-right gradient that exposes the right-side image.
       Image now spans the FULL hero (left: 0), so the gradient itself
       does the masking — no hard seam. Stops are tuned to:
         - keep text legible up to ~55% of viewport (the padding-right=38%
           text column ends near 60%)
         - fade through a wide soft band (55% → 85%) so the transition is
           gradual, not perceived as a vertical line
         - leave the right ~15% completely clear so the photo subject
           (right-side composition via object-position: right) is crisp */
    .pm-archive__hero.has-image::after {
        background:
            /* subtle gold radial near the gradient transition */
            radial-gradient(ellipse 35% 90% at 60% 50%, rgba(190,157,92,.12), transparent 65%),
            /* Horizontal fade tuned to the image (which starts at left:30%):
               - 0–28% solid green-dark (image hasn't started; text column)
               - 28–55% smooth fade through the overlap zone (image present
                 but gradient blends it gradually → no hard edge)
               - 55%+ fully transparent (photo subject reads clearly) */
            linear-gradient(to right,
                var(--pm-green-dark) 0%,
                var(--pm-green-dark) 28%,
                rgba(25,36,27,.82)   38%,
                rgba(25,36,27,.45)   46%,
                rgba(25,36,27,.15)   53%,
                rgba(25,36,27,0)     60%);
    }
}
/* Hairline gold bottom border — subtle luxury signature */
.pm-archive__hero.has-image::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, var(--pm-gold) 30%, var(--pm-gold) 70%, transparent);
    opacity: .55;
}
.pm-archive__hero:not(.has-image)::after { display: none; }

.pm-archive__hero-content { position: relative; z-index: 3; padding: 84px 20px 64px; width: 100%; }
/* Desktop: anchor text to the left edge but give it generous horizontal
   room. `.pm-archive__hero-content` has the `.pm-container` class
   (margin: 0 auto + max-width 1280), so we use `padding-right` to reserve
   the right portion for the image (rather than `max-width` which would
   recenter the smaller box and break left alignment).
   `padding-right: 38%` leaves the text ~62% of the container width — long
   H1s like "Solutii curatare ingrijire caini" fit on a single line and the
   layout doesn't feel cramped. */
@media (min-width: 992px) {
    .pm-archive__hero.has-image .pm-archive__hero-content {
        padding-right: 38%;
    }
}

/* Inline breadcrumbs — small, refined, uppercase tracking */
/* Breadcrumbs — Rank Math emits the trail inside a nested `<p>` that
   inherits XStore's global paragraph font-size (typically 16px), which
   was overriding our 9px rule on the wrapper. Force the size down on
   ALL descendants (p, a, span) with !important so the cascade can't
   undo it. Same trick on the mobile rule below. */
.pm-archive__breadcrumbs,
.pm-archive__breadcrumbs p,
.pm-archive__breadcrumbs a,
.pm-archive__breadcrumbs span,
.pm-archive__breadcrumbs .rank-math-breadcrumb p {
    font-size: 13px !important;
    line-height: 1.5 !important;
    letter-spacing: 2px !important;
    margin: 0 !important;
}
.pm-archive__breadcrumbs {
    font-weight: 500;
    text-transform: uppercase;
    color: rgba(255,255,255,.55);
    margin-bottom: 18px !important;
}
.pm-archive__breadcrumbs a {
    color: rgba(255,255,255,.55) !important;
    text-decoration: none;
    transition: color .25s ease;
}
.pm-archive__breadcrumbs a:hover { color: var(--pm-gold-light) !important; }
.pm-archive__breadcrumbs .rank-math-breadcrumb p { margin: 0; }
.pm-archive__breadcrumbs .separator {
    margin: 0 8px;
    opacity: .35;
    font-weight: 300;
}
.pm-breadcrumb-sep { margin: 0 8px; opacity: .35; }
.pm-archive__breadcrumbs .last {
    color: rgba(255,255,255,.85);
    font-weight: 600;
}

/* Title */
.pm-archive__title {
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -.4px;
    color: #fff;
    margin: 0;
    max-width: 760px;
}
.pm-archive__hero:not(.has-image) .pm-archive__title { color: #F5EFE7; }

/* When no image: cream bg with charcoal text + same compact breadcrumb treatment */
.pm-archive__hero:not(.has-image) { background: #FAF7F2; min-height: 220px; }
.pm-archive__hero:not(.has-image) .pm-archive__breadcrumbs { color: var(--pm-charcoal-light); }
.pm-archive__hero:not(.has-image) .pm-archive__breadcrumbs a { color: var(--pm-charcoal-light) !important; }
.pm-archive__hero:not(.has-image) .pm-archive__breadcrumbs a:hover { color: var(--pm-gold-dark) !important; }
.pm-archive__hero:not(.has-image) .pm-archive__breadcrumbs .last { color: var(--pm-charcoal); }
.pm-archive__hero:not(.has-image) .pm-archive__title { color: var(--pm-charcoal); }

/* Subcategories — editorial grid with optional thumbnails */
.pm-archive__subcats { background: #FAF7F2; padding: 32px 0; border-bottom: 1px solid var(--pm-gray-200); }
.pm-subcats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    column-gap: 24px;
    row-gap: 0;
}
.pm-subcat {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 4px;
    border-bottom: 1px solid rgba(74,122,92,.16);
    text-decoration: none !important;
    color: var(--pm-charcoal) !important;
    transition: padding .25s cubic-bezier(.16,1,.3,1), border-color .25s ease;
}
.pm-subcat:hover { padding-left: 10px; border-bottom-color: var(--pm-green); }
.pm-subcat__thumb { flex-shrink: 0; width: 48px; height: 48px; overflow: hidden; background: #fff; }
.pm-subcat__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pm-subcat__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.pm-subcat__name { font-size: 14.5px; font-weight: 500; color: var(--pm-charcoal); line-height: 1.3; transition: color .25s ease; }
.pm-subcat:hover .pm-subcat__name { color: var(--pm-green); }
.pm-subcat__count { font-size: 11px; font-weight: 400; letter-spacing: .8px; text-transform: uppercase; color: var(--pm-charcoal-light); }
.pm-subcat__arrow { font-style: normal; flex-shrink: 0; color: var(--pm-charcoal-light); font-size: 14px; transition: transform .25s cubic-bezier(.4,0,.2,1), color .25s ease; }
.pm-subcat:hover .pm-subcat__arrow { transform: translateX(4px); color: var(--pm-green); }

/* Layout: sidebar + products */
.pm-archive__content {
    padding: 24px 0 48px;
}

.pm-archive__layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
}

/* Sidebar */
.pm-archive__sidebar {
    align-self: start;
}

.pm-sidebar__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.pm-sidebar__title {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: var(--pm-charcoal);
    margin: 0;
}

.pm-sidebar__close-mobile {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

/* Filter Everything Pro — editorial refinement */
.pm-archive__sidebar .wpc-filters-widget-wrapper,
.pm-archive__sidebar .widget {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(74,122,92,.16);
}
.pm-archive__sidebar .wpc-filters-widget-wrapper:last-child,
.pm-archive__sidebar .widget:last-child { border-bottom: 0; }

/* Filter section spacing */
.pm-archive__sidebar .wpc-filters-section {
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid rgba(74,122,92,.12);
}
.pm-archive__sidebar .wpc-filters-section:last-child { border-bottom: 0; padding-bottom: 0; margin-bottom: 0; }

/* Filter titles — editorial uppercase with gold accent underline */
.pm-archive__sidebar .widget-title,
.pm-archive__sidebar .wpc-filter-title {
    position: relative;
    display: block;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: var(--pm-charcoal, #19241B) !important;
    margin-bottom: 18px !important;
    padding-bottom: 10px !important;
    text-transform: uppercase;
    letter-spacing: 2.4px !important;
    border-bottom: 1px solid rgba(25,36,27,.08);
}
.pm-archive__sidebar .widget-title::after,
.pm-archive__sidebar .wpc-filter-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 28px;
    height: 2px;
    background: var(--pm-gold, #BE9D5C);
    border-radius: 1px;
}

/* Uniform cap per filter list — keeps each filter section the same visual height.
   Wrapped in relative container for fade indicators (set on .wpc-filter-content). */
.pm-archive__sidebar .wpc-filter-content {
    position: relative;
}

/* Disable WPC "See more / See less" toggle — we use internal scroll instead.
   Hide the controls and force ALL items visible regardless of show-less state. */
.pm-archive__sidebar .wpc-see-more-control,
.pm-archive__sidebar .wpc-see-less-control,
.pm-archive__sidebar .wpc-filter-more-less .wpc-see-more-control,
.pm-archive__sidebar .wpc-filter-more-less .wpc-see-less-control {
    display: none !important;
}
.pm-archive__sidebar .wpc-filter-more-less.wpc-show-less .wpc-filters-ul-list > li,
.pm-archive__sidebar .wpc-filter-more-less .wpc-filters-ul-list > li,
.pm-archive__sidebar .wpc-filter-has-selected.wpc-filter-more-less.wpc-show-less .wpc-filters-ul-list > li {
    display: list-item !important;
}
.pm-archive__sidebar .wpc-filters-ul-list {
    max-height: 240px !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    padding-right: 10px;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: rgba(74,122,92,.45) rgba(74,122,92,.08);
}
/* Webkit scrollbar — more prominent, branded sage */
.pm-archive__sidebar .wpc-filters-ul-list::-webkit-scrollbar { width: 8px; }
.pm-archive__sidebar .wpc-filters-ul-list::-webkit-scrollbar-track {
    background: rgba(74,122,92,.08);
    border-radius: 999px;
    margin: 2px 0;
}
.pm-archive__sidebar .wpc-filters-ul-list::-webkit-scrollbar-thumb {
    background-color: rgba(74,122,92,.45);
    border-radius: 999px;
    border: 1px solid transparent;
    background-clip: padding-box;
}
.pm-archive__sidebar .wpc-filters-ul-list:hover::-webkit-scrollbar-thumb,
.pm-archive__sidebar .wpc-filters-ul-list::-webkit-scrollbar-thumb:hover {
    background-color: var(--pm-green, #4A7A5C);
}

/* Fade indicators on overflowing lists (added via JS in archive-product.php).
   Top fade appears once user scrolls down; bottom fade hides at end of scroll. */
.pm-archive__sidebar .wpc-filter-content:has(.wpc-filters-ul-list.pm-has-overflow)::before,
.pm-archive__sidebar .wpc-filter-content:has(.wpc-filters-ul-list.pm-has-overflow)::after {
    content: '';
    position: absolute;
    left: 0;
    right: 14px; /* leave room for scrollbar */
    height: 24px;
    pointer-events: none;
    z-index: 2;
    transition: opacity .2s ease;
}
.pm-archive__sidebar .wpc-filter-content:has(.wpc-filters-ul-list.pm-has-overflow)::before {
    top: 0;
    background: linear-gradient(to bottom, var(--pm-cream, #F4F1EC) 0%, rgba(244,241,236,0) 100%);
    opacity: 1;
}
.pm-archive__sidebar .wpc-filter-content:has(.wpc-filters-ul-list.pm-has-overflow.pm-at-top)::before {
    opacity: 0;
}
.pm-archive__sidebar .wpc-filter-content:has(.wpc-filters-ul-list.pm-has-overflow)::after {
    bottom: 0;
    background: linear-gradient(to top, var(--pm-cream, #F4F1EC) 0%, rgba(244,241,236,0) 100%);
    opacity: 1;
}
.pm-archive__sidebar .wpc-filter-content:has(.wpc-filters-ul-list.pm-has-overflow.pm-at-bottom)::after {
    opacity: 0;
}

/* Subtle "more below" hint label — small chevron at bottom of overflowing list */
.pm-archive__sidebar .wpc-filter-content:has(.wpc-filters-ul-list.pm-has-overflow:not(.pm-at-bottom))::after {
    background:
        linear-gradient(to top, var(--pm-cream, #F4F1EC) 30%, rgba(244,241,236,0) 100%);
}

/* Filter labels — clean sans, no underline */
.pm-archive__sidebar .wpc-filters-ul-list,
.pm-archive__sidebar .wpc-filters-ul-list ul { list-style: none; padding: 0; margin: 0; }
.pm-archive__sidebar .wpc-filters-ul-list label,
.pm-archive__sidebar .wpc-filter-link,
.pm-archive__sidebar .wpc-term-item label {
    font-size: 13.5px !important;
    color: var(--pm-charcoal) !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px;
    cursor: pointer;
    padding: 4px 0;
    transition: color .2s ease;
}
.pm-archive__sidebar .wpc-filter-link:hover,
.pm-archive__sidebar .wpc-term-item label:hover { color: var(--pm-green) !important; }

/* Custom minimal checkboxes (square outline, sage when active) */
.pm-archive__sidebar .wpc-term-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 14px; height: 14px;
    border: 1px solid var(--pm-charcoal-light);
    border-radius: 0;
    background: #fff;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
    transition: border-color .2s ease, background .2s ease;
}
.pm-archive__sidebar .wpc-term-item input[type="checkbox"]:hover { border-color: var(--pm-green); }
.pm-archive__sidebar .wpc-term-item input[type="checkbox"]:checked {
    background: var(--pm-green); border-color: var(--pm-green);
}
.pm-archive__sidebar .wpc-term-item input[type="checkbox"]:checked::after {
    content: ''; position: absolute; left: 3px; top: 0;
    width: 5px; height: 9px;
    border: solid #fff; border-width: 0 1.5px 1.5px 0;
    transform: rotate(45deg);
}

/* Count badges */
.pm-archive__sidebar .wpc-term-count {
    font-size: 11px;
    color: var(--pm-charcoal-light);
    opacity: .65;
    letter-spacing: .3px;
    margin-left: auto;
}

/* Active filter chips */
.pm-archive__sidebar .wpc-filter-chips-list li,
.pm-archive__sidebar .wpc-filter-chips-list a {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 4px 0 4px 0 !important;
    background: none !important;
    border: 0 !important;
    border-bottom: 1px solid var(--pm-green) !important;
    border-radius: 0 !important;
    color: var(--pm-charcoal) !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin: 0 12px 8px 0 !important;
}

/* Hide FE Pro open/close button (we have our own sidebar) */
.pm-archive__sidebar .wpc-filters-open-button-container,
.pm-archive__sidebar .wpc-widget-close-container {
    display: none;
}

/* Filter chips */
.pm-archive__sidebar .wpc-filter-chips-list {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

/* Toolbar — editorial minimal */
.pm-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 28px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(74,122,92,.18);
    flex-wrap: wrap;
    gap: 12px;
}
.pm-toolbar__left { display: flex; align-items: center; gap: 20px; }
.pm-toolbar__left .woocommerce-result-count {
    margin: 0;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
}

/* Sort dropdown — no border, just a label + caret */
.pm-toolbar__right .woocommerce-ordering,
.woocommerce-ordering { margin: 0 !important; }
.pm-toolbar__right .woocommerce-ordering::before {
    content: 'Sortează';
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
    margin-right: 10px;
}
.pm-toolbar__right .woocommerce-ordering select,
.woocommerce-ordering select {
    border: 0 !important;
    background: transparent !important;
    padding: 4px 22px 4px 0 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    letter-spacing: .8px !important;
    text-transform: uppercase;
    color: var(--pm-charcoal) !important;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--pm-charcoal) 50%), linear-gradient(135deg, var(--pm-charcoal) 50%, transparent 50%) !important;
    background-position: calc(100% - 12px) center, calc(100% - 7px) center !important;
    background-size: 5px 5px, 5px 5px !important;
    background-repeat: no-repeat !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.pm-toolbar__right .woocommerce-ordering select:focus { outline: 0; }

/* Filter toggle button (mobile only) */
.pm-filter-toggle {
    display: none;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    padding: 10px 18px !important;
    background: transparent !important;
    border: 1px solid var(--pm-charcoal) !important;
    color: var(--pm-charcoal) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}
.pm-filter-toggle:hover {
    background: var(--pm-charcoal) !important;
    color: #fff !important;
}
.pm-filter-toggle svg { margin-right: 0; }

/* Hide star ratings in product loop (kept on single product page) */
.pm-archive__products .content-product .star-rating,
.pm-archive__products .content-product .et-star-rating { display: none !important; }

/* Star ratings - left aligned */
.content-product .star-rating,
.content-product .et-star-rating {
    text-align: left !important;
    margin: 2px 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
}

/* Pagination — minimal typographic */
.pm-pagination { margin-top: 48px; display: flex; justify-content: center; }
.pm-pagination .page-numbers {
    display: flex; align-items: center; list-style: none; gap: 0; margin: 0; padding: 0;
}
.pm-pagination .page-numbers li { list-style: none; }
.pm-pagination .page-numbers a,
.pm-pagination .page-numbers span {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 36px; height: 36px; padding: 0 6px;
    border: 0; border-radius: 0; background: none;
    font-size: 13px; font-weight: 400; color: var(--pm-charcoal-light);
    text-decoration: none; letter-spacing: .3px;
    transition: color .25s ease;
    position: relative;
}
.pm-pagination .page-numbers a:hover { color: var(--pm-charcoal); }
.pm-pagination .page-numbers .current {
    color: var(--pm-charcoal); font-weight: 600;
    border-bottom: 1px solid var(--pm-green);
}
.pm-pagination .page-numbers .prev,
.pm-pagination .page-numbers .next {
    font-size: 18px; padding: 0 12px;
    color: var(--pm-charcoal);
}
.pm-pagination .page-numbers .dots {
    border: 0; color: var(--pm-charcoal-light);
}
.pm-pagination__info {
    text-align: center; font-size: 11px; font-weight: 500; letter-spacing: 1.4px;
    text-transform: uppercase; color: var(--pm-charcoal-light); margin-top: 14px;
}

/* No products */
.pm-no-products {
    text-align: center;
    padding: 60px 20px;
    color: var(--pm-charcoal-light);
}

.pm-no-products h3 {
    margin-top: 16px;
    color: var(--pm-charcoal);
}

/* SEO text */
.pm-archive__seo-text {
    background: var(--pm-gray-100);
    padding: 40px 0;
}

.pm-seo-content {
    max-width: 800px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--pm-charcoal-light);
}

/* ============================================================
   SINGLE PRODUCT PAGE — Luxury Editorial (V2, replaces XStore template)
   ============================================================ */

/* Slim breadcrumbs — refined, low-noise */
.pm-product__crumbs { padding: 16px 0 8px; font-size: 12px; font-weight: 400; letter-spacing: .1px; color: var(--pm-charcoal-light); }
.pm-product__crumbs a { color: var(--pm-charcoal-light); text-decoration: none; transition: color .2s ease; }
.pm-product__crumbs a:hover { color: var(--pm-green); }
.pm-product__crumbs .rank-math-breadcrumb p { margin: 0; }
.pm-product__crumbs .separator { margin: 0 6px; opacity: .45; font-weight: 300; }
.pm-product__crumbs .last { color: var(--pm-charcoal); font-weight: 400; }

/* Main 2-column layout */
.pm-product__main { padding: 24px 0 80px; }
.pm-product__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}

/* ----- GALLERY (main image on top, thumbnail carousel below) ----- */
.pm-product__gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: stretch;
}
.pm-gallery__main {
    position: relative;
    background: #FFFFFF;
    aspect-ratio: 1/1;        /* Square — matches Royal Canin / Hills product photo shape */
    overflow: hidden;
}
.pm-gallery__main img {
    width: 100%; height: 100%;
    object-fit: contain;       /* Whole product visible, white margins preserved */
    object-position: center;
    display: block;
    padding: 6%;               /* Safety margin around the product */
    transition: transform .8s cubic-bezier(.16,1,.3,1);
}
.pm-gallery__main:hover img { transform: scale(1.04); }

/* Thumbnail row — horizontal carousel, constrained to the image-area width */
.pm-gallery__thumbs-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
}
.pm-gallery__thumbs {
    display: flex;
    flex-direction: row;
    gap: 10px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;       /* Firefox */
    -ms-overflow-style: none;
    padding: 2px;
    flex: 1 1 auto;
    min-width: 0;
}
.pm-gallery__thumbs::-webkit-scrollbar { display: none; }
.pm-gallery__thumb {
    width: 76px; height: 76px;
    flex-shrink: 0;
    scroll-snap-align: start;
    padding: 0;
    border: 1px solid transparent;
    background: #fff;
    cursor: pointer;
    overflow: hidden;
    transition: border-color .25s ease, opacity .25s ease, transform .25s ease;
    opacity: .65;
}
.pm-gallery__thumb img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 8%;
    display: block;
    background: #fff;
}
.pm-gallery__thumb:hover { opacity: 1; }
.pm-gallery__thumb.is-active {
    border-color: var(--pm-green-dark);
    opacity: 1;
}
/* Prev/Next arrow buttons — appear when overflow exists */
.pm-gallery__nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px; height: 32px;
    flex-shrink: 0;
    background: #fff;
    border: 1px solid rgba(25,36,27,.14);
    color: var(--pm-charcoal);
    cursor: pointer;
    border-radius: 50%;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease, opacity .25s ease;
}
.pm-gallery__nav:hover {
    background: var(--pm-green-dark);
    border-color: var(--pm-green-dark);
    color: #fff;
}
.pm-gallery__nav[disabled],
.pm-gallery__nav.is-disabled {
    opacity: .3;
    pointer-events: none;
}
.pm-product__gallery.pm-product__gallery--single .pm-gallery__thumbs-wrap {
    display: none;
}

/* ----- SHIPPING CUT-OFF LINE (single info line, replaces the 3 trust badges) ----- */
.pm-product__shipinfo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 16px 0 0;
    padding: 12px 14px;
    background: rgba(190,157,92,.08);
    border-left: 2px solid var(--pm-gold);
    font-size: 13.5px;
    color: var(--pm-charcoal);
    line-height: 1.45;
}
.pm-product__shipinfo svg {
    color: var(--pm-gold-dark);
    flex-shrink: 0;
}
.pm-product__shipinfo strong {
    color: var(--pm-green-dark);
    font-weight: 600;
}

/* ----- INFO COLUMN (sticky) ----- */
.pm-product__info { position: relative; }
.pm-product__info-inner { position: sticky; top: 110px; padding: 0 0 0 16px; }
.pm-product__brand {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--pm-green) !important;
    text-decoration: none !important;
    margin-bottom: 14px;
    transition: opacity .2s ease;
}
.pm-product__brand:hover { opacity: .7; }
.pm-product__title {
    font-size: 30px;
    font-weight: 400;
    line-height: 1.22;
    color: var(--pm-charcoal);
    margin: 0 0 18px;
    letter-spacing: -.3px;
}
.pm-product__price {
    font-size: 22px;
    font-weight: 500;
    color: var(--pm-charcoal);
    margin: 0 0 20px;
    line-height: 1.3;
}
.pm-product__price del { color: var(--pm-charcoal-light); opacity: .65; font-weight: 300; margin-right: 10px; font-size: 18px; }
.pm-product__price ins { text-decoration: none; color: var(--pm-charcoal); font-weight: 500; }
.pm-product__short {
    font-size: 15px;
    font-weight: 300;
    line-height: 1.75;
    color: var(--pm-charcoal-light);
    padding: 20px 0;
    margin: 0 0 24px;
    border-top: 1px solid rgba(74,122,92,.16);
    border-bottom: 1px solid rgba(74,122,92,.16);
}
.pm-product__short p:last-child { margin-bottom: 0; }

/* Add-to-cart form (WC native) — refined wrapper */
.pm-product__atc { margin-bottom: 28px; }
.pm-product__atc form.cart {
    display: flex !important;
    align-items: stretch;
    gap: 14px;
    margin: 0 !important;
    padding: 0 !important;
    flex-wrap: wrap;
}
.pm-product__atc .quantity {
    display: inline-flex !important;
    align-items: center;
    border: 1px solid var(--pm-charcoal-light) !important;
    height: 56px;
    width: 130px;
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
}
.pm-product__atc .quantity label { display: none !important; }
.pm-product__atc .quantity .qty,
.pm-product__atc .quantity input.qty {
    width: 100% !important;
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    color: var(--pm-charcoal) !important;
    box-shadow: none !important;
    -moz-appearance: textfield;
}
.pm-product__atc .quantity input.qty::-webkit-outer-spin-button,
.pm-product__atc .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
/* XStore qty +/- buttons */
.pm-product__atc .quantity .quantity-button,
.pm-product__atc .quantity .qty-button,
.pm-product__atc .quantity .et-qty-minus,
.pm-product__atc .quantity .et-qty-plus,
.pm-product__atc .quantity .plus,
.pm-product__atc .quantity .minus {
    width: 38px !important;
    background: transparent !important;
    border: 0 !important;
    color: var(--pm-charcoal) !important;
    font-size: 18px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    height: 100% !important;
    padding: 0 !important;
}
.pm-product__atc .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button {
    flex: 1 !important;
    height: 56px !important;
    background: var(--pm-orange) !important;
    background-color: var(--pm-orange) !important;
    border: 0 !important;
    border-radius: 0 !important;
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    padding: 0 32px !important;
    box-shadow: none !important;
    transform: none !important;
    transition: background-color .25s ease !important;
}
.pm-product__atc .single_add_to_cart_button:hover,
.single-product form.cart .single_add_to_cart_button:hover {
    background: var(--pm-orange-hover) !important;
    background-color: var(--pm-orange-hover) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Variations table */
.pm-product__atc table.variations { margin-bottom: 20px !important; }
.pm-product__atc table.variations th,
.pm-product__atc table.variations td { padding: 8px 0 !important; }
.pm-product__atc table.variations label {
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
}

/* Trust badges removed from the info panel (duplicated the footer strip + accordion).
   Replaced by .pm-product__shipinfo above. Keep these rules archived in case the
   markup gets re-introduced — safe no-ops if unused. */
.pm-product__trust { display: none !important; }

/* Meta (SKU + categories) */
.pm-product__meta {
    padding-top: 22px;
    border-top: 1px solid rgba(74,122,92,.16);
    font-size: 12px;
    color: var(--pm-charcoal-light);
    line-height: 1.7;
    letter-spacing: .2px;
}
.pm-product__meta strong { color: var(--pm-charcoal); font-weight: 500; }
.pm-product__meta .pm-product__sku { display: block; }
.pm-product__meta .pm-product__cats a { color: var(--pm-charcoal-light) !important; text-decoration: none; }
.pm-product__meta .pm-product__cats a:hover { color: var(--pm-green) !important; }

/* ----- ACCORDION / TAB-PANEL SECTIONS -----
   On desktop (when JS is active), these behave as TAB PANELS controlled by the tab nav above:
     - .pm-acc__head (the accordion summary/title) is hidden
     - Only ONE .pm-acc is visible at a time — others get .pm-acc--hidden
     - The tabs above are the single visible navigation
   On no-JS / fallback, they still work as native <details> accordions. */
.pm-product__sections {
    padding: 0 0 80px;
    /* Removed max-width/auto-center — content now aligns with the rest of the page
       inside .pm-container (1280px). Readable text widths are capped per-element via
       .pm-acc__body max-width below. */
}
/* Constrain long-form readable content (descriptions, etc.) but anchor LEFT.
   Tables and structured content can fill the wider container. */
.pm-acc__body > p,
.pm-acc__body > ul,
.pm-acc__body > ol,
.pm-acc__body > h2,
.pm-acc__body > h3,
.pm-acc__body > h4 {
    max-width: 880px;
}
.pm-acc { border-top: 1px solid rgba(74,122,92,.16); }
.pm-product__sections .pm-acc:last-child { border-bottom: 1px solid rgba(74,122,92,.16); }
.pm-acc[open] .pm-acc__icon::before { content: '–'; }

/* When the tab system is active, hide accordion summaries (the tabs above ARE the label)
   and force the body visible regardless of <details> open state. */
.pm-product__sections.is-tabbed .pm-acc {
    border-top: 0;
}
.pm-product__sections.is-tabbed .pm-acc:last-child {
    border-bottom: 0;
}
.pm-product__sections.is-tabbed .pm-acc__head {
    display: none !important;
}
.pm-product__sections.is-tabbed .pm-acc__body {
    display: block !important;
    padding-top: 8px;
}
.pm-product__sections.is-tabbed .pm-acc--hidden {
    display: none !important;
}

.pm-acc__head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 22px 0;
    cursor: pointer;
    list-style: none;
    user-select: none;
}
.pm-acc__head::-webkit-details-marker { display: none; }
.pm-acc__title {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2.2px;
    text-transform: uppercase;
    color: var(--pm-charcoal);
}
.pm-acc__icon {
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    color: var(--pm-charcoal);
    width: 22px;
    text-align: center;
}
.pm-acc__icon::before { content: '+'; }
.pm-acc__body {
    padding: 0 0 28px;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.8;
    color: var(--pm-charcoal-light);
}
.pm-acc__body p:last-child { margin-bottom: 0; }
.pm-acc__body table { width: 100%; border-collapse: collapse; }
.pm-acc__body table th, .pm-acc__body table td {
    padding: 12px 0;
    border-bottom: 1px solid rgba(74,122,92,.12);
    text-align: left;
    font-size: 14px;
}
.pm-acc__body table th {
    width: 30%;
    font-weight: 500;
    color: var(--pm-charcoal);
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-size: 11px;
}

/* ----- STORY BLOCK ----- */
.pm-product__story { background: #FAF7F2; padding: 84px 20px; text-align: center; }
.pm-product__story-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pm-green);
    margin-bottom: 22px;
    position: relative;
    padding: 0 38px;
}
.pm-product__story-eyebrow::before,
.pm-product__story-eyebrow::after { content: ''; position: absolute; top: 50%; width: 26px; height: 1px; background: var(--pm-green); }
.pm-product__story-eyebrow::before { left: 0; }
.pm-product__story-eyebrow::after { right: 0; }
.pm-product__story-text {
    font-family: inherit;
    font-size: 19px;
    font-weight: 300;
    line-height: 1.6;
    color: var(--pm-charcoal);
    max-width: 640px;
    margin: 0 auto;
    letter-spacing: -.1px;
}
.pm-product__story-text em { font-style: italic; color: var(--pm-orange); font-weight: 500; }
.pm-product__story-meta { margin-top: 28px; display: inline-flex; gap: 48px; padding-top: 22px; border-top: 1px solid rgba(74,122,92,.24); }
.pm-product__story-meta > span { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.pm-product__story-meta .pm-meta-label { font-size: 10px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--pm-charcoal-light); }
.pm-product__story-meta strong { font-size: 16px; font-weight: 500; color: var(--pm-charcoal); }

/* ----- STOCK URGENCY (subtle) ----- */
.pm-product__stock-warn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: .3px;
    color: var(--pm-orange);
    margin: -8px 0 18px;
    padding: 0;
}
.pm-product__stock-dot {
    display: inline-block;
    width: 8px; height: 8px;
    border-radius: 50%;
    background: var(--pm-orange);
    animation: pmPulse 1.8s ease-in-out infinite;
}
@keyframes pmPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .55; transform: scale(.85); }
}

/* ----- BUNDLE "Completează experiența" ----- */
.pm-bundle { background: #FAF7F2; padding: 80px 0; border-top: 1px solid rgba(74,122,92,.12); }
.pm-bundle__head { text-align: center; margin-bottom: 40px; }
.pm-bundle__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pm-green);
    margin-bottom: 14px;
}
.pm-bundle__title {
    font-size: 28px;
    font-weight: 400;
    color: var(--pm-charcoal);
    line-height: 1.25;
    letter-spacing: -.2px;
    margin: 0;
}
.pm-bundle__row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin-bottom: 36px;
}
.pm-bundle__item {
    display: flex;
    flex-direction: column;
    gap: 14px;
    flex: 1 1 0;
    min-width: 160px;
    max-width: 220px;
    text-align: center;
    background: #fff;
    padding: 20px 16px;
}
.pm-bundle__img-link { display: block; aspect-ratio: 1/1; overflow: hidden; background: #F4F1EC; }
.pm-bundle__img-link img { width: 100%; height: 100%; object-fit: contain; padding: 8%; background: #fff; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.pm-bundle__item:hover .pm-bundle__img-link img { transform: scale(1.04); }
.pm-bundle__details { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pm-bundle__brand {
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
}
.pm-bundle__name {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--pm-charcoal) !important;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color .2s ease;
}
.pm-bundle__name em { font-style: italic; font-size: 11px; color: var(--pm-green); font-weight: 500; }
.pm-bundle__name:hover { color: var(--pm-green) !important; }
.pm-bundle__price { font-size: 13px; font-weight: 500; color: var(--pm-charcoal); margin-top: auto; }
.pm-bundle__plus {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 200;
    color: var(--pm-green);
    flex: 0 0 32px;
    line-height: 1;
}
.pm-bundle__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    padding-top: 28px;
    border-top: 1px solid rgba(74,122,92,.16);
}
.pm-bundle__total { font-size: 14px; color: var(--pm-charcoal-light); letter-spacing: .2px; }
.pm-bundle__total strong { color: var(--pm-charcoal); font-size: 20px; font-weight: 500; margin-left: 8px; }
.pm-bundle__btn {
    background: #2A4F3C;
    border: 0;
    color: #fff;
    padding: 16px 36px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    font-family: inherit;
    transition: background-color .25s ease;
}
.pm-bundle__btn:hover { background: #1F4332; }
.pm-bundle__btn:disabled { opacity: .65; cursor: wait; }

/* ----- FREE SHIPPING PROGRESS BAR ----- */
.pm-ship-progress { margin: 0 0 32px; padding: 18px 22px; background: #fff; border: 1px solid rgba(74,122,92,.16); }
.pm-ship-progress.is-complete { border-color: var(--pm-green); background: rgba(74,122,92,.04); }
.pm-ship-progress__label { font-size: 13px; color: var(--pm-charcoal); margin: 0 0 10px; line-height: 1.4; letter-spacing: .15px; }
.pm-ship-progress__label strong { color: var(--pm-green); font-weight: 600; }
.pm-ship-progress__check { display: inline-block; color: var(--pm-green); font-size: 16px; margin-right: 4px; }
.pm-ship-progress__bar { width: 100%; height: 4px; background: rgba(74,122,92,.16); position: relative; overflow: hidden; }
.pm-ship-progress__fill { height: 100%; background: var(--pm-green); transition: width .6s cubic-bezier(.16,1,.3,1); }

/* ----- RESPONSIVE: bundle + meta ----- */
@media (max-width: 1024px) {
    .pm-bundle__row { gap: 8px; }
    .pm-bundle__plus { font-size: 24px; flex-basis: 22px; }
    .pm-bundle__title { font-size: 24px; }
}
@media (max-width: 740px) {
    .pm-bundle { padding: 56px 0; }
    .pm-bundle__row { flex-direction: column; gap: 0; }
    .pm-bundle__item { max-width: 100%; flex-direction: row; text-align: left; align-items: center; padding: 14px; }
    .pm-bundle__img-link { width: 80px; flex-shrink: 0; aspect-ratio: 1/1; }
    .pm-bundle__details { padding-left: 14px; gap: 4px; }
    .pm-bundle__plus { font-size: 20px; padding: 6px 0; flex-basis: auto; }
    .pm-bundle__cta { flex-direction: column; gap: 16px; }
    .pm-bundle__btn { width: 100%; }
    .pm-bundle__title { font-size: 20px; }
    .pm-product__story-meta { flex-direction: row; gap: 28px; }
}

/* ----- RELATED ----- */
.pm-product__related { padding: 80px 0; background: #fff; }
.pm-sec__head--left { align-items: flex-start; text-align: left; }
.pm-product__related .pm-product-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 24px !important;
    list-style: none;
    padding: 0;
    margin: 0;
}

/* ----- STICKY MOBILE/DESKTOP CART BAR ----- */
.pm-sticky-cart {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #fff;
    border-top: 1px solid rgba(74,122,92,.2);
    padding: 12px 0;
    z-index: 90;
    transform: translateY(100%);
    transition: transform .35s cubic-bezier(.16,1,.3,1);
    box-shadow: 0 -4px 18px rgba(25,36,27,.06);
}
.pm-sticky-cart.is-visible { transform: translateY(0); }
.pm-sticky-cart__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.pm-sticky-cart__info { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.pm-sticky-cart__info img { width: 48px; height: 48px; object-fit: contain; padding: 4px; flex-shrink: 0; background: #fff; }
.pm-sticky-cart__info > div { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pm-sticky-cart__name { font-size: 14px; font-weight: 500; color: var(--pm-charcoal); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.pm-sticky-cart__price { font-size: 13px; color: var(--pm-charcoal-light); font-weight: 400; }
.pm-sticky-cart__price del { display: none; }
.pm-sticky-cart__btn {
    flex-shrink: 0;
    background: #2A4F3C !important;
    color: #fff !important;
    padding: 12px 26px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color .25s ease;
}
.pm-sticky-cart__btn:hover { background: #1F4332 !important; }

/* ----- RESPONSIVE ----- */
@media (max-width: 1024px) {
    .pm-product__grid { grid-template-columns: 1fr; gap: 40px; }
    .pm-product__info-inner { position: static; padding: 0; }
    .pm-gallery__thumb { width: 64px; height: 64px; }
    .pm-product__title { font-size: 26px; }
    .pm-product__related .pm-product-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
@media (max-width: 740px) {
    .pm-product__main { padding: 16px 0 60px; }
    .pm-product__crumbs { padding: 16px 0 10px; font-size: 10px; letter-spacing: 1px; }

    .pm-gallery__thumbs { gap: 6px; }
    .pm-gallery__thumb { width: 56px; height: 56px; }
    .pm-gallery__nav { width: 28px; height: 28px; }

    .pm-product__title { font-size: 22px; margin-bottom: 12px; }
    .pm-product__price { font-size: 19px; }
    .pm-product__short { font-size: 14px; padding: 14px 0; margin-bottom: 18px; }

    .pm-product__atc form.cart { flex-direction: column; gap: 10px; }
    .pm-product__atc .quantity { width: 100%; height: 52px; }
    .pm-product__atc .single_add_to_cart_button,
    .single-product form.cart .single_add_to_cart_button { height: 52px !important; font-size: 12px !important; }

    .pm-product__related .pm-product-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 14px !important; }
    .pm-product__sections { padding: 0 0 50px; }
    .pm-acc__head { padding: 18px 0; }
    .pm-acc__title { font-size: 12px; letter-spacing: 2px; }
    .pm-product__story { padding: 56px 20px; }
    .pm-product__story-text { font-size: 16px; }

    .pm-sticky-cart__info img { width: 40px; height: 40px; }
    .pm-sticky-cart__name { max-width: 140px; font-size: 13px; }
    .pm-sticky-cart__price { font-size: 12px; }
    .pm-sticky-cart__btn { padding: 10px 18px; font-size: 10px; letter-spacing: 1.4px; }
}

/* ============================================================
   SINGLE PRODUCT LAYOUT (XStore native template, styled by us)
   ============================================================ */

/* Container: wider to match our 1280px standard */
.single-product .content-page.container {
    max-width: 1280px !important;
    width: 100% !important;
    padding: 0 20px;
}

/* ---- Breadcrumbs bar ---- */
.single-product .page-heading {
    background: var(--pm-gray-100);
    padding: 12px 0;
    margin-bottom: 24px;
}

.single-product .page-heading .container {
    max-width: 1280px !important;
}

/* Override XStore's centered layout - make flex row */
.single-product .page-heading .col-md-12 {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    text-align: left !important;
}

/* Breadcrumbs left */
.single-product .page-heading .woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--pm-charcoal-light);
    margin: 0;
}

.single-product .page-heading .woocommerce-breadcrumb a {
    color: var(--pm-charcoal-light) !important;
    text-decoration: none;
}

.single-product .page-heading .woocommerce-breadcrumb a:hover {
    color: var(--pm-orange) !important;
}

/* "Back" link - right side, same style as breadcrumbs */
.single-product .page-heading .back-history {
    font-size: 13px !important;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
    white-space: nowrap;
    margin-left: auto;
}

.single-product .page-heading .back-history:hover {
    color: var(--pm-orange) !important;
}

/* ---- Gallery: sticky, thumbnails smaller ---- */
.single-product .product-images {
    position: sticky;
    top: 100px;
}

/* Thumbnails: smaller, styled */
.single-product .thumbnails-list .thumbnail-item {
    border: 2px solid var(--pm-gray-200) !important;
    border-radius: var(--pm-radius) !important;
    background: var(--pm-gray-100);
    transition: border-color .2s;
}

.single-product .thumbnails-list .thumbnail-item:hover,
.single-product .thumbnails-list .swiper-slide-active {
    border-color: var(--pm-orange) !important;
}

.single-product .swiper-control-bottom {
    margin-top: 8px;
}

/* Make thumbnails smaller via XStore's data-slides */
.single-product .swiper-control-bottom .thumbnail-item img {
    padding: 3px;
    object-fit: contain;
}

/* ---- Product info: spacing ---- */
.single-product .product-information-inner {
    padding-left: 24px;
}

/* Brand label - bordered, distinct from stock badge */
.pm-product__brand {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pm-charcoal);
    background: transparent;
    border: 1.5px solid var(--pm-gray-300);
    padding: 5px 14px;
    border-radius: var(--pm-radius);
    margin-bottom: 10px;
}

/* Title */
.single-product .product_title {
    font-size: 26px !important;
    font-weight: 700 !important;
    color: var(--pm-charcoal) !important;
    line-height: 1.3;
    margin-bottom: 10px !important;
    font-family: var(--pm-font-heading) !important;
}

/* Short description */
.single-product .woocommerce-product-details__short-description {
    font-size: 15px;
    line-height: 1.65;
    color: var(--pm-charcoal-light);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pm-gray-200);
}

/* Price */
.single-product .summary .price {
    font-size: 28px !important;
    font-weight: 800 !important;
    color: var(--pm-charcoal) !important;
    margin-bottom: 8px !important;
    font-family: var(--pm-font-heading) !important;
}
.single-product .summary .price ins { text-decoration: none; color: var(--pm-orange); }
.single-product .summary .price del { font-size: 16px !important; color: var(--pm-charcoal-light); opacity: .5; }

/* Stock badge */
.pm-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.pm-stock-badge--in { color: var(--pm-green); background: var(--pm-green-light); }
.pm-stock-badge--out { color: #E53935; background: #FFEBEE; }

/* ---- ATC: remove margin-right on quantity ---- */
.single-product form.cart .quantity {
    margin-right: 0 !important;
}

/* ---- Delivery info box ---- */
.pm-product__delivery {
    background: var(--pm-gray-100);
    border-radius: var(--pm-radius);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 16px 0;
}
.pm-delivery-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--pm-charcoal);
}
.pm-delivery-row svg { flex-shrink: 0; }

/* Safe checkout */
.pm-product__safe-checkout { margin-bottom: 16px; }
.pm-product__safe-checkout .sales-booster-safe-checkout {
    border: 1px solid var(--pm-gray-200);
    border-radius: var(--pm-radius);
    padding: 12px 16px;
}
.pm-product__safe-checkout .sales-booster-safe-checkout fieldset { border: none; padding: 0; margin: 0; }
.pm-product__safe-checkout .sales-booster-safe-checkout legend {
    font-size: 12px; font-weight: 600; color: var(--pm-charcoal-light); text-transform: uppercase; letter-spacing: .5px;
}

/* ---- Upsell section (clean, no gray bg) ---- */
.pm-product__section-title {
    font-size: 22px; font-weight: 700; color: var(--pm-charcoal); margin: 0 0 20px;
}

.pm-product__upsell-section {
    padding: 40px 0;
    margin-top: 24px;
    border-top: 1px solid var(--pm-gray-200);
}

.pm-product__upsell-section .pm-carousel__btn { display: none; }
.pm-product__upsell-section .pm-carousel { overflow: hidden; }

/* ---- Hide XStore meta/delivery duplicate ---- */
.single-product .product_meta { display: none !important; }
.single-product .sales-booster-estimated-delivery { display: none !important; }

/* ---- XStore Sticky Add to Cart bar ---- */
.etheme-sticky-cart {
    background: var(--pm-white) !important;
    border-top: 1px solid var(--pm-gray-200) !important;
    box-shadow: 0 -2px 10px rgba(0,0,0,.06) !important;
    padding: 8px 0 !important;
}

/* Hide our custom elements inside sticky cart */
.etheme-sticky-cart .pm-product__delivery,
.etheme-sticky-cart .pm-product__safe-checkout,
.etheme-sticky-cart .pm-stock-badge,
.etheme-sticky-cart .pm-product__brand,
.etheme-sticky-cart .single-wishlist,
.etheme-sticky-cart .woocommerce-product-details__short-description,
.etheme-sticky-cart .sales-booster-safe-checkout,
.etheme-sticky-cart .sales-booster-estimated-delivery {
    display: none !important;
}

/* Sticky cart product image */
.etheme-sticky-cart img {
    width: 40px !important;
    height: 40px !important;
    object-fit: contain;
    border-radius: 4px;
    margin-right: 10px;
}

/* Sticky cart title */
.etheme-sticky-cart .sticky_product_title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--pm-charcoal) !important;
}

/* Sticky cart price */
.etheme-sticky-cart .price {
    font-size: 16px !important;
    font-weight: 700 !important;
    color: var(--pm-charcoal) !important;
    margin-right: 12px !important;
}

/* Sticky cart quantity */
.etheme-sticky-cart .quantity {
    height: 38px !important;
    border: 1px solid var(--pm-gray-300) !important;
    border-radius: var(--pm-radius) 0 0 var(--pm-radius) !important;
    border-right: none !important;
}

.etheme-sticky-cart .quantity input.qty {
    width: 36px !important;
    font-size: 14px !important;
}

.etheme-sticky-cart .quantity .minus,
.etheme-sticky-cart .quantity .plus {
    width: 32px !important;
}

/* Sticky cart button */
.etheme-sticky-cart .single_add_to_cart_button {
    height: 38px !important;
    font-size: 13px !important;
    padding: 0 20px !important;
    border-radius: 0 var(--pm-radius) var(--pm-radius) 0 !important;
    background: var(--pm-orange) !important;
    border-color: var(--pm-orange) !important;
}

/* ---- TABS (styled like our original design) ---- */
.single-product .woocommerce-tabs {
    background: var(--pm-white);
    border-radius: var(--pm-radius-lg);
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    overflow: hidden;
    margin-top: 24px;
}

.single-product .wc-tabs,
.single-product .tabs-nav {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid var(--pm-gray-200) !important;
    background: var(--pm-gray-100) !important;
}

.single-product .wc-tabs li,
.single-product .tabs-nav li {
    list-style: none;
    margin: 0 !important;
}

.single-product .wc-tabs li a,
.single-product .tabs-nav li a {
    display: block;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 13px;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.single-product .wc-tabs li a:hover,
.single-product .tabs-nav li a:hover {
    color: var(--pm-charcoal) !important;
}

.single-product .wc-tabs li.active a,
.single-product .wc-tabs li a.opened,
.single-product .tabs-nav li a.opened {
    color: var(--pm-orange) !important;
    border-bottom-color: var(--pm-orange) !important;
    background: var(--pm-white);
}

/* Tab content */
.single-product .tab-content,
.single-product .woocommerce-Tabs-panel {
    padding: 32px 36px;
}

.single-product .tab-content-inner {
    max-width: 100%;
}

/* Hide redundant Description heading */
.single-product .tab-content > h2:first-child,
.single-product .tab-content-inner > h2:first-child {
    display: none;
}

/* Description labels */
.single-product .tab-content .pm-desc-label,
.single-product .tab-content h3 {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--pm-charcoal) !important;
    margin: 20px 0 8px !important;
    padding: 8px 14px !important;
    background: var(--pm-gray-100) !important;
    border-left: 3px solid var(--pm-green) !important;
    border-radius: 0 var(--pm-radius) var(--pm-radius) 0 !important;
}

.single-product .tab-content h3:first-child,
.single-product .tab-content .pm-desc-label:first-child {
    margin-top: 0 !important;
}

/* Paragraphs in tabs */
.single-product .tab-content p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--pm-charcoal-light);
    margin-bottom: 14px;
}

/* Lists in tabs */
.single-product .tab-content ul {
    list-style: none !important;
    padding: 10px 16px !important;
    margin: 0 0 16px !important;
    background: var(--pm-gray-100);
    border-radius: var(--pm-radius);
}

.single-product .tab-content ul li {
    font-size: 13px;
    line-height: 1.65;
    color: var(--pm-charcoal-light);
    padding: 5px 0 5px 20px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,.04);
}

.single-product .tab-content ul li:last-child { border-bottom: none; }

.single-product .tab-content ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    background: var(--pm-green);
    border-radius: 50%;
    opacity: .5;
}

/* Attributes table */
.single-product .shop_attributes {
    width: 100%;
    border-collapse: collapse;
}
.single-product .shop_attributes th {
    font-size: 13px; font-weight: 600; color: var(--pm-charcoal);
    text-align: left; padding: 10px 16px; background: var(--pm-gray-100);
    border-bottom: 1px solid var(--pm-gray-200); width: 35%;
}
.single-product .shop_attributes td {
    font-size: 13px; color: var(--pm-charcoal-light);
    padding: 10px 16px; border-bottom: 1px solid var(--pm-gray-100);
}
.single-product .shop_attributes td p { margin: 0; }

/* Reviews - no green bullets */
.single-product #reviews ul li::before { display: none; }
.single-product #reviews ul { background: none; padding: 0 !important; }

/* ---- Related products section ---- */
.single-product .related.products {
    padding: 40px 0 80px !important;
    margin-bottom: 0 !important;
}

.single-product .related.products > h2 {
    font-size: 22px;
    font-weight: 700;
    color: var(--pm-charcoal);
    margin-bottom: 24px;
    text-align: left;
}

/* Force horizontal scroll carousel - override XStore Bootstrap row */
.single-product .related.products .products,
.single-product .related.products .row.products,
.single-product .related.products .products-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
    margin: 0 !important;
}

.single-product .related.products .products::-webkit-scrollbar { display: none; }

.single-product .related.products .products > div,
.single-product .related.products .products > .product {
    flex: 0 0 calc(16.666% - 12px) !important;
    min-width: 180px !important;
    max-width: calc(16.666% - 12px) !important;
    scroll-snap-align: start;
    width: auto !important;
    float: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

@media (max-width: 1024px) {
    .single-product .related.products .products > div,
    .single-product .related.products .products > .product {
        flex: 0 0 calc(25% - 11px) !important;
        min-width: 200px !important;
        max-width: calc(25% - 11px) !important;
    }
}

@media (max-width: 768px) {
    .single-product .related.products .products > div,
    .single-product .related.products .products > .product {
        flex: 0 0 calc(50% - 7px) !important;
        min-width: 160px !important;
        max-width: calc(50% - 7px) !important;
    }
}

/* Brand label - bordered, distinct from stock badge */
.pm-product__brand {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pm-charcoal);
    background: transparent;
    border: 1.5px solid var(--pm-gray-300);
    padding: 5px 14px;
    border-radius: var(--pm-radius);
    margin-bottom: 10px;
}

/* Title */
.pm-product__title {
    font-size: 26px;
    font-weight: 700;
    color: var(--pm-charcoal);
    line-height: 1.3;
    margin: 0 0 10px;
}

/* Rating */
.pm-product__rating { margin-bottom: 12px; }

/* Short desc */
.pm-product__short-desc {
    font-size: 15px;
    line-height: 1.65;
    color: var(--pm-charcoal-light);
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pm-gray-200);
}

.pm-product__short-desc p { margin-bottom: 8px; }
.pm-product__short-desc p:last-child { margin-bottom: 0; }

/* Price + Stock (stock on its own line) */
.pm-product__price-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.pm-product__price-block .price {
    font-size: 28px !important;
    font-weight: 800;
    color: var(--pm-charcoal);
}

.pm-product__price-block .price ins { text-decoration: none; color: var(--pm-orange); }
.pm-product__price-block .price del { font-size: 16px !important; color: var(--pm-charcoal-light); opacity: .5; }

.pm-stock-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    align-self: flex-start; /* don't stretch full width */
}

.pm-stock-badge--in { color: var(--pm-green); background: var(--pm-green-light); }
.pm-stock-badge--out { color: #E53935; background: #FFEBEE; }

/* ---- SINGLE PRODUCT: ADD TO CART (redesigned) ---- */
.pm-product__atc,
.single-product .pm-product__atc {
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--pm-gray-200);
}

.pm-product__atc form.cart,
.single-product form.cart {
    display: flex;
    align-items: stretch;
    gap: 0;
    flex-wrap: wrap;
}

/* Wishlist on its own row */
.pm-product__atc .single-wishlist,
.single-product form.cart .single-wishlist {
    flex-basis: 100%;
    width: 100%;
    margin-top: 10px;
}

.single-product .single-wishlist .xstore-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
}

.single-product .single-wishlist .xstore-wishlist:hover {
    color: var(--pm-orange) !important;
}

.single-product .single-wishlist .mt-mes { display: none; }

/* Quantity + ATC: same height as the orange Adaugă-în-coș button.
   The button rule at line ~1270 uses `height: 56px !important`; this used to
   say 52px here, so the quantity rendered 4px shorter than the button and the
   bottom edges didn't align. Match the button exactly so both lock together. */
.pm-product__atc .quantity,
.single-product form.cart .quantity {
    display: flex;
    align-items: center;
    border: 2px solid var(--pm-gray-300);
    border-radius: var(--pm-radius) 0 0 var(--pm-radius);
    overflow: hidden;
    background: var(--pm-white);
    border-right: none;
    height: 56px !important;
    flex-shrink: 0;
    box-sizing: border-box;
}

.pm-product__atc .quantity .minus,
.pm-product__atc .quantity .plus,
.single-product form.cart .quantity .minus,
.single-product form.cart .quantity .plus {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 100%;
    background: var(--pm-gray-100);
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--pm-charcoal);
    transition: all .2s;
    padding: 0;
}

.pm-product__atc .quantity .minus:hover,
.pm-product__atc .quantity .plus:hover,
.single-product form.cart .quantity .minus:hover,
.single-product form.cart .quantity .plus:hover {
    background: var(--pm-green-light);
    color: var(--pm-green);
}

.pm-product__atc .quantity input.qty,
.single-product form.cart .quantity input.qty {
    width: 44px;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid var(--pm-gray-200);
    border-right: 1px solid var(--pm-gray-200);
    font-size: 16px;
    font-weight: 700;
    color: var(--pm-charcoal);
    outline: none;
    padding: 0;
    -moz-appearance: textfield;
    box-sizing: border-box;
}

.pm-product__atc .quantity input.qty::-webkit-inner-spin-button,
.single-product form.cart .quantity input.qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

/* ATC button - joined to quantity, no gap */
.pm-product__atc .single_add_to_cart_button,
.single-product form.cart .single_add_to_cart_button {
    flex: 1;
    height: 56px;
    background: var(--pm-orange) !important;
    border: 2px solid var(--pm-orange) !important;
    color: var(--pm-white) !important;
    border-radius: 0 var(--pm-radius) var(--pm-radius) 0 !important;
    font-size: 15px !important;
    font-weight: 700;
    padding: 0 28px !important;
    cursor: pointer;
    transition: all .25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    line-height: 1;
    margin-left: 0 !important;
}

.pm-product__atc .single_add_to_cart_button:hover,
.single-product form.cart .single_add_to_cart_button:hover {
    background: var(--pm-orange-hover) !important;
    border-color: var(--pm-orange-hover) !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(241,105,34,.3);
}

/* Hide SKU, categories, tags, XStore delivery duplicate */
.single-product .product_meta,
.pm-product__info .product_meta { display: none !important; }
.single-product .products-page-cats,
.pm-product__info .products-page-cats { display: none !important; }
.single-product .sales-booster-estimated-delivery { display: none !important; }

/* ---- Wishlist button under ATC ---- */
.pm-product__atc .single-wishlist {
    margin-top: 12px;
}

.pm-product__atc .single-wishlist .xstore-wishlist {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 0;
    font-size: 14px;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
    transition: color .2s;
}

.pm-product__atc .single-wishlist .xstore-wishlist:hover {
    color: var(--pm-orange) !important;
}

.pm-product__atc .single-wishlist .et-icon {
    font-size: 16px;
}

.pm-product__atc .single-wishlist .button-text {
    font-weight: 500;
}

/* Hide tooltip on single */
.pm-product__atc .single-wishlist .mt-mes { display: none; }

/* ---- Delivery info ---- */
.pm-product__delivery {
    background: var(--pm-gray-100);
    border-radius: var(--pm-radius);
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.pm-delivery-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--pm-charcoal);
}

.pm-delivery-row svg { flex-shrink: 0; }
.pm-delivery-row strong { color: var(--pm-charcoal); }

/* ---- Fix carousel products on single product (Bootstrap override) ---- */
.pm-product__upsell-section .pm-carousel__slide .product,
.pm-product__related-section .pm-carousel__slide .product {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    float: none !important;
}

.pm-product__upsell-section .pm-carousel__slide .content-product,
.pm-product__related-section .pm-carousel__slide .content-product {
    height: 100%;
}

/* ---- Safe checkout ---- */
.pm-product__safe-checkout {
    margin-bottom: 16px;
}

.pm-product__safe-checkout .sales-booster-safe-checkout {
    border: 1px solid var(--pm-gray-200);
    border-radius: var(--pm-radius);
    padding: 12px 16px;
}

.pm-product__safe-checkout .sales-booster-safe-checkout fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

.pm-product__safe-checkout .sales-booster-safe-checkout legend {
    font-size: 12px;
    font-weight: 600;
    color: var(--pm-charcoal-light);
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pm-product__safe-checkout .sales-booster-safe-checkout img {
    height: 28px;
    width: auto;
}

/* ---- Section titles (upsell, related) ---- */
.pm-product__section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--pm-charcoal);
    margin: 0 0 20px;
}

/* Upsell section */
.pm-product__upsell-section {
    background: var(--pm-gray-100);
    padding: 40px 0;
}

/* 6-col carousel slides */
.pm-carousel__slide--6 {
    flex: 0 0 calc(16.666% - 14px) !important;
    min-width: 180px;
}

/* Related section */
.pm-product__related-section {
    padding: 40px 0;
}

/* Carousel on product page - hide nav buttons, use scroll instead */
.pm-product__upsell-section .pm-carousel__btn,
.pm-product__related-section .pm-carousel__btn {
    display: none;
}

.pm-product__upsell-section .pm-carousel,
.pm-product__related-section .pm-carousel {
    overflow: hidden;
}

.pm-product__upsell-section .pm-carousel__track,
.pm-product__related-section .pm-carousel__track {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
}

.pm-product__upsell-section .pm-carousel__slide,
.pm-product__related-section .pm-carousel__slide {
    scroll-snap-align: start;
}

/* Hide default WooCommerce related products (we render our own) */
.pm-product__related-section .related {
    display: none !important;
}

/* ---- PRODUCT TABS (XStore structure) ---- */
.pm-product__tabs-section {
    background: var(--pm-gray-100);
    padding: 48px 0;
}

.pm-product__tabs-section .woocommerce-tabs {
    background: var(--pm-white);
    border-radius: var(--pm-radius-lg);
    box-shadow: 0 1px 6px rgba(0,0,0,.06);
    overflow: hidden;
}

/* Tab navigation (XStore: .wc-tabs.tabs-nav) */
.pm-product__tabs-section .wc-tabs,
.pm-product__tabs-section .tabs-nav {
    display: flex !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border-bottom: 2px solid var(--pm-gray-200) !important;
    background: var(--pm-gray-100) !important;
    gap: 0;
}

.pm-product__tabs-section .wc-tabs li,
.pm-product__tabs-section .tabs-nav li {
    list-style: none;
    margin: 0 !important;
}

.pm-product__tabs-section .wc-tabs li a,
.pm-product__tabs-section .tabs-nav li a {
    display: block;
    padding: 16px 28px;
    font-weight: 600;
    font-size: 13px;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    transition: all .2s;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.pm-product__tabs-section .wc-tabs li a:hover,
.pm-product__tabs-section .tabs-nav li a:hover {
    color: var(--pm-charcoal) !important;
}

/* Active tab: XStore uses .opened on <a>, WC uses .active on <li> */
.pm-product__tabs-section .wc-tabs li.active a,
.pm-product__tabs-section .tabs-nav li a.opened,
.pm-product__tabs-section .wc-tabs li a.opened {
    color: var(--pm-orange) !important;
    border-bottom-color: var(--pm-orange) !important;
    background: var(--pm-white);
}

/* Tab content (XStore: .tab-content .tab-content-inner) */
.pm-product__tabs-section .tab-content,
.pm-product__tabs-section .woocommerce-Tabs-panel {
    padding: 32px 36px;
}

.pm-product__tabs-section .tab-content-inner {
    max-width: 860px;
}

/* Hide redundant Description heading */
.pm-product__tabs-section .tab-content > h2:first-child,
.pm-product__tabs-section .tab-content-inner > h2:first-child,
.pm-product__tabs-section .woocommerce-Tabs-panel > h2:first-child {
    display: none;
}

/* Section labels in tabs (h3 remaining from old data + .pm-desc-label from cleanup) */
.pm-product__tabs-section h3,
.pm-product__tabs-section .pm-desc-label {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--pm-charcoal) !important;
    margin: 20px 0 8px !important;
    padding: 8px 14px !important;
    background: var(--pm-gray-100) !important;
    border-left: 3px solid var(--pm-green) !important;
    border-radius: 0 var(--pm-radius) var(--pm-radius) 0 !important;
}

.pm-product__tabs-section .tab-content h3:first-child,
.pm-product__tabs-section .tab-content-inner h3:first-child,
.pm-product__tabs-section .tab-content .pm-desc-label:first-child {
    margin-top: 0 !important;
}

/* Paragraphs */
.pm-product__tabs-section p {
    font-size: 14px;
    line-height: 1.75;
    color: var(--pm-charcoal-light);
    margin-bottom: 14px;
}

/* Lists */
.pm-product__tabs-section .tab-content ul,
.pm-product__tabs-section .woocommerce-Tabs-panel ul {
    list-style: none !important;
    padding: 10px 16px !important;
    margin: 0 0 16px !important;
    background: var(--pm-gray-100);
    border-radius: var(--pm-radius);
}

.pm-product__tabs-section .tab-content ul li,
.pm-product__tabs-section .woocommerce-Tabs-panel ul li {
    font-size: 13px;
    line-height: 1.65;
    color: var(--pm-charcoal-light);
    padding: 5px 0 5px 20px;
    position: relative;
    border-bottom: 1px solid rgba(0,0,0,.04);
}

.pm-product__tabs-section .tab-content ul li:last-child,
.pm-product__tabs-section .woocommerce-Tabs-panel ul li:last-child {
    border-bottom: none;
}

.pm-product__tabs-section .tab-content ul li::before,
.pm-product__tabs-section .woocommerce-Tabs-panel ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 7px;
    height: 7px;
    background: var(--pm-green);
    border-radius: 50%;
    opacity: .5;
}

/* Attributes table */
.pm-product__tabs-section .shop_attributes {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.pm-product__tabs-section .shop_attributes th {
    font-size: 13px;
    font-weight: 600;
    color: var(--pm-charcoal);
    text-align: left;
    padding: 10px 16px;
    background: var(--pm-gray-100);
    border-bottom: 1px solid var(--pm-gray-200);
    width: 35%;
}

.pm-product__tabs-section .shop_attributes td {
    font-size: 13px;
    color: var(--pm-charcoal-light);
    padding: 10px 16px;
    border-bottom: 1px solid var(--pm-gray-100);
}

.pm-product__tabs-section .shop_attributes td p { margin: 0; }

/* Reviews */
.pm-product__tabs-section #reviews .comment-reply-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--pm-charcoal);
}

.pm-product__tabs-section #reviews .commentlist {
    list-style: none;
    padding: 0;
    background: none;
}

.pm-product__tabs-section #reviews .commentlist li {
    padding: 20px 0;
    border-bottom: 1px solid var(--pm-gray-200);
}

/* Don't style review list items as ingredient bullets */
.pm-product__tabs-section #reviews ul li::before { display: none; }

/* ---- Description content classes (from cleanup script) ---- */

/* Section label (replaces h3) */
.pm-desc-label {
    font-size: 14px;
    font-weight: 700;
    color: var(--pm-charcoal);
    margin: 20px 0 8px;
    padding: 8px 14px;
    background: var(--pm-gray-100);
    border-left: 3px solid var(--pm-green);
    border-radius: 0 var(--pm-radius) var(--pm-radius) 0;
}

.pm-desc-label:first-child { margin-top: 0; }

/* Checkmark list */
.pm-check-list {
    list-style: none !important;
    padding: 8px 0 !important;
    margin: 0 0 12px !important;
    background: none !important;
}

.pm-check-list li {
    padding: 4px 0 4px 24px !important;
    position: relative;
    font-size: 14px;
    color: var(--pm-charcoal);
    border-bottom: none !important;
}

.pm-check-list li::before {
    content: '✓' !important;
    position: absolute;
    left: 0;
    top: 4px;
    color: var(--pm-green) !important;
    font-weight: 700;
    font-size: 14px;
    width: auto !important;
    height: auto !important;
    background: none !important;
    border-radius: 0 !important;
    opacity: 1 !important;
}

/* Nutrition table */
.pm-nutrition-table {
    width: 100%;
    border-collapse: collapse;
    margin: 8px 0 16px;
    font-size: 13px;
}

.pm-nutrition-table td {
    padding: 8px 14px;
    border-bottom: 1px solid var(--pm-gray-200);
    color: var(--pm-charcoal-light);
}

.pm-nutrition-table td:first-child {
    font-weight: 600;
    color: var(--pm-charcoal);
    width: 50%;
    background: var(--pm-gray-100);
}

/* Feeding guide */
.pm-feeding-guide {
    margin: 8px 0 16px;
    background: var(--pm-gray-100);
    border-radius: var(--pm-radius);
    padding: 14px 16px;
}

.pm-feeding-guide strong {
    display: block;
    font-size: 13px;
    color: var(--pm-charcoal);
    margin-bottom: 8px;
}

.pm-feeding-scroll {
    font-size: 12px;
    line-height: 1.6;
    color: var(--pm-charcoal-light);
    overflow-x: auto;
    white-space: pre-wrap;
    font-family: var(--pm-font-body);
}

/* Short description on product page */
.pm-product__short-desc p {
    font-size: 15px;
    line-height: 1.65;
    color: var(--pm-charcoal-light);
    margin-bottom: 8px;
}

.pm-product__short-desc p:last-child {
    margin-bottom: 0;
}

/* Related */
.pm-product__related {
    padding: 48px 0;
}

.pm-product__related .related > h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.pm-product__related .products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
}

/* ============================================================
   WOOCOMMERCE RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .pm-archive__layout {
        grid-template-columns: 220px 1fr;
        gap: 24px;
    }

    .pm-product__layout {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }

    .pm-product__related .products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    /* Archive: sidebar becomes overlay on mobile */
    .pm-archive__layout {
        grid-template-columns: 1fr;
    }

    .pm-archive__sidebar {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 300px;
        max-width: 85vw;
        height: 100vh;
        background: var(--pm-white);
        z-index: 10001;
        padding: 0 20px 20px;
        overflow-y: auto;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
    }

    .pm-archive__sidebar.is-open {
        display: block;
    }

    .pm-sidebar__close-mobile {
        display: block !important;
    }

    .pm-filter-toggle {
        display: inline-flex !important;
    }

    .pm-product-grid,
    .pm-archive__products .products,
    .pm-archive__products ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    /* ---- MOBILE PRODUCT CARD OVERHAUL ---- */

    /* Image wrapper fills card width */
    .content-product .product-image-wrapper {
        aspect-ratio: 1/1 !important;
        width: 100% !important;
    }

    /* Images slider wrapper - fill parent */
    .content-product .images-slider-wrapper {
        width: 100% !important;
        height: 100% !important;
    }

    .content-product .product-content-image {
        width: 100% !important;
        height: 100% !important;
    }

    .content-product .product-content-image img,
    .content-product .product-image-wrapper img {
        width: 80% !important;
        height: 80% !important;
        object-fit: contain !important;
        margin: auto !important;
    }

    /* Hide slider arrows on mobile - too cramped */
    .content-product .images-slider-wrapper .swiper-button-prev,
    .content-product .images-slider-wrapper .swiper-button-next,
    .content-product .swiper-custom-left,
    .content-product .swiper-custom-right {
        display: none !important;
    }

    /* Text area - compact */
    .content-product .product-details,
    .content-product .text-center.product-details {
        padding: 8px 10px 10px !important;
    }

    .content-product .product-title a {
        font-size: 13px !important;
        -webkit-line-clamp: 2 !important;
    }

    .content-product .price {
        font-size: 14px !important;
    }

    /* Quantity row + CTA — recalibrated for narrow mobile cards
       (no scale() hack; use real sizes so the button stays crisp and the text fits) */
    .content-product .quantity-wrapper {
        transform: none !important;
        gap: 5px !important;
    }
    .content-product .quantity {
        height: 32px !important;
    }
    .content-product .quantity .minus,
    .content-product .quantity .plus,
    .content-product .quantity .et-qty-minus,
    .content-product .quantity .et-qty-plus {
        width: 18px !important;
        min-width: 18px !important;
        font-size: 11px !important;
    }
    .content-product .quantity input.qty,
    .content-product .quantity input.input-text {
        width: 22px !important;
        min-width: 22px !important;
        max-width: 22px !important;
        font-size: 11px !important;
        padding: 0 !important;
    }
    /* CTA — smaller text + tighter spacing so "COMANDĂ" + icon fit in the narrow card */
    .content-product .button.add_to_cart_button,
    .content-product .button.pm-loop-cart,
    .content-product .add_to_cart_button {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        padding: 0 8px !important;
        font-size: 9.5px !important;
        letter-spacing: 0.4px !important;
        gap: 5px !important;
    }
    .content-product .button.add_to_cart_button:hover,
    .content-product .add_to_cart_button:hover {
        letter-spacing: 0.6px !important;
    }
    .content-product .button.add_to_cart_button::after,
    .content-product .add_to_cart_button::after {
        width: 12px !important;
        height: 12px !important;
    }
    /* OOS button — same compact sizing */
    .product.outofstock .content-product .button.add_to_cart_button,
    .product.outofstock .content-product .add_to_cart_button {
        height: 32px !important;
        min-height: 32px !important;
        max-height: 32px !important;
        font-size: 9.5px !important;
        letter-spacing: 0.4px !important;
        padding: 0 8px !important;
    }

    /* Quick view - hide on mobile */
    .content-product .footer-product,
    .content-product .show-quickly {
        display: none !important;
    }

    /* Single product: stack */
    .pm-product__layout {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .single-product .product-images { position: static; }
    .single-product .product-information-inner { padding-left: 0; }
    .single-product .product_title { font-size: 20px !important; }

    /* Tabs as accordion on mobile */
    .single-product .wc-tabs,
    .single-product .tabs-nav {
        flex-direction: column !important;
        background: none !important;
        border: none !important;
        gap: 0 !important;
        padding: 0 !important;
    }

    .single-product .wc-tabs li,
    .single-product .tabs-nav li {
        border-bottom: 1px solid var(--pm-gray-200);
    }

    .single-product .wc-tabs li a,
    .single-product .tabs-nav li a {
        padding: 14px 16px !important;
        border-bottom: none !important;
        margin: 0 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .single-product .wc-tabs li a::after,
    .single-product .tabs-nav li a::after {
        content: '+';
        font-size: 18px;
        font-weight: 300;
        color: var(--pm-charcoal-light);
    }

    .single-product .wc-tabs li.active a::after,
    .single-product .tabs-nav li a.opened::after {
        content: '−';
    }

    .single-product .wc-tabs li.active a,
    .single-product .tabs-nav li a.opened {
        background: var(--pm-gray-100) !important;
        border-radius: 0 !important;
    }

    .single-product .tab-content,
    .single-product .woocommerce-Tabs-panel {
        padding: 16px !important;
    }

    .pm-product__title { font-size: 20px; }
    .pm-product__price-block .price { font-size: 24px !important; }

    /* ATC stacked on mobile */
    .pm-product__atc form.cart,
    .single-product form.cart {
        flex-direction: column;
        gap: 10px;
    }

    .pm-product__atc .quantity,
    .single-product form.cart .quantity {
        border-radius: var(--pm-radius) !important;
        border-right: 2px solid var(--pm-gray-300) !important;
        width: 100%;
        justify-content: center;
    }

    .pm-product__atc .single_add_to_cart_button,
    .single-product form.cart .single_add_to_cart_button {
        border-radius: var(--pm-radius) !important;
        width: 100%;
    }

    /* 6-col carousel -> 2 on mobile */
    .pm-carousel__slide--6 {
        flex: 0 0 calc(50% - 8px) !important;
        min-width: 150px;
    }

    .pm-product__tabs-section .wc-tabs {
        flex-wrap: wrap;
    }

    .pm-product__tabs-section .wc-tabs li a {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* XStore handles sticky header natively via JS */

/* ============================================================
   STICKY SUBCATEGORIES BAR (category pages)
   Scrollable single line, sticks below header on scroll
   ============================================================ */
.pm-archive__header {
    padding: 20px 0 14px;
    border-bottom: 1px solid var(--pm-gray-200);
    background: var(--pm-white);
}

/* Subcategory grid — responsive */
@media (max-width: 1024px) {
    .pm-subcats-grid { grid-template-columns: repeat(3, 1fr); column-gap: 20px; }
    .pm-archive__hero.has-image { min-height: 360px; }
    .pm-archive__hero-content { padding: 60px 20px 48px; }
    .pm-archive__title { font-size: 40px; }
}
@media (max-width: 740px) {
    .pm-archive__subcats { padding: 20px 0; }
    .pm-archive__hero { min-height: 0; }
    .pm-archive__hero.has-image { min-height: 200px; }
    .pm-archive__hero:not(.has-image) { min-height: 140px; }
    .pm-archive__hero-content { padding: 28px 20px 24px; }
    .pm-archive__breadcrumbs { font-size: 11px; letter-spacing: 0; margin-bottom: 10px; }
    .pm-archive__title { font-size: 22px; letter-spacing: -.2px; line-height: 1.2; }

    /* Subcategories → horizontal swipe carousel on mobile */
    .pm-subcats-grid {
        display: flex;
        grid-template-columns: none;
        gap: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 20px;
        margin: 0 -20px;
    }
    .pm-subcats-grid::-webkit-scrollbar { display: none; }
    .pm-archive__subcats .pm-container { padding-left: 0; padding-right: 0; }
    .pm-subcat {
        flex: 0 0 auto;
        scroll-snap-align: start;
        background: #fff;
        border: 1px solid rgba(74,122,92,.18);
        border-bottom: 1px solid rgba(74,122,92,.18);
        padding: 10px 14px;
        gap: 10px;
        min-height: 56px;
        max-width: 220px;
    }
    .pm-subcat:hover { padding-left: 14px; }
    .pm-subcat__thumb { width: 36px; height: 36px; }
    .pm-subcat__name { font-size: 12.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 130px; }
    .pm-subcat__count { display: none; }
    .pm-subcat__arrow { font-size: 12px; }
}

/* ============================================================
   ADDED-TO-CART POPUP (XStore .popup-added-to-cart-content)
   ============================================================ */

/* Container — refined padding, off-white surface */
.popup-added-to-cart-content {
    background: #FFFFFF !important;
    padding: 0 !important;
    border-radius: 2px;
    overflow: hidden;
    color: var(--pm-charcoal);
}
.popup-added-to-cart-content .product-section-01,
.popup-added-to-cart-content .product-section-02,
.popup-added-to-cart-content .product-section-03 {
    padding: 0 32px;
}
.popup-added-to-cart-content .product-section-03:not(:empty) {
    padding: 24px 32px 32px;
    border-top: 1px solid rgba(25,36,27,.06);
    margin-top: 20px;
}

/* --- Success notice — refined deep green band with elegant check --- */
.popup-added-to-cart-content .woocommerce-message,
.popup-added-to-cart-content .woocommerce-notices-wrapper > .woocommerce-message {
    margin: 0 -32px 26px !important;
    padding: 18px 32px 18px 60px !important;
    background: var(--pm-green-dark) !important;
    background-color: var(--pm-green-dark) !important;
    color: #fff !important;
    border: 0 !important;
    border-left: 3px solid var(--pm-gold) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    letter-spacing: .1px !important;
    position: relative;
    text-align: left !important;
}
.popup-added-to-cart-content .woocommerce-message::before {
    content: '';
    position: absolute;
    left: 28px; top: 50%;
    transform: translateY(-50%);
    width: 20px; height: 20px;
    background-color: var(--pm-gold);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='9 12 11 14 15 10'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'><circle cx='12' cy='12' r='10'/><polyline points='9 12 11 14 15 10'/></svg>") center/contain no-repeat;
    font-family: inherit !important;
    color: transparent !important;
}
.popup-added-to-cart-content .woocommerce-message a,
.popup-added-to-cart-content .woocommerce-message .button {
    display: none !important;
}

/* --- Product table — clean rows, refined typography --- */
.popup-added-to-cart-content .shop_table,
.popup-added-to-cart-content table.shop_table_responsive {
    border: 0 !important;
    margin: 0 0 8px !important;
    width: 100%;
    background: transparent !important;
    border-collapse: collapse;
}
.popup-added-to-cart-content .shop_table tr,
.popup-added-to-cart-content .shop_table td,
.popup-added-to-cart-content .shop_table th {
    border: 0 !important;
    background: transparent !important;
    padding: 0 !important;
}
.popup-added-to-cart-content .woocommerce-cart-form__cart-item {
    display: grid !important;
    grid-template-columns: 96px 1fr !important;
    gap: 22px;
    padding: 4px 0 22px !important;
    border-bottom: 1px solid rgba(25,36,27,.07) !important;
}
.popup-added-to-cart-content .product-name,
.popup-added-to-cart-content td.product-name {
    width: auto !important;
    padding: 0 !important;
}
.popup-added-to-cart-content .product-thumbnail {
    width: 96px;
    height: 96px;
    background: #FAF7F2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 6px;
    box-sizing: border-box;
}
.popup-added-to-cart-content .product-thumbnail img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    margin: 0 !important;
}
.popup-added-to-cart-content .product-details {
    padding: 0 !important;
}
.popup-added-to-cart-content .cart-item-details {
    display: flex !important;
    flex-direction: column;
    gap: 8px;
}

/* Title — charcoal, not orange */
.popup-added-to-cart-content h4.product-title,
.popup-added-to-cart-content .product-title,
.popup-added-to-cart-content .product-title a,
.popup-added-to-cart-content .cart-item-details h4 a {
    font-family: var(--pm-font-heading) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    color: var(--pm-charcoal) !important;
    line-height: 1.35 !important;
    letter-spacing: -.1px !important;
    margin: 0 !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: color .25s ease;
}
.popup-added-to-cart-content .product-title a:hover {
    color: var(--pm-green-dark) !important;
}

/* "Șterge" remove link — muted, gold hover */
.popup-added-to-cart-content .popup-remove-from-cart,
.popup-added-to-cart-content a.remove_from_cart_button {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    font-size: 11px !important;
    font-weight: 500 !important;
    letter-spacing: 1.6px !important;
    text-transform: uppercase !important;
    color: var(--pm-charcoal-light) !important;
    border-bottom: 1px solid rgba(25,36,27,.20) !important;
    padding: 0 0 2px !important;
    margin: 4px 0 0 !important;
    text-decoration: none !important;
    align-self: flex-start;
    background: transparent !important;
    width: auto !important;
    height: auto !important;
    transition: color .25s ease, border-color .25s ease;
}
.popup-added-to-cart-content .popup-remove-from-cart:hover,
.popup-added-to-cart-content a.remove_from_cart_button:hover {
    color: var(--pm-gold-dark) !important;
    border-color: var(--pm-gold-dark) !important;
    background: transparent !important;
}

/* Quantity row inside popup */
.popup-added-to-cart-content .product-quantity {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.popup-added-to-cart-content .quantity-wrapper {
    display: inline-flex !important;
    align-items: center !important;
    gap: 10px;
    max-width: none !important;
    height: auto !important;
}
.popup-added-to-cart-content .quantity-wrapper .quantity {
    display: inline-flex !important;
    align-items: stretch !important;
    border: 1px solid rgba(25,36,27,.16) !important;
    height: 38px !important;
    background: #fff !important;
    flex-shrink: 0 !important;
    width: auto !important;
}
.popup-added-to-cart-content .quantity-wrapper .minus,
.popup-added-to-cart-content .quantity-wrapper .plus,
.popup-added-to-cart-content .quantity-wrapper .et-qty-minus,
.popup-added-to-cart-content .quantity-wrapper .et-qty-plus {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 28px !important;
    height: 100% !important;
    background: transparent !important;
    color: var(--pm-charcoal-light) !important;
    border: 0 !important;
    cursor: pointer;
    font-size: 14px;
    transition: color .2s ease, background-color .2s ease;
}
.popup-added-to-cart-content .quantity-wrapper .minus:hover,
.popup-added-to-cart-content .quantity-wrapper .plus:hover {
    color: var(--pm-green-dark) !important;
    background: rgba(25,36,27,.04) !important;
}
.popup-added-to-cart-content .quantity-wrapper input.qty,
.popup-added-to-cart-content .quantity-wrapper input.input-text {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 100% !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 13.5px !important;
    font-weight: 500 !important;
    color: var(--pm-charcoal) !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.popup-added-to-cart-content .quantity-wrapper .quantity ~ .quantity {
    border: 0 !important;
    font-size: 13.5px !important;
    color: var(--pm-charcoal-light) !important;
    display: inline-flex !important;
    align-items: center !important;
    padding: 0 !important;
}

/* SKU */
.popup-added-to-cart-content .product_meta,
.popup-added-to-cart-content .product-sku {
    font-size: 11.5px !important;
    color: var(--pm-charcoal-light) !important;
    letter-spacing: .3px !important;
    margin: 8px 0 0 !important;
    padding: 0 !important;
}
.popup-added-to-cart-content .product_meta .sku_wrapper,
.popup-added-to-cart-content .sku_wrapper {
    font-size: 11.5px !important;
    color: var(--pm-charcoal-light) !important;
}
.popup-added-to-cart-content .sku {
    color: var(--pm-charcoal) !important;
    font-weight: 500;
}

/* --- Subtotal row --- */
.popup-added-to-cart-content tr.order-total {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0 22px !important;
    border-bottom: 1px solid rgba(25,36,27,.07) !important;
}
.popup-added-to-cart-content tr.order-total th,
.popup-added-to-cart-content tr.order-total td {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 2.2px !important;
    text-transform: uppercase !important;
    color: var(--pm-charcoal) !important;
    text-align: left !important;
}
.popup-added-to-cart-content tr.order-total td {
    font-size: 19px !important;
    font-weight: 500 !important;
    letter-spacing: -.2px !important;
    text-transform: none !important;
    color: var(--pm-green-dark) !important;
}

/* --- Action buttons row (3 buttons) --- */
.popup-added-to-cart-content .product-section-02 {
    padding: 22px 32px 26px;
    display: flex;
    gap: 10px;
}
.popup-added-to-cart-content .product-section-02 .btn,
.popup-added-to-cart-content .product-section-02 a.btn,
.popup-added-to-cart-content .product-section-02 .flex-inline.btn {
    flex: 1;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    height: 52px !important;
    min-height: 52px !important;
    max-height: 52px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    font-family: var(--pm-font-heading) !important;
    font-size: 11.5px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
    line-height: 1 !important;
    box-sizing: border-box !important;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, letter-spacing .25s ease !important;
    cursor: pointer;
}
/* "Back to shop" + "View cart" — outlined (light) */
.popup-added-to-cart-content .product-section-02 .btn.light,
.popup-added-to-cart-content .product-section-02 a.btn.light {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--pm-charcoal) !important;
    border: 1px solid rgba(25,36,27,.18) !important;
}
.popup-added-to-cart-content .product-section-02 .btn.light:hover,
.popup-added-to-cart-content .product-section-02 a.btn.light:hover {
    background: var(--pm-charcoal) !important;
    background-color: var(--pm-charcoal) !important;
    color: #fff !important;
    border-color: var(--pm-charcoal) !important;
}
/* "Checkout" — solid deep green (primary) */
.popup-added-to-cart-content .product-section-02 .btn.black,
.popup-added-to-cart-content .product-section-02 a.btn.black {
    background: var(--pm-green-dark) !important;
    background-color: var(--pm-green-dark) !important;
    color: #fff !important;
    border: 1px solid var(--pm-green-dark) !important;
}
.popup-added-to-cart-content .product-section-02 .btn.black:hover,
.popup-added-to-cart-content .product-section-02 a.btn.black:hover {
    background: var(--pm-gold-dark) !important;
    background-color: var(--pm-gold-dark) !important;
    border-color: var(--pm-gold-dark) !important;
    color: #fff !important;
    letter-spacing: 2.4px !important;
}
.popup-added-to-cart-content .product-section-02 .btn i,
.popup-added-to-cart-content .product-section-02 .btn .et-icon {
    font-size: 14px !important;
    line-height: 1 !important;
}

/* Hide back arrow icon on the "Back to shop" button to keep it minimal (label is enough) */
.popup-added-to-cart-content .product-section-02 .btn.light:first-child i.et_b-icon,
.popup-added-to-cart-content .product-section-02 .btn.light:first-child .et-left-arrow-2 {
    width: 14px; height: 14px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='19' y1='12' x2='5' y2='12'/><polyline points='12 19 5 12 12 5'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='19' y1='12' x2='5' y2='12'/><polyline points='12 19 5 12 12 5'/></svg>") center/contain no-repeat;
    display: inline-block !important;
}
.popup-added-to-cart-content .product-section-02 .btn.light:first-child i.et_b-icon::before { content: '' !important; }

/* --- Progress bar (free shipping) --- */
.popup-added-to-cart-content .sales-booster-cart-checkout-progress-bar,
.popup-added-to-cart-content .etheme-sales-booster-cart-checkout-progress-bar,
.popup-added-to-cart-content .sales-booster-progress-bar {
    margin: 6px 0 22px !important;
    padding: 18px 0 0 !important;
    border-top: 1px solid rgba(25,36,27,.07);
}
.popup-added-to-cart-content .sales-booster-message,
.popup-added-to-cart-content .progress-bar-message {
    font-size: 13px !important;
    color: var(--pm-charcoal) !important;
    font-weight: 400 !important;
    letter-spacing: .1px !important;
    text-align: center !important;
    margin-bottom: 12px !important;
}
.popup-added-to-cart-content .sales-booster-message i,
.popup-added-to-cart-content .sales-booster-message .et-icon {
    color: var(--pm-gold-dark) !important;
    margin-right: 4px;
}
.popup-added-to-cart-content .progress-bar,
.popup-added-to-cart-content .sales-booster-progress {
    height: 6px !important;
    background: rgba(25,36,27,.06) !important;
    border-radius: 999px !important;
    overflow: hidden;
}
.popup-added-to-cart-content .progress-bar > *,
.popup-added-to-cart-content .sales-booster-progress > *,
.popup-added-to-cart-content .progress-bar-fill {
    height: 100% !important;
    background: linear-gradient(90deg, var(--pm-green) 0%, var(--pm-gold) 100%) !important;
    border-radius: 999px !important;
    transition: width .5s ease !important;
}

/* --- Upsell carousel section ("Customers also bought" / cross-sells) --- */
.popup-added-to-cart-content .product-section-03 .carousel-title,
.popup-added-to-cart-content .product-section-03 h3 {
    font-family: var(--pm-font-heading) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: 2.4px !important;
    text-transform: uppercase !important;
    color: var(--pm-charcoal) !important;
    margin: 0 0 16px !important;
}

/* --- Magnific popup container — soft elevation --- */
.mfp-content .popup-added-to-cart-content,
.mfp-wrap .popup-added-to-cart-content {
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 30px 60px -20px rgba(25,36,27,.30);
}

/* Close button refinement */
.mfp-close,
.popup-added-to-cart-content + .mfp-close,
.mfp-content .mfp-close {
    color: var(--pm-charcoal-light) !important;
    font-size: 30px !important;
    width: 44px !important;
    height: 44px !important;
    line-height: 44px !important;
    opacity: .8 !important;
    transition: color .25s ease, opacity .25s ease !important;
    background: transparent !important;
}
.mfp-close:hover {
    color: var(--pm-green-dark) !important;
    opacity: 1 !important;
}

/* Suppress XStore's xstore-icons ::before glyph on Magnific Popup close buttons.
   MagnificPopup already injects the Unicode "×" as button innerHTML; XStore's
   global rule #cboxClose::before,.mfp-close::before { content: "<icon-glyph>" }
   layered a second X next to the native one (visible as a "double X" in the
   add-to-cart popup). Hiding the ::before leaves the standard × visible. */
.mfp-close::before,
.popup-added-to-cart .mfp-close::before,
.popup-added-to-cart-content + .mfp-close::before {
    content: none !important;
    display: none !important;
}

/* ============================================================
   ADDED-TO-CART POPUP — Mobile (≤ 640px)
   Tight layout, fits within viewport, clear visual hierarchy,
   prominent CTAs. Fixes seen on Android (user screenshot):
   - double X on close button
   - unstyled "Șterge" link
   - small/faded "×NN,NN lei" line
   - SKU eating horizontal space
   - washed-out "Vezi cosul" button
   - "Finalizează comanda" button clipped below viewport
   ============================================================ */
@media (max-width: 640px) {
    /* Popup chrome — cap height to viewport so all CTAs are reachable */
    .popup-added-to-cart {
        max-width: calc(100vw - 24px) !important;
        max-height: calc(100vh - 40px) !important;
        padding: 18px 18px 14px !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
    .popup-added-to-cart-content { padding: 0 !important; }

    /* One bigger close target (44×44), no XStore icon-font overlay */
    .popup-added-to-cart .mfp-close,
    .popup-added-to-cart-content + .mfp-close,
    .mfp-content .mfp-close {
        font-size: 26px !important;
        width: 36px !important;
        height: 36px !important;
        line-height: 36px !important;
        right: 6px !important;
        top: 6px !important;
        opacity: 1 !important;
    }
    .popup-added-to-cart .mfp-close::before,
    .popup-added-to-cart-content + .mfp-close::before,
    .mfp-content .mfp-close::before {
        display: none !important;
        content: none !important;
    }

    /* Sections tighter on mobile */
    .popup-added-to-cart-content .product-section-01,
    .popup-added-to-cart-content .product-section-02,
    .popup-added-to-cart-content .product-section-03 {
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    /* Success ribbon — keep full-bleed look, less padding */
    .popup-added-to-cart-content .woocommerce-message,
    .popup-added-to-cart-content .woocommerce-notices-wrapper > .woocommerce-message {
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding: 14px 14px 14px 44px !important;
        font-size: 13.5px !important;
        line-height: 1.4 !important;
    }
    .popup-added-to-cart-content .woocommerce-message::before {
        left: 14px !important;
        top: 14px !important;
    }

    /* Cart item row — image + details vertically tight */
    .popup-added-to-cart-content .woocommerce-cart-form__cart-item {
        grid-template-columns: 72px 1fr !important;
        gap: 12px !important;
        padding: 14px 0 !important;
    }
    .popup-added-to-cart-content .product-thumbnail { width: 72px !important; height: 72px !important; }
    .popup-added-to-cart-content h4.product-title,
    .popup-added-to-cart-content .product-title,
    .popup-added-to-cart-content .product-title a {
        font-size: 14.5px !important;
        line-height: 1.3 !important;
        font-weight: 600 !important;
        color: var(--pm-charcoal) !important;
    }

    /* "Șterge" link — pill instead of underlined raw link */
    .popup-added-to-cart-content .remove,
    .popup-added-to-cart-content .product-remove .remove,
    .popup-added-to-cart-content a.remove {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: 24px !important;
        padding: 0 10px !important;
        margin-top: 4px !important;
        font-size: 11px !important;
        font-weight: 600 !important;
        letter-spacing: 1.2px !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        color: var(--pm-charcoal-light) !important;
        background: var(--pm-gray-100, #F8F9FA) !important;
        border: 1px solid var(--pm-gray-200, #E9ECEF) !important;
        border-radius: 4px !important;
        line-height: 1 !important;
    }
    .popup-added-to-cart-content a.remove:hover {
        color: #d4351c !important;
        border-color: #d4351c !important;
        background: rgba(212,53,28,.06) !important;
    }

    /* Price line "×NN,NN lei" — make it readable, not whisper-faded */
    .popup-added-to-cart-content .product-price,
    .popup-added-to-cart-content td.product-price,
    .popup-added-to-cart-content .product-details .price {
        font-size: 14px !important;
        font-weight: 500 !important;
        color: var(--pm-charcoal) !important;
        margin-top: 6px !important;
    }

    /* Quantity stepper — keep compact on mobile so price has room next to it */
    .popup-added-to-cart-content .quantity,
    .popup-added-to-cart-content .quantity-wrapper {
        max-width: 110px !important;
    }

    /* SKU — secondary info on mobile, single line, no full-width column */
    .popup-added-to-cart-content .sku_wrapper,
    .popup-added-to-cart-content .product_meta {
        display: block !important;
        margin-top: 8px !important;
        font-size: 12px !important;
        color: var(--pm-charcoal-light) !important;
        text-align: left !important;
        word-break: break-word;
    }
    .popup-added-to-cart-content .sku_wrapper .sku,
    .popup-added-to-cart-content .product_meta .sku {
        font-weight: 500 !important;
        color: var(--pm-charcoal) !important;
    }

    /* Subtotal row — tighter */
    .popup-added-to-cart-content tr.order-total td,
    .popup-added-to-cart-content tr.order-total th {
        font-size: 15px !important;
        padding: 14px 0 !important;
    }

    /* CTA buttons — stacked, full-width, brand-consistent */
    .popup-added-to-cart-content .product-section-02 {
        flex-direction: column !important;
        gap: 10px !important;
        padding: 16px 14px 18px !important;
    }
    .popup-added-to-cart-content .product-section-02 a.btn,
    .popup-added-to-cart-content .product-section-02 .btn {
        width: 100% !important;
        margin: 0 !important;
        height: 48px !important;
        padding: 0 16px !important;
        font-size: 12.5px !important;
        font-weight: 600 !important;
        letter-spacing: 1.6px !important;
        text-transform: uppercase !important;
        border-radius: 0 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    /* Hide "Back to shop" link on mobile (already had a sub-rule, keep it) */
    .popup-added-to-cart-content .product-section-02 a.btn.light.mob-hide,
    .popup-added-to-cart-content .product-section-02 a.et-close-mfp {
        display: none !important;
    }
    /* "Vezi coșul" — outlined, secondary */
    .popup-added-to-cart-content .product-section-02 a.btn.light:not(.mob-hide):not(.et-close-mfp) {
        background: #fff !important;
        color: var(--pm-charcoal) !important;
        border: 1.5px solid var(--pm-charcoal) !important;
    }
    /* "Finalizează comanda" — primary, brand orange */
    .popup-added-to-cart-content .product-section-02 a.btn.black {
        background: var(--pm-orange) !important;
        color: #fff !important;
        border: 0 !important;
    }
    .popup-added-to-cart-content .product-section-02 a.btn.black:hover {
        background: var(--pm-orange-hover) !important;
    }
}

/* ============================================================
   ARCHIVE — PREMIUM CATEGORY PAGE UPGRADES
   (eyebrow, intro, trust strip, guide CTA, shipping meter,
    active-filter chips, card badges, low-stock, review stars,
    sticky filters, filter show-more, refined empty state)
   ============================================================ */

/* ---- HERO: eyebrow, intro, trust strip, guide CTA ----
   Eyebrow ("Pisici · Hrana pisici" parent-category label between breadcrumbs
   and the H1) hidden per UX request — duplicates the breadcrumb context
   visually and crowds the hero. Markup kept in place for accessibility and
   in case it's re-enabled later. */
.pm-archive__eyebrow { display: none; }
.pm-archive__intro {
    max-width: 680px;
    margin: 18px 0 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 1.65;
    color: var(--pm-charcoal-light);
    letter-spacing: .1px;
}
.pm-archive__hero.has-image .pm-archive__intro {
    color: rgba(255,255,255,.85);
    text-shadow: 0 1px 3px rgba(25,36,27,.4);
}
.pm-archive__hero-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 24px;
}
.pm-archive__trust {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 32px;
}
.pm-archive__trust li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 500;
    color: var(--pm-charcoal);
    letter-spacing: .3px;
}
.pm-archive__trust li svg {
    color: var(--pm-gold-dark);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}
.pm-archive__hero.has-image .pm-archive__trust li {
    color: rgba(255,255,255,.9);
}
.pm-archive__hero.has-image .pm-archive__trust li svg {
    color: var(--pm-gold-light);
}
.pm-archive__guide-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: transparent;
    border: 1px solid var(--pm-gold);
    color: var(--pm-gold-dark) !important;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.pm-archive__guide-cta:hover {
    background: var(--pm-gold);
    color: var(--pm-green-dark) !important;
    border-color: var(--pm-gold);
}
.pm-archive__hero.has-image .pm-archive__guide-cta {
    color: var(--pm-gold-light) !important;
    border-color: var(--pm-gold-light);
}
.pm-archive__hero.has-image .pm-archive__guide-cta:hover {
    background: var(--pm-gold-light);
    color: var(--pm-green-dark) !important;
    border-color: var(--pm-gold-light);
}

/* ---- FREE SHIPPING METER ---- */
.pm-shipmeter {
    background: linear-gradient(180deg, #FAF6EE 0%, #F5EFE2 100%);
    border-top: 1px solid rgba(190,157,92,.20);
    border-bottom: 1px solid rgba(190,157,92,.20);
    padding: 14px 0;
}
.pm-shipmeter__inner {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.pm-shipmeter__text {
    flex: 1 1 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    /* Force body font (Inter / Nunito) — without this the shipmeter inherits
       XStore's display/serif stack on category headers, which renders the
       Romanian diacritics (ă, î, ț) with a font substitution that doesn't
       have proper glyphs for them. */
    font-family: var(--pm-font-body) !important;
    font-size: 14px;
    color: var(--pm-charcoal);
    letter-spacing: .1px;
}
.pm-shipmeter__text strong,
.pm-shipmeter__text .woocommerce-Price-amount,
.pm-shipmeter__text .woocommerce-Price-amount bdi {
    font-family: var(--pm-font-body) !important;
    color: var(--pm-green-dark);
    font-weight: 600;
}
.pm-shipmeter__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(190,157,92,.15);
    color: var(--pm-gold-dark);
    flex-shrink: 0;
}
.pm-shipmeter__bar {
    flex: 0 0 220px;
    height: 6px;
    background: rgba(25,36,27,.07);
    border-radius: 999px;
    overflow: hidden;
}
.pm-shipmeter__fill {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--pm-green) 0%, var(--pm-gold) 100%);
    border-radius: 999px;
    transition: width .5s cubic-bezier(.16,1,.3,1);
}

/* ---- ACTIVE FILTER CHIPS ---- */
.pm-active-filters {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 14px;
    padding: 14px 0;
    margin: 0 0 10px;
    border-bottom: 1px solid rgba(25,36,27,.06);
}
.pm-active-filters__label {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
}
.pm-active-filters__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.pm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(190,157,92,.10);
    border: 1px solid rgba(190,157,92,.30);
    color: var(--pm-charcoal) !important;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .1px;
    text-decoration: none !important;
    transition: background-color .25s ease, border-color .25s ease, color .25s ease;
    line-height: 1.3;
}
.pm-chip__label {
    color: var(--pm-charcoal-light);
    font-weight: 400;
}
.pm-chip__value {
    font-weight: 600;
}
.pm-chip__x {
    margin-left: 4px;
    font-size: 16px;
    line-height: 1;
    color: var(--pm-charcoal-light);
    font-weight: 400;
    transition: color .25s ease, transform .25s ease;
}
.pm-chip--active:hover {
    background: var(--pm-green-dark);
    border-color: var(--pm-green-dark);
    color: #fff !important;
}
.pm-chip--active:hover .pm-chip__label,
.pm-chip--active:hover .pm-chip__x {
    color: #fff;
}
.pm-chip--active:hover .pm-chip__x {
    transform: rotate(90deg);
}
.pm-chip--clear {
    background: transparent;
    border-color: rgba(25,36,27,.18);
    color: var(--pm-charcoal-light) !important;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 1.4px;
    font-weight: 600;
    padding: 6px 14px;
}
.pm-chip--clear:hover {
    background: var(--pm-charcoal);
    border-color: var(--pm-charcoal);
    color: #fff !important;
}

/* ---- CARD MICRO-BADGES (NOU, PREFERAT, CHOICE) ---- */
.pm-card-badges {
    position: absolute !important;
    top: 12px;
    left: 12px;
    display: flex !important;             /* span is inline by default — force flex layout */
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 4px;
    z-index: 4;
    pointer-events: none;
    width: auto;
}
.pm-card-badges .pm-badge {
    flex: 0 0 auto;                       /* prevent stretching inside the flex column */
}

/* Card badges (NOU / PREFERAT / CHOICE) globally disabled — kept hidden in case any
   cached HTML or future rendering path still emits them. Re-enable per-element only
   if/when the badge system gets a redesign. */
.pm-card-badges,
.pm-badge,
.pm-badge--new,
.pm-badge--bestseller,
.pm-badge--choice {
    display: none !important;
}
.pm-badge {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 4px 9px !important;
    font-family: var(--pm-font-heading) !important;
    font-size: 9.5px !important;
    font-weight: 700 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    line-height: 1 !important;
    border-radius: 0 !important;
    pointer-events: auto;
    text-decoration: none !important;
    white-space: nowrap;
    min-height: 18px;
    box-sizing: border-box;
}
.pm-badge--new {
    background: var(--pm-green-dark) !important;
    background-color: var(--pm-green-dark) !important;
    color: #fff !important;
    border: 1px solid var(--pm-green-dark) !important;
}
.pm-badge--bestseller {
    background: rgba(255,255,255,.92) !important;
    background-color: rgba(255,255,255,.92) !important;
    color: var(--pm-gold-dark) !important;
    border: 1px solid var(--pm-gold) !important;
}
.pm-badge--choice {
    background: var(--pm-gold) !important;
    background-color: var(--pm-gold) !important;
    color: var(--pm-green-dark) !important;
    border: 1px solid var(--pm-gold-dark) !important;
    font-weight: 700 !important;
}

/* If sale badge (.onsale -X%) exists on the <li.product>, push our badges down so they stack below it */
.product.sale .pm-card-badges,
li.product.sale .pm-card-badges,
.products .sale .pm-card-badges {
    top: 46px;
}

/* Hide XStore's native "New" label — we use our own .pm-badge--new instead.
   XStore renders <span class="onsale left new-label">New</span> which was producing
   an empty dark green square (the customizer has color/text rendering issues for it). */
.content-product .onsale.new-label,
.content-product .sale-wrapper .new-label,
.content-product .new-label,
.products-loop .new-label,
.productCarousel .new-label {
    display: none !important;
}

/* ---- LOW STOCK CUE ---- */
.pm-low-stock {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 4px 0 0;
    font-size: 11px;
    font-weight: 500;
    color: var(--pm-gold-dark);
    letter-spacing: .3px;
}
.pm-low-stock__dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--pm-gold-dark);
    flex-shrink: 0;
    animation: pmPulse 1.8s ease-in-out infinite;
}
@keyframes pmPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%      { opacity: .55; transform: scale(1.25); }
}

/* ---- INLINE REVIEW STARS ---- */
.pm-card-rating {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    font-size: 11.5px;
    color: var(--pm-charcoal-light);
    line-height: 1;
}
.pm-stars {
    position: relative;
    display: inline-block;
    width: 70px;
    height: 13px;
    font-size: 0;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'><g fill='rgba(25,36,27,0.18)'><path d='M7 0l2.05 4.28L14 5l-3.5 3.35.85 4.65L7 10.6 2.65 13l.85-4.65L0 5l4.95-.72z'/><path d='M21 0l2.05 4.28L28 5l-3.5 3.35.85 4.65L21 10.6 16.65 13l.85-4.65L14 5l4.95-.72z'/><path d='M35 0l2.05 4.28L42 5l-3.5 3.35.85 4.65L35 10.6 30.65 13l.85-4.65L28 5l4.95-.72z'/><path d='M49 0l2.05 4.28L56 5l-3.5 3.35.85 4.65L49 10.6 44.65 13l.85-4.65L42 5l4.95-.72z'/><path d='M63 0l2.05 4.28L70 5l-3.5 3.35.85 4.65L63 10.6 58.65 13l.85-4.65L56 5l4.95-.72z'/></g></svg>");
    background-repeat: no-repeat;
    background-size: 70px 13px;
}
.pm-stars__fill {
    display: block;
    height: 100%;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 13'><g fill='%23BE9D5C'><path d='M7 0l2.05 4.28L14 5l-3.5 3.35.85 4.65L7 10.6 2.65 13l.85-4.65L0 5l4.95-.72z'/><path d='M21 0l2.05 4.28L28 5l-3.5 3.35.85 4.65L21 10.6 16.65 13l.85-4.65L14 5l4.95-.72z'/><path d='M35 0l2.05 4.28L42 5l-3.5 3.35.85 4.65L35 10.6 30.65 13l.85-4.65L28 5l4.95-.72z'/><path d='M49 0l2.05 4.28L56 5l-3.5 3.35.85 4.65L49 10.6 44.65 13l.85-4.65L42 5l4.95-.72z'/><path d='M63 0l2.05 4.28L70 5l-3.5 3.35.85 4.65L63 10.6 58.65 13l.85-4.65L56 5l4.95-.72z'/></g></svg>");
    background-repeat: no-repeat;
    background-size: 70px 13px;
}
.pm-card-rating__count {
    font-size: 11px;
    color: var(--pm-charcoal-light);
}

/* ---- FILTER SIDEBAR (desktop) — flows naturally, no internal scroll ---- */
@media (min-width: 993px) {
    .pm-archive__sidebar {
        align-self: start;
    }
    .pm-archive__sidebar::-webkit-scrollbar { width: 6px; }
    .pm-archive__sidebar::-webkit-scrollbar-track { background: transparent; }
    .pm-archive__sidebar::-webkit-scrollbar-thumb {
        background-color: rgba(25,36,27,.15);
        border-radius: 999px;
    }
}

/* ---- FILTER LIST: show more / show less ---- */
.pm-filter-item--hidden { display: none; }
.pm-filter-item--hidden.pm-filter-item--revealed { display: block; }
.pm-filter-item--hidden.pm-filter-item--revealed { animation: pmFadeIn .25s ease both; }
@keyframes pmFadeIn { from { opacity: 0; transform: translateY(-2px); } to { opacity: 1; transform: none; } }

.pm-filter-more {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 4px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--pm-gold);
    color: var(--pm-gold-dark);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .25s ease, border-color .25s ease;
}
.pm-filter-more:hover {
    color: var(--pm-green-dark);
    border-bottom-color: var(--pm-green-dark);
}

/* ---- REFINED EMPTY STATE ---- */
.pm-empty {
    text-align: center;
    padding: 60px 20px 80px;
    max-width: 640px;
    margin: 0 auto;
}
.pm-empty__art {
    margin-bottom: 24px;
    opacity: .9;
}
.pm-empty__title {
    font-family: var(--pm-font-heading) !important;
    font-size: 28px !important;
    font-weight: 400 !important;
    color: var(--pm-charcoal) !important;
    margin: 0 0 12px !important;
    letter-spacing: -.3px;
}
.pm-empty__lead {
    font-size: 15px;
    color: var(--pm-charcoal-light);
    line-height: 1.6;
    margin: 0 0 28px;
}
.pm-empty__actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 36px;
}
.pm-empty__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none !important;
    line-height: 1;
    border: 1px solid;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, letter-spacing .25s ease;
}
.pm-empty__btn--primary {
    background: var(--pm-green-dark);
    color: #fff !important;
    border-color: var(--pm-green-dark);
}
.pm-empty__btn--primary:hover {
    background: var(--pm-gold-dark);
    border-color: var(--pm-gold-dark);
    color: #fff !important;
    letter-spacing: 2.2px;
}
.pm-empty__btn--outline {
    background: transparent;
    color: var(--pm-charcoal) !important;
    border-color: rgba(25,36,27,.18);
}
.pm-empty__btn--outline:hover {
    background: var(--pm-charcoal);
    color: #fff !important;
    border-color: var(--pm-charcoal);
}
.pm-empty__suggestions {
    padding-top: 24px;
    border-top: 1px solid rgba(25,36,27,.07);
}
.pm-empty__suggestions-label {
    display: block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
    margin-bottom: 12px;
}
.pm-empty__suggestions ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.pm-empty__suggestions a {
    color: var(--pm-charcoal) !important;
    font-size: 14px;
    border-bottom: 1px solid var(--pm-gold);
    padding-bottom: 1px;
    text-decoration: none !important;
    transition: color .25s ease, border-color .25s ease;
}
.pm-empty__suggestions a:hover {
    color: var(--pm-gold-dark) !important;
    border-color: var(--pm-gold-dark);
}

/* ---- PAGINATION POLISH ---- */
.pm-pagination ul.page-numbers {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    margin: 40px 0 12px;
    padding: 0;
}
.pm-pagination ul.page-numbers li {
    margin: 0;
}
.pm-pagination ul.page-numbers .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: transparent;
    border: 1px solid rgba(25,36,27,.10);
    color: var(--pm-charcoal) !important;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .2px;
    text-decoration: none !important;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.pm-pagination ul.page-numbers .page-numbers.dots {
    border-color: transparent;
    color: var(--pm-charcoal-light) !important;
    background: transparent !important;
}
.pm-pagination ul.page-numbers a.page-numbers:hover {
    background: var(--pm-green-dark);
    border-color: var(--pm-green-dark);
    color: #fff !important;
}
.pm-pagination ul.page-numbers .page-numbers.current {
    background: var(--pm-green-dark);
    border-color: var(--pm-green-dark);
    color: #fff !important;
    font-weight: 600;
}
.pm-pagination__info {
    text-align: center;
    font-size: 12px;
    color: var(--pm-charcoal-light);
    letter-spacing: .3px;
    margin: 0 0 40px;
}

/* ---- RESPONSIVE TWEAKS ---- */
@media (max-width: 768px) {
    .pm-archive__intro { font-size: 14.5px; margin-top: 14px; }
    .pm-archive__hero-meta { gap: 16px; margin-top: 18px; }
    .pm-archive__trust { gap: 14px 22px; }
    .pm-archive__trust li { font-size: 13.5px; gap: 8px; }
    .pm-archive__trust li svg { width: 16px; height: 16px; }
    /* Breadcrumbs minimal on mobile so the hierarchy reads clearly:
       micro breadcrumbs → big H1 → prominent trust badges.
       Targets every descendant explicitly because Rank Math wraps the trail
       in a `<p>` that inherits XStore's body font-size. */
    .pm-archive__breadcrumbs,
    .pm-archive__breadcrumbs p,
    .pm-archive__breadcrumbs a,
    .pm-archive__breadcrumbs span,
    .pm-archive__breadcrumbs .rank-math-breadcrumb p {
        font-size: 11px !important;
        letter-spacing: 1.6px !important;
        line-height: 1.45 !important;
    }
    .pm-archive__breadcrumbs {
        margin-bottom: 12px !important;
        opacity: .8;
    }
    .pm-archive__breadcrumbs .separator,
    .pm-breadcrumb-sep { margin: 0 5px !important; }
    .pm-archive__guide-cta { padding: 9px 16px; font-size: 10.5px; letter-spacing: 1.5px; }
    .pm-shipmeter__inner { gap: 14px; }
    .pm-shipmeter__text { font-size: 13px; }
    .pm-shipmeter__bar { flex-basis: 100%; }
    .pm-active-filters { gap: 8px; padding: 12px 0; }
    .pm-chip { font-size: 11.5px; padding: 5px 10px; }
    .pm-empty { padding: 40px 16px 60px; }
    .pm-empty__title { font-size: 22px !important; }
    .pm-empty__actions { flex-direction: column; }
    .pm-empty__btn { width: 100%; }
    .pm-card-badges { top: 8px; left: 8px; }
    .pm-badge { font-size: 8.5px; padding: 3px 7px; letter-spacing: 1.2px; }
}

/* ============================================================
   SINGLE PRODUCT — PREMIUM UPGRADES
   (rating row, highlights, price-per-unit, tab nav, swatches,
    personas, cross-sells, comparison table, Q&A, recently viewed,
    refined sticky cart bar)
   ============================================================ */

/* ----- STAR RATING ROW (under title, always visible) ----- */
.pm-product__rating {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0 18px;
    line-height: 1;
}
/* Large stars: paths in the SVG extend down to y=17. The original viewBox
   was 0-14 which clipped the bottom 3px of every star. We now use viewBox
   0 -1 90 19 — one pixel of breathing room above the topmost path coordinate
   (y=0) AND one below the bottommost (y=17). The container height (19px) and
   the background-size match the viewBox so the SVG renders at native 1:1
   without any sub-pixel anti-aliasing eating the star tips. */
.pm-stars.pm-stars--lg {
    width: 90px;
    height: 19px;
    background-size: 90px 19px;
}
.pm-stars.pm-stars--lg .pm-stars__fill {
    background-size: 90px 19px;
}
.pm-stars.pm-stars--lg {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 90 19'><g fill='rgba(25,36,27,0.18)'><path d='M9 0l2.6 5.5L18 6.4 13.5 10.7 14.6 17 9 13.6 3.4 17l1.1-6.3L0 6.4l6.4-.9z'/><path d='M27 0l2.6 5.5L36 6.4 31.5 10.7 32.6 17 27 13.6 21.4 17l1.1-6.3L18 6.4l6.4-.9z'/><path d='M45 0l2.6 5.5L54 6.4 49.5 10.7 50.6 17 45 13.6 39.4 17l1.1-6.3L36 6.4l6.4-.9z'/><path d='M63 0l2.6 5.5L72 6.4 67.5 10.7 68.6 17 63 13.6 57.4 17l1.1-6.3L54 6.4l6.4-.9z'/><path d='M81 0l2.6 5.5L90 6.4 85.5 10.7 86.6 17 81 13.6 75.4 17l1.1-6.3L72 6.4l6.4-.9z'/></g></svg>");
}
.pm-stars.pm-stars--lg .pm-stars__fill {
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 -1 90 19'><g fill='%23BE9D5C'><path d='M9 0l2.6 5.5L18 6.4 13.5 10.7 14.6 17 9 13.6 3.4 17l1.1-6.3L0 6.4l6.4-.9z'/><path d='M27 0l2.6 5.5L36 6.4 31.5 10.7 32.6 17 27 13.6 21.4 17l1.1-6.3L18 6.4l6.4-.9z'/><path d='M45 0l2.6 5.5L54 6.4 49.5 10.7 50.6 17 45 13.6 39.4 17l1.1-6.3L36 6.4l6.4-.9z'/><path d='M63 0l2.6 5.5L72 6.4 67.5 10.7 68.6 17 63 13.6 57.4 17l1.1-6.3L54 6.4l6.4-.9z'/><path d='M81 0l2.6 5.5L90 6.4 85.5 10.7 86.6 17 81 13.6 75.4 17l1.1-6.3L72 6.4l6.4-.9z'/></g></svg>");
}
.pm-product__rating-value {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--pm-charcoal-light);
}
.pm-product__rating-value strong {
    color: var(--pm-charcoal);
    font-weight: 600;
}
.pm-product__rating-sep { color: rgba(25,36,27,.25); }
.pm-product__rating-count {
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(25,36,27,.18);
    padding-bottom: 1px;
    transition: color .25s ease, border-color .25s ease;
}
.pm-product__rating-count:hover {
    color: var(--pm-green-dark) !important;
    border-color: var(--pm-green-dark);
}
.pm-product__rating-empty {
    font-size: 13px;
    color: var(--pm-gold-dark) !important;
    text-decoration: none !important;
    border-bottom: 1px solid var(--pm-gold);
    padding-bottom: 1px;
    transition: color .25s ease, border-color .25s ease;
}
.pm-product__rating-empty:hover {
    color: var(--pm-green-dark) !important;
    border-color: var(--pm-green-dark);
}

/* ----- HIGHLIGHTS (bullet list between title and price) ----- */
.pm-product__highlights {
    list-style: none;
    margin: 0 0 18px;
    padding: 14px 0 14px;
    border-top: 1px solid rgba(25,36,27,.08);
    border-bottom: 1px solid rgba(25,36,27,.08);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 18px;
}
.pm-product__highlights li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--pm-charcoal);
    line-height: 1.4;
}
.pm-product__highlights li svg {
    color: var(--pm-gold);
    flex-shrink: 0;
    margin-top: 1px;
}
.pm-product__highlights strong {
    color: var(--pm-charcoal-light);
    font-weight: 500;
    margin-right: 2px;
}

/* ----- PRICE PER UNIT ----- */
.pm-product__price-per-unit {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin: -2px 0 14px;
    font-size: 12.5px;
    color: var(--pm-charcoal-light);
    letter-spacing: .1px;
}
.pm-product__price-per-unit .woocommerce-Price-amount {
    color: var(--pm-charcoal);
    font-weight: 500;
}
.pm-product__price-per-unit span {
    color: var(--pm-charcoal-light);
}

/* ----- TAB NAV (sticky horizontal, scrollable on mobile) ----- */
.pm-product__tabnav {
    position: sticky;
    top: var(--pm-sticky-offset, 0);
    z-index: 8;
    background: #fff;
    border-top: 1px solid rgba(25,36,27,.07);
    border-bottom: 1px solid rgba(25,36,27,.07);
    margin-bottom: 12px;
}
.pm-tabnav__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 0;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.pm-tabnav__list::-webkit-scrollbar { display: none; }
.pm-tabnav__list li {
    flex-shrink: 0;
}
.pm-tabnav__list a {
    display: inline-flex;
    align-items: center;
    padding: 16px 22px;
    font-family: var(--pm-font-heading);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
    border-bottom: 2px solid transparent;
    transition: color .25s ease, border-color .25s ease;
    white-space: nowrap;
}
.pm-tabnav__list a:hover {
    color: var(--pm-charcoal) !important;
}
.pm-tabnav__list a.is-active {
    color: var(--pm-green-dark) !important;
    border-bottom-color: var(--pm-gold);
}

/* ----- VARIATION SWATCHES (button grid replacing dropdowns) ----- */
.pm-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 4px 0 0;
}
.pm-swatch {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 2px;
    padding: 10px 16px;
    background: #fff;
    border: 1px solid rgba(25,36,27,.18);
    border-radius: 0;
    cursor: pointer;
    font-family: inherit;
    transition: border-color .2s ease, background-color .2s ease, color .2s ease;
    min-width: 80px;
    box-shadow: none;
    line-height: 1.2;
}
.pm-swatch:hover {
    border-color: var(--pm-green-dark);
}
.pm-swatch.is-selected {
    border-color: var(--pm-green-dark);
    background: var(--pm-green-dark);
    color: #fff;
}
.pm-swatch.is-selected .pm-swatch__price {
    color: rgba(255,255,255,.75);
}
.pm-swatch.is-soldout {
    opacity: .45;
    cursor: not-allowed;
    text-decoration: line-through;
}
.pm-swatch__label {
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .1px;
}
.pm-swatch__price {
    font-size: 11.5px;
    font-weight: 500;
    color: var(--pm-charcoal-light);
}
.pm-swatches-label {
    padding-bottom: 6px !important;
}

/* ----- "PENTRU CINE ESTE RECOMANDAT?" (personas) ----- */
.pm-product__personas {
    padding: 60px 0;
    background: linear-gradient(180deg, #FFFFFF 0%, #FAF6EE 100%);
}
.pm-product__personas-head {
    text-align: center;
    margin-bottom: 36px;
}
.pm-product__personas-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--pm-gold-dark);
    margin-bottom: 12px;
    padding: 0 36px;
    position: relative;
}
.pm-product__personas-eyebrow::before,
.pm-product__personas-eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 26px;
    height: 1px;
    background: var(--pm-gold);
}
.pm-product__personas-eyebrow::before { left: 0; }
.pm-product__personas-eyebrow::after  { right: 0; }
.pm-product__personas-title {
    font-family: var(--pm-font-heading);
    font-size: 30px;
    font-weight: 400;
    color: var(--pm-green-dark);
    margin: 0;
    letter-spacing: -.3px;
}
.pm-product__personas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}
.pm-persona {
    background: #fff;
    padding: 28px 22px;
    text-align: center;
    border: 1px solid rgba(190,157,92,.14);
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pm-persona:hover {
    border-color: var(--pm-gold);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -22px rgba(190,157,92,.35);
}
.pm-persona__icon {
    display: inline-block;
    font-size: 32px;
    margin-bottom: 10px;
    line-height: 1;
}
.pm-persona__title {
    font-family: var(--pm-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--pm-charcoal);
    margin: 0 0 8px;
    letter-spacing: .1px;
}
.pm-persona__copy {
    font-size: 13.5px;
    color: var(--pm-charcoal-light);
    line-height: 1.55;
    margin: 0;
}

/* ----- CROSS-SELL STRIP ("Cumpărați împreună") ----- */
.pm-product__crosssells {
    padding: 60px 0;
    background: #fff;
}
.pm-product__cross-head {
    margin-bottom: 28px;
    text-align: center;
}
.pm-product__cross-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    color: var(--pm-gold-dark);
    margin-bottom: 10px;
}
.pm-product__cross-title {
    font-family: var(--pm-font-heading);
    font-size: 28px;
    font-weight: 400;
    color: var(--pm-green-dark);
    margin: 0;
}
.pm-product__cross-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
    max-width: 1100px;
    margin: 0 auto;
}
.pm-crossitem {
    display: flex;
    gap: 16px;
    align-items: center;
    background: #fff;
    border: 1px solid rgba(25,36,27,.07);
    padding: 14px 16px;
    transition: border-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.pm-crossitem:hover {
    border-color: rgba(190,157,92,.32);
    transform: translateY(-2px);
    box-shadow: 0 18px 36px -24px rgba(190,157,92,.30);
}
.pm-crossitem__img {
    flex-shrink: 0;
    width: 76px;
    height: 76px;
    background: #FAF7F2;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.pm-crossitem__img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6%;
}
.pm-crossitem__body {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.pm-crossitem__name {
    font-family: var(--pm-font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--pm-charcoal) !important;
    text-decoration: none !important;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pm-crossitem__name:hover { color: var(--pm-green-dark) !important; }
.pm-crossitem__price {
    font-size: 13.5px;
    color: var(--pm-charcoal);
    font-weight: 600;
}
.pm-crossitem__btn {
    align-self: flex-start;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 12px !important;
    height: 28px !important;
    background: transparent !important;
    background-color: transparent !important;
    color: var(--pm-green-dark) !important;
    border: 1px solid var(--pm-green-dark) !important;
    font-size: 10px !important;
    font-weight: 600 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    line-height: 1 !important;
    transition: background-color .25s ease, color .25s ease;
    margin-top: 2px;
}
.pm-crossitem__btn:hover {
    background: var(--pm-green-dark) !important;
    background-color: var(--pm-green-dark) !important;
    color: #fff !important;
}

/* ----- COMPARISON TABLE ----- */
.pm-product__compare {
    padding: 50px 0;
    background: linear-gradient(180deg, #FAF6EE 0%, #FFFFFF 100%);
}
.pm-compare-wrap {
    background: #fff;
    border: 1px solid rgba(25,36,27,.07);
}
.pm-compare__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 28px;
    cursor: pointer;
    background: linear-gradient(180deg, #fff 0%, #FAF6EE 100%);
    border-bottom: 1px solid rgba(25,36,27,.07);
    list-style: none;
}
.pm-compare__head::-webkit-details-marker { display: none; }
.pm-compare__title {
    font-family: var(--pm-font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--pm-charcoal);
    letter-spacing: .5px;
    text-transform: uppercase;
}
.pm-compare__toggle {
    position: relative;
    width: 18px; height: 18px;
}
.pm-compare__toggle::before,
.pm-compare__toggle::after {
    content: '';
    position: absolute;
    background: var(--pm-charcoal);
    transition: transform .3s ease;
}
.pm-compare__toggle::before {
    width: 18px; height: 1.5px;
    top: 50%; left: 0;
    transform: translateY(-50%);
}
.pm-compare__toggle::after {
    width: 1.5px; height: 18px;
    left: 50%; top: 0;
    transform: translateX(-50%);
}
.pm-compare-wrap[open] .pm-compare__toggle::after {
    transform: translateX(-50%) rotate(90deg);
}
.pm-compare__body { padding: 0; }
.pm-compare__scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.pm-compare__table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 600px;
}
.pm-compare__table th,
.pm-compare__table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid rgba(25,36,27,.06);
    vertical-align: middle;
}
.pm-compare__table thead th {
    background: #fff;
    text-align: center;
    vertical-align: top;
    padding: 18px 14px;
    border-bottom: 2px solid rgba(190,157,92,.20);
}
.pm-compare__table thead th:first-child { background: #FAF7F2; }
.pm-compare__table thead th a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: var(--pm-charcoal) !important;
    text-decoration: none !important;
}
.pm-compare__product-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px; height: 70px;
    background: #FAF7F2;
    overflow: hidden;
}
.pm-compare__product-img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 6%;
}
.pm-compare__product-name {
    font-family: var(--pm-font-heading);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.3;
    text-align: center;
    max-width: 140px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pm-compare__table th.is-current { background: rgba(190,157,92,.05); }
.pm-compare__current-tag {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 8px;
    background: var(--pm-gold);
    color: var(--pm-green-dark);
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}
.pm-compare__price-row td {
    font-size: 15px;
    font-weight: 600;
    color: var(--pm-charcoal);
    text-align: center;
}
.pm-compare__table tbody th {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
    width: 180px;
    background: #fff;
}
.pm-compare__table tbody td {
    text-align: center;
    color: var(--pm-charcoal);
}
.pm-compare__table tfoot td {
    text-align: center;
    border-bottom: 0;
    padding-top: 18px;
    padding-bottom: 20px;
}
.pm-compare__current-text {
    display: inline-block;
    padding: 8px 14px;
    background: rgba(190,157,92,.10);
    color: var(--pm-gold-dark);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}
.pm-compare__see-link {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    background: transparent;
    border: 1px solid var(--pm-green-dark);
    color: var(--pm-green-dark) !important;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    text-decoration: none !important;
    transition: background-color .25s ease, color .25s ease;
}
.pm-compare__see-link:hover {
    background: var(--pm-green-dark);
    color: #fff !important;
}

/* ----- Q&A section ----- */
.pm-product__qna { padding: 0; }
.pm-product__qna-title {
    font-family: var(--pm-font-heading);
    font-size: 22px;
    font-weight: 500;
    color: var(--pm-charcoal);
    margin: 0 0 20px;
}
.pm-product__qna-list {
    display: flex;
    flex-direction: column;
    gap: 1px;
    background: rgba(25,36,27,.07);
    border: 1px solid rgba(25,36,27,.07);
}
.pm-qna {
    background: #fff;
}
.pm-qna summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    transition: background-color .25s ease;
}
.pm-qna summary::-webkit-details-marker { display: none; }
.pm-qna:hover summary { background: rgba(190,157,92,.04); }
.pm-qna__q {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--pm-charcoal);
    line-height: 1.45;
}
.pm-qna__icon {
    position: relative;
    flex-shrink: 0;
    width: 16px; height: 16px;
}
.pm-qna__icon::before,
.pm-qna__icon::after {
    content: '';
    position: absolute;
    background: var(--pm-gold-dark);
    transition: transform .3s ease;
}
.pm-qna__icon::before {
    width: 16px; height: 1.5px;
    top: 50%; left: 0;
    transform: translateY(-50%);
}
.pm-qna__icon::after {
    width: 1.5px; height: 16px;
    left: 50%; top: 0;
    transform: translateX(-50%);
}
.pm-qna[open] .pm-qna__icon::after { transform: translateX(-50%) rotate(90deg); }
.pm-qna__a {
    padding: 0 22px 20px;
    font-size: 14px;
    color: var(--pm-charcoal-light);
    line-height: 1.7;
}
.pm-qna__a p:first-child { margin-top: 0; }
.pm-qna__a p:last-child  { margin-bottom: 0; }

/* ----- RECENTLY VIEWED ----- */
.pm-product__recent {
    padding: 50px 0 70px;
    background: #fff;
    border-top: 1px solid rgba(25,36,27,.06);
}
.pm-product__recent-head {
    margin-bottom: 24px;
    text-align: center;
}
.pm-product__recent-eyebrow {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 3.2px;
    text-transform: uppercase;
    color: var(--pm-gold-dark);
    margin-bottom: 8px;
}
.pm-product__recent-title {
    font-family: var(--pm-font-heading);
    font-size: 22px;
    font-weight: 400;
    color: var(--pm-charcoal);
    margin: 0;
}
.pm-product__recent-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
}
.pm-recent-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 14px 10px;
    text-decoration: none !important;
    border: 1px solid rgba(25,36,27,.07);
    background: #fff;
    transition: border-color .25s ease, transform .25s ease;
}
.pm-recent-item:hover {
    border-color: rgba(190,157,92,.32);
    transform: translateY(-2px);
}
.pm-recent-item__img {
    width: 80px; height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FAF7F2;
    overflow: hidden;
}
.pm-recent-item__img img {
    width: 100%; height: 100%;
    object-fit: contain;
    padding: 8%;
}
.pm-recent-item__name {
    font-size: 12px;
    font-weight: 500;
    color: var(--pm-charcoal) !important;
    text-align: center;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.pm-recent-item__price {
    font-size: 12px;
    color: var(--pm-charcoal-light);
}

/* ----- STICKY CART BAR — refined with qty + ATC ----- */
.pm-sticky-cart {
    position: fixed;
    bottom: -110px;
    left: 0; right: 0;
    background: #fff;
    border-top: 1px solid rgba(25,36,27,.10);
    box-shadow: 0 -10px 30px -10px rgba(25,36,27,.15);
    z-index: 50;
    transition: bottom .35s cubic-bezier(.16,1,.3,1);
}
.pm-sticky-cart.is-visible { bottom: 0; }
.pm-sticky-cart__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 20px;
    max-width: 1280px;
    margin: 0 auto;
}
.pm-sticky-cart__info {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 0;
}
.pm-sticky-cart__img {
    width: 48px; height: 48px;
    background: #FAF7F2;
    object-fit: contain;
    padding: 4px;
    flex-shrink: 0;
}
.pm-sticky-cart__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}
.pm-sticky-cart__name {
    font-family: var(--pm-font-heading);
    font-size: 14px;
    font-weight: 500;
    color: var(--pm-charcoal);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.pm-sticky-cart__price {
    font-size: 13px;
    color: var(--pm-charcoal-light);
}
.pm-sticky-cart__price .woocommerce-Price-amount {
    color: var(--pm-green-dark);
    font-weight: 600;
}
.pm-sticky-cart__actions {
    flex-shrink: 0;
}
.pm-sticky-cart__btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px;
    height: 46px;
    padding: 0 24px;
    background: var(--pm-green-dark) !important;
    background-color: var(--pm-green-dark) !important;
    color: #fff !important;
    font-family: var(--pm-font-heading);
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    border: 0;
    border-radius: 0;
    text-decoration: none !important;
    transition: background-color .25s ease, letter-spacing .25s ease;
    line-height: 1 !important;
}
.pm-sticky-cart__btn:hover {
    background: var(--pm-gold-dark) !important;
    background-color: var(--pm-gold-dark) !important;
    letter-spacing: 2.4px !important;
}

/* ----- RESPONSIVE ----- */
@media (max-width: 768px) {
    .pm-product__rating { gap: 8px; margin-bottom: 14px; }
    .pm-stars.pm-stars--lg { width: 78px; height: 15px; background-size: 78px 15px; }
    .pm-stars.pm-stars--lg .pm-stars__fill { background-size: 78px 15px; }
    .pm-product__highlights { grid-template-columns: 1fr; gap: 6px; }
    .pm-product__highlights li { font-size: 12.5px; }
    .pm-tabnav__list a { padding: 14px 16px; font-size: 11px; letter-spacing: 1.4px; }
    .pm-swatches { gap: 6px; }
    .pm-swatch { padding: 8px 12px; min-width: 70px; }
    .pm-swatch__label { font-size: 12.5px; }
    .pm-product__personas,
    .pm-product__crosssells,
    .pm-product__compare { padding: 40px 0; }
    .pm-product__personas-title,
    .pm-product__cross-title { font-size: 22px; }
    .pm-product__cross-grid { grid-template-columns: 1fr; }
    .pm-crossitem__img { width: 64px; height: 64px; }
    .pm-compare__head { padding: 16px 18px; }
    .pm-compare__title { font-size: 13px; }
    .pm-product__recent { padding: 36px 0 50px; }
    .pm-product__recent-row { grid-template-columns: repeat(3, 1fr); }
    .pm-recent-item__img { width: 64px; height: 64px; }
    .pm-recent-item__name { font-size: 11.5px; }
    .pm-sticky-cart__inner { padding: 10px 16px; gap: 12px; }
    .pm-sticky-cart__img { width: 40px; height: 40px; }
    .pm-sticky-cart__name { font-size: 13px; }
    .pm-sticky-cart__btn { height: 42px; padding: 0 18px; font-size: 10px !important; letter-spacing: 1.6px !important; }
}
@media (max-width: 480px) {
    .pm-product__recent-row { grid-template-columns: repeat(2, 1fr); }
    .pm-sticky-cart__text { display: none; }
    .pm-sticky-cart__info { flex: 0 0 auto; }
}

/* ============================================================
   SHOP-ROOT LANDING SHOWCASE (top-level categories grid)
   Appears only on the WC shop root when no category/filter is active.
   ============================================================ */
.pm-shop-landing {
    padding: 56px 0 32px;
    background: #fff;
}
.pm-shop-landing__head {
    text-align: center;
    margin-bottom: 40px;
}
.pm-shop-landing__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.6px;
    text-transform: uppercase;
    color: var(--pm-gold-dark);
    margin-bottom: 12px;
    padding: 0 40px;
    position: relative;
}
.pm-shop-landing__eyebrow::before,
.pm-shop-landing__eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 1px;
    background: var(--pm-gold);
}
.pm-shop-landing__eyebrow::before { left: 0; }
.pm-shop-landing__eyebrow::after  { right: 0; }
.pm-shop-landing__title {
    font-family: var(--pm-font-heading);
    font-size: 36px;
    font-weight: 400;
    color: var(--pm-green-dark);
    margin: 0 0 14px;
    letter-spacing: -.4px;
}
.pm-shop-landing__lead {
    font-size: 15.5px;
    font-weight: 300;
    color: var(--pm-charcoal-light);
    line-height: 1.65;
    max-width: 580px;
    margin: 0 auto;
}
.pm-shop-landing__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 8px;
}
.pm-shop-landing__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #FAF7F2;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    text-decoration: none !important;
    border: 1px solid rgba(190,157,92,.12);
    transition: border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.pm-shop-landing__card:hover {
    border-color: rgba(190,157,92,.35);
    transform: translateY(-3px);
    box-shadow: 0 24px 50px -22px rgba(190,157,92,.35), 0 8px 18px -10px rgba(25,36,27,.10);
}
.pm-shop-landing__img {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}
.pm-shop-landing__img img {
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center;
    filter: brightness(.82) saturate(.92);
    transition: transform 1s cubic-bezier(.16,1,.3,1), filter .5s ease;
}
.pm-shop-landing__card:hover .pm-shop-landing__img img {
    transform: scale(1.06);
    filter: brightness(.92) saturate(1);
}
/* Gradient overlay + gold accent for readable text */
.pm-shop-landing__card.has-thumb::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(ellipse 50% 60% at 100% 0%, rgba(190,157,92,.18), transparent 65%),
        linear-gradient(to top,
            rgba(25,36,27,.88) 0%,
            rgba(25,36,27,.55) 35%,
            rgba(25,36,27,.20) 60%,
            rgba(25,36,27,0)   100%);
}
.pm-shop-landing__card.has-thumb::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    z-index: 2;
    background: linear-gradient(90deg, transparent, var(--pm-gold) 30%, var(--pm-gold) 70%, transparent);
    opacity: 0;
    transition: opacity .35s ease;
}
.pm-shop-landing__card.has-thumb:hover::after { opacity: .65; }

.pm-shop-landing__body {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 28px 26px 26px;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.pm-shop-landing__card:not(.has-thumb) .pm-shop-landing__body {
    color: var(--pm-charcoal);
}
.pm-shop-landing__name {
    font-family: var(--pm-font-heading);
    font-size: 24px;
    font-weight: 500;
    letter-spacing: -.2px;
    line-height: 1.2;
}
.pm-shop-landing__count {
    font-size: 11.5px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255,255,255,.65);
    margin-top: 2px;
}
.pm-shop-landing__card:not(.has-thumb) .pm-shop-landing__count {
    color: var(--pm-charcoal-light);
}
.pm-shop-landing__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pm-gold-light);
    transition: gap .3s cubic-bezier(.4,0,.2,1), color .3s ease;
}
.pm-shop-landing__card:not(.has-thumb) .pm-shop-landing__cta {
    color: var(--pm-gold-dark);
}
.pm-shop-landing__card:hover .pm-shop-landing__cta {
    gap: 14px;
    color: #fff;
}
.pm-shop-landing__card:not(.has-thumb):hover .pm-shop-landing__cta {
    color: var(--pm-green-dark);
}

@media (max-width: 992px) {
    .pm-shop-landing__grid { grid-template-columns: repeat(2, 1fr); }
    .pm-shop-landing__title { font-size: 30px; }
}
@media (max-width: 640px) {
    .pm-shop-landing { padding: 40px 0 24px; }
    .pm-shop-landing__head { margin-bottom: 28px; }
    .pm-shop-landing__title { font-size: 24px; }
    .pm-shop-landing__lead { font-size: 14.5px; }
    .pm-shop-landing__grid { grid-template-columns: 1fr; gap: 14px; }
    .pm-shop-landing__card { aspect-ratio: 16 / 10; }
    .pm-shop-landing__body { padding: 20px 22px; }
    .pm-shop-landing__name { font-size: 20px; }
}

/* ============================================================
   SINGLE-PRODUCT DESCRIPTION — type-specific section styling
   Each detected description section gets a contextual treatment:
     - .pm-desc-section--ingredients (chip list or paragraph)
     - .pm-desc-section--analysis    (key/value nutrition table)
     - .pm-desc-section--feeding     (weight → portion table)
     - .pm-desc-section--tips        (gold-checked bullet list)
   ============================================================ */

/* Base body — editorial typography */
.pm-desc-body {
    font-size: 15px;
    line-height: 1.75;
    color: var(--pm-charcoal-light);
    max-width: none;
}
.pm-desc-body > * + * { margin-top: 14px; }
.pm-desc-body p {
    margin: 0;
    max-width: 880px;
}
.pm-desc-body h2,
.pm-desc-body h3,
.pm-desc-body h4,
.pm-desc-body .pm-desc__h {
    font-family: var(--pm-font-heading);
    font-size: 16px;
    font-weight: 600;
    color: var(--pm-charcoal);
    letter-spacing: .3px;
    margin: 28px 0 8px;
}
.pm-desc-body strong { color: var(--pm-charcoal); font-weight: 600; }
.pm-desc-body ul,
.pm-desc-body ol {
    padding-left: 20px;
    margin: 8px 0;
    max-width: 880px;
}
.pm-desc-body ul li,
.pm-desc-body ol li { margin: 4px 0; }
.pm-desc__hint {
    color: var(--pm-charcoal-light);
    font-style: italic;
    font-size: 14px;
    padding: 12px 16px;
    background: rgba(190,157,92,.08);
    border-left: 2px solid var(--pm-gold);
}

/* ---- INGREDIENTS — chip/tag list ---- */
.pm-desc-ingredients {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 6px 8px;
    max-width: none !important;
}
.pm-desc-ingredients li {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: rgba(190,157,92,.08);
    border: 1px solid rgba(190,157,92,.20);
    color: var(--pm-charcoal);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .1px;
    margin: 0 !important;
    line-height: 1.3;
    transition: border-color .25s ease, background-color .25s ease;
}
.pm-desc-ingredients li:hover {
    background: rgba(190,157,92,.14);
    border-color: rgba(190,157,92,.40);
}
.pm-desc-section--ingredients > p,
.pm-desc-section--ingredients > div { max-width: 880px; }

/* ---- ANALYSIS — clean nutrition table ---- */
.pm-desc-analysis {
    width: 100%;
    max-width: 640px;
    border-collapse: collapse;
    margin: 8px 0;
    background: #fff;
    border: 1px solid rgba(25,36,27,.08);
}
.pm-desc-analysis tr {
    border-bottom: 1px solid rgba(25,36,27,.06);
    transition: background-color .2s ease;
}
.pm-desc-analysis tr:last-child { border-bottom: 0; }
.pm-desc-analysis tr:nth-child(even) { background: rgba(190,157,92,.04); }
.pm-desc-analysis tr:hover { background: rgba(190,157,92,.10); }
.pm-desc-analysis th,
.pm-desc-analysis td {
    padding: 12px 18px;
    text-align: left;
    vertical-align: middle;
}
.pm-desc-analysis th {
    font-size: 12.5px;
    font-weight: 500;
    color: var(--pm-charcoal-light);
    letter-spacing: .1px;
    width: 60%;
}
.pm-desc-analysis td {
    font-size: 14px;
    font-weight: 600;
    color: var(--pm-green-dark);
    text-align: right;
    letter-spacing: .2px;
    font-variant-numeric: tabular-nums;
}

/* ---- FEEDING — weight/portion table with gold accent ---- */
.pm-desc-feeding {
    width: 100%;
    max-width: 640px;
    border-collapse: collapse;
    margin: 8px 0;
    background: #fff;
    border: 1px solid rgba(190,157,92,.22);
}
.pm-desc-feeding thead th {
    background: var(--pm-green-dark);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 14px 18px;
    text-align: left;
}
.pm-desc-feeding tbody tr { border-bottom: 1px solid rgba(25,36,27,.06); }
.pm-desc-feeding tbody tr:last-child { border-bottom: 0; }
.pm-desc-feeding tbody tr:nth-child(even) { background: #FAF7F2; }
.pm-desc-feeding tbody td {
    padding: 12px 18px;
    font-size: 14px;
    color: var(--pm-charcoal);
    font-variant-numeric: tabular-nums;
}
.pm-desc-feeding tbody td:first-child {
    font-weight: 500;
    color: var(--pm-charcoal);
}
.pm-desc-feeding tbody td:last-child {
    color: var(--pm-green-dark);
    font-weight: 600;
}

/* ---- TIPS — gold-check bullet list ---- */
.pm-desc-tips {
    list-style: none !important;
    padding: 0 !important;
    margin: 8px 0 !important;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 880px !important;
}
.pm-desc-tips li {
    position: relative;
    padding-left: 28px;
    margin: 0 !important;
    font-size: 14.5px;
    color: var(--pm-charcoal);
    line-height: 1.6;
}
.pm-desc-tips li::before {
    content: '';
    position: absolute;
    left: 0; top: 6px;
    width: 16px; height: 16px;
    background-color: var(--pm-gold);
    -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
            mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'><polyline points='20 6 9 17 4 12'/></svg>") center/contain no-repeat;
}

/* Section wrappers — small breathing room */
.pm-desc-section { margin: 0; }
.pm-desc-section + .pm-desc-section { margin-top: 24px; }

/* Responsive */
@media (max-width: 640px) {
    .pm-desc-body { font-size: 14.5px; line-height: 1.7; }
    .pm-desc-body h2,
    .pm-desc-body h3,
    .pm-desc-body h4,
    .pm-desc-body .pm-desc__h { font-size: 15px; margin-top: 22px; }
    .pm-desc-ingredients li { font-size: 12.5px; padding: 5px 10px; }
    .pm-desc-analysis th,
    .pm-desc-analysis td,
    .pm-desc-feeding tbody td { padding: 10px 14px; font-size: 13px; }
    .pm-desc-feeding thead th { padding: 12px 14px; font-size: 10px; letter-spacing: 1.6px; }
    .pm-desc-tips li { font-size: 13.5px; padding-left: 24px; }
}

/* --------------------------------------------------------------------------
 * Empty cart / Empty wishlist titles
 * The original XStore templates rendered these as <h1>, which created a
 * duplicate H1 alongside the page title. PM_SEO converts them to <span> for
 * SEO; this styling preserves the original visual hierarchy.
 * -------------------------------------------------------------------------- */
.pm-empty-title {
    display: block;
    font-size: 1.75rem;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 1rem 0;
    color: var(--et_dark-2-white, #1a1a1a);
}
@media (max-width: 640px) {
    .pm-empty-title { font-size: 1.4rem; }
}

/* ============================================================
   CART PAGE — Shipping methods alignment
   Default WC layout on mobile renders radio + label as inline-flex with
   align-items: flex-start, which leaves the radio at the top while a long
   method label wraps below (e.g. "Curier Rapid: 19,00 lei" splitting onto
   two right-aligned lines). Reflow as a left-aligned vertical list where
   each row is one block, radio + label side by side, and the price stays
   inline with the method name.
   ============================================================ */
.woocommerce-cart .woocommerce-shipping-methods,
.woocommerce-checkout .woocommerce-shipping-methods,
.woocommerce-cart #shipping_method,
.woocommerce-checkout #shipping_method {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.woocommerce-cart .woocommerce-shipping-methods li,
.woocommerce-checkout .woocommerce-shipping-methods li,
.woocommerce-cart #shipping_method li,
.woocommerce-checkout #shipping_method li {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    width: 100% !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    text-align: left !important;
}
.woocommerce-cart .woocommerce-shipping-methods li input[type="radio"],
.woocommerce-checkout .woocommerce-shipping-methods li input[type="radio"],
.woocommerce-cart #shipping_method li input[type="radio"],
.woocommerce-checkout #shipping_method li input[type="radio"] {
    flex-shrink: 0 !important;
    margin: 0 !important;
}
.woocommerce-cart .woocommerce-shipping-methods li label,
.woocommerce-checkout .woocommerce-shipping-methods li label,
.woocommerce-cart #shipping_method li label,
.woocommerce-checkout #shipping_method li label {
    flex: 1 1 auto !important;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left !important;
    line-height: 1.4 !important;
    font-size: 15px !important;
    color: var(--pm-charcoal) !important;
    word-break: normal !important;
    overflow-wrap: anywhere;
}
.woocommerce-cart .woocommerce-shipping-methods li label bdi,
.woocommerce-checkout .woocommerce-shipping-methods li label bdi,
.woocommerce-cart #shipping_method li label bdi,
.woocommerce-checkout #shipping_method li label bdi {
    text-decoration: none !important;
    font-weight: 500 !important;
}
/* "Shipping options will be updated…" notice + "Calculate shipping" link */
.woocommerce-cart .woocommerce-shipping-destination,
.woocommerce-cart .shipping-calculator-button {
    text-align: left !important;
    margin: 12px 0 !important;
    font-size: 13.5px !important;
    color: var(--pm-charcoal-light) !important;
}

@media (max-width: 640px) {
    /* Tighter cart-totals on mobile, push shipping block flush left */
    .woocommerce-cart .cart_totals table.shop_table th,
    .woocommerce-cart .cart_totals table.shop_table td {
        padding: 12px 8px !important;
        vertical-align: top !important;
    }
    .woocommerce-cart .cart_totals .shipping td {
        text-align: left !important;
    }
    .woocommerce-cart .woocommerce-shipping-methods,
    .woocommerce-cart #shipping_method {
        margin-top: 0 !important;
    }
    .woocommerce-cart .woocommerce-shipping-methods li label,
    .woocommerce-cart #shipping_method li label {
        font-size: 14.5px !important;
    }
    /* Stack action buttons vertically with proper gap */
    .woocommerce-cart .wc-proceed-to-checkout {
        display: flex !important;
        flex-direction: column !important;
        gap: 10px !important;
    }
    .woocommerce-cart .wc-proceed-to-checkout > a,
    .woocommerce-cart .wc-proceed-to-checkout > .checkout-button,
    .woocommerce-cart .wc-proceed-to-checkout > .return-shop {
        width: 100% !important;
        margin: 0 !important;
    }
}

/* ============================================================
   MY ACCOUNT — login + register cards equal height
   ============================================================
   XStore parent uses `float: left` on #customer_login > div, which lets
   each card pick its own height (login form is taller than the register
   blurb). Switch to flexbox container so both cards stretch to match the
   tallest sibling.
*/
.woocommerce-account #customer_login,
.woocommerce-account .u-columns.col2-set {
    display: flex !important;
    flex-wrap: wrap;
    gap: 20px;
    align-items: stretch;
}
.woocommerce-account #customer_login > div,
.woocommerce-account .u-columns.col2-set > .u-column1,
.woocommerce-account .u-columns.col2-set > .u-column2 {
    float: none !important;
    flex: 1 1 calc(50% - 10px);
    min-width: 0;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

/* Mobile fallback: stack vertically (already float:left on tablet → preserve) */
@media (max-width: 768px) {
    .woocommerce-account #customer_login,
    .woocommerce-account .u-columns.col2-set {
        flex-direction: column;
    }
    .woocommerce-account #customer_login > div,
    .woocommerce-account .u-columns.col2-set > .u-column1,
    .woocommerce-account .u-columns.col2-set > .u-column2 {
        flex: 1 1 auto;
    }
}
