/*
Theme Name: Arca WooCommerce
Theme URI: https://arca-theme.com
Description: Theme WooCommerce optimizado para conversión. Diseño blanco limpio con checkout tipo Shopify, captura de email en onblur, sticky bar en producto, urgencia de stock y más.
Version: 1.0.0
Author: Arca
Author URI: https://arca-theme.com
Text Domain: arca
Domain Path: /languages
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
WC requires at least: 8.0
WC tested up to: 9.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.txt
Tags: woocommerce, e-commerce, one-column, two-columns, right-sidebar, flexible-header, custom-colors, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ════════════════════════════════════════
   VARIABLES
════════════════════════════════════════ */
:root {
  --black:    #0f0f0f;
  --white:    #ffffff;
  --g50:      #f9fafb;
  --g100:     #f3f4f6;
  --g200:     #e5e7eb;
  --g400:     #9ca3af;
  --g600:     #4b5563;
  --blue:     #2563eb;
  --blue-d:   #1d4ed8;
  --red:      #dc2626;
  --green:    #16a34a;
  --border:   #e5e7eb;
  --radius:   12px;
  --radius-sm: 8px;
  --radius-pill: 50px;
  --shadow-sm: 0 1px 4px rgba(0,0,0,.06);
  --shadow-md: 0 8px 24px rgba(0,0,0,.08);
  --shadow-lg: 0 16px 48px rgba(0,0,0,.10);
  --transition: 0.18s ease;
}

/* ════════════════════════════════════════
   RESET & BASE
════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--black);
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Fraunces', Georgia, serif;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: var(--black);
}

a { color: var(--black); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue); }

img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
input, select, textarea, button { font-family: inherit; }
button { cursor: pointer; }

/* ════════════════════════════════════════
   ANNOUNCEMENT BAR
════════════════════════════════════════ */
.arca-announcement {
  background: var(--black);
  color: white;
  text-align: center;
  padding: 9px 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}
.arca-announcement b { color: #93c5fd; }
.arca-announcement a { color: white; text-decoration: underline; }

/* ════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  height: 62px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
  gap: 2.5rem;
}

.site-branding .site-title {
  font-family: 'Fraunces', serif;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
}
.site-branding .site-title a { color: var(--black); }
.site-branding .site-description { display: none; }

.main-navigation { flex: 1; }
.main-navigation ul { display: flex; gap: 1.8rem; }
.main-navigation ul li a {
  color: var(--g600);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color var(--transition);
}
.main-navigation ul li a:hover,
.main-navigation ul li.current-menu-item > a { color: var(--black); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.nav-icon-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  transition: all var(--transition);
  text-decoration: none;
}
.nav-icon-btn:hover { border-color: var(--black); color: var(--black); }
.nav-icon-btn svg { width: 18px; height: 18px; }

/* Cart pill */
.cart-pill {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--black);
  color: white !important;
  border: none;
  padding: 0.45rem 1.1rem 0.45rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.cart-pill:hover { background: var(--blue-d); color: white !important; }
.cart-pill .count {
  background: var(--blue);
  width: 19px; height: 19px;
  border-radius: 50%;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-pill .count:empty { display: none; }

/* Mobile burger */
.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  color: var(--black);
}

/* ════════════════════════════════════════
   TRUST BAR
════════════════════════════════════════ */
.trust-bar {
  background: var(--black);
  display: flex;
  justify-content: center;
}
.trust-bar__item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.88);
  font-size: 0.79rem;
  font-weight: 500;
  padding: 1rem 2.4rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.trust-bar__item:last-child { border-right: none; }

/* ════════════════════════════════════════
   LAYOUT & CONTAINERS
════════════════════════════════════════ */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.site-main { min-height: 60vh; }

/* ════════════════════════════════════════
   BUTTONS
════════════════════════════════════════ */
.btn, button.button, input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--black);
  color: white;
  border: none;
  padding: 0.85rem 2rem;
  border-radius: var(--radius-pill);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--blue-d);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(37,99,235,.28);
}

.btn-outline {
  background: transparent;
  color: var(--black);
  border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--black); background: transparent; transform: none; box-shadow: none; }

.btn-blue { background: var(--blue); }
.btn-blue:hover { background: var(--blue-d); }

/* ════════════════════════════════════════
   FORM ELEMENTS
════════════════════════════════════════ */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="number"],
textarea,
select {
  width: 100%;
  height: 44px;
  padding: 0 0.9rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--black);
  background: white;
  outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  appearance: none;
}
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus {
  border-color: var(--black);
  box-shadow: 0 0 0 3px rgba(15,15,15,.07);
}
textarea { height: auto; padding: 0.75rem 0.9rem; }

label {
  display: block;
  font-size: 0.77rem;
  font-weight: 700;
  color: var(--g600);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

/* ════════════════════════════════════════
   HERO (Front Page)
════════════════════════════════════════ */
.arca-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 88vh;
}

.arca-hero__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4.5rem 5rem 4rem;
  background: white;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1.5px solid var(--border);
  padding: 0.28rem 0.9rem;
  border-radius: 40px;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--g600);
  width: fit-content;
  margin-bottom: 1.6rem;
  box-shadow: var(--shadow-sm);
}
.pulse-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--green);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.25} }

.arca-hero__title {
  font-size: clamp(2.8rem,4.2vw,4.8rem);
  margin-bottom: 1.3rem;
}
.arca-hero__title em { font-style: italic; color: var(--blue); }
.arca-hero__desc {
  font-size: 0.97rem;
  color: var(--g600);
  max-width: 400px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}
.arca-hero__btns { display: flex; gap: 0.8rem; margin-bottom: 3rem; flex-wrap: wrap; }

.social-proof { display: flex; align-items: center; gap: 1rem; }
.social-proof__avatars { display: flex; }
.social-proof__avatars span {
  width: 33px; height: 33px;
  border-radius: 50%;
  border: 2.5px solid white;
  margin-left: -9px;
  font-size: 0.67rem;
  font-weight: 700;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
}
.social-proof__avatars span:first-child { margin-left: 0; }
.av1 { background: linear-gradient(135deg,#6366f1,#8b5cf6); }
.av2 { background: linear-gradient(135deg,#ec4899,#f43f5e); }
.av3 { background: linear-gradient(135deg,#14b8a6,#0ea5e9); }
.av4 { background: linear-gradient(135deg,#f59e0b,#ef4444); }
.social-proof__text { font-size: 0.81rem; color: var(--g600); }
.social-proof__text strong { color: var(--black); }
.stars { color: #f59e0b; letter-spacing: 0.04em; }

.arca-hero__right {
  background: var(--g50);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 3rem;
}
.arca-hero__right::before {
  content: '';
  position: absolute;
  width: 550px; height: 550px;
  background: radial-gradient(circle,rgba(37,99,235,.07) 0%,transparent 70%);
  border-radius: 50%;
  top: -130px; right: -130px;
}

/* ════════════════════════════════════════
   PRODUCTS SECTION (Archive)
════════════════════════════════════════ */
.woocommerce-products-header { display: none; }

.products-wrap {
  padding: 4rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
}
.products-header h1,
.products-header h2 {
  font-size: 2rem;
}
.products-header h1 em,
.products-header h2 em { font-style: italic; color: var(--blue); }

ul.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  list-style: none !important;
}

ul.products li.product {
  border-radius: 16px;
  overflow: hidden;
  background: white;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
  position: relative;
}
ul.products li.product:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.product-loop__img-wrap {
  position: relative;
  overflow: hidden;
}
ul.products li.product a img {
  width: 100%;
  height: 248px;
  object-fit: cover;
  transition: transform 0.35s;
}
ul.products li.product:hover a img { transform: scale(1.04); }

.product-loop__overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(15,15,15,.88);
  color: white;
  text-align: center;
  padding: 0.7rem;
  font-size: 0.81rem;
  font-weight: 600;
  transform: translateY(100%);
  transition: transform 0.22s;
  letter-spacing: 0.02em;
}
ul.products li.product:hover .product-loop__overlay { transform: translateY(0); }

.onsale {
  position: absolute !important;
  top: 0.8rem !important;
  left: 0.8rem !important;
  right: auto !important;
  background: var(--red) !important;
  color: white !important;
  padding: 0.19rem 0.62rem !important;
  border-radius: 30px !important;
  font-size: 0.67rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
  min-height: auto !important;
  min-width: auto !important;
  line-height: 1.4 !important;
}

ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Fraunces', serif;
  font-size: 1rem;
  font-weight: 700;
  padding: 1rem 1rem 0.35rem !important;
  color: var(--black);
}
ul.products li.product .price {
  padding: 0 1rem;
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black) !important;
  display: block;
  margin-bottom: 0.8rem;
}
ul.products li.product .price del {
  font-size: 0.82rem;
  color: var(--g400) !important;
  margin-left: 0.3rem;
  font-weight: 400;
}
ul.products li.product .price ins { text-decoration: none; }

ul.products li.product .star-rating {
  padding: 0 1rem;
  margin-bottom: 0.75rem;
  color: #f59e0b;
}

ul.products li.product .button,
ul.products li.product a.add_to_cart_button {
  margin: 0 1rem 1rem;
  display: inline-flex;
  padding: 0.46rem 1rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 600;
  background: var(--black);
  color: white;
  border: none;
  text-decoration: none;
  transition: background var(--transition);
}
ul.products li.product .button:hover,
ul.products li.product a.add_to_cart_button:hover { background: var(--blue-d); color: white; }

/* Rating stars */
.star-rating { overflow: hidden; position: relative; display: inline-block; }
.star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; padding-top: 1.5em; }
.star-rating::before,
.star-rating span::before {
  content: "\53\53\53\53\53";
  top: 0; left: 0; letter-spacing: 0.1em;
  font-size: 0.75rem;
}
.star-rating::before { color: #e5e7eb; }
.star-rating span::before { color: #f59e0b; }

/* Woocommerce notices */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  background: var(--g50);
  border-left: 4px solid var(--blue);
  padding: 1rem 1.2rem;
  margin-bottom: 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.woocommerce-error { border-color: var(--red); }
.woocommerce-message a.button,
.woocommerce-info a.button {
  margin-left: auto;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
}

/* ════════════════════════════════════════
   SINGLE PRODUCT
════════════════════════════════════════ */
.single-product .site-main {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
}

/* Gallery */
.woocommerce-product-gallery {
  background: var(--g50) !important;
  border-radius: 0;
  padding: 2.5rem !important;
  position: sticky;
  top: 62px;
  height: calc(100vh - 62px);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.woocommerce-product-gallery figure img {
  border-radius: 16px;
  width: 100%;
  height: 100%;
  object-fit: contain;
  max-height: 400px;
}
.flex-control-thumbs {
  display: flex !important;
  gap: 0.7rem !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
}
.flex-control-thumbs li {
  width: 68px !important;
  height: 68px !important;
  margin: 0 !important;
  float: none !important;
}
.flex-control-thumbs li img {
  width: 68px !important;
  height: 68px !important;
  object-fit: cover !important;
  border-radius: 10px !important;
  border: 2px solid transparent !important;
  transition: border-color var(--transition) !important;
  opacity: 1 !important;
}
.flex-control-thumbs li img.flex-active,
.flex-control-thumbs li img:hover { border-color: var(--blue) !important; }
.woocommerce-product-gallery__trigger { display: none !important; }

/* Product summary */
.summary.entry-summary {
  padding: 3.5rem 3rem;
  overflow-y: auto;
}

.woocommerce div.product .product_title {
  font-size: 2.1rem;
  margin-bottom: 0.95rem;
  letter-spacing: -0.025em;
}

.product-brand {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--g400);
  font-weight: 600;
  margin-bottom: 0.55rem;
}

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-family: 'Fraunces', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--black) !important;
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.35rem;
}
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  font-size: 1.1rem;
  color: var(--g400) !important;
  font-weight: 400;
}
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins { text-decoration: none; }

.price-tax-note {
  font-size: 0.79rem;
  color: var(--g400);
  margin-bottom: 1.5rem;
}

.save-badge {
  background: #dcfce7;
  color: var(--green);
  padding: 0.17rem 0.62rem;
  border-radius: 20px;
  font-size: 0.77rem;
  font-weight: 700;
  font-family: inherit;
}

/* Stock urgency */
.stock-urgency {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius-sm);
  padding: 0.72rem 1rem;
  font-size: 0.83rem;
  color: #c2410c;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.4rem;
}

/* Variations */
.woocommerce div.product form.variations_form table.variations { border: none; width: 100%; }
.woocommerce div.product form.variations_form table.variations td { border: none; padding: 0 0 1rem; }
.woocommerce div.product form.variations_form table.variations td.label label {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--black);
  text-transform: none;
  letter-spacing: 0;
  margin-bottom: 0;
}
.woocommerce div.product form.variations_form .variations select { height: 44px; }
.reset_variations { font-size: 0.78rem; color: var(--g400); text-decoration: underline; }

/* Qty + Add to cart */
.woocommerce div.product form.cart {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 0.75rem !important;
}
.woocommerce div.product form.cart .qty {
  width: auto !important;
  height: 48px;
  padding: 0 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  max-width: 100px;
}
.woocommerce div.product form.cart .button {
  flex: 1;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  background: var(--black);
  color: white;
  border: none;
  letter-spacing: 0.02em;
}
.woocommerce div.product form.cart .button:hover {
  background: var(--blue-d);
  box-shadow: 0 8px 24px rgba(37,99,235,.3);
  transform: none;
}

/* Buy now button */
.btn-buy-now {
  width: 100%;
  height: 48px;
  background: white;
  color: var(--black);
  border: 1.5px solid var(--black);
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s;
  margin-bottom: 1.4rem;
  letter-spacing: 0.02em;
}
.btn-buy-now:hover { background: var(--black); color: white; }

/* Product meta trust */
.product-trust-badges {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.79rem;
  color: var(--g600);
  font-weight: 500;
}

/* Tabs */
.woocommerce-tabs {
  padding: 3rem 2rem;
  max-width: 1280px;
  margin: 0 auto;
}
.woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2rem;
  padding: 0 !important;
  background: none !important;
}
.woocommerce-tabs ul.tabs::before { display: none !important; }
.woocommerce-tabs ul.tabs li {
  background: none !important;
  border: none !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -2px !important;
  border-radius: 0 !important;
  padding: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  padding: 0.75rem 1.5rem !important;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--g400) !important;
}
.woocommerce-tabs ul.tabs li.active {
  border-bottom-color: var(--black) !important;
}
.woocommerce-tabs ul.tabs li.active a { color: var(--black) !important; }

/* Related products */
.related.products { padding: 3rem 2rem; max-width: 1280px; margin: 0 auto; }
.related.products h2 { font-size: 1.5rem; margin-bottom: 1.5rem; }

/* Sticky add-to-cart bar */
.sticky-add-bar {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: white;
  border-top: 1.5px solid var(--border);
  padding: 1rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 150;
  box-shadow: 0 -8px 32px rgba(0,0,0,.07);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-add-bar.visible { transform: translateY(0); }
.sticky-add-bar__product { display: flex; align-items: center; gap: 1rem; }
.sticky-add-bar__img {
  width: 44px; height: 44px;
  border-radius: 8px;
  object-fit: cover;
  border: 1px solid var(--border);
}
.sticky-add-bar__name { font-family: 'Fraunces', serif; font-size: 0.94rem; font-weight: 700; }
.sticky-add-bar__price { font-family: 'Fraunces', serif; font-size: 1.2rem; font-weight: 700; }

/* ════════════════════════════════════════
   CART PAGE
════════════════════════════════════════ */
.woocommerce-cart .site-main { max-width: 1280px; margin: 0 auto; padding: 3rem 2rem; }
.woocommerce-cart .page-title { font-size: 2rem; margin-bottom: 2rem; }

.woocommerce .woocommerce-cart-form table.shop_table {
  border-collapse: collapse;
  width: 100%;
  border: none !important;
}
.woocommerce table.shop_table th {
  font-size: 0.77rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--g400);
  padding: 0 1rem 1rem;
  border: none !important;
  background: none !important;
}
.woocommerce table.shop_table td {
  padding: 1.2rem 1rem;
  border-top: 1px solid var(--border) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  vertical-align: middle;
}
.woocommerce table.shop_table .product-thumbnail img {
  width: 72px; height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}
.woocommerce table.shop_table .product-name a { font-weight: 600; }
.woocommerce table.shop_table .product-price,
.woocommerce table.shop_table .product-subtotal { font-family: 'Fraunces', serif; font-weight: 700; }
.woocommerce table.shop_table input[type="number"] { width: 72px; text-align: center; }

.cart-collaterals { display: flex; justify-content: flex-end; margin-top: 2rem; }
.cart_totals { background: var(--g50); border-radius: 16px; padding: 1.5rem; min-width: 340px; border: 1.5px solid var(--border); }
.cart_totals h2 { font-size: 1.1rem; margin-bottom: 1.2rem; }
.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table tr td, .cart_totals table tr th { padding: 0.6rem 0; border: none !important; background: none !important; }
.cart_totals table tr th { font-size: 0.84rem; font-weight: 600; color: var(--g600); }
.cart_totals table tr.order-total th,
.cart_totals table tr.order-total td { font-family: 'Fraunces', serif; font-size: 1.1rem; font-weight: 700; border-top: 1px solid var(--border) !important; padding-top: 1rem; }
.wc-proceed-to-checkout { margin-top: 1rem; }
.wc-proceed-to-checkout .checkout-button { width: 100% !important; justify-content: center; }

/* Free shipping progress */
.free-shipping-progress {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 1rem;
  margin-bottom: 1.2rem;
  font-size: 0.8rem;
}
.fsp-text { color: var(--g600); margin-bottom: 0.6rem; font-weight: 500; }
.fsp-text b { color: var(--green); }
.fsp-track { height: 5px; background: var(--border); border-radius: 10px; overflow: hidden; }
.fsp-fill { height: 100%; background: linear-gradient(to right, var(--green), #4ade80); border-radius: 10px; transition: width 0.6s ease; }

/* ════════════════════════════════════════
   CHECKOUT PAGE
════════════════════════════════════════ */
.woocommerce-checkout .site-main {
  max-width: 100%;
  padding: 0;
}

.checkout-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: calc(100vh - 62px);
}

/* Left: form */
.checkout-form-col {
  padding: 2.5rem 4rem;
  border-right: 1px solid var(--border);
  overflow-y: auto;
}

.checkout-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.28rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  margin-bottom: 2rem;
}

/* Steps indicator */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 2.4rem;
  font-size: 0.79rem;
  font-weight: 600;
}
.co-step { display: flex; align-items: center; gap: 0.4rem; color: var(--g400); }
.co-step.active { color: var(--black); }
.co-step.done { color: var(--green); }
.co-snum {
  width: 22px; height: 22px;
  border-radius: 50%;
  border: 2px solid currentColor;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.67rem; font-weight: 700;
}
.co-step.active .co-snum { background: var(--black); color: white; border-color: var(--black); }
.co-step.done .co-snum { background: var(--green); color: white; border-color: var(--green); }
.co-dash { flex: 1; max-width: 38px; height: 1px; background: var(--border); }

/* Express checkout */
.express-checkout-section { margin-bottom: 1.4rem; }
.express-title {
  text-align: center;
  font-size: 0.71rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--g400);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.85rem;
}
.express-title::before, .express-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.express-buttons { display: flex; gap: 0.65rem; }
.express-btn {
  flex: 1; height: 45px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: white;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  gap: 0.4rem; transition: all var(--transition);
  color: var(--black);
}
.express-btn:hover { border-color: var(--black); }
.express-btn.apple { background: var(--black); color: white; border-color: var(--black); }
.express-btn.apple:hover { background: var(--blue-d); border-color: var(--blue-d); }

.or-divider {
  display: flex; align-items: center; gap: 0.8rem;
  font-size: 0.71rem; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--g400);
  font-weight: 600; margin: 1.3rem 0;
}
.or-divider::before, .or-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Email first */
.checkout-section { margin-bottom: 1.8rem; }
.checkout-section-title {
  font-family: 'Fraunces', serif;
  font-size: 1.12rem;
  font-weight: 700;
  margin-bottom: 1.15rem;
}

/* Email saved indicator */
.email-capture-notice {
  display: none;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.76rem;
  color: var(--green);
  font-weight: 600;
  margin-top: 0.3rem;
}
.email-capture-notice.show { display: flex; }

#billing_email.saved {
  border-color: var(--green);
  background: #f0fdf4;
  box-shadow: 0 0 0 3px rgba(22,163,74,.07);
}

/* WooCommerce field overrides */
.woocommerce-billing-fields,
.woocommerce-shipping-fields { }

.woocommerce form .form-row { margin-bottom: 0.7rem !important; }
.woocommerce form .form-row label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--g600);
  letter-spacing: 0.025em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}
.woocommerce form .form-row .required { color: var(--red); }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row select,
.woocommerce form .form-row textarea {
  height: 44px;
  border-radius: var(--radius-sm);
  border-color: var(--border);
}
.woocommerce form .form-row-first { float: left; width: 48% !important; }
.woocommerce form .form-row-last { float: right; width: 48% !important; }
.woocommerce form .form-row-first,
.woocommerce form .form-row-last { clear: none !important; }

/* Shipping methods */
.woocommerce-shipping-fields { margin-top: 1.8rem; }
#ship-to-different-address label { font-size: 0.9rem !important; text-transform: none !important; letter-spacing: 0 !important; font-weight: 600 !important; }

.woocommerce-shipping-methods li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.88rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.58rem;
  cursor: pointer;
  transition: all var(--transition);
  background: white;
}
.woocommerce-shipping-methods li:has(input:checked) {
  border-color: var(--black);
  background: var(--g50);
}
.woocommerce-shipping-methods li input[type="radio"] { margin-right: 0.8rem; accent-color: var(--black); }
.woocommerce-shipping-methods li label { font-size: 0.87rem !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--black) !important; }

/* Payment */
#payment { background: var(--g50) !important; border-radius: var(--radius) !important; padding: 1.5rem !important; margin-top: 1.5rem; }
#payment .payment_methods li { list-style: none !important; padding: 0.7rem 0 !important; border-bottom: 1px solid var(--border); }
#payment .payment_methods li:last-child { border-bottom: none; }
#payment label { font-size: 0.9rem !important; font-weight: 600 !important; text-transform: none !important; letter-spacing: 0 !important; color: var(--black) !important; }
#payment div.payment_box { background: white !important; border-radius: var(--radius-sm) !important; padding: 1rem !important; margin: 0.5rem 0 0 !important; border: 1px solid var(--border) !important; font-size: 0.85rem !important; }

#place_order {
  width: 100% !important;
  height: 52px !important;
  background: var(--black) !important;
  color: white !important;
  border: none !important;
  border-radius: var(--radius-pill) !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  cursor: pointer;
  transition: all 0.2s !important;
  letter-spacing: 0.03em !important;
  margin-top: 1.5rem !important;
}
#place_order:hover { background: var(--blue-d) !important; box-shadow: 0 8px 24px rgba(37,99,235,.3) !important; }

.secure-checkout-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.74rem;
  color: var(--g400);
  margin-top: 0.85rem;
  font-weight: 500;
}

/* Right: order summary */
.checkout-order-col {
  background: var(--g50);
  padding: 2.5rem;
  border-left: 1px solid var(--border);
  overflow-y: auto;
}

.woocommerce-checkout-review-order table.shop_table {
  border-collapse: collapse;
  width: 100%;
}
.woocommerce-checkout-review-order table.shop_table thead th { display: none; }
.woocommerce-checkout-review-order table.shop_table td {
  padding: 0.8rem 0;
  border-top: 1px solid var(--border) !important;
  border-bottom: none !important;
  border-left: none !important;
  border-right: none !important;
  font-size: 0.87rem;
  background: none !important;
}
.woocommerce-checkout-review-order table.shop_table td:first-child { border-top: none !important; }
.woocommerce-checkout-review-order table.shop_table .product-name { font-weight: 600; }
.woocommerce-checkout-review-order table.shop_table .product-total { font-family: 'Fraunces', serif; font-weight: 700; text-align: right; }
.woocommerce-checkout-review-order table.shop_table .cart-subtotal th,
.woocommerce-checkout-review-order table.shop_table .shipping th,
.woocommerce-checkout-review-order table.shop_table tfoot tr th {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--g600);
}
.woocommerce-checkout-review-order table.shop_table .order-total th,
.woocommerce-checkout-review-order table.shop_table .order-total td {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--black);
  border-top: 2px solid var(--border) !important;
  padding-top: 1rem;
}

/* ════════════════════════════════════════
   FOOTER
════════════════════════════════════════ */
.site-footer {
  background: var(--black);
  color: white;
  padding: 4rem 2rem 2rem;
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-brand .footer-logo {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: white;
  margin-bottom: 1rem;
  display: block;
}
.footer-desc { font-size: 0.85rem; color: rgba(255,255,255,0.55); line-height: 1.75; max-width: 280px; }
.footer-col h4 { font-size: 0.77rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,.5); font-weight: 700; margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul li a { color: rgba(255,255,255,.7); font-size: 0.875rem; transition: color var(--transition); }
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}

/* ════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════ */
@media (max-width: 1024px) {
  ul.products { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
  .arca-hero { grid-template-columns: 1fr; }
  .arca-hero__left { padding: 3rem 2rem; min-height: 70vh; }
  .arca-hero__right { display: none; }
  .woocommerce div.product { grid-template-columns: 1fr; }
  .woocommerce-product-gallery { position: static; height: auto; }
  .checkout-layout { grid-template-columns: 1fr; }
  .checkout-order-col { display: none; }
  .checkout-form-col { padding: 2rem; }
  ul.products { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
  .trust-bar { flex-direction: column; }
  .trust-bar__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; }
  .sticky-add-bar { padding: 1rem; }
}
