:root {
  --pdp-bg: #0a0a0a;
  --pdp-bg-secondary: #131210;
  --pdp-card: #161411;
  --pdp-border: #2a2418;
  --pdp-gold: #d4a937;
  --pdp-gold-light: #f3d27a;
  --pdp-gold-dark: #a87a1e;
  --pdp-text: #f1e9d6;
  --pdp-muted: #a39a85;
  --pdp-sale: #d8453b;
  --pdp-footer: #050505;
  --pdp-gold-button-text: #1a1305;
  --pdp-heading-font: Georgia, "Times New Roman", serif;
  --pdp-body-font: "Segoe UI", system-ui, Arial, sans-serif;
  --pdp-max-width: 1240px;
  --pdp-gutter: 20px;
  --pdp-header-height: 74px;
}

body.pdp-phase1-active {
  margin: 0;
  background: var(--pdp-bg);
  font-family: var(--pdp-body-font) !important;
  overflow-x: clip;
}

body.pdp-phase1-active :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--pdp-heading-font);
}

body.pdp-phase1-active .subheader,
body.pdp-phase1-active #masthead,
body.pdp-phase1-active .elements-bar {
  display: none !important;
}

.pdp-visually-hidden,
.pdp-main-header .screen-reader-text {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.pdp-phase1-shell,
.pdp-phase1-shell * {
  box-sizing: border-box;
}

.pdp-phase1-shell {
  display: contents;
  color: var(--pdp-text);
  font-family: var(--pdp-body-font);
}

.pdp-phase1-wrap {
  width: 100%;
  max-width: var(--pdp-max-width);
  margin: 0 auto;
  padding-inline: var(--pdp-gutter);
}

.pdp-announcement {
  height: 30px;
  overflow: hidden;
  color: var(--pdp-gold-button-text);
  background: linear-gradient(90deg, var(--pdp-gold-dark), var(--pdp-gold-light), var(--pdp-gold-dark));
  font-size: 11px;
  font-weight: 700;
  line-height: 30px;
  letter-spacing: 1.35px;
  white-space: nowrap;
}

.pdp-announcement-track {
  display: flex;
  width: max-content;
  min-width: 200%;
  animation: pdp-announcement-scroll 28s linear infinite;
}

.pdp-announcement-track span {
  display: block;
  min-width: 100vw;
  padding-inline: 44px;
  text-align: center;
}

@keyframes pdp-announcement-scroll {
  to { transform: translateX(-50%); }
}

.pdp-phase1-sticky {
  position: sticky;
  top: var(--wp-admin--admin-bar--height, 0px);
  z-index: 10001;
  width: 100%;
}

.pdp-main-header {
  height: var(--pdp-header-height);
  margin: 0;
  color: var(--pdp-text);
  background: rgba(10, 10, 10, 0.96);
  border: 0;
  border-bottom: 1px solid var(--pdp-border);
  backdrop-filter: blur(10px);
}

.pdp-header-row {
  display: flex;
  align-items: center;
  gap: 22px;
  height: 100%;
}

.pdp-brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  min-width: 250px;
  color: var(--pdp-text) !important;
  text-decoration: none !important;
}

.pdp-brand img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  border: 0;
  border-radius: 50%;
}

.pdp-brand-copy {
  display: block;
  line-height: 1;
}

.pdp-brand strong {
  display: block;
  font-family: var(--pdp-heading-font);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: linear-gradient(120deg, var(--pdp-gold-dark), var(--pdp-gold-light) 45%, var(--pdp-gold) 70%, var(--pdp-gold-dark));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}

.pdp-brand small {
  display: block;
  margin-top: 6px;
  color: var(--pdp-muted);
  font-family: var(--pdp-body-font);
  font-size: 9px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 3.2px;
  white-space: nowrap;
}

.pdp-search {
  position: relative;
  display: flex;
  flex: 1 1 380px;
  max-width: 380px;
  margin-left: auto;
}

.pdp-search input[type="search"] {
  width: 100%;
  height: 42px;
  margin: 0;
  padding: 10px 48px 10px 18px;
  color: var(--pdp-text) !important;
  background: var(--pdp-bg-secondary) !important;
  border: 1px solid var(--pdp-border) !important;
  border-radius: 999px !important;
  box-shadow: none !important;
  font-family: var(--pdp-body-font);
  font-size: 14px;
  line-height: 20px;
  outline: 0;
}

.pdp-search input[type="search"]::placeholder {
  color: var(--pdp-muted);
  opacity: 1;
}

.pdp-search input[type="search"]:focus {
  border-color: var(--pdp-gold) !important;
  box-shadow: 0 0 0 2px rgba(212, 169, 55, 0.12) !important;
}

.pdp-search button {
  position: absolute;
  top: 50%;
  right: 7px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: var(--pdp-gold-light);
  background: transparent;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.pdp-search button:hover,
.pdp-search button:focus-visible {
  color: var(--pdp-gold-button-text);
  background: var(--pdp-gold);
}

.pdp-search svg,
.pdp-action svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.pdp-header-actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 4px;
}

.pdp-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 42px;
  height: 42px;
  margin: 0;
  padding: 0 9px;
  color: var(--pdp-text) !important;
  background: transparent !important;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font-family: var(--pdp-body-font);
  font-size: 12px;
  line-height: 1;
  text-decoration: none !important;
  cursor: pointer;
}

.pdp-action:hover,
.pdp-action:focus-visible {
  color: var(--pdp-gold-light) !important;
  border-color: var(--pdp-border) !important;
}

.pdp-action-text {
  white-space: nowrap;
}

.pdp-count {
  position: absolute;
  top: 1px;
  right: 1px;
  min-width: 17px;
  padding: 2px 5px;
  color: var(--pdp-gold-button-text);
  background: var(--pdp-gold);
  border-radius: 999px;
  font-size: 9px;
  font-weight: 800;
  line-height: 13px;
  text-align: center;
}

.pdp-mobile-search {
  display: none;
}

.pdp-category-nav {
  height: 45px;
  color: var(--pdp-text);
  background: var(--pdp-bg);
  border-bottom: 1px solid var(--pdp-border);
}

.pdp-category-nav-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  height: 100%;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.pdp-category-nav-inner::-webkit-scrollbar {
  display: none;
}

.pdp-category-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  height: 100%;
  padding: 0 18px;
  color: var(--pdp-text) !important;
  font-family: var(--pdp-body-font);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  line-height: 1;
  text-decoration: none !important;
  text-transform: uppercase;
  white-space: nowrap;
}

.pdp-category-nav a::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--pdp-gold);
  transform: translateX(-50%);
  transition: width 0.25s ease;
}

body.pdp-phase1-active .pdp-category-nav a:hover,
body.pdp-phase1-active .pdp-category-nav a:focus-visible {
  color: var(--pdp-gold-light) !important;
}

.pdp-category-nav a:hover::after,
.pdp-category-nav a:focus-visible::after,
.pdp-category-nav a[aria-current="page"]::after {
  width: 60%;
}

@media (max-width: 900px) {
  :root { --pdp-gutter: 16px; }

  .pdp-main-header { height: 68px; }
  .pdp-header-row { gap: 12px; }
  .pdp-brand { min-width: 0; margin-right: auto; }
  .pdp-brand img { width: 48px; height: 48px; }
  .pdp-brand strong { font-size: 15px; letter-spacing: 2px; }
  .pdp-brand small { font-size: 7px; letter-spacing: 2px; }
  .pdp-search { display: none; }
  .pdp-mobile-search { display: inline-flex; }
  .pdp-category-nav-inner { justify-content: flex-start; }
  .pdp-category-nav a { min-height: 44px; padding-inline: 15px; }
}

@media (max-width: 560px) {
  :root { --pdp-gutter: 12px; }

  .pdp-announcement { height: 28px; font-size: 10px; line-height: 28px; letter-spacing: 1.1px; }
  .pdp-announcement-track span { padding-inline: 24px; }
  .pdp-main-header { height: 64px; }
  .pdp-header-row { gap: 4px; }
  .pdp-brand { gap: 7px; }
  .pdp-brand img { width: 44px; height: 44px; }
  .pdp-brand strong { max-width: 102px; font-size: 13px; letter-spacing: 1.35px; }
  .pdp-brand small { display: none; }
  .pdp-header-actions { gap: 0; }
  .pdp-action { min-width: 44px; width: 44px; height: 44px; padding: 0 7px; }
  .pdp-action-text { display: none; }
  .pdp-count { top: 0; right: -1px; }
  .pdp-category-nav { height: 44px; }
  .pdp-category-nav a { padding-inline: 13px; font-size: 10px; letter-spacing: 1.45px; }
}

@media (max-width: 360px) {
  .pdp-brand strong { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .pdp-announcement-track { animation: none; }
  .pdp-announcement { overflow-x: auto; }
  .pdp-category-nav a::after { transition: none; }
}
