/*
Theme Name: Aravositas
Description: Theme for Aravositas jewellery, Athens. Requires WooCommerce.
Version: 4.18
Text Domain: aravositas
*/

:root {
	--ivory: #f7f3ec;
	--paper: #fffdf9;
	--ink: #1d1a17;
	--muted: #6f665c;
	--gold: #a8834a;      /* decoration: lines, borders, focus, buttons */
	--gold-text: #86662f; /* gold for text: 4.7:1 on the ivory, 5.2:1 on paper */
	--line: #e4dccf;
	--serif: "Noto Serif Display", Georgia, serif;
	--sans: "Commissioner", system-ui, sans-serif;
	--wrap: min(1240px, 100% - 32px);
}

* { box-sizing: border-box; }
body { margin: 0; background: var(--ivory); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.1; margin: 0 0 .5em; }
.wrap { width: var(--wrap); margin-inline: auto; }

.btn, .button, button.button, .woocommerce a.button, .woocommerce button.button {
	display: inline-block; padding: 14px 32px; background: var(--ink); color: var(--paper);
	border: 1px solid var(--ink); border-radius: 999px; font: 500 13px var(--sans);
	letter-spacing: .01em; font-size: 15px; cursor: pointer; transition: background .2s, color .2s; /* sentence case: uppercase Greek with wide tracking reads poorly */
}
.btn:hover, .button:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { background: transparent; color: var(--ink); }
.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { color: var(--paper); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: var(--paper); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 24px; }
.logo { padding-block: 8px; }
.site-header .logo img { height: 56px; width: auto; }
.nav ul { display: flex; gap: clamp(16px, 2.6vw, 40px); list-style: none; margin: 0; padding: 0; }
.nav li { position: relative; }
.nav a { font-size: 15px; letter-spacing: .01em; white-space: nowrap; }
.nav a:hover { color: var(--gold-text); }
.nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 5px; height: 5px; margin: 0 0 3px 8px; border: solid currentColor; border-width: 0 1px 1px 0; transform: rotate(45deg); }
.nav .sub-menu { display: none; position: absolute; top: 100%; left: -20px; min-width: 220px; flex-direction: column; gap: 0; padding: 12px 0; margin-top: 0; background: var(--paper); border: 1px solid var(--line); box-shadow: 0 12px 32px rgba(29,26,23,.08); }
.nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -28px; height: 28px; } /* hover bridge */
.nav .sub-menu a { display: block; padding: 9px 20px; font-size: 14px; }
.nav li:hover > .sub-menu, .nav li:focus-within > .sub-menu { display: flex; }
.nav > ul > li > .sub-menu { top: calc(100% + 26px); }
.icons { display: flex; gap: 20px; align-items: center; }
.icons svg { width: 22px; height: 22px; }
.phone-link { display: flex; align-items: center; gap: 8px; font-size: 14px; letter-spacing: .02em; padding-right: 20px; margin-right: 4px; border-right: 1px solid var(--line); }
.phone-link svg { width: 18px; height: 18px; color: var(--gold); }
.phone-link:hover { color: var(--gold); }
.cart-link { position: relative; }
.cart-count { position: absolute; top: -8px; right: -10px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--gold-text); color: #fff; font-size: 12px; display: grid; place-items: center; }
.menu-toggle { display: none; background: none; border: 0; padding: 0; cursor: pointer; }
.search-toggle { background: none; border: 0; padding: 0; cursor: pointer; color: inherit; display: grid; place-items: center; }
.site-search { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.site-search.open { display: block; }
.site-search .wrap { display: flex; gap: 8px; padding-block: 14px; }
.site-search input[type=search] { flex: 1; min-width: 0; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; font: 16px var(--sans); color: var(--ink); }
.site-search input[type=search]:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,131,74,.15); }
.site-search .btn { border-radius: 999px; padding: 12px 22px; }
.site-search .wrap { position: relative; }
.live-search { position: absolute; left: 0; right: 0; top: calc(100% - 6px); z-index: 20; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 16px 40px rgba(29,26,23,.12); padding: 8px; max-height: 70vh; overflow-y: auto; }
.live-search[hidden] { display: none; }
.live-search a { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 14px; padding: 8px; border-radius: 10px; }
.live-search a:hover, .live-search a:focus { background: var(--ivory); outline: 0; }
.live-search img, .search-noimg { width: 56px; height: 56px; object-fit: contain; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.search-name { font-size: 15px; line-height: 1.35; }
.search-price { font-size: 14px; color: var(--gold-text); white-space: nowrap; }
.search-price del { color: var(--muted); margin-right: 4px; }
.live-search a.search-all { display: block; text-align: center; padding: 12px; margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; }
.search-empty { margin: 0; padding: 16px; color: var(--muted); text-align: center; }
@media (max-width: 600px) {
	.live-search a { grid-template-columns: 48px 1fr; }
	.live-search img, .search-noimg { width: 48px; height: 48px; }
	.search-price { grid-column: 2; }
}

/* Hero */
.hero { position: relative; min-height: 82vh; display: flex; align-items: flex-end; color: var(--paper); background: #2a241f; overflow: hidden; }
/* Photo brightened so the jewellery sparkles; only the text side gets a gradient */
.hero-bg { position: absolute; inset: 0; background: center/cover; filter: brightness(1.28) contrast(1.05); animation: hero-zoom 14s cubic-bezier(.2,.6,.2,1) both; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(20,16,12,.72), rgba(20,16,12,.35) 45%, rgba(20,16,12,0) 70%); }
.hero .wrap { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 8vh; }
.hero h1 { font-size: clamp(38px, 4.8vw, 68px); max-width: 15ch; color: var(--paper); }
.hero-sub { max-width: 46ch; margin: 0 0 8px; color: rgba(255,253,249,.9); font-size: 17px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero-ctas .btn { text-transform: none; letter-spacing: .01em; font-size: 15px; }
.btn--gold { background: #c8a86b; border-color: #c8a86b; color: var(--ink); }
.btn--gold:hover { background: transparent; color: #e2c88f; border-color: #c8a86b; }
.hero-facts { margin: 32px 0 0; color: #d9bd85; font-size: 15px; }
.hero-facts span { margin: 0 12px; opacity: .6; }
.hero-facts a { white-space: nowrap; color: inherit; text-decoration: underline; text-decoration-color: rgba(217, 189, 133, .5); text-underline-offset: 3px; }
.btn--ghost { background: transparent; color: var(--paper); border-color: rgba(255,253,249,.7); }
.btn--ghost:hover { background: var(--paper); color: var(--ink); }
/* Text rises in once on load; the photo settles in with a slow zoom. */
.hero .wrap > * { animation: hero-rise .9s cubic-bezier(.2,.6,.2,1) both; }
.hero .wrap > :nth-child(2) { animation-delay: .12s; }
.hero .wrap > :nth-child(3) { animation-delay: .24s; }
.hero .wrap > :nth-child(4) { animation-delay: .36s; }
.hero .wrap > :nth-child(n+5) { animation-delay: .48s; }
@keyframes hero-zoom { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero-bg, .hero .wrap > * { animation: none; } }

/* Lenis smooth scroll (from lenis/dist/lenis.css, bundled here instead of a CDN stylesheet) */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* Sections */
.section { padding: 96px 0; }
.section-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 40px; gap: 16px; }
.section-head h2 { font-size: clamp(32px, 4vw, 48px); margin: 0; }
.section-head a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; }

.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.cat { display: block; }
.cat img { width: 100%; aspect-ratio: 4/3; object-fit: contain; background: #fff; border-radius: 14px; padding: 6%; transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s; }
.cat:hover img { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(29, 26, 23, .08); }
.cat span { display: block; padding-top: 14px; font: 26px/1.2 var(--serif); }
.cat:hover span { color: var(--gold-text); }

.trust { background: var(--paper); border-bottom: 1px solid var(--line); }
.trust .wrap { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 0; padding-block: 18px; }
.trust span { font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.trust span + span::before { content: "·"; color: var(--gold); font-weight: 700; margin: 0 22px; }
.section--flush { padding-top: 0; }
.section--alt { background: var(--paper); }

.story { background: var(--paper); }
.story .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.story img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story h2 { font-size: clamp(32px, 4vw, 52px); }
.story p { color: var(--muted); max-width: 48ch; margin-bottom: 32px; }

.services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.services li { background: var(--paper); padding: 32px 28px; }
.services h3 { font-size: 24px; margin-bottom: 8px; }
.services h3::before { content: ""; display: block; width: 28px; height: 1px; background: var(--gold); margin-bottom: 20px; }
.services p { margin: 0; color: var(--muted); font-size: 15px; }
.services-cta { margin: 40px 0 0; text-align: center; color: var(--muted); }
.services-cta a { color: var(--ink); border-bottom: 1px solid var(--gold); }

.visit .wrap { display: grid; grid-template-columns: 1fr 2fr; min-height: 440px; padding-block: 96px; gap: 48px; align-items: center; }
.visit h2 { font-size: clamp(32px, 4vw, 48px); }
.visit p { color: var(--muted); }
.visit p a:hover { color: var(--gold-text); }
.reviews { background: var(--paper); border-block: 1px solid var(--line); }
.rating-summary { margin: 0; display: inline-flex; align-items: center; gap: 10px; color: var(--muted); font-size: 15px; }
.rating-summary strong { font: 400 32px/1 var(--serif); color: var(--ink); }
.rating-summary .stars { width: 18px; height: 18px; background: var(--gold); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2 3.5 14.6l.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") center/contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M8 .8l2.2 4.6 5 .7-3.6 3.5.9 5L8 12.2 3.5 14.6l.9-5L.8 6.1l5-.7z'/%3E%3C/svg%3E") center/contain no-repeat; }
.hours { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 28px; margin: 0 0 28px; font-size: 15px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours-now { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 14px; font-size: 15px; font-weight: 500; color: var(--muted); }
.hours-now::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #b9b0a3; }
.hours-now.is-open { color: #2f6b45; }
.hours-now.is-open::before { background: #3f8a5a; } /* real state: the shop is open right now */
.visit-map-wrap { position: relative; min-height: 380px; border-radius: 14px; overflow: hidden; background: var(--paper); border: 1px solid var(--line); }
.visit-map-wrap .visit-map { position: absolute; inset: 0; border: 0; }
.map-consent { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; color: var(--muted); }
.map-consent p { margin: 0; max-width: 32ch; }
/* cookie banner (footer.php, assets/consent.js) */
.consent { position: fixed; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 50; max-width: 720px; margin-inline: auto;
	display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; padding: 20px 24px; background: var(--paper); color: var(--ink);
	border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 50px rgba(29, 26, 23, .18); }
.consent p { flex: 1 1 320px; margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.consent p a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent-btns { display: flex; flex-wrap: wrap; gap: 10px; }
.consent .btn { text-transform: none; letter-spacing: .01em; font-size: 14px; padding: 12px 22px; }
.consent[hidden] { display: none; }
.visit-map { width: 100%; height: 100%; min-height: 380px; border: 1px solid var(--line); filter: grayscale(.6) sepia(.15); }

.ws-kicker { font-size: 12px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-text); margin: 0 0 12px; }

/* Homepage watch anatomy (template-parts/watch-scroll.php, assets/anatomy/home.js), styled like the original "Ανατομία Ρολογιού" artifact.
   Five 100vh steps scroll past a pinned 3D canvas; the negative margin lays the cards over the canvas. */
/* intro above the section: says the 3D is a simplified picture */
.ana-intro { background: #f3f1ec; padding: 88px 0 16px; }
.ana-intro h2 { font-size: clamp(32px, 4vw, 48px); margin: 0 0 12px; }
.ana-intro p:last-child { margin: 0; max-width: 52ch; color: var(--muted); }
.ana { position: relative; height: 300vh; height: 300svh; background: #f3f1ec; color: #1d1c1a; font-family: var(--sans); overflow-x: clip; }
.ana-sticky { position: sticky; top: 76px; height: calc(100vh - 76px); height: calc(100svh - 76px); overflow: hidden; } /* pinned under the site header, not behind it */ /* no negative margin: the pinned canvas must stop at the section end, not spill into the reviews */
.ana-stage, .ana-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.ana-progress { position: absolute; left: 24px; top: 50%; transform: translateY(-50%); width: 2px; height: 160px; background: #0001; }
.ana-progress i { display: block; width: 100%; background: #b8913f; height: 0; }
.ana-hint { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); font-size: 14px; color: var(--muted); transition: opacity .4s; white-space: nowrap; pointer-events: none; }

.ana-snap { position: absolute; left: 0; width: 1px; height: 1px; scroll-snap-align: start; pointer-events: none; }
.ana-snap--stop { scroll-snap-stop: always; } /* a fast swipe can't fly past the finished watch */
html.ana-snapping { scroll-snap-type: y proximity; } /* touch screens only (set by scene.js) */
.ana-cards { position: absolute; inset: 0; display: flex; flex-direction: column; pointer-events: none; } /* cards scroll over the pinned canvas */
.ana-step { flex: 1; display: flex; align-items: center; padding: 0 8vw; } /* one text column on the left; the watch is framed in the right half (scene.js) */
.ana-card { max-width: 340px; opacity: 0; transition: opacity .5s; }
.ana-card.on { opacity: 1; }
.no-js .ana-card, .ana:not(:has(canvas)) .ana-card { opacity: 1; } /* before 3D loads (or without it), show all cards */
.ana-card small { color: var(--gold-text); letter-spacing: .08em; font-size: 13px; font-weight: 500; font-variant-numeric: tabular-nums; }
.ana-card h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(32px, 3.6vw, 50px); line-height: 1.08; margin: 10px 0 14px; text-wrap: balance; }
.ana-card p { color: var(--muted); line-height: 1.6; margin: 0; }
.ana-cta { display: grid; gap: 14px; justify-items: start; }
.ana-cta strong { color: #1d1c1a; font-weight: 500; }
.ana-btn { display: inline-flex; align-items: center; gap: 10px; pointer-events: auto; margin-top: 8px; text-transform: none; letter-spacing: .01em; font-size: 15px; box-shadow: 0 6px 18px rgba(184, 145, 63, .3); }
.ana-btn:hover { background: #1d1c1a; border-color: #1d1c1a; color: var(--paper); } /* the theme's gold hover is pale on this light ground */
.ana-arrow { transition: translate .2s; }
.ana-btn:hover .ana-arrow { translate: 3px 0; }
.ana-tel { pointer-events: auto; color: var(--muted); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.ana-card:not(.on) .ana-btn, .ana-card:not(.on) .ana-tel { pointer-events: none; } /* hidden cards can't be tapped */
/* 3D unavailable (home.js fallback): the five steps as a plain list */
.ana--static { height: auto; padding-block: 64px; }
.ana--static .ana-sticky { display: none; }
.ana--static .ana-card h3 { font-size: clamp(28px, 3vw, 40px); }
.ana--static .ana-cards { position: static; gap: 48px; }
.ana--static .ana-step, .ana--static .ana-step.right { justify-content: flex-start; align-items: flex-start; padding: 0 max(16px, 8vw); }
.ana--static .ana-card { opacity: 1; transform: none; background: none; }
.ana--static .ana-btn, .ana--static .ana-tel { pointer-events: auto; }
.no-js .ana-card .ana-btn, .no-js .ana-card .ana-tel, .ana:not(:has(canvas)) .ana-btn, .ana:not(:has(canvas)) .ana-tel { pointer-events: auto; }

/* Phones and portrait screens (same rule as isPhone() in home.js): the watch is centred in the upper part of the
   canvas, each card sits on a soft panel at the bottom and fades out as it rises into the watch (opacity set in home.js). */
@media (max-width: 900px), (max-aspect-ratio: 1/1) {
	.ana-step, .ana-step.right { align-items: flex-end; justify-content: center; padding: 0 16px calc(20px + env(safe-area-inset-bottom, 0px)); }
	/* phones: the cards sit in one band at the bottom of the pinned canvas (moved there by scene.js) and swap per step */
	.ana-sticky > .ana-cards { inset: auto 0 0 0; display: grid; z-index: 1; }
	.ana-sticky > .ana-cards .ana-step { grid-area: 1 / 1; }
	.ana-card { max-width: 30rem; width: 100%; padding: 18px 20px; border-radius: 16px; background: rgba(243, 241, 236, .92);
		transition: opacity .35s; }
	.ana-card h3 { font-size: clamp(26px, 7vw, 40px); margin: 6px 0 8px; }
	.ana-card p { font-size: 15px; line-height: 1.5; }
	.ana-cta { gap: 12px; }
	.ana-progress { display: none; }
	.ana-hint { bottom: auto; top: 22px; left: 16px; transform: none; }
}

/* WooCommerce product grid */
.woocommerce ul.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 32px; list-style: none; margin: 0; padding: 0; }
.woocommerce ul.products::before, .woocommerce ul.products::after { display: none; }
.woocommerce ul.products li.product { width: auto !important; margin: 0 !important; float: none !important; text-align: center; display: flex; flex-direction: column; }
.woocommerce ul.products li.product a img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 14px; padding: 8%; margin: 0 0 16px; transition: transform .35s cubic-bezier(.2,.6,.2,1), box-shadow .35s; }
.woocommerce ul.products li.product a:hover img { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(29, 26, 23, .08); }
/* homepage "Επιλεγμένα": photo, name and price only; the whole card opens the product */
.home-featured ul.products li.product .button, .home-featured ul.products li.product .added_to_cart { display: none; }
.woocommerce ul.products li.product .woocommerce-loop-product__title { font: 15px/1.4 var(--sans); padding: 0; margin-bottom: 4px; }
.woocommerce ul.products li.product .price { color: var(--gold-text); font-size: 15px; display: block; margin-bottom: 14px; }
.woocommerce ul.products li.product .button { margin-top: auto; align-self: center; background: transparent; color: var(--ink); padding: 14px 20px; font-size: 12px; line-height: 1.3; }
.woocommerce ul.products li.product .button:hover { background: var(--ink); color: var(--paper); }
.woocommerce span.onsale { background: var(--gold-text); border-radius: 999px; min-height: 0; line-height: 1; padding: 8px 10px; }
.shop-main { padding: 48px 0 96px; }

/* Shop and category pages */
.banner { background: var(--paper) center/cover; border-bottom: 1px solid var(--line); padding: 56px 0 48px; position: relative; }
.banner--img { color: var(--paper); padding: 120px 0 56px; }
.banner--img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(20,16,12,.7), rgba(20,16,12,.15)); }
.banner .wrap { position: relative; }
.banner h1 { font-size: clamp(40px, 5vw, 64px); margin: 8px 0 0; }
.banner p { max-width: 56ch; margin: 12px 0 0; opacity: .85; }
.woocommerce-breadcrumb, .woocommerce .woocommerce-breadcrumb { font-size: 13px; color: inherit; opacity: .75; margin: 0; }
.woocommerce-breadcrumb a { color: inherit; }
.woocommerce-breadcrumb a:hover { text-decoration: underline; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chips a { padding: 8px 18px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; transition: border-color .2s; }
.chips a:hover { border-color: var(--ink); }
.chips a.is-active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.woocommerce .woocommerce-result-count { color: var(--muted); font-size: 14px; margin: 0 0 32px; padding-top: 10px; }
.woocommerce .woocommerce-ordering { margin: 0 0 32px; }
.woocommerce .woocommerce-ordering select { font: 14px var(--sans); padding: 10px 14px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); }
.woocommerce nav.woocommerce-pagination ul { border: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 56px; }
.woocommerce nav.woocommerce-pagination ul li { border: 0; }
.woocommerce nav.woocommerce-pagination ul li a, .woocommerce nav.woocommerce-pagination ul li span { min-width: 42px; padding: 11px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.woocommerce nav.woocommerce-pagination ul li span.current { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.repair-ig { background: var(--paper); text-align: center; border-top: 1px solid var(--line); }
.repair-ig h2 { font-size: clamp(32px, 4vw, 48px); }
.repair-ig p:not(.ws-kicker) { color: var(--muted); margin: 0 auto 28px; max-width: 48ch; }
.repair-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 40px; }
.repair-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
@media (max-width: 900px) { .repair-gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.repair-ig .btn { display: inline-flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: .02em; font-size: 15px; border-radius: 999px; }
.repair-ig svg { width: 20px; height: 20px; }

/* Legal pages */
.legal { max-width: 760px; }
.legal h1 { font-size: clamp(36px, 5vw, 56px); }
.legal h2 { font-size: 26px; margin-top: 40px; }
.legal p { color: var(--muted); }
.legal a { color: var(--ink); border-bottom: 1px solid var(--gold); }

/* Single product */
.woocommerce div.product div.images img { background: #fff; border: 1px solid var(--line); }
.woocommerce div.product .product_title { font-size: clamp(32px, 4vw, 48px); }
.woocommerce div.product p.price { color: var(--gold-text); font-size: 24px; }
.woocommerce div.product form.cart .qty { padding: 12px; width: 72px; border: 1px solid var(--line); font: 16px var(--sans); }
.woocommerce div.product .product_meta { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 16px; }
.woocommerce div.product .product_meta a { color: var(--ink); border-bottom: 1px solid var(--line); }

/* Cart, checkout, my account: soft cards, rounded fields, clean tables */
.woo-page { max-width: 1120px; }
.woo-title { font-size: clamp(36px, 5vw, 56px); margin-bottom: 32px; }
.woo-page .button, .woo-page button.button, .woo-page a.button { border-radius: 999px; padding: 14px 28px; }
.woo-page .button.alt, .woo-page .checkout-button, .woo-page #place_order { width: 100%; text-align: center; padding: 18px; font-size: 13px; }
/* Buying buttons (add to cart, checkout, place order): same gold as the hero "Αγοράστε τώρα" */
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce a.button.alt, .woocommerce .single_add_to_cart_button, .woocommerce .checkout-button, .woocommerce #place_order {
	background: #c8a86b !important; border: 1px solid #c8a86b !important; color: var(--ink) !important; border-radius: 999px; letter-spacing: .14em;
}
.woocommerce .button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce a.button.alt:hover, .woocommerce .single_add_to_cart_button:hover, .woocommerce .checkout-button:hover, .woocommerce #place_order:hover {
	background: var(--ink) !important; border-color: var(--ink) !important; color: #e2c88f !important;
}
.woocommerce div.product form.cart .single_add_to_cart_button { padding: 16px 36px; }
/* Quantity stepper (− 1 +) and gold button side by side, with room between them */
.woocommerce div.product form.cart:not(.variations_form), .woocommerce div.product .woocommerce-variation-add-to-cart { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.woocommerce div.product form.cart::before, .woocommerce div.product form.cart::after { display: none; }
.woocommerce div.product form.cart div.quantity { float: none; margin: 0; }
.qty-stepper { display: inline-flex; align-items: center; height: 52px; border: 1px solid var(--line); border-radius: 999px; background: #fff; }
.woocommerce div.product form.cart .qty-stepper .qty { width: 44px; height: 100%; padding: 0; border: 0; background: none; text-align: center; font: 500 16px var(--sans); -moz-appearance: textfield; }
.qty-stepper .qty::-webkit-inner-spin-button, .qty-stepper .qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.qty-step { width: 44px; height: 100%; border: 0; background: none; font-size: 20px; color: var(--muted); cursor: pointer; border-radius: 999px; transition: color .2s, background .2s; }
.qty-step:hover { color: var(--ink); background: var(--ivory); }
.woocommerce div.product form.cart .single_add_to_cart_button { float: none; height: 52px; padding: 0 36px; border-radius: 999px !important; white-space: nowrap; }
@media (max-width: 600px) {
	.woocommerce div.product form.cart .single_add_to_cart_button { flex: 1; padding: 0 12px; letter-spacing: .08em; font-size: 12px; }
	.qty-step { width: 38px; }
	.woocommerce div.product form.cart .qty-stepper .qty { width: 32px; }
}
.woo-page input.input-text, .woo-page input[type=text], .woo-page input[type=email], .woo-page input[type=tel], .woo-page input[type=password], .woo-page textarea, .woo-page select, .woo-page .select2-container .select2-selection--single {
	width: 100%; padding: 13px 16px; height: auto; border: 1px solid var(--line); border-radius: 12px; background: #fff; font: 15px var(--sans); color: var(--ink); transition: border-color .2s, box-shadow .2s;
}
.woo-page .select2-container .select2-selection--single { min-height: 48px; }
.woo-page .select2-selection__arrow { height: 46px !important; }
.woo-page input:focus, .woo-page textarea:focus, .woo-page select:focus { outline: 0; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(168,131,74,.15); }
.woo-page .form-row { margin: 0 0 16px; padding: 0; }
.woo-page .form-row label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.woo-page h2, .woo-page h3 { font-size: 26px; }
.woo-page .woocommerce-message, .woo-page .woocommerce-info, .woo-page .woocommerce-error {
	border: 0; border-left: 3px solid var(--gold); border-radius: 12px; background: var(--paper); box-shadow: 0 4px 20px rgba(29,26,23,.05); padding: 16px 20px 16px 52px; margin-bottom: 24px;
}
.woo-page .woocommerce-error { border-left-color: #b3412e; }
.woo-page .woocommerce-message::before, .woo-page .woocommerce-info::before { color: var(--gold); }
/* Shared card look */
.woo-page table.shop_table, .woo-page .cart_totals, .woo-page #order_review, .woo-page .woocommerce-MyAccount-content, .woo-page .woocommerce-MyAccount-navigation, .woo-page form.login, .woo-page form.register, .woo-page .woocommerce-checkout #customer_details, .woo-page .woocommerce-form-coupon {
	background: var(--paper); border: 1px solid var(--line); border-radius: 20px; box-shadow: 0 8px 30px rgba(29,26,23,.04);
}
.woo-page table.shop_table { border-collapse: separate; border-spacing: 0; overflow: hidden; }
.woo-page table.shop_table th { font: 500 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); padding: 18px 20px; border: 0; }
.woo-page table.shop_table td { padding: 20px; border: 0; border-top: 1px solid var(--line); vertical-align: middle; }
.woo-page table.cart img { width: 80px; aspect-ratio: 1; object-fit: contain; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 6px; }
.woo-page table.cart .product-name a { font-weight: 500; }
.woo-page table.cart .product-name a:hover { color: var(--gold); }
.woo-page a.remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; color: var(--muted) !important; font-size: 20px; font-weight: 300; transition: background .2s; }
.woo-page a.remove:hover { background: var(--ivory) !important; color: #b3412e !important; }
/* "Update cart" is disabled until a quantity changes: WooCommerce greys it out with dark text on dark, so it read as an empty grey pill */
.woo-page button.button:disabled, .woo-page button.button:disabled[disabled] { background: transparent; color: var(--muted); border-color: var(--line); opacity: 1; padding: 14px 28px; }
.woo-page table.cart img { padding: 2px; }
.woo-page table.cart .product-quantity { display: none !important; }
.woo-page .cart-qty { display: block; margin-top: 4px; font-size: 13px; color: var(--muted); font-weight: 400; }
.woo-page .quantity .qty { width: 72px; text-align: center; padding: 10px; }
.woo-page table.cart td.actions { background: var(--ivory); }
.woo-page table.cart td.actions .coupon { display: flex; gap: 8px; align-items: center; }
.woo-page table.cart td.actions .coupon .input-text { width: 200px; }
.woo-page .cart-collaterals { margin-top: 32px; }
.woo-page .cart-collaterals .cart_totals { float: right; width: min(420px, 100%); padding: 28px; }
.woo-page .cart_totals table.shop_table { border: 0; box-shadow: none; border-radius: 0; background: none; }
.woo-page .cart_totals table th, .woo-page .cart_totals table td { padding: 14px 0; background: none; }
.woo-page .order-total .amount { font: 26px var(--serif); color: var(--ink); }
.woo-page .amount { color: var(--ink); }
.woo-page .cart-empty { font: 26px var(--serif); text-align: center; padding: 48px 0 8px; }
.woo-page .return-to-shop { text-align: center; }
/* Checkout */
.woo-page .woocommerce-form-coupon { padding: 24px; }
.woo-page form.checkout { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: start; }
.woo-page form.checkout > * { grid-column: 1 / -1; }
.woo-page form.checkout #customer_details { grid-column: 1; padding: 32px; }
.woo-page form.checkout #order_review_heading { grid-column: 2; grid-row: 1; margin: 0; padding: 32px 28px 0; position: relative; z-index: 1; align-self: start; }
.woo-page form.checkout #order_review { grid-column: 2; grid-row: 1 / span 2; padding: 88px 28px 28px; position: sticky; top: 100px; }
.woo-page #customer_details .col-1, .woo-page #customer_details .col-2 { float: none; width: 100%; }
.woo-page #order_review table.shop_table { border: 0; box-shadow: none; border-radius: 0; background: none; }
.woo-page #order_review table th, .woo-page #order_review table td { padding: 12px 0; background: none; }
.woo-page #payment { background: var(--ivory); border-radius: 14px; margin-top: 16px; }
.woo-page #payment ul.payment_methods { border-color: var(--line); padding: 16px 20px; }
.woo-page #payment div.payment_box { background: #fff; border-radius: 10px; }
.woo-page #payment div.payment_box::before { border-bottom-color: #fff; }
/* My account */
.woo-page .woocommerce-MyAccount-navigation { width: 260px; padding: 12px; float: left; }
.woo-page .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.woo-page .woocommerce-MyAccount-navigation a { display: block; padding: 12px 16px; border-radius: 12px; font-size: 15px; transition: background .2s; }
.woo-page .woocommerce-MyAccount-navigation a:hover { background: var(--ivory); }
.woo-page .woocommerce-MyAccount-navigation .is-active a { background: var(--ink); color: var(--paper); }
.woo-page .woocommerce-MyAccount-content { margin-left: 292px; padding: 32px; min-height: 300px; }
.woo-page .woocommerce-MyAccount-content a:not(.button) { border-bottom: 1px solid var(--gold); }
.woo-page .woocommerce-Addresses .col-1, .woo-page .woocommerce-Addresses .col-2 { width: 100%; float: none; margin-bottom: 24px; }
.woo-page .u-columns.col2-set { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.woo-page .u-columns.col2-set::before, .woo-page .u-columns.col2-set::after { display: none; }
.woo-page .u-columns .u-column1, .woo-page .u-columns .u-column2 { width: auto; float: none; }
.woo-page form.login, .woo-page form.register { margin: 0 !important; padding: 32px !important; }
.woo-page > form.login { max-width: 480px; }
.woo-page .woocommerce-form-login__rememberme { display: inline-flex; gap: 8px; align-items: center; margin-right: 16px; }
.woo-page .lost_password a { font-size: 14px; color: var(--muted); border-bottom: 1px solid var(--line); }
@media (max-width: 900px) {
	.woo-title { margin-bottom: 20px; }
	.woo-page table.shop_table_responsive tr { display: block; border-top: 1px solid var(--line); padding: 8px 0; }
	.woo-page table.shop_table_responsive tr td { border: 0; padding: 8px 20px; }
	/* WooCommerce hides the cart photo on phones; show it on top of each item */
	.woo-page table.cart td.product-thumbnail { display: block !important; text-align: left !important; padding-top: 12px; }
	.woo-page table.cart td.product-thumbnail::before { display: none; }
	.woo-page table.cart td.product-thumbnail img { width: 96px; }
	.woo-page table.cart td.actions .coupon { flex-wrap: wrap; }
	.woo-page table.cart td.actions .coupon .input-text, .woo-page table.cart td.actions .button { width: 100% !important; }
	.woo-page .cart-collaterals .cart_totals { float: none; width: 100%; }
	.woo-page form.checkout { grid-template-columns: 1fr; }
	.woo-page form.checkout #customer_details, .woo-page form.checkout #order_review_heading, .woo-page form.checkout #order_review { grid-column: 1; grid-row: auto; position: static; }
	.woo-page form.checkout #customer_details { padding: 20px; }
	.woo-page form.checkout #order_review_heading { padding: 0; }
	.woo-page form.checkout #order_review { padding: 20px; }
	.woo-page .woocommerce-MyAccount-navigation { float: none; width: 100%; margin-bottom: 16px; }
	.woo-page .woocommerce-MyAccount-navigation ul { display: flex; overflow-x: auto; gap: 4px; }
	.woo-page .woocommerce-MyAccount-navigation a { white-space: nowrap; }
	.woo-page .woocommerce-MyAccount-content { margin-left: 0; padding: 20px; }
	.woo-page .u-columns.col2-set { grid-template-columns: 1fr; }
	.woo-page form.login, .woo-page form.register { padding: 20px !important; }
}

/* Footer */
.site-footer { background: var(--ink); color: #cfc6ba; padding: 72px 0 32px; font-size: 15px; }
.site-footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.site-footer .logo { display: block; margin-bottom: 12px; }
.site-footer .logo img { width: 220px; height: auto; }
.social { display: flex; gap: 10px; margin-top: 20px; }
.social a { display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #3a342e; border-radius: 50%; transition: border-color .2s, color .2s; }
.social a:hover { border-color: var(--gold); }
.social svg { width: 18px; height: 18px; }
.site-footer h3 { font: 500 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--paper); }
.site-footer a:hover { color: var(--gold); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.copy { border-top: 1px solid #3a342e; margin-top: 56px; padding-top: 24px; font-size: 13px; }

/* Phones, and any touch screen (iPad has no hover, so the dropdown must not depend on it) */
@media (max-width: 900px), (hover: none) {
	.menu-toggle { display: grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; }
	.icons a, .search-toggle { display: grid; place-items: center; width: 44px; height: 44px; }
	.site-search .btn { display: none; } /* phones: the keyboard's search key submits */
	.icons { gap: 0; margin-right: -10px; }
	.cart-count { top: 2px; right: 0; }
	/* Touch screens: icon only, one tap to call */
	.phone-link { padding-right: 0; margin-right: 0; border-right: 0; }
	.phone-link svg { width: 21px; height: 21px; }
	.nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); border-bottom: 1px solid var(--line); }
	.nav.open { display: block; }
	.nav ul { flex-direction: column; gap: 0; padding: 8px 16px; }
	.nav a { display: block; padding: 14px 0; }
	.nav .sub-menu, .nav > ul > li > .sub-menu { display: flex; position: static; border: 0; box-shadow: none; padding: 0 0 8px 16px; min-width: 0; }
	.nav .sub-menu::before, .nav .menu-item-has-children > a::after { display: none; }
	.nav .sub-menu a { padding: 12px 0; color: var(--muted); }
	.nav { max-height: calc(100vh - 76px); max-height: calc(100dvh - 64px); overflow-y: auto; }
	/* iOS zooms into fields under 16px */
	input, select, textarea, .woocommerce .woocommerce-ordering select { font-size: 16px; }
	.chips a { padding: 11px 18px; }
	.site-footer ul { gap: 0; }
	.site-footer ul a { display: inline-block; padding: 10px 0; }
}

/* phones: the cookie notice is a compact bar at the bottom, so it never covers the headline */
@media (max-width: 640px) {
	.consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); padding: 14px 16px; gap: 10px; border-radius: 14px; }
	.consent p { flex-basis: 100%; font-size: 13px; }
	.consent-btns { width: 100%; flex-wrap: nowrap; }
	.consent .btn { flex: 1; padding: 11px 10px; min-height: 44px; }
}

@media (max-width: 900px) {
	.site-header .wrap { height: 64px; gap: 8px; }
	.nav { top: 64px; }
	.site-header .logo img { height: 44px; }
	/* phone: text spans the full width, so the gradient runs bottom-up and stops well before the jewellery */
	.hero::before { background: linear-gradient(to top, rgba(20,16,12,.85) 15%, rgba(20,16,12,.45) 55%, rgba(20,16,12,0) 80%); }
	.hero-ctas .btn { flex: 1 1 140px; text-align: center; padding-inline: 12px; white-space: nowrap; }
	.hero { min-height: 0; } /* phone: hero sized by its text, so the headline sits high and Συλλογές peeks below */
	.hero h1 { font-size: 36px; }
	.hero-sub { font-size: 16px; }
	/* phone: the photo sits on top (subject kept in view: it stands right of centre), fades into the dark ground, text below it */
	.hero .wrap { padding-top: 10svh; padding-bottom: 32px; } /* thin strip of photo above the headline */
	.hero-facts { font-size: 13px; margin-top: 20px; }
	.hero-facts span { margin: 0 6px; }
	.hero .wrap { padding-bottom: 24px; }
	.banner--img { padding: 88px 0 40px; }
	.section-head { flex-wrap: wrap; margin-bottom: 28px; }
	.woocommerce ul.products { gap: 36px 20px; }
	.woocommerce .woocommerce-result-count, .woocommerce .woocommerce-ordering { float: none; margin-bottom: 16px; }
	.woocommerce .woocommerce-ordering select { width: 100%; }
	.cats, .woocommerce ul.products { grid-template-columns: repeat(2, 1fr); }
	.story .wrap, .site-footer .cols { grid-template-columns: 1fr; gap: 32px; }
	.services { grid-template-columns: 1fr; }
	.visit .wrap { grid-template-columns: 1fr; padding-block: 64px; gap: 24px; }
	.visit-map, .visit-map-wrap { min-height: 300px; }
	.trust .wrap { gap: 8px 18px; text-align: center; }
	.trust span + span::before { display: none; }
	.cat span { font-size: 20px; padding-top: 10px; }
	.ana-sticky { top: 64px; height: calc(100vh - 64px); height: calc(100svh - 64px); }
	/* phones: categories as a swipeable row (1.5 cards in view), taller cards */
	.cats { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
		margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; padding-bottom: 4px; }
	.cats::-webkit-scrollbar { display: none; }
	.cat { flex: 0 0 64%; scroll-snap-align: start; }
	.cat img { aspect-ratio: 4/5; }
	.woocommerce ul.products li.product .button { align-self: stretch; padding: 14px 8px; }
	.section { padding: 64px 0; }
}
