/* ============================================================
   MINTFOX Theme — Main Stylesheet
   ============================================================ */

:root {
  --obsidian: #1c1c1c;
  --obsidian-mid: #252525;
  --obsidian-light: #2e2e2e;
  --mint: #6DBFB0;
  --mint-light: #a8dcd5;
  --mint-pale: #e8f5f3;
  --warm-white: #f8f7f4;
  --off-white: #f0ede8;
  --mid-grey: #8a8a8a;
  --light-grey: #e0dedd;
  --gold: #c9a96e;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', 'Helvetica Neue', sans-serif;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition: 0.4s var(--ease);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--warm-white); color: var(--obsidian); font-weight: 300; line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; }

/* ── NAVIGATION ── */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 56px; height: 72px; display: flex; align-items: center; justify-content: space-between; background: #1c1c1c; border-bottom: 1px solid rgba(109,191,176,0.2); }
.nav-logo-wrap { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo-wrap .custom-logo-link { display: flex; align-items: center; line-height: 0; }
.nav-logo-wrap .custom-logo { height: 28px; width: auto; display: block; }
.nav-logo-text { font-family: var(--font-body); font-size: 13px; letter-spacing: 0.32em; text-transform: uppercase; color: #fff; font-weight: 300; }
.nav-links { display: flex; gap: 36px; list-style: none; align-items: center; }
.nav-links a { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.65); transition: color var(--transition); }
.nav-links a:hover { color: var(--mint); }
.nav-cta { background: var(--mint) !important; color: var(--obsidian) !important; padding: 9px 24px !important; font-weight: 500 !important; }
.nav-cta:hover { background: var(--mint-light) !important; }
.nav-cart { position: relative; font-size: 18px !important; letter-spacing: 0 !important; }
.cart-count { position: absolute; top: -8px; right: -10px; background: var(--mint); color: var(--obsidian); font-size: 10px; font-weight: 600; width: 18px; height: 18px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 1px; background: #fff; transition: all var(--transition); }

/* ── HERO ── */
.hero { min-height: 100vh; background: var(--obsidian); display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding-top: 72px; overflow: hidden; position: relative; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 65% 40%, rgba(109,191,176,0.07) 0%, transparent 60%); pointer-events: none; }
.hero-text { padding: 80px; position: relative; z-index: 2; }
.hero-eyebrow { font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; color: var(--mint); margin-bottom: 30px; display: flex; align-items: center; gap: 16px; }
.hero-eyebrow::before { content: ''; width: 32px; height: 1px; background: var(--mint); }
.hero-headline { font-family: var(--font-display); font-size: clamp(40px, 5.5vw, 78px); font-weight: 300; line-height: 1.06; color: #fff; margin-bottom: 30px; }
.hero-headline em { font-style: italic; color: var(--mint-light); }
.hero-sub { font-size: 15px; font-weight: 300; color: rgba(255,255,255,0.55); max-width: 430px; line-height: 1.9; margin-bottom: 48px; }
.hero-actions { display: flex; gap: 20px; align-items: center; }
.hero-visual { height: 100vh; position: relative; overflow: hidden; }
.hero-grid { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; }
.hero-cell { overflow: hidden; }
.hero-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.hero-cell:hover img { transform: scale(1.05); }
.hero-cell-placeholder { background: var(--obsidian-light); display: flex; align-items: center; justify-content: center; }
.placeholder-label { color: rgba(255,255,255,0.2); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; }
.hero-badge { position: absolute; bottom: 32px; right: 32px; z-index: 10; background: rgba(28,28,28,0.92); backdrop-filter: blur(8px); border: 1px solid rgba(109,191,176,0.35); padding: 22px 28px; text-align: center; }
.badge-num { font-family: var(--font-display); font-size: 44px; font-weight: 300; line-height: 1; color: var(--mint); }
.badge-text { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); margin-top: 6px; }

/* ── BUTTONS ── */
.btn-primary { background: var(--mint); color: var(--obsidian); padding: 14px 38px; font-size: 10.5px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; display: inline-block; transition: all var(--transition); border: 1px solid var(--mint); cursor: pointer; font-family: var(--font-body); }
.btn-primary:hover { background: transparent; color: var(--mint); }
.btn-ghost { color: rgba(255,255,255,0.6); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 10px; transition: color var(--transition); }
.btn-ghost:hover { color: var(--mint); }
.btn-ghost::after { content: '→'; transition: transform var(--transition); }
.btn-ghost:hover::after { transform: translateX(5px); }
.btn-secondary { background: transparent; color: var(--obsidian); border: 1px solid var(--obsidian); padding: 12px 32px; font-size: 10.5px; font-weight: 400; letter-spacing: 0.18em; text-transform: uppercase; display: inline-block; transition: all var(--transition); font-family: var(--font-body); cursor: pointer; }
.btn-secondary:hover { background: var(--obsidian); color: #fff; }

/* ── PRESS STRIP ── */
.press-strip { background: var(--obsidian-mid); padding: 18px 80px; display: flex; align-items: center; gap: 48px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.press-label { font-size: 9.5px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--mint); white-space: nowrap; flex-shrink: 0; display: flex; align-items: center; gap: 14px; }
.press-label::after { content: ''; width: 24px; height: 1px; background: var(--mint); }
.press-names { display: flex; gap: 44px; flex-wrap: wrap; align-items: center; }
.press-name { font-family: var(--font-display); font-size: 16px; font-style: italic; font-weight: 400; color: rgba(255,255,255,0.28); transition: color var(--transition); cursor: default; }
.press-name:hover { color: rgba(255,255,255,0.6); }

/* ── SECTION COMMON ── */
.section-tag { font-size: 9.5px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--mint); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.section-tag::before { content: ''; width: 22px; height: 1px; background: var(--mint); }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 4vw, 54px); font-weight: 300; line-height: 1.12; margin-bottom: 16px; }
.section-title em { font-style: italic; color: #999; }

/* ── COLLECTIONS ── */
.collections-section { background: var(--warm-white); padding: 110px 56px; }
.collections-header { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: end; margin-bottom: 64px; }
.collections-intro { font-size: 15px; color: #666; line-height: 1.85; font-weight: 300; }
.collections-view-all { text-align: right; }
.view-all-link { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--obsidian); display: inline-flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--obsidian); padding-bottom: 4px; transition: all var(--transition); }
.view-all-link:hover { color: var(--mint); border-color: var(--mint); }
.view-all-link::after { content: '→'; }

/* Collection grid rows */
.row-hero { margin-bottom: 3px; }
.row-two { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; margin-bottom: 3px; }
.row-asymmetric { display: grid; grid-template-columns: 3fr 2fr; gap: 3px; margin-bottom: 3px; }
.row-three { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 3px; }

/* Hero collection card */
.col-hero { position: relative; height: 380px; overflow: hidden; cursor: pointer; display: block; background: var(--obsidian); }
.col-hero img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform 0.9s var(--ease), filter 0.8s var(--ease); filter: brightness(0.72); }
.col-hero:hover img { transform: scale(1.04); filter: brightness(0.85); }
.col-hero-inner { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 44px 56px; background: linear-gradient(to top, rgba(28,28,28,0.88) 0%, rgba(28,28,28,0.1) 55%, transparent 100%); }
.col-hero-tag { font-size: 9px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.col-hero-name { font-family: var(--font-display); font-size: 52px; font-weight: 300; color: #fff; line-height: 1; }
.col-hero-name em { font-style: italic; color: var(--gold); }
.col-hero-desc { font-size: 14px; color: rgba(255,255,255,0.65); line-height: 1.7; margin-top: 12px; max-width: 500px; }
.col-hero-badge { position: absolute; top: 32px; right: 32px; background: var(--gold); padding: 8px 18px; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--obsidian); font-weight: 500; font-family: var(--font-body); }

/* Standard collection cards */
.col-card { position: relative; overflow: hidden; cursor: pointer; display: block; background: var(--obsidian); }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease), filter 0.8s var(--ease); filter: brightness(0.65); }
.col-card:hover img { transform: scale(1.05); filter: brightness(0.82); }
.col-card-inner { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; padding: 32px; background: linear-gradient(to top, rgba(28,28,28,0.92) 0%, rgba(28,28,28,0.2) 55%, transparent 100%); }
.col-tag { font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mint); margin-bottom: 8px; opacity: 0; transform: translateY(8px); transition: all 0.4s var(--ease); font-family: var(--font-body); }
.col-card:hover .col-tag { opacity: 1; transform: translateY(0); }
.col-name { font-family: var(--font-display); font-size: 28px; font-weight: 300; color: #fff; line-height: 1.1; margin-bottom: 8px; }
.col-name em { font-style: italic; }
.col-desc { font-size: 12.5px; color: rgba(255,255,255,0.55); line-height: 1.7; max-width: 300px; opacity: 0; transform: translateY(8px); transition: all 0.45s var(--ease) 0.05s; }
.col-card:hover .col-desc { opacity: 1; transform: translateY(0); }
.col-link { font-size: 9.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mint); display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; opacity: 0; transform: translateY(8px); transition: all 0.45s var(--ease) 0.1s; font-family: var(--font-body); }
.col-link::after { content: '→'; }
.col-card:hover .col-link { opacity: 1; transform: translateY(0); }
.col-card-tall { height: 340px; }
.col-card-short { height: 280px; }
.col-card-med { height: 310px; }

/* ── IMPERFECTS ── */
.imperfects-section { background: var(--obsidian); padding: 80px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.imperfects-left .section-title { color: #fff; }
.imperfects-left .section-title em { color: rgba(255,255,255,0.35); }
.imperfects-body { font-size: 15px; color: rgba(255,255,255,0.5); line-height: 1.85; margin-bottom: 20px; }
.imperfects-body strong { color: rgba(255,255,255,0.8); font-weight: 400; }
.imperfects-note { display: flex; align-items: flex-start; gap: 14px; background: rgba(255,255,255,0.04); border-left: 2px solid var(--mint); padding: 18px 20px; font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.7; margin-top: 24px; }
.imperfects-img-wrap { position: relative; height: 400px; }
.imperfects-img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(25%) brightness(0.8); }
.imperfects-tag-overlay { position: absolute; top: 28px; left: 28px; background: rgba(28,28,28,0.88); backdrop-filter: blur(6px); border: 1px solid rgba(255,255,255,0.1); padding: 14px 20px; }
.imperfects-tag-text { font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase; color: rgba(255,255,255,0.5); }
.imperfects-tag-title { font-family: var(--font-display); font-size: 22px; font-weight: 300; color: #fff; font-style: italic; margin-top: 4px; }

/* ── BRAND STORY ── */
.story-section { background: var(--off-white); padding: 110px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; position: relative; background-size: cover; background-position: center; background-repeat: no-repeat; }
.story-section.has-bg-image::before { content: ''; position: absolute; inset: 0; background: rgba(240, 237, 232, 0.92); pointer-events: none; }
.story-section.has-bg-image .story-left,
.story-section.has-bg-image .story-right { position: relative; z-index: 1; }
.story-body { font-size: 15.5px; font-weight: 300; color: #555; line-height: 1.9; margin-bottom: 22px; }
.story-body strong { color: var(--obsidian); font-weight: 500; }
.story-credentials { margin-top: 44px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.credential { background: var(--obsidian); padding: 26px 30px; }
.credential-gold { background: var(--mint); }
.cred-num { font-family: var(--font-display); font-size: 38px; font-weight: 300; color: var(--mint); line-height: 1; margin-bottom: 6px; }
.credential-gold .cred-num { color: var(--obsidian); }
.cred-text { font-size: 11px; letter-spacing: 0.08em; color: rgba(255,255,255,0.5); line-height: 1.5; }
.credential-gold .cred-text { color: rgba(28,28,28,0.65); }
.story-image-stack { position: relative; height: 580px; }
.story-img-main { position: absolute; top: 0; left: 0; width: 75%; height: 460px; object-fit: cover; z-index: 2; }
.story-img-accent { position: absolute; bottom: 0; right: 0; width: 55%; height: 320px; object-fit: cover; z-index: 3; border: 5px solid var(--off-white); }
.story-pull { position: absolute; top: 50%; right: -10px; transform: translateY(-50%); background: var(--mint); padding: 26px 30px; max-width: 210px; z-index: 4; text-align: center; }
.story-pull-text { font-family: var(--font-display); font-size: 15px; font-style: italic; color: var(--obsidian); line-height: 1.6; }

/* ── FEATURES STRIP ── */
.features-strip { background: var(--mint-pale); padding: 60px 56px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(109,191,176,0.2); border-bottom: 1px solid rgba(109,191,176,0.2); }
.feature { padding: 30px 36px; border-right: 1px solid rgba(109,191,176,0.2); text-align: center; }
.feature:last-child { border-right: none; }
.feature-icon { font-size: 22px; margin-bottom: 16px; display: block; color: var(--mint); }
.feature-title { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--obsidian); margin-bottom: 8px; font-weight: 500; }
.feature-desc { font-size: 13px; color: #777; line-height: 1.7; }

/* ── FOOTER ── */
.site-footer { background: var(--obsidian); padding: 80px 56px 44px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 60px; padding-bottom: 60px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 36px; }
.site-footer .custom-logo { height: 26px; width: auto; margin-bottom: 20px; }
.footer-logo-text { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.32em; text-transform: uppercase; color: rgba(255,255,255,0.7); display: block; margin-bottom: 20px; }
.footer-brand p { font-size: 13px; line-height: 1.85; max-width: 300px; color: rgba(255,255,255,0.35); }
.footer-col-title { font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: rgba(255,255,255,0.65); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 13.5px; color: rgba(255,255,255,0.3); transition: color var(--transition); }
.footer-links a:hover { color: var(--mint); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; font-size: 11px; color: rgba(255,255,255,0.2); }

/* ── INNER PAGES ── */
.page-hero-inner { background: var(--obsidian); padding: 120px 56px 60px; border-bottom: 3px solid var(--mint); }
.page-hero-inner .hero-eyebrow { color: var(--mint); font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase; margin-bottom: 20px; display: flex; align-items: center; gap: 14px; }
.page-hero-inner .hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--mint); }
.page-hero-inner h1 { font-family: var(--font-display); font-size: clamp(36px,5vw,64px); font-weight: 300; color: #fff; line-height: 1.1; }
.page-hero-inner h1 em { font-style: italic; color: var(--mint-light); }
.page-content { padding: 80px 56px; max-width: 860px; }
.page-content h2 { font-family: var(--font-display); font-size: 36px; font-weight: 300; margin-bottom: 20px; }
.page-content p { font-size: 15px; color: #555; line-height: 1.9; margin-bottom: 20px; }

/* ── SHOP / ARCHIVE ── */
.shop-header { background: var(--obsidian); padding: 100px 56px 50px; }
.shop-title { font-family: var(--font-display); font-size: clamp(36px,5vw,60px); font-weight: 300; color: #fff; }
.shop-title em { font-style: italic; color: var(--mint-light); }
.shop-filters { background: var(--warm-white); padding: 24px 56px; border-bottom: 1px solid var(--light-grey); display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.filter-btn { padding: 7px 18px; font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; background: transparent; border: 1px solid var(--light-grey); color: #888; cursor: pointer; transition: all var(--transition); font-family: var(--font-body); }
.filter-btn.active, .filter-btn:hover { background: var(--obsidian); color: #fff; border-color: var(--obsidian); }
.products-wrap { padding: 56px; }
.woocommerce ul.products { display: grid !important; grid-template-columns: repeat(4,1fr) !important; gap: 2px !important; list-style: none !important; }
.woocommerce ul.products li.product { position: relative; background: #f0efe9; overflow: hidden; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 0.7s var(--ease); display: block; }
.woocommerce ul.products li.product:hover a img { transform: scale(1.05); }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font-family: var(--font-display) !important; font-size: 18px !important; font-weight: 300 !important; padding: 14px 16px 4px !important; }
.woocommerce ul.products li.product .price { font-family: var(--font-body) !important; font-size: 13px !important; color: var(--mid-grey) !important; padding: 0 16px 16px !important; }
.woocommerce ul.products li.product .button { display: none !important; }
.woocommerce ul.products li.product:hover .button { display: block !important; margin: 0 16px 16px !important; background: var(--mint) !important; color: var(--obsidian) !important; border: none !important; font-family: var(--font-body) !important; font-size: 10px !important; letter-spacing: 0.18em !important; text-transform: uppercase !important; padding: 10px !important; }

/* ── SINGLE PRODUCT ── */
.single-product-wrap { padding: 80px 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; margin-top: 72px; }
.product-gallery-main { aspect-ratio: 1; background: var(--off-white); overflow: hidden; }
.product-gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.product-info-wrap { padding-top: 20px; }
.product-collection-tag { font-size: 9.5px; letter-spacing: 0.26em; text-transform: uppercase; color: var(--mint); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.product-collection-tag::before { content: ''; width: 20px; height: 1px; background: var(--mint); }
.product-title { font-family: var(--font-display); font-size: clamp(30px,3.5vw,48px); font-weight: 300; line-height: 1.1; margin-bottom: 20px; }
.product-price-wrap { font-family: var(--font-display); font-size: 32px; font-weight: 300; margin-bottom: 32px; color: var(--obsidian); }
.woocommerce div.product .woocommerce-tabs ul.tabs li a { font-family: var(--font-body) !important; font-size: 11px !important; letter-spacing: 0.16em !important; text-transform: uppercase !important; }

/* ── ANIMATIONS ── */
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; }
  .hero-visual { height: 60vw; }
  .collections-header { grid-template-columns: 1fr; }
  .row-two, .row-three { grid-template-columns: 1fr 1fr; }
  .row-asymmetric { grid-template-columns: 1fr; }
  .story-section, .imperfects-section { grid-template-columns: 1fr; gap: 60px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; }
  .woocommerce ul.products { grid-template-columns: repeat(3,1fr) !important; }
}

@media (max-width: 768px) {
  .site-nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; background: var(--obsidian); padding: 24px; gap: 20px; border-bottom: 1px solid rgba(109,191,176,0.2); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-text { padding: 56px 24px; }
  .press-strip { padding: 16px 24px; flex-wrap: wrap; gap: 16px; }
  .collections-section, .story-section, .imperfects-section { padding: 60px 24px; }
  .row-two, .row-three, .row-asymmetric { grid-template-columns: 1fr; }
  .col-hero { height: 300px; }
  .col-hero-name { font-size: 36px; }
  .col-hero-inner { padding: 28px 28px; }
  .features-strip { padding: 40px 24px; grid-template-columns: 1fr 1fr; }
  .feature { padding: 20px; }
  .site-footer { padding: 60px 24px 40px; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
  .woocommerce ul.products { grid-template-columns: repeat(2,1fr) !important; }
  .single-product-wrap { grid-template-columns: 1fr; }
  .products-wrap, .shop-filters, .shop-header { padding-left: 24px; padding-right: 24px; }
}
