/* ============================================================
   PETMAISON HEADER & FOOTER
   ============================================================ */

/* ---- TOP BAR (brand green) ---- */
.pm-top-bar {
    background: var(--pm-green);
    color: rgba(255,255,255,.9);
    font-size: 13px;
    padding: 7px 0;
}

.pm-top-bar__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.pm-top-bar__left, .pm-top-bar__right { display: flex; align-items: center; gap: 20px; }

.pm-top-bar__item { display: flex; align-items: center; gap: 6px; }
.pm-top-bar__item a { color: rgba(255,255,255,.9) !important; text-decoration: none; }
.pm-top-bar__item a:hover { color: #fff !important; text-decoration: underline; }
.pm-top-bar__right { font-weight: 600; color: #fff; }

/* ---- MAIN HEADER ----
   Sticky on desktop + mobile so the nav / cart / search controls are always
   reachable while the user scrolls. The top promo bar (.pm-top-bar) is left
   non-sticky on purpose so it gives back screen estate after the first
   scroll — the main bar takes over alone.

   We make XStore's outer `<header class="site-header">` wrapper sticky
   instead of `.pm-header-main` directly: the wrapper's parent is the long
   `.page-wrapper` (full page height), so sticky has room to stick.
   Targeting `.pm-header-main` failed because its direct parent
   (`<header class="site-header">`) collapsed to the child's own 73px
   height, leaving no scroll room for sticky to anchor.

   The WP admin bar (logged-in users) is `position: fixed; top: 0` and would
   otherwise overlap us; offset for it. Frontend (logged-out) gets `top: 0`. */
.pm-header-main { background: var(--pm-white); border-bottom: 1px solid var(--pm-gray-200); }
/* XStore wraps the site in `.template-container { overflow: hidden }` which
   creates a clipping scrollport that breaks position:sticky for descendants.
   `overflow-clip` keeps XStore's layout intent (prevent horizontal blow-out)
   without creating a sticky-killing scroll container. */
.template-container { overflow: clip !important; }
header.site-header,
header.site-header.sticky {
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow .25s ease;
}
body.admin-bar header.site-header,
body.admin-bar header.site-header.sticky { top: 46px; }
@media (min-width: 783px) {
    body.admin-bar header.site-header,
    body.admin-bar header.site-header.sticky { top: 32px; }
}
/* Visual cue once the header detaches from the top of the page */
header.site-header.is-stuck,
.pm-header-main.is-stuck {
    box-shadow: 0 2px 12px rgba(25,36,27,.08);
}
header.site-header.is-stuck .pm-header-main,
.pm-header-main.is-stuck { border-bottom-color: transparent; }

.pm-header-main__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    height: 72px;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Logo */
.pm-header__logo { flex-shrink: 0; }
.pm-logo-link { display: flex; align-items: center; text-decoration: none; }
.pm-logo-img { height: 48px; width: auto; max-width: 180px; object-fit: contain; }
.pm-logo-text { font-size: 24px; font-weight: 800; color: var(--pm-charcoal); }

/* ---- MAIN NAVIGATION ---- */
.pm-header__nav { flex: 1; display: flex; justify-content: center; }

.pm-main-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 4px; }
.pm-main-menu > li { position: relative; }
.pm-main-menu > li > a {
    display: flex; align-items: center; padding: 28px 14px; font-size: 12px; font-weight: 500;
    letter-spacing: 1.4px; text-transform: uppercase;
    color: var(--pm-charcoal) !important; text-decoration: none; transition: color .25s ease; white-space: nowrap;
    position: relative;
}
.pm-main-menu > li > a::after {
    content: ''; position: absolute; left: 14px; right: 14px; bottom: 18px; height: 1px;
    background: var(--pm-green); transform: scaleX(0); transform-origin: left center;
    transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.pm-main-menu > li > a:hover::after,
.pm-main-menu > li.current-menu-item > a::after,
.pm-main-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }
.pm-main-menu > li > a:hover,
.pm-main-menu > li.current-menu-item > a,
.pm-main-menu > li.current-menu-ancestor > a { color: var(--pm-green) !important; }

/* Dropdown indicator — small chevron next to top-level items that have a mega menu.
   Inline-flex aligns it next to the label; rotates 180° on hover (i.e., when the
   mega panel opens) for a subtle "menu is open" affordance. */
.pm-menu-chevron {
    display: inline-block;
    margin-left: 6px;
    color: currentColor;
    opacity: .6;
    transition: transform .3s cubic-bezier(.16,1,.3,1), opacity .25s ease;
    flex-shrink: 0;
}
.pm-main-menu > li.pm-has-mega:hover > a .pm-menu-chevron,
.pm-main-menu > li.menu-item-has-children:hover > a .pm-menu-chevron,
.pm-main-menu > li:focus-within > a .pm-menu-chevron {
    transform: rotate(180deg);
    opacity: 1;
}

/* Mobile: hide the chevron — the mobile nav has its own +/- toggle UX */
@media (max-width: 992px) {
    .pm-menu-chevron { display: none; }
}

/* ============================================================
   MEGA MENU — Farfetch-inspired (image-led, restrained typography)
   ============================================================ */
.pm-mega-dropdown {
    position: fixed !important;
    top: auto !important;
    left: 50% !important;
    transform: translateX(-50%);
    width: 1280px;
    max-width: 96vw;
    background: var(--pm-white);
    box-shadow: 0 20px 50px -16px rgba(25, 36, 27, .12);
    padding: 56px 64px 52px;
    display: none !important;
    z-index: 1000;
    list-style: none;
    margin: 0;
    grid-template-columns: repeat(4, 1fr);
    column-gap: 56px;
    row-gap: 20px;
    border-top: 1px solid var(--pm-gray-200);
}

.pm-has-mega:hover > .pm-mega-dropdown {
    display: grid !important;
    animation: pmMegaIn .28s cubic-bezier(.16,1,.3,1);
}

@keyframes pmMegaIn {
    from { opacity: 0; transform: translateX(-50%) translateY(-4px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* L2 — section heading */
.pm-mega-l2-item {
    list-style: none;
    margin: 0;
}

.pm-mega-l2-link {
    display: block !important;
    padding: 0 0 14px !important;
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--pm-gray-200);
    text-decoration: none !important;
    margin-bottom: 14px;
    position: relative;
    transition: border-color .3s ease;
}

.pm-mega-l2-link:hover {
    background: none !important;
    border-bottom-color: var(--pm-green);
}

.pm-mega-l2-thumb { display: none; }

.pm-mega-l2-text {
    display: block;
    font-family: var(--pm-font-heading, var(--pm-font-body));
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2.4px;
    text-transform: uppercase;
    color: var(--pm-charcoal);
    line-height: 1.4;
    transition: color .25s ease;
}

.pm-mega-l2-arrow { display: none; }

.pm-mega-l2-link:hover .pm-mega-l2-text { color: var(--pm-green); }

/* L3 — refined item list, plain color hover */
.pm-mega-l3 {
    list-style: none; margin: 0 0 4px; padding: 0;
    position: static !important; display: flex !important; flex-direction: column;
    background: none !important; border: none !important; box-shadow: none !important; min-width: 0 !important;
}

.pm-mega-l3-item { list-style: none; margin: 0; padding: 0; }

.pm-mega-l3-link {
    display: inline-block !important;
    font-family: var(--pm-font-body);
    font-size: 14.5px !important;
    font-weight: 400 !important;
    line-height: 2.05 !important;
    letter-spacing: .15px;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none !important;
    padding: 0 !important;
    background: none !important;
    border-radius: 0 !important;
    transition: color .2s ease, transform .25s cubic-bezier(.16,1,.3,1);
}

.pm-mega-l3-link:hover {
    color: var(--pm-green) !important;
    background: none !important;
    transform: translateX(3px);
}

/* Smaller menus (≤2 categories) keep simpler layout */
.pm-main-menu > li:nth-last-child(-n+4) > .pm-mega-dropdown {
    grid-template-columns: repeat(2, 1fr);
    width: 720px;
}
.pm-main-menu > li:nth-last-child(-n+4) .pm-mega-featured {
    display: none;
}

/* No submenu items */
.pm-main-menu > li:not(.pm-has-mega) > .sub-menu { display: none !important; }

/* ---- HEADER ACTION BUTTONS (redesigned with labels) ---- */
.pm-header__actions {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
}

.pm-hdr-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 8px 10px;
    border-radius: 0;
    background: none;
    border: 1px solid transparent;
    cursor: pointer;
    color: var(--pm-charcoal);
    text-decoration: none !important;
    transition: color .25s ease, border-color .25s ease, background-color .25s ease;
    position: relative;
    min-width: 56px;
}

.pm-hdr-btn:hover {
    color: var(--pm-green-dark);
}

.pm-hdr-btn__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    transition: transform .25s ease;
    flex-shrink: 0;
}
.pm-hdr-btn__icon svg {
    display: block;
    width: 24px;
    height: 24px;
    transition: stroke .25s ease;
    overflow: visible;     /* never clip strokes near the edges */
}

/* Subtle, unified hover — no rotation gimmicks */
.pm-hdr-btn:hover .pm-hdr-btn__icon { transform: translateY(-1px); }
.pm-hdr-btn--wishlist:hover svg { stroke: var(--pm-gold-dark); fill: rgba(190,157,92,.10); }

.pm-hdr-btn__label {
    font-size: 10.5px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color .25s ease;
}

/* Cart button — gold-accented, signature of the premium palette */
.pm-hdr-btn--cart {
    background: transparent;
    border: 1px solid rgba(190,157,92,.30);
    padding-left: 14px;
    padding-right: 14px;
}
.pm-hdr-btn--cart:hover {
    background: var(--pm-green-dark);
    color: #fff;
    border-color: var(--pm-green-dark);
}
.pm-hdr-btn--cart:hover svg { stroke: #fff; }
.pm-hdr-btn--cart:hover .pm-hdr-btn__label { color: #fff; }

/* Cart count badge — floats just outside the button's top-right corner
   so it never sits ON TOP of the icon */
.pm-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: var(--pm-gold);
    color: var(--pm-green-dark);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    border: 2px solid #fff;
    box-shadow: 0 2px 6px rgba(25,36,27,.20);
    z-index: 2;
    pointer-events: none;
}

.pm-hdr-btn--cart .pm-badge {
    background: var(--pm-gold);
    color: var(--pm-green-dark);
}
.pm-hdr-btn--cart:hover .pm-badge {
    border-color: var(--pm-green-dark);
    background: var(--pm-gold-light);
}

/* Mobile toggle */
.pm-mobile-toggle { display: none; }

/* ---- SEARCH OVERLAY — premium full-screen editorial panel ---- */
.pm-search-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}
.pm-search-overlay__bg {
    position: absolute;
    inset: 0;
    background: rgba(25,36,27,.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: pmSearchFade .35s ease both;
}
@keyframes pmSearchFade { from { opacity: 0; } to { opacity: 1; } }
.pm-search-overlay__panel {
    position: relative;
    width: 100%;
    background: #FFFFFF;
    box-shadow: 0 24px 60px -20px rgba(25,36,27,.30);
    padding: 56px 0 64px;
    animation: pmSearchSlide .45s cubic-bezier(.16,1,.3,1) both;
}
@keyframes pmSearchSlide {
    from { transform: translateY(-30px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
/* Hairline gold at the bottom edge */
.pm-search-overlay__panel::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--pm-gold) 30%, var(--pm-gold) 70%, transparent);
    opacity: .55;
}

.pm-search-overlay__inner {
    text-align: center;
    max-width: 740px;
    margin: 0 auto;
    padding: 0 20px;
}
.pm-search-overlay__eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3.6px;
    text-transform: uppercase;
    color: var(--pm-gold-dark);
    margin-bottom: 14px;
    padding: 0 40px;
    position: relative;
}
.pm-search-overlay__eyebrow::before,
.pm-search-overlay__eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px; height: 1px;
    background: var(--pm-gold);
}
.pm-search-overlay__eyebrow::before { left: 0; }
.pm-search-overlay__eyebrow::after  { right: 0; }
.pm-search-overlay__title {
    font-family: var(--pm-font-heading);
    font-size: 32px;
    font-weight: 400;
    color: var(--pm-green-dark);
    margin: 0 0 10px;
    letter-spacing: -.4px;
}
.pm-search-overlay__hint {
    font-size: 14.5px;
    font-weight: 300;
    color: var(--pm-charcoal-light);
    margin: 0 auto 28px;
    line-height: 1.6;
    max-width: 520px;
}
.pm-search-overlay__field {
    max-width: 580px;
    margin: 0 auto;
    position: relative;
}

/* Close button — top-right of panel, circular */
.pm-search-close {
    position: absolute;
    top: 22px;
    right: 22px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(25,36,27,.14);
    border-radius: 50%;
    color: var(--pm-charcoal);
    cursor: pointer;
    transition: background-color .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
    padding: 0;
    line-height: 1;
}
.pm-search-close:hover {
    background: var(--pm-green-dark);
    border-color: var(--pm-green-dark);
    color: #fff;
    transform: rotate(90deg);
}

/* ----- FiboSearch (DgoraWcas) — restyle inside the new panel ----- */
.pm-search-overlay .dgwt-wcas-search-wrapp {
    max-width: 580px;
    margin: 0 auto;
    text-align: left;
}
.pm-search-overlay .dgwt-wcas-search-input {
    font-family: var(--pm-font-body) !important;
    font-size: 16px !important;
    padding: 18px 50px 18px 52px !important;
    border: 1px solid rgba(25,36,27,.18) !important;
    border-radius: 0 !important;
    background: #FAF7F2 !important;
    color: var(--pm-charcoal) !important;
    transition: border-color .25s ease, background-color .25s ease, box-shadow .25s ease !important;
    box-shadow: none !important;
    line-height: 1.2 !important;
}
.pm-search-overlay .dgwt-wcas-search-input:focus {
    border-color: var(--pm-gold) !important;
    background: #fff !important;
    box-shadow: 0 0 0 3px rgba(190,157,92,.15) !important;
}
.pm-search-overlay .dgwt-wcas-search-input::placeholder { color: rgba(51,51,51,.45) !important; }

/* Magnifier icon — properly centered at the LEFT inside the input */
.pm-search-overlay .dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier,
.pm-search-overlay .dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier-handler,
.pm-search-overlay .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier,
.pm-search-overlay .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier-handler {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    right: auto !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    margin: 0 !important;
    padding: 0 !important;
    pointer-events: none !important;
    opacity: .55 !important;
    color: var(--pm-charcoal) !important;
}
.pm-search-overlay .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier svg,
.pm-search-overlay .dgwt-wcas-sf-wrapp .dgwt-wcas-ico-magnifier-handler svg {
    display: block !important;
    width: 18px !important; height: 18px !important;
    margin: 0 !important;
    fill: currentColor !important;
}

/* FiboSearch submit BUTTON inside the search input — vertically center it
   within the input box. FiboSearch sets a hardcoded `top: 21px` that doesn't
   match the input height (57px), so the orange button "floats" near the top
   with uneven padding. We re-anchor it to the input's vertical center and
   size it so it reads as a clean prefix-action, not a misaligned tile. */
.pm-search-overlay .dgwt-wcas-search-submit,
.pm-search-overlay .dgwt-wcas-search-wrapp .dgwt-wcas-search-submit {
    position: absolute !important;
    top: 50% !important;
    left: 16px !important;       /* was 10px — too close to input border */
    right: auto !important;
    transform: translateY(-50%) !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: var(--pm-orange) !important;
    background-color: var(--pm-orange) !important;
    border: 0 !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: background-color .2s ease !important;
}
.pm-search-overlay .dgwt-wcas-search-submit:hover,
.pm-search-overlay .dgwt-wcas-search-wrapp .dgwt-wcas-search-submit:hover {
    background: var(--pm-orange-hover) !important;
    background-color: var(--pm-orange-hover) !important;
}
.pm-search-overlay .dgwt-wcas-search-submit svg,
.pm-search-overlay .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier {
    position: static !important;
    transform: none !important;
    width: 16px !important;
    height: 16px !important;
    margin: 0 !important;
    opacity: 1 !important;
    color: #fff !important;
    fill: #fff !important;
}
.pm-search-overlay .dgwt-wcas-search-submit svg path,
.pm-search-overlay .dgwt-wcas-search-submit .dgwt-wcas-ico-magnifier path {
    fill: #fff !important;
    stroke: #fff !important;
}
/* Bump input left padding so text never hides behind the orange button */
.pm-search-overlay .dgwt-wcas-search-input {
    padding-left: 60px !important;
}

/* Clear (×) button INSIDE input — refined */
.pm-search-overlay .dgwt-wcas-close,
.pm-search-overlay .dgwt-wcas-sf-wrapp .dgwt-wcas-close {
    right: 14px !important;
    width: 22px !important;
    height: 22px !important;
    opacity: .5 !important;
    transition: opacity .25s ease !important;
}
.pm-search-overlay .dgwt-wcas-close:hover { opacity: 1 !important; }

/* Suggestions dropdown — refined */
.pm-search-overlay .dgwt-wcas-suggestions-wrapp {
    left: 0 !important;
    right: auto !important;
    max-width: 100% !important;
    margin-top: 6px !important;
    border: 1px solid rgba(25,36,27,.10) !important;
    border-radius: 0 !important;
    box-shadow: 0 18px 40px -12px rgba(25,36,27,.20) !important;
    background: #fff !important;
}
.pm-search-overlay .dgwt-wcas-suggestion {
    padding: 12px 16px !important;
    border-bottom: 1px solid rgba(25,36,27,.05) !important;
    transition: background-color .15s ease !important;
}
.pm-search-overlay .dgwt-wcas-suggestion:hover,
.pm-search-overlay .dgwt-wcas-suggestion[aria-selected="true"] {
    background: rgba(190,157,92,.08) !important;
}

/* "Istoricul tău" header above search history */
.pm-search-overlay .dgwt-wcas-search-history-title,
.pm-search-overlay .js-dgwt-wcas-search-history-title,
.pm-search-overlay .dgwt-wcas-suggestion-headline {
    font-size: 10.5px !important;
    font-weight: 600 !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: var(--pm-charcoal-light) !important;
    padding: 14px 16px 8px !important;
    background: transparent !important;
}

/* "Șterge" link next to history */
.pm-search-overlay .dgwt-wcas-search-history-clear,
.pm-search-overlay .js-dgwt-wcas-search-history-clear {
    color: var(--pm-gold-dark) !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.4px !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(190,157,92,.40) !important;
    padding-bottom: 1px !important;
    transition: color .25s ease, border-color .25s ease !important;
}
.pm-search-overlay .dgwt-wcas-search-history-clear:hover {
    color: var(--pm-green-dark) !important;
    border-color: var(--pm-green-dark) !important;
}

/* Native (non-FiboSearch) fallback form */
.pm-search-form {
    display: flex;
    align-items: stretch;
    position: relative;
    border: 1px solid rgba(25,36,27,.18);
    background: #FAF7F2;
    transition: border-color .25s ease, background-color .25s ease;
}
.pm-search-form:focus-within {
    border-color: var(--pm-gold);
    background: #fff;
}
.pm-search-form__icon {
    position: absolute;
    left: 18px; top: 50%;
    transform: translateY(-50%);
    color: var(--pm-charcoal-light);
    opacity: .55;
    pointer-events: none;
}
.pm-search-form input[type="search"] {
    flex: 1;
    border: 0 !important;
    padding: 18px 18px 18px 52px !important;
    font-family: var(--pm-font-body);
    font-size: 16px;
    outline: none;
    background: transparent !important;
    color: var(--pm-charcoal);
}
.pm-search-form__submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--pm-green-dark) !important;
    border: 0;
    padding: 0 22px;
    cursor: pointer;
    color: #fff;
    font-family: var(--pm-font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: background-color .25s ease;
}
.pm-search-form__submit:hover { background: var(--pm-gold-dark) !important; }

@media (max-width: 640px) {
    .pm-search-overlay__panel { padding: 44px 0 50px; }
    .pm-search-overlay__title { font-size: 24px; }
    .pm-search-overlay__hint { font-size: 13.5px; }
    .pm-search-close { top: 14px; right: 14px; width: 36px; height: 36px; }
}

/* ---- CART SIDEBAR ----
   Height uses 100dvh (dynamic viewport height) on supporting browsers so the
   bottom CTA stays above the mobile browser URL bar / Android nav buttons.
   100vh is a static measurement that includes UI chrome — on Android Chrome
   with bars visible, the effective viewport is ~80-100px shorter than 100vh,
   pushing the checkout button below the fold. Fallback to 100vh for older
   browsers. */
.pm-cart-sidebar {
    position: fixed; top: 0; right: -380px; width: 380px; max-width: 90vw;
    height: 100vh;
    height: 100dvh;
    background: var(--pm-white); z-index: 10002; display: flex; flex-direction: column;
    box-shadow: -4px 0 30px rgba(0,0,0,.15); transition: right .3s cubic-bezier(.16,1,.3,1);
}
.pm-cart-sidebar.is-open { right: 0; }
.pm-cart-sidebar__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 24px; border-bottom: 1px solid var(--pm-gray-200);
}
.pm-cart-sidebar__header h3,
.pm-cart-sidebar__title { margin: 0; font-size: 18px; font-weight: 700; color: var(--pm-charcoal); display: block; }
.pm-cart-sidebar__close {
    background: none; border: none; font-size: 28px; cursor: pointer; color: var(--pm-charcoal);
    line-height: 1; padding: 0; width: 36px; height: 36px; display: flex; align-items: center;
    justify-content: center; border-radius: 50%; transition: background .2s;
}
.pm-cart-sidebar__close:hover { background: var(--pm-gray-100); }
.pm-cart-sidebar__body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.pm-cart-sidebar .woocommerce-mini-cart { list-style: none; margin: 0; padding: 0; }
.pm-cart-sidebar .woocommerce-mini-cart-item {
    display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--pm-gray-200);
}
.pm-cart-sidebar .woocommerce-mini-cart-item img {
    width: 60px; height: 60px; object-fit: contain; border-radius: var(--pm-radius); background: var(--pm-gray-100); flex-shrink: 0;
}
.pm-cart-sidebar .woocommerce-mini-cart-item a:not(.remove) {
    color: var(--pm-charcoal) !important; text-decoration: none; font-size: 14px; font-weight: 500;
}
.pm-cart-sidebar .woocommerce-mini-cart-item .quantity { display: block; font-size: 13px; color: var(--pm-charcoal-light); margin-top: 4px; }
.pm-cart-sidebar .woocommerce-mini-cart-item .remove { color: #E53935 !important; font-size: 18px; text-decoration: none; margin-left: auto; }
.pm-cart-sidebar__empty { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 40px 20px; gap: 16px; color: var(--pm-charcoal-light); }
.pm-cart-sidebar__footer {
    padding: 16px 24px;
    padding-bottom: calc(16px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--pm-gray-200);
    display: flex; flex-direction: column; gap: 10px;
    background: var(--pm-white);
    flex-shrink: 0;
}
.pm-cart-sidebar__total { display: flex; justify-content: space-between; align-items: center; font-size: 16px; padding-bottom: 10px; }
.pm-cart-sidebar__total strong { font-size: 20px; color: var(--pm-orange); }
.pm-btn--full { width: 100%; text-align: center; display: block; }

/* Overlay */
.pm-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,.4);
    z-index: 10001; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.pm-overlay.is-active { opacity: 1; visibility: visible; }

/* ---- MOBILE MENU (luxury editorial) ---- */
.pm-mobile-menu {
    position: fixed; top: 0; right: 0; width: 360px; max-width: 88vw;
    height: 100vh;
    height: 100dvh;
    background: #fff; z-index: 10001; display: flex; flex-direction: column;
    box-shadow: -8px 0 32px rgba(25,36,27,.08); overflow-y: auto;
}
.pm-mobile-menu__header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 26px 28px 22px;
    border-bottom: 1px solid rgba(74,122,92,.16);
}
.pm-mobile-menu__title {
    font-weight: 500;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--pm-charcoal-light);
}
.pm-mobile-menu__close {
    background: none; border: none; font-size: 22px; font-weight: 300;
    cursor: pointer; color: var(--pm-charcoal); line-height: 1;
    width: 36px; height: 36px; display: flex; align-items: center; justify-content: center;
    transition: color .25s ease;
}
.pm-mobile-menu__close:hover { color: var(--pm-green); }
/* Don't expand to fill the viewport: the mobile menu only has 8 top-level
   items, so flex:1 was leaving a huge dead-white area between "Contact" and
   the account footer. flex: 0 1 auto lets the body shrink to content; the
   parent .pm-mobile-menu (overflow-y:auto) handles scrolling if needed. */
.pm-mobile-menu__body { flex: 0 1 auto; overflow-y: auto; padding: 12px 0 0; }
.pm-mobile-nav { list-style: none; margin: 0; padding: 0; }
.pm-mobile-nav li { list-style: none; }
.pm-mobile-nav > li > a {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 28px;
    font-weight: 400;
    font-size: 17px;
    letter-spacing: -.1px;
    color: var(--pm-charcoal) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(74,122,92,.1);
    transition: color .25s ease, padding-left .25s cubic-bezier(.16,1,.3,1);
}
.pm-mobile-nav > li > a:hover,
.pm-mobile-nav > li.menu-item-has-children.is-open > a {
    color: var(--pm-green) !important;
    background: none;
    padding-left: 34px;
}

/* Drop the emoji icons — they don't fit luxury */
.pm-mobile-nav > li > a::before { content: none !important; }

/* Hide any caret/toggle XStore or older JS may inject */
.pm-mobile-nav .pm-submenu-toggle,
.pm-mobile-nav .menu-toggle,
.pm-mobile-nav > li > a > .arrow,
.pm-mobile-nav > li > a > .caret,
.pm-mobile-nav > li > a svg.caret,
.pm-mobile-nav .et-icon-down,
.pm-mobile-nav .et-icon-chevron-down { display: none !important; }

/* "Vezi tot" parent-category link injected at top of each submenu */
.pm-mobile-nav .pm-mobile-seeall a {
    display: block !important;
    padding: 12px 28px 12px 44px !important;
    font-size: 11px !important;
    font-weight: 600 !important;
    letter-spacing: 1.8px !important;
    text-transform: uppercase;
    color: var(--pm-green) !important;
    text-decoration: none !important;
    border-bottom: 1px solid rgba(74,122,92,.16) !important;
    transition: padding-left .25s cubic-bezier(.16,1,.3,1);
}
.pm-mobile-nav .pm-mobile-seeall a:hover { padding-left: 50px !important; }

/* Caret indicator for items with children */
.pm-mobile-nav > li.menu-item-has-children > a::after {
    content: '+';
    font-size: 18px;
    font-weight: 300;
    color: var(--pm-charcoal-light);
    transition: transform .3s ease, color .25s ease;
    line-height: 1;
}
.pm-mobile-nav > li.menu-item-has-children.is-open > a::after {
    content: '–';
    color: var(--pm-green);
}

/* Submenus */
.pm-mobile-nav .sub-menu {
    list-style: none; margin: 0; padding: 0; display: none;
    background: #FAF7F2;
}
.pm-mobile-nav .sub-menu.is-open { display: block; }
.pm-mobile-nav .sub-menu > li > a {
    display: block;
    padding: 12px 28px 12px 44px;
    font-size: 14px; font-weight: 400;
    letter-spacing: .1px;
    color: var(--pm-charcoal-light) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(74,122,92,.06);
    transition: color .25s ease, padding-left .25s cubic-bezier(.16,1,.3,1);
}
.pm-mobile-nav .sub-menu > li > a:hover {
    color: var(--pm-green) !important;
    padding-left: 50px;
}
.pm-mobile-nav .sub-menu .sub-menu > li > a {
    padding-left: 64px;
    font-size: 13px;
    color: rgba(85,85,85,.85) !important;
    font-weight: 300;
}
.pm-mobile-nav .sub-menu .sub-menu > li > a:hover { padding-left: 70px; }
.pm-mobile-nav .sub-menu .sub-menu { background: #F4F0E8; }

/* Footer of menu — promoted account & cart actions.
   Deep-green logo background gives the section visual prominence as the
   primary post-browse actions, aligned with the rest of the brand surfaces
   (hero panel, top bar). Each link gets its own icon (user / shopping bag)
   so users can tell them apart at a glance, and a subtle gold hairline
   between them adds a clear separator. */
.pm-mobile-menu__footer {
    border-top: 1px solid rgba(190,157,92,.20);
    padding: 0;
    display: flex; flex-direction: column; gap: 0;
    background: var(--pm-green-dark);
    color: #fff;
}
.pm-mobile-menu__footer-link {
    color: #fff !important;
    font-weight: 500;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: .3px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 28px;
    transition: background-color .2s ease, color .2s ease, padding-left .25s cubic-bezier(.16,1,.3,1);
    border-bottom: 1px solid rgba(190,157,92,.18);
}
.pm-mobile-menu__footer-link:last-child {
    border-bottom: 0;
}
.pm-mobile-menu__footer-link::before {
    content: '';
    display: inline-block;
    width: 20px; height: 20px;
    flex-shrink: 0;
    background-color: var(--pm-gold-light);
    -webkit-mask-repeat: no-repeat;
            mask-repeat: no-repeat;
    -webkit-mask-position: center;
            mask-position: center;
    -webkit-mask-size: contain;
            mask-size: contain;
    transition: background-color .2s ease;
}
.pm-mobile-menu__account::before {
    -webkit-mask-image: 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'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
            mask-image: 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'><path d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/><circle cx='12' cy='7' r='4'/></svg>");
}
.pm-mobile-menu__cart::before {
    -webkit-mask-image: 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'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/><line x1='3' y1='6' x2='21' y2='6'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>");
            mask-image: 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'><path d='M6 2 3 6v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6l-3-4Z'/><line x1='3' y1='6' x2='21' y2='6'/><path d='M16 10a4 4 0 0 1-8 0'/></svg>");
}
.pm-mobile-menu__footer-link:hover {
    background: rgba(190,157,92,.10);
    color: var(--pm-gold-light) !important;
    padding-left: 34px;
}
.pm-mobile-menu__footer-link:hover::before {
    background-color: var(--pm-gold);
}
.pm-mobile-menu__footer a.pm-mobile-menu__cta {
    display: inline-block;
    background: var(--pm-green);
    color: #fff !important;
    padding: 12px 24px;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 6px;
    transition: background-color .25s ease;
}
.pm-mobile-menu__footer a.pm-mobile-menu__cta:hover { background: var(--pm-green-hover); color: #fff !important; }

/* ============================================================
   FOOTER
   ============================================================ */
/* ============================================================
   FOOTER (deep logo green + gold accents) — newsletter integrated at top
   ============================================================ */
.pm-footer{position:relative;background-color:var(--pm-green-dark);color:rgba(255,255,255,.72);overflow:hidden;}
.pm-footer::before{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,transparent,var(--pm-gold) 30%,var(--pm-gold) 70%,transparent);opacity:.45;}
.pm-footer a{color:rgba(255,255,255,.72)!important;text-decoration:none;transition:color .25s ease,padding-left .25s ease;}
.pm-footer a:hover{color:var(--pm-gold-light)!important;}

/* ---- Integrated newsletter band (inside footer, gold-on-deep-green) ---- */
.pm-footer__newsletter{position:relative;padding:64px 20px 56px;border-bottom:1px solid rgba(255,255,255,.07);background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(190,157,92,.07), transparent 70%);}
.pm-footer__newsletter-inner{display:grid;grid-template-columns:1.1fr 1fr;gap:56px;align-items:center;max-width:1180px;margin:0 auto;}
.pm-footer__newsletter-text{}
.pm-footer__newsletter-eyebrow{display:inline-block;font-size:10.5px;font-weight:600;letter-spacing:3.6px;text-transform:uppercase;color:var(--pm-gold-light);margin-bottom:14px;position:relative;padding-left:36px;}
.pm-footer__newsletter-eyebrow::before{content:'';position:absolute;left:0;top:50%;width:24px;height:1px;background:var(--pm-gold);}
.pm-footer__newsletter-title{display:block;font-family:var(--pm-font-heading);font-size:30px;font-weight:400;color:#fff;line-height:1.25;letter-spacing:-.3px;margin:0 0 12px;}
.pm-footer__newsletter-title em{font-style:italic;color:var(--pm-gold-light);font-weight:500;}
.pm-footer__newsletter-lead{font-size:14.5px;font-weight:300;color:rgba(255,255,255,.65);line-height:1.65;margin:0;max-width:460px;}
.pm-footer__newsletter-form{position:relative;}
.pm-footer__newsletter-form{display:grid;grid-template-columns:1fr auto;gap:0;background:rgba(255,255,255,.05);border:1px solid rgba(190,157,92,.30);border-radius:0;transition:border-color .3s ease,background .3s ease;}
.pm-footer__newsletter-form:focus-within{border-color:var(--pm-gold);background:rgba(255,255,255,.07);}
.pm-footer__newsletter-form input[type="email"]{padding:0 22px!important;height:60px;border:0!important;border-radius:0!important;background:transparent!important;color:#fff!important;font-size:14.5px;font-family:inherit;outline:none;letter-spacing:.2px;box-shadow:none!important;}
.pm-footer__newsletter-form input[type="email"]::placeholder{color:rgba(255,255,255,.45)!important;opacity:1;}
.pm-footer__newsletter-form input[type="email"]:focus{background:transparent!important;border:0!important;}
.pm-footer__newsletter-form button,
.pm-footer__newsletter-form button[type="submit"]{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:0 26px!important;height:60px;border:0!important;border-left:1px solid rgba(190,157,92,.30)!important;border-radius:0!important;background:var(--pm-gold)!important;background-color:var(--pm-gold)!important;color:var(--pm-green-dark)!important;font-size:11px;font-weight:700;letter-spacing:2.4px;text-transform:uppercase;cursor:pointer;font-family:inherit;transition:background-color .3s ease,color .3s ease,letter-spacing .3s ease;box-shadow:none!important;transform:none!important;}
.pm-footer__newsletter-form button svg{transition:transform .3s ease;}
.pm-footer__newsletter-form button:hover,
.pm-footer__newsletter-form button[type="submit"]:hover{background:var(--pm-gold-light)!important;background-color:var(--pm-gold-light)!important;letter-spacing:2.8px;}
.pm-footer__newsletter-form button:hover svg{transform:translateX(4px);}
.pm-footer__newsletter-action{display:block;}
.pm-footer__newsletter-note{display:flex;align-items:center;gap:8px;font-size:11.5px;color:rgba(255,255,255,.5);letter-spacing:.2px;margin:14px 0 0;padding:0 2px;}
.pm-footer__newsletter-note svg{opacity:.7;flex-shrink:0;}

/* Newsletter — inline submission feedback (replaces page-refresh behavior) */
.pm-footer__newsletter-msg{
    margin:14px 0 0;
    padding:12px 16px;
    border-radius:6px;
    font-size:14px;
    line-height:1.5;
    background:rgba(255,255,255,.06);
    border:1px solid transparent;
    color:#fff;
}
.pm-footer__newsletter-msg.is-ok{
    background:rgba(46,125,50,.18);
    border-color:rgba(190,157,92,.45);
    color:var(--pm-gold-light);
}
.pm-footer__newsletter-msg.is-err{
    background:rgba(200,60,40,.18);
    border-color:rgba(200,60,40,.45);
    color:#ffd5cf;
}
.pm-footer__newsletter-form button[disabled]{opacity:.6;cursor:wait;}

/* Trust strip */
.pm-footer__trust{padding:0;}
.pm-footer__trust-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:24px;padding:36px 20px;border-bottom:1px solid rgba(255,255,255,.07);max-width:1280px;margin:0 auto;}
.pm-footer__trust-item{display:flex;align-items:center;gap:14px;color:rgba(255,255,255,.85);}
.pm-footer__trust-icon{position:relative;display:block;width:44px;height:44px;min-width:44px;min-height:44px;border-radius:50%;background:rgba(190,157,92,.10);color:var(--pm-gold-light);flex-shrink:0;transition:background .3s ease,color .3s ease,transform .3s ease;font-size:0;line-height:0;padding:0;}
.pm-footer__trust-icon svg{position:absolute;top:50%;left:50%;width:22px;height:22px;margin:0;transform:translate(-50%,-50%);display:block;}
.pm-footer__trust-item:hover .pm-footer__trust-icon{background:var(--pm-gold);color:var(--pm-green-dark);transform:translateY(-2px);}
.pm-footer__trust-item strong{display:block;color:#fff;font-size:13.5px;font-weight:600;letter-spacing:.2px;line-height:1.3;}
.pm-footer__trust-item span{display:block;font-size:12px;color:rgba(255,255,255,.55);margin-top:2px;letter-spacing:.2px;}

/* Main grid */
.pm-footer__main{padding:56px 0 48px;}
.pm-footer__grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1.2fr;gap:48px;}
.pm-footer__col--brand{padding-right:8px;}
.pm-footer__logo{margin-bottom:18px;}
.pm-footer-logo-img{max-width:180px;height:auto;}
.pm-footer__about{font-size:14px;line-height:1.7;margin-bottom:22px;color:rgba(255,255,255,.65);max-width:300px;}

/* Social */
.pm-footer__social{display:flex;gap:10px;}
.pm-social-link{display:flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.08);color:rgba(255,255,255,.7);transition:all .3s ease;}
.pm-social-link:hover{background:var(--pm-gold);border-color:var(--pm-gold);color:var(--pm-green-dark)!important;transform:translateY(-2px);}
.pm-social-link svg{fill:currentColor;}

/* Headings */
.pm-footer__heading{display:block;color:#fff;font-family:var(--pm-font-heading);font-size:13px;font-weight:600;letter-spacing:2.4px;text-transform:uppercase;margin-bottom:24px;position:relative;padding-bottom:14px;}
.pm-footer__heading::after{content:'';position:absolute;bottom:0;left:0;width:28px;height:1px;background:var(--pm-gold);}

/* Links */
.pm-footer__links{list-style:none;margin:0;padding:0;}
.pm-footer__links li{margin-bottom:10px;}
.pm-footer__links a{position:relative;font-size:14px;display:inline-block;padding-left:0;transition:padding-left .25s ease,color .25s ease;}
.pm-footer__links a::before{content:'';position:absolute;left:-12px;top:50%;width:6px;height:1px;background:var(--pm-gold);opacity:0;transition:opacity .25s ease,left .25s ease;}
.pm-footer__links a:hover{padding-left:12px;}
.pm-footer__links a:hover::before{opacity:1;left:0;}

/* Contact */
.pm-footer__contact{list-style:none;margin:0;padding:0;}
.pm-footer__contact li{display:flex;align-items:center;gap:12px;margin-bottom:14px;font-size:14px;color:rgba(255,255,255,.72);}
.pm-footer__contact svg{flex-shrink:0;stroke:var(--pm-gold);}
.pm-footer__contact a{font-weight:500;}

/* Payment */
.pm-footer__payment{margin-top:24px;padding-top:22px;border-top:1px solid rgba(255,255,255,.08);}
.pm-footer__payment-label{font-size:11px;text-transform:uppercase;letter-spacing:2px;margin-bottom:12px;display:block;color:rgba(255,255,255,.5);}
.pm-footer__payment-icons{display:flex;gap:6px;flex-wrap:wrap;}
.pm-payment-icon{display:inline-flex;align-items:center;justify-content:center;padding:6px 11px;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.10);border-radius:3px;font-size:10.5px;font-weight:600;letter-spacing:.5px;color:rgba(255,255,255,.7);text-transform:uppercase;}

/* Bottom bar */
/* Legal company strip — sits just above the copyright row */
.pm-footer__legal{
    border-top:1px solid rgba(255,255,255,.06);
    padding:14px 0;
    background:rgba(0,0,0,.10);
}
.pm-footer__legal p{
    margin:0;
    text-align:center;
    font-size:12px;
    color:rgba(255,255,255,.55);
    letter-spacing:.2px;
    line-height:1.5;
}
.pm-footer__legal strong{color:rgba(255,255,255,.8);font-weight:600;}
.pm-footer__legal span{opacity:.4;margin:0 6px;}

/* Compliance badges row — Netopia + SAL + SOL */
.pm-footer__badges{
    border-top:1px solid rgba(255,255,255,.06);
    padding:24px 0;
    background:rgba(255,255,255,.02);
}
.pm-footer__badges-inner{
    max-width:1280px;
    margin:0 auto;
    padding:0 20px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:28px;
    flex-wrap:wrap;
}
.pm-footer__badge{
    height:48px;
    width:auto;
    max-width:100%;
    display:block;
    opacity:.92;
    transition:opacity .2s ease, transform .2s ease;
}
.pm-footer__badges a{
    display:inline-block;
    line-height:0;
}
.pm-footer__badges a:hover .pm-footer__badge{
    opacity:1;
    transform:translateY(-1px);
}
.pm-footer__badge--netopia{height:42px;}

@media (max-width:640px){
    .pm-footer__badges-inner{gap:18px;}
    .pm-footer__badge{height:38px;}
    .pm-footer__badge--netopia{height:34px;}
}

.pm-footer__bottom{border-top:1px solid rgba(255,255,255,.08);padding:22px 0;background:rgba(0,0,0,.18);}
.pm-footer__bottom-inner{display:flex;justify-content:space-between;align-items:center;max-width:1280px;margin:0 auto;padding:0 20px;font-size:13px;gap:20px;}
.pm-footer__bottom p{margin:0;color:rgba(255,255,255,.55);}
.pm-footer__anpc{display:flex;gap:10px;align-items:center;color:rgba(255,255,255,.55);}
.pm-footer__anpc span{opacity:.4;}
.pm-footer__top{display:inline-flex;align-items:center;justify-content:center;width:38px;height:38px;border-radius:50%;background:rgba(190,157,92,.10);border:1px solid rgba(190,157,92,.30);color:var(--pm-gold-light)!important;transition:all .3s ease;flex-shrink:0;}
.pm-footer__top:hover{background:var(--pm-gold);border-color:var(--pm-gold);color:var(--pm-green-dark)!important;transform:translateY(-3px);}

@media(max-width:992px){
    .pm-footer__newsletter{padding:52px 20px 48px;}
    .pm-footer__newsletter-inner{grid-template-columns:1fr;gap:28px;}
    .pm-footer__newsletter-title{font-size:26px;}
    .pm-footer__trust-grid{grid-template-columns:repeat(2,1fr);gap:20px;}
    .pm-footer__grid{grid-template-columns:1fr 1fr;gap:36px;}
    .pm-footer__col--brand{grid-column:1/-1;}
    .pm-footer__col--contact{grid-column:1/-1;}
    .pm-footer__about{max-width:none;}
}
@media(max-width:640px){
    .pm-footer__newsletter{padding:44px 20px 40px;}
    .pm-footer__newsletter-title{font-size:23px;}
    .pm-footer__newsletter-lead{font-size:14px;}
    .pm-footer__newsletter-form{grid-template-columns:1fr;background:transparent!important;border:0!important;}
    .pm-footer__newsletter-form input[type="email"]{width:100%;height:54px;border:1px solid rgba(190,157,92,.30)!important;padding:0 18px!important;background:rgba(255,255,255,.05)!important;}
    .pm-footer__newsletter-form button,
    .pm-footer__newsletter-form button[type="submit"]{margin-top:10px;height:52px;border-left:0!important;justify-self:start;padding:0 28px!important;}
    .pm-footer__trust-grid{grid-template-columns:1fr;gap:14px;padding:24px 20px;}
    .pm-footer__main{padding:40px 0 32px;}
    .pm-footer__grid{grid-template-columns:1fr;gap:32px;}
    .pm-footer__bottom-inner{flex-direction:column;gap:14px;text-align:center;}
    .pm-footer__legal p{font-size:11.5px;line-height:1.7;padding:0 8px;}
    .pm-footer__legal span{margin:0 4px;}
}

/* ---- RESPONSIVE ---- */
@media (max-width: 992px) {
    .pm-header__nav { display: none; }
    .pm-mobile-toggle { display: flex !important; }
    .pm-header-main__inner { height: 60px; }
    .pm-logo-img { height: 40px; }
    .pm-hdr-btn__label { display: none; }
    .pm-hdr-btn { min-width: 40px; padding: 6px; }
}

@media (max-width: 640px) {
    .pm-top-bar__inner { flex-direction: column; gap: 4px; text-align: center; }
    .pm-top-bar__left { display: none; }
    /* Prefooter + footer responsive rules now consolidated in their own blocks above */
}

/* ============================================================
   FiboSearch product preview panel — qty + add-to-cart alignment
   ============================================================
   The right-hand product preview panel shows a quantity selector
   ("- 1 +") next to the orange "COMANDĂ" button. FiboSearch lets them
   pick independent heights, so the button reads as taller and the row
   looks crooked. Force a single flex row, same height (44px), centered
   vertically, with consistent gap. */
.pm-search-overlay .dgwt-wcas-pd-buybox,
.pm-search-overlay .dgwt-wcas-pd-add-to-cart,
.pm-search-overlay .js-dgwt-wcas-pd-add-to-cart,
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity {
    display: flex !important;
    align-items: center !important;
}
.pm-search-overlay .dgwt-wcas-pd-buybox,
.pm-search-overlay .dgwt-wcas-pd-add-to-cart {
    gap: 10px !important;
    flex-wrap: nowrap !important;
}
/* Quantity wrapper + its children — uniform height + crisp border */
.pm-search-overlay .dgwt-wcas-pd-buybox .quantity,
.pm-search-overlay .dgwt-wcas-pd-add-to-cart .quantity,
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity {
    height: 44px !important;
    display: inline-flex !important;
    align-items: center !important;
    border: 1px solid rgba(25,36,27,.16) !important;
    border-radius: 4px !important;
    background: #fff !important;
    overflow: hidden !important;
    margin: 0 !important;
}
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity .minus,
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity .plus,
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity .et-qty-minus,
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity .et-qty-plus,
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity button {
    width: 32px !important;
    height: 100% !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: var(--pm-charcoal) !important;
    font-size: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
}
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity input.qty,
.pm-search-overlay .dgwt-wcas-details-wrapp .quantity input.input-text {
    width: 40px !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: center !important;
    font-size: 14px !important;
    line-height: 1 !important;
}
/* COMANDĂ button — same height as quantity, fills remaining space */
.pm-search-overlay .dgwt-wcas-pd-buybox .button,
.pm-search-overlay .dgwt-wcas-pd-buybox .add_to_cart_button,
.pm-search-overlay .dgwt-wcas-pd-add-to-cart .button,
.pm-search-overlay .dgwt-wcas-pd-add-to-cart .add_to_cart_button,
.pm-search-overlay .js-dgwt-wcas-pd-add-to-cart .button {
    height: 44px !important;
    padding: 0 18px !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    line-height: 1 !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
}
