/*
Theme Name: Orelle
Theme URI: https://orelle.example
Author: Orelle
Description: Large multi-category e-commerce theme built on WooCommerce — warm, considered retail aesthetic with a full custom shop, product, cart and checkout flow.
Version: 1.0.0
Requires PHP: 7.4
Text Domain: orelle
*/

/* ============ Fonts ============ */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=DM+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ============ Tokens ============ */
:root {
	--bg: #f7f3ec;
	--bg-alt: #efe7d8;
	--panel: #ffffff;
	--panel-2: #f1ece1;

	--ink: #241f1a;
	--ink-dim: #6b6156;
	--ink-mute: #a89e8f;
	--ink-on-dark: #f7f3ec;

	--accent: #b5502e;
	--accent-ink: #ffffff;
	--accent-tint: #f1ded4;
	--forest: #33473b;
	--forest-tint: #dde5df;

	--line: rgba(36,31,26,.13);
	--line-strong: rgba(36,31,26,.24);

	--ff-head: 'Fraunces', Georgia, serif;
	--ff-body: 'DM Sans', 'Helvetica Neue', Arial, sans-serif;
	--ff-mono: 'Space Mono', 'SFMono-Regular', Consolas, monospace;

	--radius: 3px;
	--container: 1360px;
	--shadow: 0 20px 50px -22px rgba(36,31,26,.22);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body {
	margin: 0; background: transparent; color: var(--ink);
	font-family: var(--ff-body); font-size: 16px; line-height: 1.6;
	-webkit-font-smoothing: antialiased; overflow-x: hidden;
}

/* ============ WebGL effect layers ============ */
#orelle-bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; display: block; }
#orelle-hover { position: fixed; inset: 0; z-index: 6; pointer-events: none; }
#orelle-cursor { position: fixed; inset: 0; z-index: 9997; pointer-events: none; mix-blend-mode: multiply; }

/* Lift real content above the ambient background canvas */
.top-bar, .site-head, .mobile-nav, .mobile-nav-scrim, .cart-scrim, .cart-drawer,
.hero, .section, .news-band, .site-foot, .page-hero, article, .woocommerce-breadcrumb,
.woocommerce-notices-wrapper { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--ff-head); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.01em; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--container); margin: 0 auto; padding: 0 40px; }
.mono { font-family: var(--ff-mono); }

/* ============ Progress + preloader ============ */
#progress { position: fixed; top: 0; left: 0; height: 3px; width: 0%; background: var(--accent); z-index: 9999; transition: width .1s linear; }
#pre { position: fixed; inset: 0; z-index: 9900; background: var(--bg); display: flex; align-items: center; justify-content: center; transition: opacity .55s ease, visibility .55s ease; }
#pre.done { opacity: 0; visibility: hidden; }
.pre-mark { font-family: var(--ff-head); font-size: 30px; font-weight: 500; color: var(--ink); }

/* ============ Header ============ */
.top-bar { background: var(--ink); color: var(--ink-on-dark); text-align: center; padding: 9px 0; font-size: 13px; letter-spacing: .02em; }
.site-head {
	position: sticky; top: 0; z-index: 800; background: var(--bg);
	display: flex; align-items: center; justify-content: space-between; gap: 20px;
	padding: 22px 40px; border-bottom: 1px solid transparent; transition: border-color .3s ease, padding .3s ease, box-shadow .3s ease;
}
.site-head.is-scrolled { border-bottom-color: var(--line); padding: 14px 40px; box-shadow: 0 8px 24px -18px rgba(36,31,26,.3); }
.brand { font-family: var(--ff-head); font-weight: 600; font-size: 26px; letter-spacing: -.01em; }

.main-nav ul { display: flex; align-items: center; gap: 30px; }
.main-nav a { font-size: 14.5px; font-weight: 500; color: var(--ink-dim); transition: color .2s ease; }
.main-nav a:hover { color: var(--ink); }

.head-actions { display: flex; align-items: center; gap: 20px; }
.head-icon-btn { position: relative; background: none; border: none; color: var(--ink); display: flex; align-items: center; padding: 4px; }
.cart-count {
	position: absolute; top: -6px; right: -8px; background: var(--accent); color: #fff;
	font-family: var(--ff-mono); font-size: 10px; width: 17px; height: 17px; border-radius: 50%;
	display: flex; align-items: center; justify-content: center;
}
.head-search { display: flex; align-items: center; gap: 8px; border-bottom: 1px solid var(--line-strong); padding: 4px 2px; }
.head-search input { border: none; background: none; font-family: var(--ff-body); font-size: 14px; width: 160px; outline: none; }
.menu-toggle { display: none; background: none; border: none; }

/* ============ Buttons ============ */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 14px 28px; font-size: 14px; font-weight: 600; letter-spacing: .01em;
	border-radius: var(--radius); border: 1px solid transparent; transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(181,80,46,.55); }
.btn-block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none !important; }

/* ============ Hero ============ */
.hero { position: relative; padding: 30px 0 0; }
.hero-media { position: relative; height: 78vh; min-height: 520px; overflow: hidden; border-radius: var(--radius); }
.hero-media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.4s cubic-bezier(.16,1,.3,1); position: relative; z-index: 0; }
.hero.loaded .hero-media img { transform: scale(1); }
#orelle-hero { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; opacity: 0; transition: opacity .4s ease; }
.hero-media::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(36,31,26,.55), rgba(36,31,26,0) 55%); }
.hero-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; padding: 60px; color: #fff; }
.hero-copy .idx { font-family: var(--ff-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; opacity: .85; margin-bottom: 16px; display: block; }
.hero-copy h1 { font-size: clamp(36px, 5.4vw, 74px); max-width: 16ch; }
.hero-copy h1 .reveal-line { overflow: hidden; display: block; }
.hero-copy h1 .reveal-line span { display: block; transform: translateY(110%); transition: transform .85s cubic-bezier(.16,1,.3,1); }
.hero.loaded h1 .reveal-line span { transform: translateY(0); }
.hero-copy p { margin-top: 18px; max-width: 44ch; font-size: 17px; opacity: .92; }
.hero-copy .btn { margin-top: 28px; }

/* ============ Category strip ============ */
.cat-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.cat-tile { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; }
.cat-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.cat-tile:hover img { transform: scale(1.08); }
.cat-tile::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(36,31,26,.65), rgba(36,31,26,0) 50%); }
.cat-tile span { position: absolute; left: 18px; bottom: 18px; color: #fff; font-family: var(--ff-head); font-size: 19px; z-index: 1; }

/* ============ Section shell ============ */
.section { padding: 100px 0; }
.section-alt { background: var(--bg-alt); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 48px; }
.section-head .idx { display: block; font-family: var(--ff-mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(28px, 3.2vw, 44px); }
.section-head p { color: var(--ink-dim); font-size: 15.5px; max-width: 40ch; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .75s cubic-bezier(.16,1,.3,1), transform .75s cubic-bezier(.16,1,.3,1); }
[data-reveal].in { opacity: 1; transform: translateY(0); }

/* ============ Product grid & card ============ */
.product-grid, ul.products {
	display: grid !important; grid-template-columns: repeat(4, 1fr); gap: 34px 26px;
	list-style: none !important; margin: 0 !important; padding: 0 !important;
}
.product-card, ul.products li.product {
	position: relative;
}
.pc-media { position: relative; aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--panel-2); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-media .img-b { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.pc-media:hover .img-b { opacity: 1; }
.pc-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-family: var(--ff-mono); font-size: 10.5px; padding: 5px 9px; border-radius: 2px; z-index: 2; text-transform: uppercase; letter-spacing: .04em; }
.pc-badge.pc-badge-sale { background: var(--forest); }
.pc-wish { position: absolute; top: 10px; right: 10px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.92); border: none; display: flex; align-items: center; justify-content: center; z-index: 2; opacity: 0; transform: translateY(-6px); transition: opacity .25s ease, transform .25s ease; }
.pc-media:hover .pc-wish { opacity: 1; transform: translateY(0); }
.pc-quickadd {
	position: absolute; left: 10px; right: 10px; bottom: 10px; z-index: 2;
	opacity: 0; transform: translateY(10px); transition: opacity .25s ease, transform .25s ease;
}
.pc-media:hover .pc-quickadd { opacity: 1; transform: translateY(0); }
.pc-body { padding-top: 14px; }
.pc-cat { font-family: var(--ff-mono); font-size: 10.5px; color: var(--ink-mute); text-transform: uppercase; letter-spacing: .06em; }
.pc-title { font-size: 15.5px; font-weight: 500; margin-top: 5px; font-family: var(--ff-body); }
.pc-price { margin-top: 7px; font-size: 15px; }
.pc-price del { color: var(--ink-mute); margin-right: 8px; font-weight: 400; }
.pc-price ins { text-decoration: none; color: var(--accent); }
.pc-swatches { display: flex; gap: 6px; margin-top: 10px; }
.pc-swatch { width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-strong); }

/* ============ Promo banner ============ */
.promo-band { position: relative; border-radius: var(--radius); overflow: hidden; min-height: 380px; display: flex; align-items: center; }
.promo-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.promo-band::after { content: ''; position: absolute; inset: 0; background: rgba(36,31,26,.38); z-index: 0; }
.promo-copy { position: relative; z-index: 1; padding: 60px; color: #fff; max-width: 480px; }
.promo-copy .idx { font-family: var(--ff-mono); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; opacity: .85; }
.promo-copy h2 { font-size: clamp(28px, 3.6vw, 46px); margin-top: 14px; color: #fff; }
.promo-copy p { margin-top: 14px; opacity: .92; }
.promo-copy .btn { margin-top: 24px; }

/* ============ About split ============ */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about-media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/6; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-copy p { font-size: 17px; color: var(--ink-dim); margin-top: 20px; max-width: 46ch; }
.about-facts { display: flex; gap: 44px; margin-top: 34px; }
.about-facts div b { display: block; font-family: var(--ff-head); font-size: 28px; }
.about-facts div span { font-size: 13.5px; color: var(--ink-dim); }

/* ============ Journal ============ */
.journal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.journal-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: var(--radius); }
.journal-card .jc-cat { font-family: var(--ff-mono); font-size: 11px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; margin-top: 16px; display: block; }
.journal-card h3 { font-size: 19px; margin-top: 8px; }

/* ============ Newsletter band ============ */
.news-band { background: var(--ink); color: var(--ink-on-dark); padding: 80px 0; text-align: center; }
.news-band h2 { color: var(--ink-on-dark); font-size: clamp(26px, 3vw, 38px); }
.news-band p { color: rgba(247,243,236,.7); margin-top: 12px; }
.news-form { display: flex; max-width: 420px; margin: 30px auto 0; gap: 0; border-bottom: 1px solid rgba(247,243,236,.35); }
.news-form input { flex: 1; background: none; border: none; padding: 12px 4px; color: #fff; font-size: 15px; outline: none; }
.news-form input::placeholder { color: rgba(247,243,236,.5); }
.news-form button { background: none; border: none; color: #fff; font-family: var(--ff-mono); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }

/* ============ Footer ============ */
.site-foot { background: var(--bg-alt); padding: 80px 0 30px; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.foot-brand p { margin-top: 16px; font-size: 14px; color: var(--ink-dim); max-width: 28ch; }
.foot-col span { display: block; font-family: var(--ff-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-mute); margin-bottom: 16px; }
.foot-col a { display: block; padding: 6px 0; font-size: 14.5px; color: var(--ink-dim); transition: color .2s ease; }
.foot-col a:hover { color: var(--ink); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 12.5px; color: var(--ink-mute); }
.foot-social { display: flex; gap: 16px; }

/* ============ Mobile nav ============ */
.mobile-nav-scrim { position: fixed; inset: 0; z-index: 950; background: rgba(36,31,26,.35); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.mobile-nav-scrim.open { opacity: 1; visibility: visible; }
.mobile-nav {
	position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 88vw; background: var(--bg);
	z-index: 960; transform: translateX(-100%); transition: transform .45s cubic-bezier(.65,0,.35,1);
	padding: 70px 30px 30px;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 0; font-family: var(--ff-head); font-size: 22px; border-bottom: 1px solid var(--line); }
.mobile-nav-search { margin-top: 24px; border-bottom: 1px solid var(--line-strong); }
.mobile-nav-search input { width: 100%; border: none; background: none; padding: 10px 2px; font-size: 15px; outline: none; }

/* ============ Cart drawer ============ */
.cart-scrim { position: fixed; inset: 0; z-index: 950; background: rgba(36,31,26,.35); opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }
.cart-scrim.open { opacity: 1; visibility: visible; }
.cart-drawer {
	position: fixed; top: 0; right: 0; bottom: 0; width: 420px; max-width: 92vw; background: var(--panel);
	z-index: 960; transform: translateX(100%); transition: transform .45s cubic-bezier(.65,0,.35,1);
	display: flex; flex-direction: column;
}
.cart-drawer.open { transform: translateX(0); }
.cd-head { display: flex; align-items: center; justify-content: space-between; padding: 24px 26px; border-bottom: 1px solid var(--line); }
.cd-head h3 { font-size: 19px; }
.cd-close { background: none; border: none; font-size: 22px; color: var(--ink); }
#miniCartContent { flex: 1; display: flex; flex-direction: column; overflow: hidden; }
.cd-items { flex: 1; overflow-y: auto; padding: 10px 26px; }
.cd-row { display: grid; grid-template-columns: 74px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cd-row img { width: 74px; height: 90px; object-fit: cover; border-radius: 2px; }
.cd-row-title { font-size: 14.5px; font-weight: 500; }
.cd-row-meta { font-size: 12.5px; color: var(--ink-mute); margin-top: 4px; }
.cd-row-price { font-family: var(--ff-mono); font-size: 13.5px; }
.cd-row-remove { background: none; border: none; color: var(--ink-mute); font-size: 12px; text-decoration: underline; margin-top: 8px; }
.cd-empty { padding: 60px 0; text-align: center; color: var(--ink-dim); }
.cd-foot { padding: 22px 26px 28px; border-top: 1px solid var(--line); }
.cd-subtotal { display: flex; justify-content: space-between; font-size: 15.5px; margin-bottom: 16px; }
.cd-subtotal b { font-family: var(--ff-mono); }

/* ============ WooCommerce base overrides ============ */
.woocommerce-message, .woocommerce-error, .woocommerce-info {
	list-style: none; background: var(--panel-2); border-left: 3px solid var(--accent); padding: 16px 20px; margin: 0 0 24px; font-size: 14.5px;
}
.woocommerce-error { border-left-color: #b23b3b; }
.quantity { display: inline-flex; align-items: stretch; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.quantity input.qty {
	width: 48px; padding: 11px 4px; border: none; border-left: 1px solid var(--line-strong); border-right: 1px solid var(--line-strong);
	font-family: var(--ff-body); text-align: center; background: var(--panel);
}
.qty-step { width: 38px; background: var(--panel); border: none; font-size: 16px; color: var(--ink-dim); }
.qty-step:hover { background: var(--panel-2); color: var(--ink); }
.woocommerce-breadcrumb { font-size: 13px; color: var(--ink-mute); margin-bottom: 24px; }
.woocommerce-breadcrumb a { color: var(--ink-dim); }
.star-rating { display: none; }

/* Shop toolbar / filters */
.shop-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 40px; gap: 20px; flex-wrap: wrap; }
.shop-filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter-pill {
	padding: 9px 16px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13.5px; background: var(--panel);
	transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.filter-pill.is-active, .filter-pill:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.shop-sort select { border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 9px 14px; font-size: 13.5px; background: var(--panel); font-family: var(--ff-body); }
.shop-result-count { font-size: 13.5px; color: var(--ink-mute); font-family: var(--ff-mono); }

/* Single product */
.product-main { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; }
.pgal-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/5; background: var(--panel-2); }
.pgal-main img { width: 100%; height: 100%; object-fit: cover; }
.pgal-thumbs { display: flex; gap: 10px; margin-top: 12px; }
.pgal-thumbs img { width: 72px; height: 88px; object-fit: cover; border-radius: 2px; cursor: pointer; border: 1px solid transparent; opacity: .6; }
.pgal-thumbs img.is-active { opacity: 1; border-color: var(--ink); }
.product-info .pcat { font-family: var(--ff-mono); font-size: 12px; color: var(--accent); text-transform: uppercase; letter-spacing: .06em; }
.product-info h1 { font-size: clamp(28px, 3.2vw, 38px); margin-top: 12px; }
.product-info .price { font-size: 22px; margin-top: 14px; font-family: var(--ff-mono); }
.product-info .price del { color: var(--ink-mute); margin-right: 10px; }
.product-info .price ins { text-decoration: none; color: var(--accent); }
.product-desc { margin-top: 22px; font-size: 15.5px; color: var(--ink-dim); line-height: 1.7; }
.pvar-group { margin-top: 28px; }
.pvar-label { font-size: 12.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-dim); margin-bottom: 10px; display: flex; justify-content: space-between; }
.pvar-swatches { display: flex; gap: 10px; flex-wrap: wrap; }
.pvar-swatch {
	min-width: 46px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); border-radius: var(--radius);
	display: flex; align-items: center; justify-content: center; font-size: 13.5px; background: var(--panel);
	transition: border-color .2s ease, background .2s ease;
}
.pvar-swatch.is-selected, .pvar-swatch:hover { border-color: var(--ink); background: var(--ink); color: var(--bg); }
.pvar-color { width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--line-strong); padding: 0; }
.pvar-color.is-selected { outline: 2px solid var(--ink); outline-offset: 2px; }
.addcart-row { display: flex; gap: 14px; margin-top: 30px; }
.product-meta-list { margin-top: 34px; padding-top: 26px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--ink-dim); }
.product-meta-list li { padding: 6px 0; }

/* Cart / checkout tables */
.shop_table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.shop_table th { text-align: left; font-family: var(--ff-mono); font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-mute); padding: 0 0 14px; border-bottom: 1px solid var(--line-strong); }
.shop_table td { padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; vertical-align: middle; }
.shop_table img { width: 64px; height: 78px; object-fit: cover; border-radius: 2px; }
.checkout-grid { display: grid; grid-template-columns: 1fr .8fr; gap: 60px; }
.form-row { margin-bottom: 18px; }
.form-row label { display: block; font-size: 13px; color: var(--ink-dim); margin-bottom: 7px; }
.form-row input, .form-row select, .form-row textarea {
	width: 100%; padding: 12px 15px; border: 1px solid var(--line-strong); border-radius: var(--radius);
	font-family: var(--ff-body); font-size: 15px; color: var(--ink); background: var(--panel);
}
.form-row-half { display: flex; gap: 16px; }
.form-row-half .form-row { flex: 1; }
.order-review-box { background: var(--panel-2); border-radius: var(--radius); padding: 26px; }
.checkout-button {
	display: flex; width: 100%; align-items: center; justify-content: center; margin-top: 20px;
	padding: 14px 28px; background: var(--ink); color: var(--bg); border-radius: var(--radius);
	font-size: 14px; font-weight: 600; transition: background .2s ease;
}
.checkout-button:hover { background: var(--accent); }

/* Checkout payment + place order */
.wc_payment_methods { list-style: none; margin: 20px 0; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); overflow: hidden; }
.wc_payment_methods li { padding: 16px 18px; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.wc_payment_methods li:last-child { border-bottom: none; }
.payment_box { margin-top: 10px; font-size: 13.5px; color: var(--ink-dim); background: var(--panel-2); padding: 14px; border-radius: var(--radius); }
.woocommerce-terms-and-conditions-wrapper { margin: 16px 0; font-size: 13.5px; }
#place_order { width: 100%; margin-top: 6px; }
.woocommerce-checkout-review-order-table { width: 100%; margin: 16px 0; }
.woocommerce-checkout-review-order-table td, .woocommerce-checkout-review-order-table th { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14px; text-align: left; }
.woocommerce-checkout-review-order-table .product-name { text-align: left; }
.woocommerce-checkout-review-order-table .product-total { text-align: right; font-family: var(--ff-mono); }

/* My account */
.account-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 40px; border-bottom: 1px solid var(--line); padding-bottom: 20px; }
.account-nav a { padding: 9px 16px; border-radius: 999px; font-size: 13.5px; border: 1px solid var(--line-strong); }
.account-nav a.is-active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* ============ Custom cursor ============ */
.cursor-dot, .cursor-ring { position: fixed; top: 0; left: 0; pointer-events: none; z-index: 9998; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor-dot { width: 6px; height: 6px; background: var(--accent); opacity: 0; transition: opacity .2s ease; }
.cursor-ring { width: 32px; height: 32px; border: 1px solid var(--ink); opacity: 0; transition: opacity .2s ease, width .2s ease, height .2s ease; }
.has-cursor .cursor-dot, .has-cursor .cursor-ring { opacity: 1; }
.cursor-ring.hovering { width: 56px; height: 56px; }
@media (hover: none) { .cursor-dot, .cursor-ring { display: none; } }

/* ============ Responsive ============ */
@media (max-width: 1080px) {
	.wrap { padding: 0 22px; }
	.main-nav, .head-search { display: none; }
	.menu-toggle { display: flex; }
	.cat-strip { grid-template-columns: repeat(3, 1fr); }
	.product-grid, ul.products { grid-template-columns: repeat(3, 1fr); }
	.about-split, .checkout-grid { grid-template-columns: 1fr; }
	.journal-grid { grid-template-columns: 1fr 1fr; }
	.foot-top { grid-template-columns: repeat(3, 1fr); }
	.product-main { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
	.cat-strip, .product-grid, ul.products, .journal-grid { grid-template-columns: repeat(2, 1fr); }
	.foot-top { grid-template-columns: 1fr 1fr; }
	.section { padding: 70px 0; }
	.hero-copy { padding: 30px; }
	.form-row-half { flex-direction: column; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
	* { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
