/*
Theme Name: Enzeme Jewelry
Theme URI: https://enzemejwell.com
Description: A dark luxury WooCommerce theme for Enzeme Jewelry — gold accents, elegant typography, professional storefront.
Author: Enzeme Jewelry
Version: 1.0
Template: storefront
Text Domain: enzeme-jewelry
*/

/* =========================================================
   GOOGLE FONTS
   ========================================================= */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=Raleway:wght@300;400;500;600&display=swap');

/* =========================================================
   ROOT VARIABLES
   ========================================================= */
:root {
  --gold:        #b8972a;
  --gold-light:  #d4ad35;
  --gold-pale:   rgba(184,151,42,0.15);
  --gold-border: rgba(184,151,42,0.25);
  --bg:          #0e0c0a;
  --bg-card:     #13110d;
  --bg-surface:  #1a1510;
  --text:        #e8e0d4;
  --text-muted:  rgba(232,224,212,0.5);
  --text-faint:  rgba(232,224,212,0.3);
  --border:      rgba(184,151,42,0.2);
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'Raleway', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg) !important;
  color: var(--text) !important;
  font-weight: 400;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--gold-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
}

p { color: var(--text-muted); }

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

/* =========================================================
   TOP ANNOUNCEMENT BAR
   ========================================================= */
.site-header-cart,
body::before {
  display: block;
}

.woocommerce-store-notice,
p.demo_store {
  background: var(--gold) !important;
  color: #0e0c0a !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  text-align: center !important;
  padding: 8px 16px !important;
  border: none !important;
}

/* =========================================================
   HEADER & NAVIGATION
   ========================================================= */
.site-header {
  background: var(--bg) !important;
  border-bottom: 0.5px solid var(--border) !important;
  padding: 0 !important;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: none !important;
}

.storefront-primary-navigation,
.storefront-handheld-footer-bar,
.main-navigation {
  background: var(--bg) !important;
  border: none !important;
}

/* Site branding / logo */
.site-branding {
  padding: 18px 0 !important;
}

.site-title {
  font-family: var(--serif) !important;
  font-size: 26px !important;
  font-weight: 400 !important;
  letter-spacing: 0.28em !important;
  text-transform: uppercase !important;
  color: var(--text) !important;
  margin: 0 !important;
}

.site-title a {
  color: var(--text) !important;
}

.site-description {
  font-size: 8px !important;
  letter-spacing: 0.45em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-weight: 500 !important;
}

/* Nav links */
.main-navigation ul li a {
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  padding: 24px 16px !important;
  transition: color 0.2s !important;
}

.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a {
  color: var(--gold) !important;
  background: transparent !important;
}

.main-navigation ul ul {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  box-shadow: none !important;
}

.main-navigation ul ul li a {
  border-bottom: 0.5px solid var(--border) !important;
  color: var(--text-muted) !important;
}

/* Cart icon */
.site-header-cart .cart-contents {
  color: var(--text-muted) !important;
  font-size: 11px !important;
  letter-spacing: 0.1em !important;
}

.site-header-cart .cart-contents:hover { color: var(--gold) !important; }

.site-header-cart .widget_shopping_cart {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
}

/* =========================================================
   HERO / HOMEPAGE BANNER (via Storefront / Elementor)
   ========================================================= */
.storefront-hero,
.hero-section,
.page-template-template-homepage .type-page .entry-content > *:first-child {
  background: var(--bg-surface) !important;
  border-bottom: 0.5px solid var(--border);
}

/* =========================================================
   GENERAL CONTENT AREA
   ========================================================= */
.site-content,
.site-main,
#primary,
#secondary,
.content-area {
  background: var(--bg) !important;
}

.storefront-full-width-content .entry-content,
.entry-content,
.entry-summary {
  color: var(--text-muted) !important;
}

/* =========================================================
   WOOCOMMERCE — PRODUCT CARDS (SHOP PAGE)
   ========================================================= */
.woocommerce ul.products,
.woocommerce-page ul.products {
  gap: 1px !important;
  background: var(--border) !important;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  background: var(--bg-card) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  transition: background 0.25s !important;
  position: relative;
}

.woocommerce ul.products li.product:hover {
  background: #1c1812 !important;
}

/* Product image container */
.woocommerce ul.products li.product .woocommerce-loop-product__link img,
.woocommerce ul.products li.product a img {
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s !important;
}

.woocommerce ul.products li.product:hover a img {
  transform: scale(1.04) !important;
  opacity: 0.9 !important;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product h2 {
  font-family: var(--serif) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  padding: 14px 16px 6px !important;
  margin: 0 !important;
  line-height: 1.35 !important;
}

/* Price */
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .price .amount {
  font-family: var(--sans) !important;
  font-size: 14px !important;
  color: var(--gold) !important;
  font-weight: 500 !important;
  padding: 0 16px 16px !important;
  display: block !important;
}

.woocommerce ul.products li.product .price del,
.woocommerce ul.products li.product .price del .amount {
  color: var(--text-faint) !important;
  font-size: 11px !important;
  margin-right: 6px !important;
}

/* Sale badge */
.woocommerce span.onsale {
  background: var(--gold) !important;
  color: #0e0c0a !important;
  font-family: var(--sans) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  min-height: auto !important;
  min-width: auto !important;
  padding: 5px 10px !important;
  line-height: 1 !important;
  top: 14px !important;
  left: 14px !important;
}

/* Add to cart button on loop */
.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  background: transparent !important;
  border: 0.5px solid var(--gold-border) !important;
  color: var(--gold) !important;
  font-family: var(--sans) !important;
  font-size: 9px !important;
  font-weight: 600 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 10px 16px !important;
  margin: 0 16px 16px !important;
  width: calc(100% - 32px) !important;
  display: block !important;
  text-align: center !important;
  transition: all 0.25s !important;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce ul.products li.product .add_to_cart_button:hover {
  background: var(--gold) !important;
  color: #0e0c0a !important;
  border-color: var(--gold) !important;
}

/* =========================================================
   WOOCOMMERCE — SINGLE PRODUCT PAGE
   ========================================================= */
.woocommerce div.product {
  background: var(--bg) !important;
}

.woocommerce div.product .product_title {
  font-family: var(--serif) !important;
  font-size: 36px !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  letter-spacing: 0.02em !important;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--gold) !important;
  font-size: 24px !important;
  font-weight: 500 !important;
  font-family: var(--sans) !important;
}

.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: var(--text-faint) !important;
  font-size: 16px !important;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--text-muted) !important;
  font-size: 13px !important;
  line-height: 1.8 !important;
}

/* Single product add to cart */
.woocommerce div.product form.cart .single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background: var(--gold) !important;
  color: #0e0c0a !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  border: none !important;
  padding: 16px 36px !important;
  transition: background 0.25s !important;
}

.woocommerce div.product form.cart .single_add_to_cart_button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--gold-light) !important;
  color: #0e0c0a !important;
}

/* Quantity input */
.woocommerce div.product form.cart .qty {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  color: var(--text) !important;
  font-family: var(--sans) !important;
  text-align: center;
  border-radius: 0 !important;
}

/* Product tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs {
  background: transparent !important;
  border-bottom: 0.5px solid var(--border) !important;
  padding: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  border-bottom: none !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  font-family: var(--sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  padding: 14px 20px !important;
  font-weight: 500 !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--gold) !important;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active a {
  color: var(--gold) !important;
}

.woocommerce div.product .woocommerce-tabs .panel {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  padding: 28px !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

.woocommerce div.product .woocommerce-tabs .panel * {
  color: var(--text-muted) !important;
}

/* Related products */
.related.products h2,
.upsells.products h2 {
  font-family: var(--serif) !important;
  font-size: 28px !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  text-align: center !important;
  padding-bottom: 20px !important;
  border-bottom: 0.5px solid var(--border) !important;
  margin-bottom: 30px !important;
}

/* =========================================================
   WOOCOMMERCE — CART PAGE
   ========================================================= */
.woocommerce-cart .woocommerce,
.woocommerce table.cart {
  background: transparent !important;
}

.woocommerce table.cart,
.woocommerce table.shop_table {
  border: 0.5px solid var(--border) !important;
  border-radius: 0 !important;
}

.woocommerce table.cart th,
.woocommerce table.shop_table th {
  font-family: var(--sans) !important;
  font-size: 9px !important;
  letter-spacing: 0.25em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  font-weight: 600 !important;
  background: var(--bg-card) !important;
  border-bottom: 0.5px solid var(--border) !important;
  padding: 14px 16px !important;
}

.woocommerce table.cart td,
.woocommerce table.shop_table td {
  background: var(--bg) !important;
  border-bottom: 0.5px solid var(--border) !important;
  color: var(--text-muted) !important;
  padding: 16px !important;
  vertical-align: middle !important;
}

.woocommerce table.cart .product-name a,
.woocommerce table.shop_table .product-name a {
  font-family: var(--serif) !important;
  font-size: 15px !important;
  color: var(--text) !important;
  font-weight: 400 !important;
}

.woocommerce table.cart .product-price .amount,
.woocommerce table.cart .product-subtotal .amount {
  color: var(--gold) !important;
  font-weight: 500 !important;
}

/* Cart totals box */
.woocommerce .cart_totals,
.woocommerce-page .cart_totals {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  padding: 28px !important;
}

.woocommerce .cart_totals h2 {
  font-family: var(--serif) !important;
  font-size: 22px !important;
  color: var(--text) !important;
  margin-bottom: 20px !important;
}

/* Coupon / promo input */
.woocommerce .coupon input.input-text,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  background: var(--bg) !important;
  border: 0.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 0 !important;
  padding: 10px 14px !important;
  font-family: var(--sans) !important;
  font-size: 13px !important;
}

.woocommerce .coupon input.input-text:focus,
.woocommerce form .form-row input.input-text:focus {
  border-color: var(--gold) !important;
  outline: none !important;
  box-shadow: none !important;
}

/* =========================================================
   WOOCOMMERCE — CHECKOUT PAGE
   ========================================================= */
.woocommerce-checkout .woocommerce {
  background: transparent !important;
}

.woocommerce-billing-fields h3,
.woocommerce-shipping-fields h3,
.woocommerce-additional-fields h3,
#order_review_heading {
  font-family: var(--serif) !important;
  font-size: 20px !important;
  color: var(--text) !important;
  padding-bottom: 12px !important;
  border-bottom: 0.5px solid var(--border) !important;
  margin-bottom: 20px !important;
}

/* =========================================================
   WOOCOMMERCE — REVIEWS / RATINGS
   ========================================================= */
.woocommerce #reviews #comments ol.commentlist li {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  padding: 20px !important;
  margin-bottom: 12px !important;
}

.woocommerce #reviews #comments ol.commentlist li .comment-text {
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.woocommerce #reviews #comments ol.commentlist li .star-rating {
  color: var(--gold) !important;
}

.star-rating span::before,
.woocommerce .star-rating span::before {
  color: var(--gold) !important;
}

/* =========================================================
   WOOCOMMERCE — MESSAGES & NOTICES
   ========================================================= */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  background: var(--bg-card) !important;
  border-top-color: var(--gold) !important;
  color: var(--text-muted) !important;
  border-radius: 0 !important;
  font-family: var(--sans) !important;
}

.woocommerce-message::before { color: var(--gold) !important; }
.woocommerce-info::before { color: var(--gold) !important; }

/* =========================================================
   WIDGETS & SIDEBAR
   ========================================================= */
.widget-area,
#secondary {
  background: var(--bg) !important;
}

.widget {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  padding: 24px !important;
  margin-bottom: 16px !important;
}

.widget-title {
  font-family: var(--sans) !important;
  font-size: 9px !important;
  font-weight: 700 !important;
  letter-spacing: 0.3em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
  border-bottom: 0.5px solid var(--border) !important;
  padding-bottom: 12px !important;
  margin-bottom: 16px !important;
}

/* Price filter widget */
.woocommerce .widget_price_filter .price_slider_wrapper .ui-widget-content {
  background: var(--bg) !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: var(--gold) !important;
}

.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background: var(--gold) !important;
  border: none !important;
}

/* =========================================================
   BREADCRUMBS
   ========================================================= */
.woocommerce .woocommerce-breadcrumb {
  font-family: var(--sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: var(--text-faint) !important;
  background: transparent !important;
  padding: 12px 0 !important;
}

.woocommerce .woocommerce-breadcrumb a { color: var(--gold) !important; }

/* =========================================================
   PAGINATION
   ========================================================= */
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  color: var(--text-muted) !important;
  border-radius: 0 !important;
  font-family: var(--sans) !important;
  font-size: 12px !important;
}

.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  background: var(--gold) !important;
  color: #0e0c0a !important;
  border-color: var(--gold) !important;
}

/* =========================================================
   SECTION HEADINGS (shop page title etc)
   ========================================================= */
.woocommerce-products-header__title,
.page-title,
.entry-title {
  font-family: var(--serif) !important;
  font-size: 38px !important;
  font-weight: 400 !important;
  color: var(--text) !important;
  letter-spacing: 0.02em !important;
  text-align: center !important;
  padding-bottom: 16px !important;
  position: relative !important;
}

.woocommerce-products-header__title::after,
.page-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 0.5px;
  background: var(--gold);
  margin: 14px auto 0;
}

/* =========================================================
   RESULT COUNT & ORDERING
   ========================================================= */
.woocommerce-result-count {
  font-family: var(--sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  color: var(--text-faint) !important;
  text-transform: uppercase !important;
}

.woocommerce-ordering select {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  color: var(--text-muted) !important;
  font-family: var(--sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.1em !important;
  border-radius: 0 !important;
  padding: 8px 14px !important;
  appearance: none !important;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: #080705 !important;
  border-top: 0.5px solid var(--border) !important;
  color: var(--text-muted) !important;
}

.site-footer .col-full {
  padding: 40px 0 24px !important;
}

.site-footer .widget-title {
  font-family: var(--sans) !important;
  font-size: 9px !important;
  letter-spacing: 0.35em !important;
  text-transform: uppercase !important;
  color: var(--gold) !important;
}

.site-footer a { color: var(--text-faint) !important; }
.site-footer a:hover { color: var(--gold) !important; }

.site-footer p { color: var(--text-faint) !important; font-size: 11px !important; }

/* Credit line */
.storefront-handheld-footer-bar {
  background: #080705 !important;
  border-top: 0.5px solid var(--border) !important;
}

/* =========================================================
   FORMS GLOBAL
   ========================================================= */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
input[type="number"],
textarea,
select {
  background: var(--bg-card) !important;
  border: 0.5px solid var(--border) !important;
  color: var(--text) !important;
  border-radius: 0 !important;
  font-family: var(--sans) !important;
}

input:focus, textarea:focus, select:focus {
  border-color: var(--gold) !important;
  outline: none !important;
  box-shadow: 0 0 0 1px var(--gold-border) !important;
}

label {
  font-family: var(--sans) !important;
  font-size: 10px !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: var(--text-muted) !important;
  font-weight: 500 !important;
}

/* =========================================================
   MOBILE RESPONSIVE
   ========================================================= */
@media (max-width: 768px) {
  .woocommerce ul.products[class*="columns-"] li.product {
    width: 47% !important;
    margin: 0 !important;
  }

  .site-title { font-size: 20px !important; letter-spacing: 0.15em !important; }

  .woocommerce-products-header__title,
  .page-title,
  .entry-title { font-size: 28px !important; }

  .woocommerce div.product .product_title { font-size: 26px !important; }
}

@media (max-width: 480px) {
  .woocommerce ul.products[class*="columns-"] li.product {
    width: 100% !important;
  }
}
