/*
Theme Name: Efeton Lookalike
Theme URI: https://efeton.com
Author: Efeton Design Studio
Description: A lookalike one-page WooCommerce WordPress theme replicating the exact aesthetic, editorial typography, copy hierarchy, video showcase, and footer architecture of www.efeton.com ("Geometry of presence").
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
WC requires at least: 7.0
WC tested up to: 9.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: efeton-lookalike
Tags: e-commerce, one-column, custom-colors, custom-logo, custom-menu, featured-images, full-width-template, woocommerce
*/

:root {
  --bg-page: #F6F5F1;
  --bg-card: #EFECE6;
  --bg-surface: #FFFFFF;
  --bg-dark: #141413;
  --text-main: #181817;
  --text-muted: #5F5E59;
  --text-inverse: #F6F5F1;
  --accent-bronze: #8E7B68;
  --border-line: rgba(24, 24, 23, 0.11);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-w: 1220px;
  --radius-card: 14px;
  --radius-pill: 999px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

img, video {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Announcement / Status Bar */
.top-strip {
  background: var(--bg-dark);
  color: rgba(246, 245, 241, 0.8);
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 9px 16px;
}

/* Sticky Glass Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(246, 245, 241, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-line);
  padding: 18px 0;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-mark {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-main);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

.nav-links a:hover {
  color: var(--text-main);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.bag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-line);
  font-size: 0.85rem;
  font-weight: 500;
}

.bag-pill:hover {
  border-color: var(--text-main);
}

.cart-count {
  background: var(--text-main);
  color: var(--bg-page);
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: var(--radius-pill);
}

/* Buttons */
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--text-main);
  color: var(--bg-page);
  padding: 15px 34px;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid var(--text-main);
  cursor: pointer;
}

.btn-solid:hover {
  background: transparent;
  color: var(--text-main);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--text-main);
  padding: 15px 30px;
  border-radius: var(--radius-pill);
  font-size: 0.925rem;
  font-weight: 500;
  border: 1px solid var(--border-line);
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--text-main);
}

/* Hero Section — Exact Efeton.com Editorial Hero */
.hero-wrap {
  padding: 96px 0 110px;
  border-bottom: 1px solid var(--border-line);
}

.hero-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 64px;
  align-items: center;
}

.kicker {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-bronze);
  margin-bottom: 18px;
}

.hero-heading {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 5.8vw, 5rem);
  font-weight: 400;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 26px;
}

.hero-copy {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-artifact-stage {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--bg-card);
  border-radius: var(--radius-card);
  border: 1px solid var(--border-line);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-artifact-stage img,
.hero-artifact-stage video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sculptural CSS Geometry Fallback if no image/video uploaded yet */
.efeton-geometry-art {
  position: relative;
  width: 260px;
  height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.efeton-geometry-art .ring-outer {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  border: 1px solid rgba(24, 24, 23, 0.35);
}

.efeton-geometry-art .diamond-mid {
  position: absolute;
  width: 165px;
  height: 165px;
  border: 1px solid var(--accent-bronze);
  transform: rotate(45deg);
}

.efeton-geometry-art .core-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--text-main);
}

/* Section Rhythm */
.section-pad {
  padding: 110px 0;
  border-bottom: 1px solid var(--border-line);
}

.section-intro {
  max-width: 700px;
  margin-bottom: 60px;
}

.section-h2 {
  font-family: var(--font-display);
  font-size: clamp(2.35rem, 4.2vw, 3.4rem);
  font-weight: 400;
  line-height: 1.12;
  margin-bottom: 18px;
}

.section-lead {
  font-size: 1.075rem;
  color: var(--text-muted);
}

/* Tactile Philosophy & Video/Ritual Block */
.repose-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.ritual-steps {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ritual-card {
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: var(--radius-card);
  padding: 28px 32px;
}

.ritual-card span {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--accent-bronze);
  display: block;
  margin-bottom: 6px;
}

.ritual-card h3 {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-weight: 500;
  margin-bottom: 8px;
}

.ritual-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.video-frame {
  aspect-ratio: 16 / 10;
  background: var(--bg-dark);
  border-radius: var(--radius-card);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-inverse);
  border: 1px solid var(--border-line);
}

.video-frame video,
.video-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-caption-overlay {
  text-align: center;
  padding: 32px;
}

.video-caption-overlay p {
  font-family: var(--font-display);
  font-size: 1.65rem;
  font-style: italic;
  margin-bottom: 10px;
}

.video-caption-overlay small {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(246, 245, 241, 0.65);
}

/* Single Product WooCommerce Showcase */
.shop-showcase {
  padding: 115px 0;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-line);
}

.product-card-single {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  background: var(--bg-surface);
  padding: 56px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border-line);
}

.product-media {
  aspect-ratio: 1 / 1;
  background: var(--bg-page);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info h2 {
  font-family: var(--font-display);
  font-size: 2.85rem;
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 12px;
}

.product-info .price {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 22px;
}

.product-info .desc {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 34px;
}

.spec-table td {
  padding: 12px 0;
  border-top: 1px solid var(--border-line);
  font-size: 0.9rem;
}

.spec-table td:first-child {
  color: var(--text-muted);
}

.spec-table td:last-child {
  text-align: right;
  font-weight: 500;
}

/* WooCommerce Native Form Overrides */
.efeton-buy-box form.cart {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

.efeton-buy-box .quantity input.qty {
  width: 74px;
  height: 54px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-line);
  text-align: center;
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--bg-page);
}

.efeton-buy-box button.single_add_to_cart_button {
  flex: 1;
  min-width: 210px;
  height: 54px;
  background: var(--text-main) !important;
  color: var(--bg-page) !important;
  border: 1px solid var(--text-main) !important;
  border-radius: var(--radius-pill) !important;
  font-family: var(--font-body) !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  letter-spacing: 0.04em;
  cursor: pointer;
}

.efeton-buy-box button.single_add_to_cart_button:hover {
  background: transparent !important;
  color: var(--text-main) !important;
}

/* FAQ Accordion */
.faq-container {
  max-width: 820px;
}

.faq-row {
  border-bottom: 1px solid var(--border-line);
}

.faq-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
}

.faq-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.32s ease;
  color: var(--text-muted);
}

.faq-row.open .faq-panel {
  max-height: 220px;
  padding-bottom: 24px;
}

/* Footer — Exact Match to Efeton.com (About, Help, Legal + Socials) */
.site-footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 84px 0 44px;
}

.footer-columns {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(246, 245, 241, 0.12);
}

.footer-about .brand-mark {
  color: var(--text-inverse);
  display: inline-block;
  margin-bottom: 14px;
}

.footer-about p {
  font-size: 0.9rem;
  color: rgba(246, 245, 241, 0.65);
  max-width: 280px;
}

.footer-menu h4 {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(246, 245, 241, 0.48);
  margin-bottom: 18px;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-menu a {
  font-size: 0.9rem;
  color: rgba(246, 245, 241, 0.85);
}

.footer-menu a:hover {
  color: #FFFFFF;
}

.footer-legal-bar {
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(246, 245, 241, 0.52);
}

.footer-socials {
  display: flex;
  gap: 22px;
}

.footer-socials a:hover {
  color: #FFFFFF;
}

/* WooCommerce Sub-pages (Cart / Checkout / Account) */
.wc-subpage {
  padding: 96px 0 110px;
}

@media (max-width: 960px) {
  .hero-layout,
  .repose-grid,
  .product-card-single,
  .footer-columns {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .product-card-single {
    padding: 32px 24px;
  }
}
