/* Oh Polly–style header (notyourbabe) */

:root {
  --hd-bg: #fff;
  --hd-text: #000;
  --hd-border: #e5e5e5;
  --hd-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --hd-container: min(100%, 1440px);
  --hd-header-h: 56px;
  --hd-z-header: 1000;
  --hd-z-megamenu: 999;
  --hd-z-drawer: 1100;
}

/* Layout container */
.lyt-Container {
  max-width: var(--hd-container);
  margin: 0 auto;
  padding: 0 16px;
}

.util-ScreenReaderOnly {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.fz-13_13 { font-size: 13px; line-height: 13px; }
.fz-14_14 { font-size: 14px; line-height: 14px; }
.fz-16_22 { font-size: 16px; line-height: 22px; }
.fz-24_29 { font-size: 24px; line-height: 29px; }

/* Hide legacy OpenCart top bar + old menu */
#top { display: none !important; }
#menu.navbar { display: none !important; }

/* Main header */
.hd-Header {
  position: sticky;
  top: 0;
  z-index: var(--hd-z-header);
  background: var(--hd-bg);
  font-family: var(--hd-font);
  color: var(--hd-text);
}

.hd-Header_Navigation-Overlay {
  pointer-events: none;
  position: absolute;
  inset: 0 0 auto;
  height: var(--navBgHeight, 50px);
  background: var(--navBg, transparent);
  opacity: var(--navBgOpacity, 0);
}

.hd-Banner {
  border-bottom: 1px solid var(--hd-border);
}

/* Logo lipit de marginea stângă; meniul începe mai la dreapta */
.hd-Banner .lyt-Container {
  padding-left: 0;
  padding-right: 16px;
}

.hd-Banner_Inner {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  min-height: var(--hd-header-h);
  gap: 0;
}

@media (max-width: 1023px) {
  .hd-Banner_Nav {
    flex: 0 0 auto;
  }

  .hd-Banner_Nav .hd-Banner_Items {
    gap: 0;
  }

  .hd-Banner_Ancillary .hd-Banner_Item-account {
    display: none;
  }

  .hd-Banner_Ancillary .hd-Banner_Item-wishlist {
    display: list-item;
  }

  .hd-Banner_Item-menu.is-open > .drp-Menu {
    display: block;
  }

  .hd-Banner_Link {
    padding: 10px 10px;
    font-size: 12px;
  }
}

.hd-Banner_Logo {
  flex: 0 0 auto;
  margin: 0 40px 0 0;
  padding-left: 0;
  order: 1;
  text-align: left;
}

@media (max-width: 1023px) {
  .hd-Banner_Logo {
    margin-right: 12px;
    padding-left: 0;
  }
}

@media (min-width: 1024px) {
  .hd-Banner_Logo {
    margin-right: 48px;
    padding-left: 0;
  }
}

.hd-Logo {
  display: inline-flex;
  color: var(--hd-text);
  text-decoration: none;
}

.hd-Logo_Image {
  display: block;
  height: auto;
  width: auto;
  max-height: 35px;
}

.hd-Logo_Image-mobile { display: block; }
.hd-Logo_Image-desktop { display: none; }

@media (min-width: 768px) {
  .hd-Logo_Image-mobile { display: none; }
  .hd-Logo_Image-desktop { display: block; max-height: 50px; }
}

/* Nav (după logo, cu spațiu față de logo) */
.hd-Banner_Nav {
  flex: 1 1 auto;
  min-width: 0;
  order: 2;
  padding-left: 0;
}

.hd-Banner_Ancillary {
  flex: 0 0 auto;
  margin-left: auto;
  order: 3;
}

.hd-Banner_Items {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
}

.hd-Banner_Item { position: relative; }

.hd-Banner_Item-icon .hd-Banner_Icon,
.hd-Banner_Icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--hd-text);
  cursor: pointer;
}

.hd-Banner_Item-hamburger {
  display: flex;
  position: relative;
  z-index: 2;
}

.hd-Banner_Item-hamburger .hd-Banner_Icon {
  color: var(--hd-text);
}

/* Hamburger mai vizibil pe hero (mobil + desktop) */
body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Item-hamburger .hd-Banner_Icon {
  color: #fff;
  opacity: 1;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Item-hamburger .hd-Banner_Icon svg path {
  stroke: #fff;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Item-hamburger .hd-Banner_Icon svg {
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.5));
}

.hd-Banner_Item-hamburger .hd-Banner_Icon,
.hd-Banner_Item-search .hd-Search_Trigger {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  cursor: pointer;
}

.hd-Banner_Item-menu { display: none; }

@media (min-width: 1024px) {
  .hd-Banner_Item-hamburger { display: none; }
  .hd-Banner_Item-menu { display: list-item; }
}

.hd-Banner_Link {
  display: inline-flex;
  align-items: center;
  padding: 12px 14px;
  color: var(--hd-text);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 14px;
  line-height: 1;
  white-space: nowrap;
}

.hd-Banner_Link:hover,
.hd-Banner_Item-menu.is-open > .hd-Banner_Link {
  opacity: 0.65;
}

.hd-Banner_TabAccessible {
  display: none;
}

.hd-Banner_Ancillary .hd-Banner_Items {
  justify-content: flex-end;
  gap: 0;
}

/* Iconițe dreapta: mai strânse (search, account, wishlist, cart) */
.hd-Banner_Ancillary .hd-Banner_Item-icon > .hd-Banner_Link {
  padding: 0;
}

.hd-Banner_Ancillary .hd-Banner_Item-icon .hd-Banner_Icon,
.hd-Banner_Ancillary .hd-Banner_Item-icon .hd-Search_Trigger {
  width: 40px;
  height: 40px;
}

@media (min-width: 1024px) {
  .hd-Banner_Item-wishlist { display: list-item; }
}

.hd-Banner_Count {
  position: absolute;
  top: 6px;
  right: 4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  background: #000;
  color: #fff;
  border-radius: 50%;
}

.hd-Banner_Count:empty,
.hd-Banner_Count[aria-hidden="true"]:not([data-count]) {
  display: none;
}

.hd-Banner_Count:not(:empty) { display: block; }

/* Search */
.hd-Banner_Item-search {
  position: relative;
}

.hd-Search {
  position: relative;
  display: flex;
  align-items: center;
}

.hd-Search_Trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  color: var(--hd-text);
}

.hd-Search_TriggerIcon {
  display: block;
}

.hd-Search_Form {
  display: none;
  align-items: center;
  background: #f3f3f3;
  border: 1px solid var(--hd-border);
}

.hd-Search_Form.is-active {
  display: flex;
}

.hd-Search_Input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  padding: 0 12px;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  color: var(--hd-text);
}

.hd-Search_Input::placeholder {
  color: #888;
}

.hd-Search_FormSubmit,
.hd-Search_FormClear {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  color: var(--hd-text);
}

/* Desktop: bară search vizibilă, mai mare */
@media (min-width: 1024px) {
  .hd-Banner_Item-search {
    min-width: 0;
  }

  .hd-Search_Trigger {
    display: none;
  }

  .hd-Search_Form {
    display: flex !important;
    position: static;
    width: min(300px, 22vw);
    min-width: 220px;
    height: 44px;
    margin: 0;
    box-shadow: none;
  }

  .hd-Search_Input {
    font-size: 15px;
    padding: 0 14px;
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .hd-Search_Form.is-active {
    position: fixed;
    top: var(--hd-megamenu-top, 56px);
    left: 0;
    right: 0;
    width: 100%;
    height: 52px;
    padding: 0 12px;
    z-index: calc(var(--hd-z-header) + 2);
    border-left: 0;
    border-right: 0;
    border-top: 0;
  }
}

/* Mobil: panou search sub header */
@media (max-width: 767px) {
  .hd-Search_Form.is-active {
    position: fixed;
    top: var(--hd-megamenu-top, 56px);
    left: 0;
    right: 0;
    width: 100%;
    height: 56px;
    padding: 0 8px;
    z-index: calc(var(--hd-z-header) + 2);
    border-left: 0;
    border-right: 0;
    border-top: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  }

  .hd-Search_Input {
    font-size: 16px;
  }
}

.hd-Search_Overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  z-index: calc(var(--hd-z-header) + 1);
}

.hd-Search_Overlay.is-active {
  display: block;
}

@media (min-width: 1024px) {
  .hd-Search_Overlay {
    display: none !important;
  }
}

/* Megamenu */
.drp-Menu {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  top: var(--hd-megamenu-top, var(--hd-header-h));
  background: #fff;
  border-top: 1px solid var(--hd-border);
  box-shadow: 0 12px 40px rgba(0,0,0,.08);
  z-index: var(--hd-z-megamenu);
  max-height: calc(100vh - var(--hd-megamenu-top, 56px));
  overflow-y: auto;
}

.hd-Banner_Item-menu.is-open > .drp-Menu,
.hd-Banner_Item-menu:hover > .drp-Menu {
  display: block;
}

@media (max-width: 1023px) {
  .hd-Banner_Item-menu:hover > .drp-Menu { display: none; }
}

.drp-Menu_Inner {
  max-width: var(--hd-container);
  margin: 0 auto;
  padding: 32px 16px 24px;
}

.drp-Menu_Columns {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 32px 24px;
}

@media (min-width: 1200px) {
  .drp-Menu_Columns {
    grid-template-columns: repeat(4, 1fr);
  }
  .drp-Menu_Columns.has-cta {
    grid-template-columns: repeat(3, 1fr) minmax(200px, 280px);
  }
}

.drp-Menu_Header { margin-bottom: 12px; }

.drp-Menu_Title,
.drp-Menu_Link-header {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.drp-Menu_Link-header {
  color: var(--hd-text);
  text-decoration: none;
}

.drp-Menu_Menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

.drp-Menu_Item { margin-bottom: 8px; }

.drp-Menu_Link-child {
  color: var(--hd-text);
  text-decoration: none;
  opacity: 0.85;
}

.drp-Menu_Link-child:hover { opacity: 1; text-decoration: underline; }

/* Promo CTA column */
.drp-Menu_Column-cta { min-width: 200px; }

.nav-Promo {
  position: relative;
  overflow: hidden;
  background: #1a1a1a;
}

.nav-Promo_Inner { position: relative; }

.nav-Promo_FauxLink {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.nav-Promo_Image img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.nav-Promo_Content {
  position: absolute;
  inset: auto 0 0;
  padding: 20px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,.6));
  color: #fff;
  z-index: 1;
}

.nav-Promo_Title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
}

.nav-Promo_Link {
  display: inline-block;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid currentColor;
}

/* Megamenu footer */
.drp-Menu_Footer {
  border-top: 1px solid var(--hd-border);
  margin-top: 24px;
}

.drp-Menu_Footer .drp-Menu_Inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  padding: 16px;
}

.drp-Menu_Button-all {
  display: inline-block;
  padding: 12px 24px;
  border: 1px solid #000;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.drp-Menu_Button-all:hover {
  background: #000;
  color: #fff;
}

.drp-Menu_Menu-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.drp-Menu_Link-footer {
  font-size: 13px;
  color: #666;
  text-decoration: none;
}

.drp-Menu_Link-footer:hover { color: #000; }

/* Mobile drawer */
.hd-Drawer_Overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: calc(var(--hd-z-drawer) - 1);
}

.hd-Drawer_Overlay.is-active { display: block; }

.hd-Drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: min(100%, 400px);
  height: 100%;
  background: #fff;
  z-index: var(--hd-z-drawer);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  overflow-y: auto;
  visibility: hidden;
}

.hd-Drawer.is-active {
  transform: translateX(0);
  visibility: visible;
}

.hd-Drawer_Overlay.is-active {
  visibility: visible;
}

.hd-Drawer_Header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid var(--hd-border);
}

.hd-Drawer_Close {
  border: 0;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}

.hd-Drawer_Body { padding: 8px 0 32px; }

.hd-Drawer_Empty {
  padding: 16px;
  margin: 0;
  color: #666;
  font-size: 14px;
}

.hd-Drawer_Item { border-bottom: 1px solid var(--hd-border); }

.hd-Drawer_Link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: var(--hd-text);
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.hd-Drawer_Sub {
  display: none;
  padding: 0 16px 16px;
  background: #fafafa;
}

.hd-Drawer_Item.is-expanded .hd-Drawer_Sub { display: block; }

.hd-Drawer_Sub a {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

.hd-Drawer_Extras {
  padding: 16px;
  border-top: 1px solid var(--hd-border);
}

.hd-Drawer_Extras a {
  display: block;
  padding: 10px 0;
  color: #333;
  text-decoration: none;
  font-size: 14px;
}

/* Body offset when header is sticky */
body.hd-has-sticky-header { padding-top: 0; }

body.hd-drawer-open,
body.hd-search-open {
  overflow: hidden;
}

/* Drawer accordion */
.hd-Drawer_Item.is-expanded .hd-Drawer_Link svg {
  transform: rotate(180deg);
}

.hd-Drawer_Link svg {
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.hd-Drawer_Extras-account {
  border-top: 1px solid var(--hd-border);
  font-weight: 600;
}

.hd-Drawer_Link,
.hd-Drawer_Extras a,
.hd-Drawer_Extras-account a {
  width: 100%;
  box-sizing: border-box;
}

/* ——— Responsive header ——— */

/* Mobil mic */
@media (max-width: 479px) {
  .hd-Banner .lyt-Container {
    padding-right: 8px;
  }

  .hd-Banner_Logo {
    margin-right: 8px;
  }

  .hd-Logo_Image-mobile {
    max-height: 30px;
  }

  .hd-Banner_Icon,
  .hd-Search_Trigger,
  .hd-Search_FormSubmit,
  .hd-Search_FormClear {
    width: 40px;
    height: 40px;
  }
}

/* Mobil + tablet */
@media (max-width: 1023px) {
  .hd-Banner_Inner {
    min-height: 52px;
  }

  .hd-Banner_Logo {
    margin-right: 16px;
    min-width: 0;
  }

  .hd-Banner_Ancillary {
    margin-left: auto;
    flex-shrink: 0;
  }

  .hd-Banner_Ancillary .hd-Banner_Items {
    gap: 0;
  }

  .hd-Banner_Ancillary .hd-Banner_Item-icon .hd-Banner_Icon,
  .hd-Banner_Ancillary .hd-Banner_Item-icon .hd-Search_Trigger {
    width: 40px;
    height: 40px;
  }

  .hd-Banner_Ancillary .hd-Banner_Items {
    flex-wrap: nowrap;
  }
}

/* Desktop: meniu pe un rând, scroll dacă e nevoie */
@media (min-width: 1024px) {
  .hd-Banner_Nav .hd-Banner_Items {
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
    max-width: 100%;
  }

  .hd-Banner_Nav .hd-Banner_Items::-webkit-scrollbar {
    display: none;
  }

  .hd-Banner_Ancillary {
    flex-shrink: 0;
    gap: 0;
  }

  .hd-Banner_Item-search {
    margin-right: 0;
  }

  .hd-Search_Form {
    width: min(240px, 18vw);
    min-width: 180px;
    height: 40px;
    margin-right: 2px;
  }
}

/* Ecrane înguste desktop */
@media (min-width: 1024px) and (max-width: 1280px) {
  .hd-Search_Form {
    width: min(240px, 18vw);
    min-width: 180px;
  }

  .hd-Banner_Link {
    padding: 12px 10px;
    font-size: 13px;
  }

  .hd-Banner_Logo {
    margin-right: 24px;
  }
}

/* ——— Homepage: transparent header over hero (Oh Polly) ——— */

body.hd-page-home .hd-Header--overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: transparent;
  border-bottom: 0;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

body.hd-page-home .hd-Header--overlay .hd-Banner {
  border-bottom-color: transparent;
  transition: border-color 0.35s ease;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) {
  color: #fff;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Link,
body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Search_Trigger,
body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Icon,
body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Search_TriggerIcon {
  color: #fff;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Link svg path,
body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Link svg [stroke] {
  stroke: #fff;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Link svg [fill]:not([fill="none"]) {
  fill: #fff;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Item-hamburger .hd-Banner_Icon svg [stroke] {
  stroke: #fff;
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Logo_Image {
  filter: brightness(0) invert(1);
}

body.hd-page-home .hd-Header--overlay:not(.hd-Header--scrolled) .hd-Banner_Count {
  background: #fff;
  color: #000;
}

body.hd-page-home .hd-Header--overlay.hd-Header--scrolled {
  background: var(--hd-bg);
  box-shadow: 0 1px 0 var(--hd-border);
}

body.hd-page-home .hd-Header--overlay.hd-Header--scrolled .hd-Banner {
  border-bottom: 1px solid var(--hd-border);
}

/* Hero sub header — full bleed to top */
body.hd-page-home #common-home {
  margin-top: 0;
}

body.hd-page-home #common-home .hero-Video {
  margin-top: 0;
}

/* Cart dropdown compact in header */
.hd-Banner_Item-cart .dropdown-menu {
  min-width: 300px;
}

/* Hide breadcrumbs site-wide (storefront) */
#container .breadcrumb,
#container ol.breadcrumb,
#container .pdp__breadcrumb {
  display: none !important;
}
