/*
Theme Name: Evodrive
Theme URI: https://templines.com
Description: Evodrive — vehicle dealer & rental theme. Renders the Drive Core vehicle listing through the drive_* API, so switching skins or themes never loses listing data.
Author: Templines
Author URI: https://templines.com
Version: 1.0.0
Requires Plugins: drive-core
Text Domain: drive
*/

/* The real visual styling lives per-skin in assets/skins/<skin>/ (enqueued by functions.php).
   This file only carries the theme header + a couple of safety fallbacks. */
.drive-no-engine{max-width:780px;margin:60px auto;padding:30px;border:1px solid #e0e0e0;border-radius:6px;font-family:system-ui,sans-serif;line-height:1.6}
.drive-no-engine h2{margin-top:0}

/* ---- layout for theme-owned wrappers (Evodrive components come from the skin CSS) ---- */
:root{--drive-line:#ececec}
.cat-page,.drive-page{padding:clamp(40px,6vw,70px) 0}
.cat-page__head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:28px}
.cat-page__title{font-family:"Inter Tight",system-ui,sans-serif;font-weight:800;font-size:clamp(26px,4vw,44px);margin:0;line-height:1.05}
.cat-page__count{color:#888;margin:0}
/* Admin "Edit section" hover button on the home page */
[data-drive-editable]{position:relative}
/* sidebar cards sit in a position:sticky column — pin the edit button to the card,
   not to the sticky ancestor (which is also a containing block) */
.cd-sidebar__card{position:relative}
.drive-edit-btn{position:absolute;top:14px;right:14px;z-index:60;display:inline-flex;align-items:center;gap:6px;background:#e63946;color:#fff;font:600 12px/1 -apple-system,Segoe UI,Roboto,sans-serif;letter-spacing:.02em;padding:8px 12px;border-radius:7px;text-decoration:none;box-shadow:0 4px 14px rgba(0,0,0,.25);opacity:0;transform:translateY(-5px);transition:opacity .15s,transform .15s;pointer-events:none}
.drive-edit-btn:hover{background:#c1121f;color:#fff}
/* front-end: reveal on hover over the block */
[data-drive-editable]:hover>.drive-edit-btn{opacity:1;transform:none;pointer-events:auto;animation:drive-edit-pulse 1.6s ease-in-out infinite}
/* inside the Customizer preview: always visible (editing is the whole point there) */
.drive-customize-preview .drive-edit-btn{opacity:.92;transform:none;pointer-events:auto}
.drive-customize-preview [data-drive-editable]:hover>.drive-edit-btn{opacity:1}
@keyframes drive-edit-pulse{0%,100%{box-shadow:0 4px 14px rgba(0,0,0,.25),0 0 0 0 rgba(230,57,70,.55)}50%{box-shadow:0 4px 14px rgba(0,0,0,.25),0 0 0 7px rgba(230,57,70,0)}}
@media(prefers-reduced-motion:reduce){[data-drive-editable]:hover>.drive-edit-btn{animation:none}}
/* car-detail gallery mosaic: pin the row to the grid's fixed height so tall/portrait
   images can't blow the row up and overflow-clip the bottom tiles (object-fit covers) */
.cd-gallery__grid{grid-template-rows:1fr}
.cd-gallery__grid>.cd-gallery__cell,.cd-gallery__tiles,.cd-gallery__tiles>.cd-gallery__cell{min-height:0}
/* photo-strip auto-scroll marquee (track holds the gallery twice → translateX(-50%) loops) */
.cd-photostrip--marquee{overflow:hidden}
.cd-photostrip__track--marquee{width:max-content;animation:cd-photostrip-scroll 36s linear infinite}
.cd-photostrip--marquee:hover .cd-photostrip__track--marquee{animation-play-state:paused}
@keyframes cd-photostrip-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
@media(prefers-reduced-motion:reduce){.cd-photostrip__track--marquee{animation:none}.cd-photostrip--marquee{overflow-x:auto}}
/* vehicle intro badges (Coupe / Used …) — Evodrive pill look */
.cd-badge{display:inline-flex;align-items:center;padding:.34rem .8rem;border-radius:100px;background:rgba(16,18,26,.06);font-family:var(--gx-font-mono,ui-monospace,monospace);font-size:.625rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--gx-dark,#10121a);line-height:1}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(290px,1fr));gap:24px}
@media(min-width:760px){.cat-grid[style*="--cat-cols"]{grid-template-columns:repeat(var(--cat-cols),1fr)}}
/* List view must collapse to one column even though this override layer redefines .cat-grid (incl. the --cat-cols variant) after catalog.css */
.cat-grid.cat-grid--list,.cat-grid.cat-grid--list[style*="--cat-cols"]{grid-template-columns:1fr}
/* Catalog sidebar position (Customizer → Drive — Catalog → Layout) */
@media(min-width:1025px){
.cat-layout.cat-layout--left{grid-template-columns:22rem 1fr}
.cat-layout.cat-layout--left .cat-sidebar{order:1}
.cat-layout.cat-layout--left .cat-results{order:2}
.cat-layout.cat-layout--full{grid-template-columns:1fr}
}
.cat-page__pager{margin-top:40px;text-align:center}
.cat-page__pager .nav-links{display:inline-flex;align-items:center;gap:.4rem;flex-wrap:wrap;justify-content:center}
.cat-page__pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.6rem;height:2.6rem;padding:0 .65rem;border:1px solid rgba(31,31,30,.12);border-radius:.7rem;background:#fff;color:var(--gx-g500,#1f1f1e);font-family:var(--gx-font-heading,inherit);font-size:.95rem;font-weight:600;line-height:1;text-decoration:none;transition:background .2s,color .2s,border-color .2s}
.cat-page__pager a.page-numbers:hover{background:var(--accent,var(--gx-lime,#c9ec66));border-color:transparent;color:var(--gx-g500,#1f1f1e)}
.cat-page__pager .page-numbers.current{background:var(--gx-g500,#1f1f1e);border-color:var(--gx-g500,#1f1f1e);color:#fff}
.cat-page__pager .page-numbers.dots{border:0;background:transparent;min-width:1.4rem;padding:0}
.cat-page__pager .page-numbers.prev,.cat-page__pager .page-numbers.next{font-size:1.15rem;font-weight:500}
.cat-page__empty{padding:40px 0;color:#888}

/* single-pixad-autos.php uses Evodrive's native cd-* classes (car-detail.css) — no fallbacks here. */
.gx-btn--block{width:100%;justify-content:center}
/* seller contact-mini email row (matches the Evodrive card hours/phone styling) */
.cd-contact-mini__email{display:inline-block;color:var(--gx-g75,#6b7280);text-decoration:none;font-size:.8125rem;margin-bottom:1rem;word-break:break-all;transition:opacity .2s}
.cd-contact-mini__email:hover{opacity:.65;text-decoration:underline}

/* home hero search panel (real GET form replacing demo dropdowns) */
.drive-find__row{display:flex;flex-wrap:wrap;align-items:flex-end;gap:14px}
.drive-find__field{display:flex;flex-direction:column;gap:5px;min-width:160px}
.drive-find__field--grow{flex:1 1 220px}
.drive-find__label{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#888;font-weight:600}
.drive-find__select,.drive-find__input{height:48px;padding:0 14px;border:1px solid #e0e0e0;border-radius:12px;font:inherit;font-size:15px;background:#fff;width:100%}
.drive-find__input{box-sizing:border-box}
@media(max-width:640px){.drive-find__field{min-width:0;width:100%}.iv2-find__submit{width:100%}}

/* single-vehicle SPLIT layout (template-parts/single/split.php) */
.cd-split{padding:8px 0 10px}
.cd-split__grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(300px,1fr);gap:28px;align-items:start}
.cd-split__main{border-radius:16px;overflow:hidden;cursor:pointer;aspect-ratio:16/10;background:#f0f0f0}
.cd-split__main img{width:100%;height:100%;object-fit:cover;display:block}
.cd-split__thumbs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:10px}
.cd-split__thumb{border-radius:10px;overflow:hidden;cursor:pointer;aspect-ratio:4/3;background:#f0f0f0}
.cd-split__thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .25s}
.cd-split__thumb:hover img{transform:scale(1.06)}
.cd-split__info{position:sticky;top:90px;display:grid;gap:16px}
.cd-split__specs{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;margin:16px 0}
.cd-split__spec{display:flex;flex-direction:column;gap:2px;font-size:14px}
.cd-split__spec span{color:#8a8f98;font-size:12px;text-transform:uppercase;letter-spacing:.04em}
.cd-split__spec strong{font-weight:600}
.cd-content--full{max-width:100%}
@media(max-width:900px){.cd-split__grid{grid-template-columns:1fr}.cd-split__info{position:static}}

/* ported variant pages (Home v2/v3/v4): force scroll-reveal content visible (no JS dependency) */
.page-template [data-anim]{opacity:1 !important;transform:none !important}

/* top-level nav: horizontal row (WP wraps items in ul.hd-nav__list > li) */
.hd-nav__list{display:flex;align-items:center;gap:2rem;margin:0;padding:0;list-style:none}
.hd-nav__list>li{position:relative;list-style:none}
/* nav dropdown (WP sub-menu styled as Evodrive dropdown) */
.hd-nav__list .menu-item-has-children{position:relative}
.hd-nav__list .sub-menu{position:absolute;top:100%;left:0;min-width:200px;background:#fff;border:1px solid rgba(16,18,26,.08);border-radius:12px;box-shadow:0 16px 40px rgba(0,0,0,.12);padding:8px;margin:10px 0 0;list-style:none;opacity:0;visibility:hidden;transform:translateY(6px);transition:.2s;z-index:60}
.hd-nav__list .menu-item-has-children:hover>.sub-menu{opacity:1;visibility:visible;transform:none}
.hd-nav__list .sub-menu li{display:block}
.hd-nav__list .sub-menu a{display:block;padding:9px 12px;border-radius:8px;white-space:nowrap;font-size:14px;color:var(--hd-dark,#10121a);text-decoration:none}
.hd-nav__list .sub-menu a:hover{background:rgba(16,18,26,.05)}

/* home "why choose us" feature grid (own layout, themed) */
.drive-feat-section .iv2-services__head{text-align:center;max-width:680px;margin:0 auto 36px}
.drive-feat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:20px}
.drive-feat-card{background:#fff;border:1px solid #ececec;border-radius:16px;padding:26px 22px;transition:box-shadow .25s,transform .2s}
.drive-feat-card:hover{box-shadow:0 14px 34px rgba(0,0,0,.08);transform:translateY(-3px)}
.drive-feat-card__icon{width:48px;height:48px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:var(--gx-lime,#c9ec66);margin-bottom:16px}
.drive-feat-card__icon svg{width:22px;height:22px;color:#0a0e1c;stroke:#0a0e1c}
.drive-feat-card__title{font-family:"Inter Tight",system-ui,sans-serif;font-weight:700;font-size:18px;margin:0 0 6px}
.drive-feat-card__text{color:#6c7589;font-size:14px;line-height:1.6;margin:0}

/* CTA section dark background fallback (skin used a placeholder bg image) */
.drive-cta{position:relative;background:linear-gradient(135deg,#11151f,#0a0e1c)}
.drive-cta .cd-cta-section__inner{position:relative;z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.drive-cta .cd-cta-section__headline{color:#fff}
.drive-cta .cd-cta-section__sub{color:rgba(255,255,255,.7)}
.drive-section--shortcode{margin-top:18px}

/* active trim tab — fixed dark */
.cd-trim-tab.is-active{background:#222 !important;border-color:#222 !important;color:#fff !important}

/* reserve-form success state (polished) + WhatsApp brand button */
.cd-form__success{display:flex;flex-direction:column;align-items:center;text-align:center;gap:14px;padding:28px 22px;background:linear-gradient(180deg,#f1fbf4,#ffffff);border:1px solid #d6efdd;border-radius:16px;animation:drive-pop .3s ease}
.cd-form__success svg{width:46px;height:46px;color:#1da851;background:#e2f7e9;border-radius:50%;padding:10px;box-sizing:content-box;stroke-width:2.4}
.cd-form__success p{margin:0;color:#2b3a2e;font-size:15px;line-height:1.55;max-width:34ch}
.cd-form__success--hidden{display:none}
@keyframes drive-pop{from{opacity:0;transform:translateY(8px) scale(.98)}to{opacity:1;transform:none}}
.drive-wa-btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;width:100%;box-sizing:border-box;padding:14px 18px;border-radius:999px;background:#25D366;color:#fff;font-weight:700;font-size:15px;line-height:1;text-decoration:none;box-shadow:0 6px 18px rgba(37,211,102,.35);transition:background .2s,transform .15s,box-shadow .2s}
.drive-wa-btn:hover,.drive-wa-btn:focus{background:#1da851;color:#fff;transform:translateY(-1px);box-shadow:0 9px 24px rgba(37,211,102,.45)}
.drive-wa-btn svg{width:20px;height:20px;flex:none;color:#fff;background:none;padding:0;border-radius:0;stroke-width:0}

/* catalog filter price range (classes not present in skin CSS) */
.cat-price-range{display:flex;align-items:center;gap:10px}
.cat-price-range__input{width:100%;padding:9px 11px;border:1px solid #dcdcdc;border-radius:9px;font:inherit;font-size:14px;background:#fff}
.cat-price-range__sep{color:#999}
.cat-sidebar__empty{padding:16px 18px;color:#888;font-size:14px}

.drive-hero{padding:clamp(60px,9vw,110px) 0 clamp(40px,6vw,70px);text-align:center}
.drive-hero__eyebrow{text-transform:uppercase;letter-spacing:.16em;font-size:12px;color:#888}
.drive-hero__title{font-family:"Inter Tight",system-ui,sans-serif;font-weight:800;font-size:clamp(34px,6vw,60px);margin:12px 0 26px;line-height:1.02}
.drive-posts{display:grid;gap:22px}
.drive-post{border-bottom:1px solid var(--drive-line);padding-bottom:18px}
.drive-post__title{font-family:"Inter Tight",system-ui,sans-serif;font-weight:700;margin:0 0 6px}
.drive-404__code{font-family:"Inter Tight",system-ui,sans-serif;font-weight:800;font-size:clamp(80px,16vw,140px);color:var(--accent,#16a34a);line-height:1;margin:0}
.drive-article__title{font-family:"Inter Tight",system-ui,sans-serif;font-weight:800;font-size:clamp(26px,4vw,40px);margin:0 0 18px}
.drive-article__img img{width:100%;border-radius:12px;margin:0 0 22px}
.drive-prose{line-height:1.75;max-width:780px}
.drive-prose img{max-width:100%;height:auto}

/* Models archive (/models/): the kit cl2-hero is full-viewport for a bg image +
   stats we don't render here, so shrink it to a compact band. */
.post-type-archive-vehicle_model .cl2-hero{min-height:0;padding:7rem 0 3rem}
.post-type-archive-vehicle_model .cl2-hero__title{color:#fff}
.post-type-archive-vehicle_model .cl2-hero__desc{color:rgba(255,255,255,.7)}
.post-type-archive-vehicle_model .cl2-hero__inner{padding:0}

/* Sticky footer — pin .gx-footer to the viewport bottom on short pages (no white
   gap below the footer when content is shorter than the viewport). Header stays
   sticky; off-flow scripts / fixed admin bar / modals are unaffected. */
body{min-height:100vh;display:flex;flex-direction:column}
body > main{flex:1 0 auto}
body > .gx-footer{flex-shrink:0}

/* ============================================================
   News / blog listing (home.php) — Evodrive style on real posts
   ============================================================ */
.gx-news-pagehead{max-width:60rem}
.gx-news-pagehead .gx-news-hero__desc{margin-top:.75rem}
/* configurable grid columns (overrides core .gx-news-grid default) */
.gx-news-grid[style*="--news-cols"]{grid-template-columns:repeat(var(--news-cols),minmax(0,1fr))}
/* card cover image (when a post has a featured image instead of the gx-ph demo box) */
.gx-news-card__img{display:block;overflow:hidden}
.gx-news-card__img img,.gx-news-card__cover{width:100%;height:100%;object-fit:cover;display:block}
.gx-news-card__title a{color:inherit;text-decoration:none}
.gx-news-card__title a:hover{opacity:.75}
/* featured (first) post as the big hero row */
.drive-news-featured{margin-bottom:2.5rem}
.drive-news-featured .gx-news-hero__img{display:block;overflow:hidden;border-radius:1.25rem}
.drive-news-featured .gx-news-hero__img img{width:100%;height:100%;object-fit:cover;display:block}
.drive-news-featured .gx-news-hero__text h2 a{color:inherit;text-decoration:none}
.drive-news-featured .pst-category{margin-bottom:1rem;display:inline-block}
/* category filter tabs (reuse cl2 chip look without loading catalog-v2.css) */
.drive-news-tabs{display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:2rem}
.drive-news-tabs .cl2-tab{padding:.5rem 1.2rem;border-radius:100px;border:1.5px solid rgba(31,31,30,.14);font-size:.9rem;font-weight:500;color:var(--gx-g100,#6b7280);text-decoration:none;transition:.2s}
.drive-news-tabs .cl2-tab:hover{border-color:var(--gx-g500,#1f1f1e);color:var(--gx-g500,#1f1f1e)}
.drive-news-tabs .cl2-tab--active{background:var(--gx-g500,#1f1f1e);border-color:var(--gx-g500,#1f1f1e);color:#fff}
/* optional sidebar layout */
.drive-news-layout--side{display:grid;grid-template-columns:minmax(0,1fr) 18rem;gap:2.5rem;align-items:start}
@media(max-width:980px){.drive-news-layout--side{grid-template-columns:1fr}}
.drive-news-side{display:grid;gap:1.75rem;position:sticky;top:96px}
.drive-news-widget__title{font-family:"Inter Tight",system-ui,sans-serif;font-weight:700;font-size:1.05rem;margin:0 0 .75rem}
.drive-news-cats,.drive-news-recent{list-style:none;margin:0;padding:0;display:grid;gap:.55rem}
.drive-news-cats a,.drive-news-recent a{color:var(--gx-g500,#1f1f1e);text-decoration:none}
.drive-news-cats a:hover,.drive-news-recent a:hover{color:var(--accent,#c9ec66)}
.drive-news-recent li{display:grid;gap:.15rem;font-size:.92rem}
.drive-news-recent span{font-size:.75rem;color:var(--gx-g100,#9ca3af)}
@media(max-width:980px){.drive-news-side{position:static}}

/* News hero/featured contrast fixes (gx-news-hero was designed for a dark hero) */
.gx-page-hero .gx-news-pagehead .gx-h1{color:#fff}
.gx-page-hero .gx-news-pagehead .gx-news-hero__desc{color:rgba(255,255,255,.72)}
.drive-news-featured .gx-news-hero__text h2,
.drive-news-featured .gx-news-hero__text h2 a{color:var(--gx-g500,#10121a)}
.drive-news-featured .gx-news-hero__desc{color:var(--gx-g100,#5b6170)}

/* Blog post inline figure — keep a clean landscape crop regardless of image orientation */
.pst-figure__img{width:100%;aspect-ratio:16/9;object-fit:cover;display:block}

/* Related Articles — drop the slanted dark band, use a light "paper" section */
.pst-related{background:#fff;clip-path:none;margin-top:0;padding:5rem 0}
.pst-related__title{color:var(--gx-darker,#10121a)}
.pst-related__head .gx-label{color:var(--gx-g100,#6b7280)}
.pst-rcard{background:#fff;border-color:rgba(16,18,26,.08)}
.pst-rcard:hover{background:#fff;border-color:rgba(16,18,26,.18)}
.pst-rcard__date{color:var(--gx-g100,#9ca3af)}
.pst-rcard__title a{color:var(--gx-darker,#10121a)}
.pst-rcard__title a:hover{color:var(--gx-g500,#1f1f1e)}
.pst-rcard__link{color:var(--gx-darker,#10121a)}

/* Share buttons — white background */
.pst-share__btn{background:#fff}

/* Catalog "Find a car to book" bar (location + dates → reservation wizard) */
.cat-bookbar{display:flex;flex-wrap:wrap;align-items:flex-end;gap:.9rem;margin-top:1.5rem;padding:1rem 1.15rem;background:#fff;border:1px solid rgba(31,31,30,.1);border-radius:1rem;box-shadow:0 10px 34px rgba(0,0,0,.10)}
.cat-bookbar__field{display:flex;flex-direction:column;gap:.3rem;flex:1 1 180px;min-width:150px}
.cat-bookbar__label{font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--gx-g100,#6b7280);font-weight:600}
.cat-bookbar__input{height:2.9rem;padding:0 .8rem;border:1px solid rgba(31,31,30,.14);border-radius:.6rem;font:inherit;font-size:.95rem;background:#fff;color:var(--gx-g500,#1f1f1e)}
.cat-bookbar__go{flex:0 0 auto;margin-top:1.25rem;white-space:nowrap}
@media(max-width:640px){.cat-bookbar__go{width:100%;margin-top:.25rem;justify-content:center}}

/* AJAX catalog filtering — dim results while fetching */
.cat-results--loading{opacity:.55;pointer-events:none;transition:opacity .15s ease;}

/* Active-filter chips (catalog AJAX) — contained, highlighted box */
.cat-chips{ display:flex; flex-wrap:wrap; align-items:center; gap:.6rem 1rem; margin:0 0 1.5rem; padding:.85rem 1.1rem; background:#fff; border:1px solid var(--gx-gray-light,#e8e8e8); border-radius:16px; }
.cat-chips__label{ font-family:var(--gx-font-mono,'JetBrains Mono',monospace); font-size:.68rem; font-weight:600; letter-spacing:.04em; text-transform:uppercase; color:rgba(15,18,30,.5); flex-shrink:0; }
.cat-chips__list{ display:flex; flex-wrap:wrap; gap:.5rem; flex:1 1 auto; min-width:0; }
.cat-chip{ display:inline-flex; align-items:center; gap:.45rem; padding:.4rem .8rem; border-radius:999px; border:1px solid var(--gx-gray-light,#e3e3e1); background:var(--ft-bg,#f5f5f4); font-size:.82rem; line-height:1; color:var(--gx-dark,#10121a); cursor:pointer; box-shadow:0 1px 2px rgba(15,18,30,.04); transition:background .12s ease,border-color .12s ease,color .12s ease; }
.cat-chip:hover{ background:#fdeaea; border-color:#f1b4b4; color:#dc2626; }
.cat-chip svg{ opacity:.55; }
.cat-chip:hover svg{ opacity:1; }
.cat-chips__clear{ margin-left:auto; background:none; border:0; font-size:.8rem; font-weight:600; color:var(--gx-gray-mid,#888); text-decoration:none; cursor:pointer; padding:.3rem; flex-shrink:0; }
.cat-chips__clear:hover{ color:var(--gx-dark,#10121a); }

/* Header account link (logged-in: avatar + name) */
.hd-link--account, .hd-cta--account { display:inline-flex; align-items:center; gap:.5rem; }
.hd-link__avatar { width:24px; height:24px; border-radius:50%; object-fit:cover; display:block; flex-shrink:0; }

/* ============================================================
   WooCommerce default form boxes — checkout coupon / returning-customer
   login / register. Evodrive look. (Our full-screen .au-form auth screen is
   excluded so it isn't double-boxed.)
   ============================================================ */
.woocommerce form.checkout_coupon,
.woocommerce form.login:not(.au-form),
.woocommerce form.register:not(.au-form) {
	border: 1px solid var(--gx-gray-light, #e5e7eb);
	border-radius: var(--gx-r-lg, 1rem);
	padding: 1.75rem 2rem;
	margin: 1.5em 0;
	background: var(--gx-white, #fff);
	box-shadow: 0 8px 32px rgba(0,0,0,.05);
	text-align: left;
}
.woocommerce form.checkout_coupon .form-row,
.woocommerce form.login:not(.au-form) .form-row,
.woocommerce form.register:not(.au-form) .form-row { margin-bottom: 1rem; }

/* Inputs */
.woocommerce form.checkout_coupon .input-text,
.woocommerce form.login:not(.au-form) .input-text,
.woocommerce form.register:not(.au-form) .input-text {
	width: 100%;
	padding: .8rem 1rem;
	border: 1px solid var(--gx-gray-light, #e5e7eb);
	border-radius: var(--gx-r-md, .75rem);
	background: var(--gx-off-white, #f9f9f7);
	font: inherit;
	font-size: .95rem;
	transition: border-color .2s, background .2s;
}
.woocommerce form.checkout_coupon .input-text:focus,
.woocommerce form.login:not(.au-form) .input-text:focus,
.woocommerce form.register:not(.au-form) .input-text:focus {
	outline: 0;
	border-color: var(--gx-lime-dark, #a8cc44);
	background: var(--gx-white, #fff);
}
.woocommerce form.checkout_coupon label,
.woocommerce form.login:not(.au-form) label,
.woocommerce form.register:not(.au-form) label { font-weight: 600; font-size: .85rem; }

/* Submit button → lime pill */
.woocommerce form.checkout_coupon button[type="submit"],
.woocommerce form.login:not(.au-form) button[type="submit"],
.woocommerce form.register:not(.au-form) button[type="submit"] {
	background: var(--gx-lime, #c9ec66);
	color: var(--gx-dark, #0a0e1c);
	border: 0;
	border-radius: var(--gx-r-full, 9999px);
	padding: .8rem 1.5rem;
	font-weight: 600;
	transition: background .2s, color .2s;
}
.woocommerce form.checkout_coupon button[type="submit"]:hover,
.woocommerce form.login:not(.au-form) button[type="submit"]:hover,
.woocommerce form.register:not(.au-form) button[type="submit"]:hover {
	background: var(--gx-dark, #0a0e1c);
	color: var(--gx-lime, #c9ec66);
}

/* Order / customer / downloads detail cards (order-received + view-order) */
.woocommerce .woocommerce-order-details,
.woocommerce .woocommerce-customer-details,
.woocommerce .woocommerce-order-downloads {
	margin-bottom: 1.5em;
	background: var(--gx-white, #fff);
	border: 1px solid var(--gx-gray-light, #e5e7eb);
	border-radius: var(--gx-r-lg, 1rem);
	padding: 1.75rem 2rem;
	box-shadow: 0 8px 32px rgba(0,0,0,.05);
}
.woocommerce .woocommerce-order-details > h2,
.woocommerce .woocommerce-customer-details > h2,
.woocommerce .woocommerce-column__title {
	font-family: var(--gx-font-heading, inherit);
	font-weight: 600;
	margin-top: 0;
}
.woocommerce .woocommerce-table--order-details,
.woocommerce .woocommerce-table--customer-details { margin-bottom: 0; }
