/*
Theme Name: NYBERO
Description: Luxury skincare theme for NYBERO
Version: 1.0
Text Domain: nybero
*/

/* ========== RESET & BASE ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  color: #111;
  background: #FFFFFF;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #111;
  line-height: 1.25;
}

a { color: #111; text-decoration: none; transition: color 0.3s; }
a:hover { color: #C6A96B; }

img { max-width: 100%; height: auto; display: block; }

::selection { background: #C6A96B; color: #111; }

/* ========== LAYOUT ========== */
.nybero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
}

/* ========== HEADER ========== */
.nybero-header {
  background: rgba(176,176,176,0.8);
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 100;
  border-bottom: 1px solid #C6A96B;
}
.nybero-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nybero-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #111;
}
.nybero-logo a { color: #fff; }
.nybero-logo a:hover { color: #C6A96B; }

/* Nav */
.nybero-nav ul {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}
.nybero-nav a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 500;
  color: #fff;
}
.nybero-nav a:hover { color: #C6A96B; }
.nybero-nav .sub-menu {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #EDE7DF;
  padding: 12px 0;
  min-width: 200px;
  z-index: 200;
}
.nybero-nav li:hover > .sub-menu { display: block; }
.nybero-nav .sub-menu a {
  display: block;
  padding: 8px 20px;
  font-size: 0.75rem;
}

/* Mobile menu */
.nybero-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nybero-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

/* Non-homepage header */
body:not(.home) .nybero-header {
  position: relative;
  background: rgba(176,176,176,0.8);
}

/* ========== FOOTER ========== */
.nybero-footer {
  background: #111;
  color: #EDE7DF;
  padding: 60px 0 30px;
}
.nybero-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 40px;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}
.nybero-footer h4 {
  font-family: 'Cormorant Garamond', serif;
  color: #F8F6F2;
  font-size: 1.1rem;
  margin-bottom: 16px;
}
.nybero-footer a { color: #C6A96B; }
.nybero-footer a:hover { color: #F8F6F2; }
.nybero-footer p { font-size: 0.85rem; line-height: 1.7; color: #999; }
.nybero-footer ul { list-style: none; }
.nybero-footer ul li { margin-bottom: 8px; }
.nybero-footer ul a { font-size: 0.85rem; color: #999; }
.nybero-footer ul a:hover { color: #C6A96B; }
.nybero-footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  padding: 20px 40px 0;
  border-top: 1px solid #222;
  text-align: center;
  font-size: 0.78rem;
  color: #666;
}

/* ========== BUTTONS ========== */
.nybero-btn-primary {
  display: inline-block;
  background: #111;
  color: #F8F6F2;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid #111;
  transition: all 0.3s;
  cursor: pointer;
}
.nybero-btn-primary:hover { background: #C6A96B; color: #111; border-color: #C6A96B; }

.nybero-btn-secondary {
  display: inline-block;
  background: transparent;
  color: #111;
  padding: 16px 36px;
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid #111;
  transition: all 0.3s;
  cursor: pointer;
}
.nybero-btn-secondary:hover { background: #111; color: #F8F6F2; }

/* ========== WOOCOMMERCE ========== */

/* Product cards */
.woocommerce ul.products li.product {
  background: #fff;
  border: 1px solid #EDE7DF;
  border-radius: 2px;
  padding: 20px;
  transition: box-shadow 0.3s, transform 0.3s;
}
.woocommerce ul.products li.product:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-weight: 500;
}
.woocommerce ul.products li.product .price {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: #111;
}
.woocommerce ul.products li.product .button,
.woocommerce a.button, .woocommerce button.button,
.woocommerce input.button, .woocommerce #respond input#submit {
  background: #111 !important;
  color: #F8F6F2 !important;
  border: none !important;
  border-radius: 2px !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  font-weight: 500 !important;
  padding: 14px 28px !important;
  transition: background 0.3s !important;
}
.woocommerce a.button:hover, .woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: #C6A96B !important;
  color: #111 !important;
}

/* Single product */
.woocommerce div.product .product_title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 500;
}
.woocommerce div.product p.price {
  font-size: 1.4rem;
  font-weight: 500;
}
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 0.95rem;
  line-height: 1.8;
  color: #444;
}

/* Tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* Cart & Checkout */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce #payment #place_order {
  background: #111 !important;
  color: #F8F6F2 !important;
  border-radius: 2px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  padding: 16px 32px !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce #payment #place_order:hover {
  background: #C6A96B !important;
  color: #111 !important;
}

/* Sale badge */
.woocommerce span.onsale {
  background: #C6A96B;
  color: #111;
  border-radius: 2px;
}

/* Stars */
.woocommerce .star-rating span::before { color: #C6A96B; }

/* Breadcrumbs */
.woocommerce .woocommerce-breadcrumb {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #999;
  padding: 20px 0;
}

/* ========== PAGE CONTENT ========== */
.nybero-page-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 40px;
}
.nybero-page-content h1 {
  font-size: 2.2rem;
  margin-bottom: 24px;
}
.nybero-page-content p {
  margin-bottom: 16px;
  line-height: 1.8;
  color: #444;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 768px) {
  .nybero-container, .nybero-header-inner, .nybero-footer-inner, .nybero-footer-bottom {
    padding-left: 20px;
    padding-right: 20px;
  }
  .nybero-nav { display: none; }
  .nybero-nav.active { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #FFFFFF; border-bottom: 1px solid #EDE7DF; padding: 20px; }
  .nybero-nav.active ul { flex-direction: column; gap: 16px; }
  .nybero-menu-toggle { display: block; }
  .nybero-footer-inner { grid-template-columns: 1fr; }
  .nybero-btn-primary, .nybero-btn-secondary { padding: 12px 24px; font-size: 0.7rem; }
  .nybero-page-content { padding: 40px 20px; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #FFFFFF; }
::-webkit-scrollbar-thumb { background: #C6A96B; border-radius: 4px; }
