/**
 * Orchid Atelier — Global Styles
 *
 * @package Orchid_Atelier
 */

/* ============ RESET & BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--magenta); text-decoration: none; transition: color .2s; }
a:hover { color: var(--plum); }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 500; }

/* Focus ring — accessibility */
:focus-visible {
  outline: 2px solid var(--magenta);
  outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ============ TYPOGRAPHY CLASSES ============ */
.oa-display { font-family: 'Cormorant Garamond', serif; }
.oa-script { font-family: 'Parisienne', cursive; }
.oa-eyebrow {
  font-size: 11px;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 500;
}

/* ============ CONTAINER ============ */
.oa-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 56px;
}
@media (max-width: 768px) {
  .oa-container { padding: 0 24px; }
}
@media (max-width: 480px) {
  .oa-container { padding: 0 16px; }
}

/* ============ BUTTONS ============ */
.oa-btn {
  display: inline-block;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  background: transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, color .2s, border-color .2s;
}
.oa-btn:hover {
  background: var(--gold-pale);
  color: var(--plum);
}
.oa-btn--solid {
  background: linear-gradient(120deg, var(--gold), var(--gold-lt));
  color: #fff;
  border: none;
}
.oa-btn--solid:hover {
  opacity: .9;
  color: #fff;
}
.oa-btn--plum {
  background: var(--plum);
  border-color: var(--plum);
  color: #fff;
}
.oa-btn--plum:hover {
  background: var(--plum-deep);
  border-color: var(--plum-deep);
  color: #fff;
}
.oa-btn--sm {
  padding: 10px 22px;
  font-size: 10px;
}

/* ============ RUO RIBBON ============ */
.oa-ruo-ribbon {
  background: var(--plum-deep);
  color: #E9D9E6;
  text-align: center;
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  padding: 8px 16px;
  font-weight: 400;
}

/* ============ HEADER ============ */
.oa-header {
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
  position: relative;
}
.oa-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 56px 18px;
}

/* Brand lockup */
.oa-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}
.oa-brand__monogram {
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -.04em;
}
.oa-brand__text {
  display: flex;
  flex-direction: column;
}
.oa-brand__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  letter-spacing: .3em;
  color: var(--gold);
  text-transform: uppercase;
  font-weight: 500;
}
.oa-brand__tagline {
  font-size: 9px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-top: 3px;
}

/* Header icons */
.oa-header__icons {
  display: flex;
  gap: 22px;
  align-items: center;
  color: var(--plum);
}
.oa-header__icons a {
  color: var(--plum);
  transition: color .2s;
}
.oa-header__icons a:hover { color: var(--magenta); }
.oa-header__icons svg {
  width: 19px;
  height: 19px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.4;
}

/* Cart count bubble */
.oa-cart-icon {
  position: relative;
}
.oa-cart-icon__count {
  position: absolute;
  top: -7px;
  right: -9px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--magenta);
  color: #fff;
  font-size: 9px;
  font-style: normal;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
}

/* Navigation */
.oa-nav {
  border-top: 1px solid var(--hairline);
}
.oa-nav__list {
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 14px 0 16px;
  margin: 0;
  list-style: none;
}
.oa-nav__list li a {
  font-size: 11px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  font-weight: 400;
  transition: color .2s;
}
.oa-nav__list li.current-menu-item a,
.oa-nav__list li a:hover {
  color: var(--magenta);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
}

/* ============ FOOTER ============ */
.oa-footer {
  background: var(--plum-deep);
  color: #D8C4D4;
  padding: 56px 56px 0;
}
.oa-footer__inner {
  max-width: 1200px;
  margin: 0 auto;
}
.oa-footer__brand {
  margin-bottom: 36px;
}
.oa-footer__brand .oa-brand__monogram {
  font-size: 28px;
  color: var(--gold-lt);
}
.oa-footer__name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: .24em;
  color: var(--gold-lt);
  text-transform: uppercase;
  display: block;
  margin-top: 8px;
}
.oa-footer__script {
  font-size: 22px;
  color: var(--orchid);
  margin: 8px 0 14px;
}
.oa-footer__ruo {
  font-size: 10px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #A687A1;
}
.oa-footer__nav {
  margin-bottom: 28px;
}
.oa-footer__heading {
  font-size: 11px;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-lt);
  font-weight: 500;
  margin-bottom: 14px;
}
.oa-footer__list {
  display: flex;
  gap: 32px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.oa-footer__list a {
  color: #C5AEC1;
  font-size: 13px;
  font-weight: 300;
}
.oa-footer__list a:hover { color: var(--gold-lt); }
.oa-footer__legal {
  border-top: 1px solid rgba(212, 184, 106, .25);
  padding: 18px 0;
  text-align: center;
  font-size: 10.5px;
  letter-spacing: .06em;
  color: #A687A1;
}

/* ============ ORCHID DIVIDER ============ */
.oa-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--gold);
  margin: 40px 0;
}
.oa-divider::before,
.oa-divider::after {
  content: "";
  height: 1px;
  width: 120px;
  background: linear-gradient(90deg, transparent, var(--gold-lt));
}
.oa-divider::after {
  background: linear-gradient(90deg, var(--gold-lt), transparent);
}
.oa-divider svg { width: 26px; height: 26px; }

/* ============ MAIN CONTENT ============ */
.oa-main {
  min-height: 50vh;
}

/* ============ WOOCOMMERCE OVERRIDES ============ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--gold) !important;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: linear-gradient(120deg, var(--gold), var(--gold-lt));
  color: #fff;
  border: none;
  font-family: 'Jost', sans-serif;
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 15px 36px;
  border-radius: 0;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  opacity: .9;
  background: linear-gradient(120deg, var(--gold), var(--gold-lt));
  color: #fff;
}

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .oa-header__inner { padding: 18px 32px 14px; }
  .oa-nav__list { gap: 28px; }
  .oa-footer { padding: 40px 32px 0; }
}

/* ─── Hamburger ─── */
.oa-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.oa-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .25s, opacity .25s;
}
.oa-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.oa-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.oa-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── Mobile Bottom Tab Bar ─── */
.oa-tab-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
}
.oa-tab-bar__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: var(--ink-soft);
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 400;
  transition: color .2s;
}
.oa-tab-bar__item:hover,
.oa-tab-bar__item.active { color: var(--magenta); }
.oa-tab-bar__item svg { stroke: currentColor; }

@media (max-width: 768px) {
  .oa-hamburger { display: flex; }
  .oa-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 100;
    padding: 16px 24px;
  }
  .oa-nav.is-open { display: block; }
  .oa-nav__list {
    flex-direction: column;
    gap: 16px;
    padding: 0;
  }
  .oa-header__inner {
    flex-wrap: wrap;
    padding: 16px 24px 12px;
  }
  .oa-header__icon-link { display: none; }
  .oa-brand__name { font-size: 18px; letter-spacing: .2em; }
  .oa-brand__tagline { display: none; }
  .oa-tab-bar { display: flex; }
  .oa-footer { padding: 32px 24px 0; padding-bottom: 72px; }
  .oa-footer__list { flex-wrap: wrap; gap: 16px; }
  body { padding-bottom: 60px; }
}
@media (max-width: 480px) {
  .oa-header__inner { padding: 12px 16px 10px; }
  .oa-brand__monogram { font-size: 28px; }
  .oa-brand__name { font-size: 16px; letter-spacing: .16em; }
}
