/*
Theme Name: Amino Club
Theme URI: https://officialaminoclub.com
Description: Amino Club storefront theme. Carries the original Amino Club design system verbatim on top of Astra, with WooCommerce and Elementor support.
Author: Amino Club
Template: astra
Version: 1.0.0
Text Domain: amino-club
*/

/* The full Amino Club design system is loaded from assets/css/main.css
   via functions.php so the original stylesheet stays byte-for-byte intact. */

/* Policy and legal pages used a slightly smaller h1 in the original build. */


/* Elementor's heading widget ships its own colour; use the brand ink instead. */
body .elementor-widget-heading .elementor-heading-title { color: var(--ink); }
body .dark .elementor-widget-heading .elementor-heading-title { color: #fff; }
.elementor-widget-text-editor { color: var(--ink-2); }

/* ---------- Editorial page system --------------------------------------- */
/* Display sizes are dialled back: a 4.6rem headline on a supply catalogue
   reads consumer, not laboratory. One scale across every content page. */

.pg-band { border-top: 1px solid var(--line); padding-block: clamp(30px, 3.5vw, 46px) clamp(36px, 4vw, 54px); }
.pg-band--last { padding-bottom: clamp(60px, 7vw, 100px); }

/* Micro-labels carry the structure in place of boxes and rules. */
.pg-label { margin: 0 0 26px; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pg-side__label p { margin: 0; font-size: 0.7rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); }
.pg-side__body p { margin: 0; font-size: clamp(1rem, 0.96rem + 0.18vw, 1.08rem); line-height: 1.7; color: var(--ink-2); max-width: 64ch; }

/* Columns, not cards: a rule on top, then type. No fill, no radius. */
.pg-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 36px 34px; }
.pg-card { background: none; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 17px 0 0; }
.pg-card h3 { font-size: 1.06rem; font-weight: 600; line-height: 1.3; margin: 0 0 10px; color: var(--ink); letter-spacing: -0.005em; }
.pg-card p { margin: 0; color: var(--ink-2); font-size: 0.92rem; line-height: 1.68; }
.pg-card__step { display: block; font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 9px; }

.pg-prose h2 { font-size: var(--step-1); line-height: 1.25; margin: 0 0 14px; color: var(--ink); letter-spacing: -0.01em; }
.pg-prose p { margin: 0; color: var(--ink-2); font-size: 1rem; line-height: 1.7; max-width: 56ch; }
.pg-list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.pg-list li { padding: 14px 2px; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 767px) {
  .pg-side__label .elementor-widget { margin-bottom: 0; }
  .pg-side__label p { margin-bottom: 12px; }
  .pg-side__body p, .pg-prose p { max-width: none; }
}
@media (max-width: 720px) { .pg-grid { grid-template-columns: 1fr; gap: 26px; } }

/* Constrain reading measure without centring it away from the headline. */
.pg-measure { max-width: 880px; }

/* ---------- Shop archive ------------------------------------------------ */
.shop-main { padding-block: 0 clamp(56px, 7vw, 96px); }
.shop-desc .lede { max-width: 56ch; }
.shop-bar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; padding-block: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin-bottom: 26px; }
.shop-bar .woocommerce-result-count { margin: 0; font-size: 0.84rem; color: var(--ink-3); }
.shop-bar .woocommerce-ordering { margin: 0 0 0 auto; }
.shop-bar .woocommerce-ordering select { font-family: 'IBM Plex Sans', sans-serif; font-size: 0.86rem; padding: 8px 13px; border-radius: var(--r-pill); border: 1px solid var(--line-strong); background: var(--paper); color: var(--ink); }
/* Woo prints its price markup inside the card price slot. */
.card__price .woocommerce-Price-amount { font-family: 'Outfit', sans-serif; font-weight: 500; font-size: 1.05rem; color: var(--ink); }
.card__price del, .card__price ins { text-decoration: none; }
.woocommerce-pagination { margin-top: 38px; }
.woocommerce-pagination ul.page-numbers { display: flex; gap: 6px; list-style: none; padding: 0; margin: 0; }
.woocommerce-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 38px; height: 38px; padding: 0 10px; border: 1px solid var(--line-strong); border-radius: var(--r-pill); text-decoration: none; color: var(--ink); font-size: 0.88rem; }
.woocommerce-pagination .page-numbers.current { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (max-width: 720px) { .shop-bar .woocommerce-ordering { margin-inline-start: 0; width: 100%; } }

/* ---------- Page masthead ----------------------------------------------- */
/* Headline left, standfirst right, baselines aligned. The right half of a
   1280 shell was dead space with the old stacked masthead. */
.pg-head { padding-block: clamp(34px, 4vw, 56px) clamp(26px, 3vw, 40px); }
.pg-head .elementor-container { align-items: flex-end; }
.pg-head .crumbs { margin-bottom: 30px; }

.pg-eyebrow { margin: 0 0 14px; font-size: 0.7rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-deep); }

.pg-head h1, .policy-head h1 { font-size: var(--step-3); letter-spacing: -0.022em; line-height: 1.04; margin: 0; }
.pg-head .lede, .policy-head .lede { margin: 0; max-width: 40ch; font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem); line-height: 1.58; color: var(--ink-2); }

.policy-head { padding-block: clamp(34px, 4vw, 56px) clamp(26px, 3vw, 40px); }
.policy-head .crumbs { margin-bottom: 30px; }

@media (max-width: 860px) {
  .pg-head .elementor-container { align-items: flex-start; }
  .pg-head .lede { max-width: none; margin-top: 20px; }
  .pg-head .crumbs { margin-bottom: 22px; }
}

/* PHP-rendered mastheads (shop, archives) use the same two-column row. */
.pg-head__row { display: grid; grid-template-columns: 58% 42%; align-items: end; gap: 40px; }
@media (max-width: 860px) { .pg-head__row { grid-template-columns: 1fr; gap: 18px; align-items: start; } }

/* ---------- Policy documents -------------------------------------------- */
/* Section headings should sit under the page title, not rival it. */
.prose h2 { font-size: var(--step-1); letter-spacing: -0.01em; margin: 36px 0 12px; }
.prose h3 { font-size: 1.02rem; margin: 26px 0 10px; }
.prose .elementor-element:first-child h2 { margin-top: 0; }
.prose p, .prose li { font-size: 0.96rem; line-height: 1.72; }
.prose ul, .prose ol { margin: 12px 0 0; }
.prose p + p { margin-top: 14px; }

/* An editorial band opens on its heading, so the first one needs no lead-in. */
.prose > h2:first-child { margin-top: 0; }

/* Product description: editorial measure, headings subordinate to the title. */
.amino-product-desc { margin-top: 8px; }
.amino-product-desc ul { list-style: none; margin: 14px 0 0; padding: 0; }
.amino-product-desc ul li { border-top: 1px solid var(--line); padding: 9px 0; font-size: 0.95rem; }

/* Inline links in body copy: underlined rather than coloured, so the page
   stays monochrome but a link still reads as one. */
.prose a,
.amino-product-desc a,
.shop-desc a {
	color: var(--ink);
	text-decoration: underline;
	text-decoration-color: var(--line);
	text-underline-offset: 3px;
	text-decoration-thickness: 1px;
	transition: text-decoration-color 0.15s ease;
}
.prose a:hover,
.amino-product-desc a:hover,
.shop-desc a:hover { text-decoration-color: var(--accent-deep, currentColor); }

/* A single wide image inside an editorial band. */
.prose img, .amino-product-desc img { display: block; width: 100%; height: auto; margin: 30px 0 0; border-radius: 2px; }

/* A strip of product photography closing a content page. */
.img-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.img-row img { margin: 0 !important; aspect-ratio: 3 / 2; object-fit: cover; }
