/*
Theme Name:   Cater Reparts
Theme URI:    https://caterreparts.co.uk/
Author:       Cater Revival
Description:  Lightweight, semantic HTML5, mobile-first WooCommerce theme that reproduces the look of the Cater Reparts Flatsome build without jQuery, icon fonts or page-builder markup. Includes JSON-LD structured data and an /llms.txt endpoint for AI/search crawlers.
Version:      1.0.0
Requires at least: 6.0
Requires PHP: 7.4
WC requires at least: 8.0
License:      GPL-2.0-or-later
Text Domain:  cater-reparts
Tags:         e-commerce, one-column, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, accessibility-ready
*/

/* ==========================================================================
   1. Tokens (values taken from flatsome_options.txt)
   ========================================================================== */
:root {
	--c-primary: #fea711;          /* color_primary / nav_position_bg */
	--c-primary-dark: #d98a00;
	--c-text: #777;                /* Flatsome body colour */
	--c-heading: #555;
	--c-price: #111;
	--c-link: #334862;
	--c-border: rgba(0, 0, 0, .1);
	--c-footer-1: #fff;
	--c-footer-2: #777;
	--c-footer-abs: #5b5b5b;
	--c-header-bg: rgba(255, 255, 255, .92);   /* header_bg */
	--c-nav-text: #fff;                        /* type_nav_bottom_color */
	--font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--font-alt: "Dancing Script", cursive;
	--container: 1080px;
	--gutter: 15px;
	--header-h: 188px;             /* header_height */
	--header-h-sticky: 70px;       /* header_height_sticky */
	--logo-w: 260px;               /* logo_width */
	--nav-h: 40px;                 /* header_bottom_height */
	--nav-h-sticky: 50px;          /* nav_height_sticky */
	--radius: 0;
	--drawer-w: 300px;
}

/* ==========================================================================
   2. Base
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h-sticky) + 20px); background: var(--c-footer-abs); }
body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 100%;               /* type_size_mobile 100 */
	line-height: 1.6;
	color: var(--c-text);
	background: #fff;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
@media (min-width: 850px) { body { font-size: 106.25%; } }  /* Flatsome desktop scale */
img, svg, video { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--c-link); text-decoration: none; transition: color .2s; }
a:hover { color: var(--c-primary-dark); }
:focus-visible { outline: 3px solid #1a73e8; outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { color: var(--c-heading); font-weight: 700; line-height: 1.3; margin: 0 0 .5em; text-rendering: optimizeSpeed; }
h1 { font-size: 1.7em; } h2 { font-size: 1.6em; } h3 { font-size: 1.25em; } h4 { font-size: 1.125em; }
p { margin: 0 0 1.3em; }
ul, ol { margin-top: 0; padding-left: 1.3em; }
hr { border: 0; border-top: 1px solid var(--c-border); margin: 1.5em 0; }
table { border-collapse: collapse; width: 100%; margin-bottom: 1.5em; }
th, td { padding: .5em .75em; text-align: left; border-bottom: 1px solid var(--c-border); }
th { color: var(--c-heading); }
.screen-reader-text, .skip-link:not(:focus) {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
	clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100000; background: #fff; color: #000; padding: .75em 1em; box-shadow: 0 0 6px rgba(0,0,0,.4); }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.site-main { min-height: 40vh; padding-block: 30px 40px; }
.text-center { text-align: center; }

/* ==========================================================================
   3. Buttons & forms
   ========================================================================== */
.button, button, input[type=submit], input[type=button], .wp-block-button__link,
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button {
	display: inline-block; min-height: 2.5em; padding: 0 1.2em; margin: 0 .5em .5em 0;
	font: inherit; font-size: .97em; font-weight: 700; letter-spacing: .03em; line-height: 2.4em; text-align: center; text-transform: uppercase;
	color: #fff; background: var(--c-primary); border: 1px solid rgba(0, 0, 0, .05); border-radius: var(--radius);
	cursor: pointer; text-decoration: none; transition: opacity .2s, box-shadow .2s;
}
.button:hover, button:hover, input[type=submit]:hover, .woocommerce a.button:hover, .woocommerce button.button:hover { color: #fff; box-shadow: inset 0 0 0 99px rgba(0,0,0,.1); }
.button.is-outline { background: transparent; color: var(--c-primary-dark); border: 2px solid currentColor; }
input[type=text], input[type=email], input[type=search], input[type=tel], input[type=url], input[type=password], input[type=number], select, textarea {
	width: 100%; max-width: 100%; min-height: 2.5em; padding: 0 .75em; font: inherit; font-size: .97em; color: #333;
	background: #fff; border: 1px solid #ddd; border-radius: var(--radius); box-shadow: inset 0 1px 2px rgba(0,0,0,.1);
}
textarea { padding: .6em .75em; min-height: 120px; }
input:focus, select:focus, textarea:focus { border-color: var(--c-primary); box-shadow: 0 0 0 2px rgba(254,167,17,.35); outline: 0; }
label { display: block; margin-bottom: .3em; font-weight: 700; font-size: .9em; }

/* ==========================================================================
   4. Notice bar ("Website in testing") & cookie notice
   ========================================================================== */
.site-notice { background: var(--c-primary); color: #fff; text-align: center; font-size: .9em; padding: .5em 5.5em .5em 1em; position: relative; }
.site-notice a, .site-notice button { color: #fff; }
.site-notice__close { position: absolute; right: .5em; top: 50%; transform: translateY(-50%); background: none; border: 0; box-shadow: none; padding: 0 .5em; margin: 0; line-height: 1.5; min-height: 0; text-transform: none; }
[hidden] { display: none !important; }
.cookie-notice { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9000; background: rgba(40,40,40,.97); color: #fff; padding: 12px var(--gutter); font-size: .9em; }
.cookie-notice__inner { max-width: var(--container); margin: 0 auto; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.cookie-notice p { margin: 0; flex: 1 1 320px; }
.cookie-notice .button { margin: 0; line-height: 2em; min-height: 2em; }

/* ==========================================================================
   5. Header
   ========================================================================== */
.site-header { position: relative; z-index: 50; background: #fff; }
.site-header__main {
	position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px;
	min-height: var(--header-h-sticky); color: var(--c-heading);
	background-color: var(--c-header-bg);
}
.site-header__bgimg { position: absolute; inset: 0; z-index: 0; background-position: center; background-repeat: no-repeat; background-size: cover; }
.site-header__bgcolor { position: absolute; inset: 0; z-index: 1; background: var(--c-header-bg); }
.site-header__main > .container { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: inherit; }
.site-branding { display: flex; align-items: center; flex: none; }
.site-branding img, .custom-logo { width: auto; max-width: min(var(--logo-w), 100%); max-height: calc(var(--header-h-sticky) - 10px); }
.site-title { font-size: 1.5em; font-weight: 700; margin: 0; }
.site-title a { color: var(--c-heading); }
.header-right { display: none; align-items: center; gap: 30px; }
.header-phone { font-size: 26px; font-weight: 700; text-transform: uppercase; line-height: 1.2; color: var(--c-heading); }
.header-phone a { color: inherit; }
.header-phone a:hover { color: var(--c-primary-dark); }
.header-cart { display: inline-flex; align-items: center; gap: .6em; font-weight: 700; text-transform: uppercase; font-size: .8em; letter-spacing: .02em; color: var(--c-heading); }
.header-cart__bubble { position: relative; display: inline-grid; place-items: center; width: 2.6em; height: 2.6em; border-radius: 50%; background: var(--c-primary); color: #fff; }
.header-cart__bubble .icon { width: 1.4em; height: 1.4em; }
.header-cart__count { position: absolute; top: -.4em; right: -.5em; min-width: 1.6em; height: 1.6em; padding: 0 .3em; border-radius: 99px; background: var(--c-heading); color: #fff; font-size: .8em; line-height: 1.6em; text-align: center; }
.header-cart:hover { color: var(--c-primary-dark); }
.header-mobile-top { background: #fff; text-align: center; font-size: 1em; padding: 4px var(--gutter); border-bottom: 1px solid rgba(0,0,0,.05); }
.header-mobile-top .header-phone { font-size: 1.05em; }
.menu-toggle, .search-toggle { background: none; border: 0; box-shadow: none; color: inherit; padding: 0; margin: 0; min-height: 0; width: 44px; height: 44px; display: inline-grid; place-items: center; }
.menu-toggle:hover, .search-toggle:hover { background: none; box-shadow: none; color: var(--c-primary-dark); }
.site-header__main .menu-toggle .icon { width: 1.8em; height: 1.8em; }

/* Desktop nav bar (orange) */
.site-header__nav { display: none; background: var(--c-primary); color: var(--c-nav-text); min-height: var(--nav-h); }
.site-header__nav > .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: inherit; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.primary-nav li { position: relative; margin: 0; }
.primary-nav a { position: relative; display: flex; align-items: center; padding: 15px 10px; font-size: .9em; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--c-nav-text); }
.primary-nav > ul > li > a::before { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 100%; height: 3px; background: #fff; opacity: 0; transition: opacity .3s; }
.primary-nav > ul > li > a:hover::before, .primary-nav .current-menu-item > a::before, .primary-nav .current_page_item > a::before { opacity: 1; }
.primary-nav a:hover { color: var(--c-nav-text); opacity: 1; }
.primary-nav .sub-menu { display: none; position: absolute; top: 100%; left: 0; min-width: 220px; z-index: 20; flex-direction: column; background: #fff; box-shadow: 1px 1px 15px rgba(0,0,0,.15); padding: 10px 0; }
.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { display: flex; }
.primary-nav .sub-menu a { color: var(--c-heading); text-transform: none; padding: 8px 20px; font-weight: 400; }
.primary-nav .sub-menu a:hover { color: var(--c-primary-dark); }
.header-tools { display: flex; align-items: center; gap: 4px; }
.social-icons { display: flex; align-items: center; gap: 2px; list-style: none; margin: 0; padding: 0; }
.social-icons a { display: inline-grid; place-items: center; width: 34px; height: 34px; color: inherit; opacity: .85; }
.social-icons a:hover { opacity: 1; color: inherit; }
.social-icons .icon { width: 1.15em; height: 1.15em; }
.site-header__nav .search-toggle { width: 38px; height: 38px; color: var(--c-nav-text); }
.site-header__nav .search-toggle:hover { color: var(--c-nav-text); opacity: .8; }

/* Sticky ("jump" style) */
.site-header-spacer { display: none; }
.site-header.is-stuck { position: fixed; inset: 0 0 auto 0; box-shadow: 0 1px 6px rgba(0,0,0,.2); animation: header-jump .4s ease; }
.site-header.is-stuck + .site-header-spacer { display: block; }
.site-header.is-stuck .site-header__nav { min-height: var(--nav-h-sticky); }
@keyframes header-jump { from { transform: translateY(-100%); } to { transform: none; } }
body.admin-bar .site-header.is-stuck { top: var(--wp-admin--admin-bar--height, 32px); }

@media (min-width: 850px) {
	.site-header__main { min-height: var(--header-h); }
	.site-header.is-stuck .site-header__main { min-height: var(--header-h-sticky); }
	.site-branding img, .custom-logo { max-height: calc(var(--header-h) - 20px); }
	.site-header.is-stuck .custom-logo, .site-header.is-stuck .site-branding img { max-height: calc(var(--header-h-sticky) - 10px); }
	.header-right { display: flex; }
	.site-header__nav { display: block; }
	.menu-toggle--mobile, .header-mobile-top, .header-cart--mobile { display: none !important; }
}
@media (max-width: 849.98px) {
	.site-header__main > .container { display: grid; grid-template-columns: 1fr auto 1fr; }
	.site-branding { justify-content: center; }
	.site-branding img, .custom-logo { max-width: min(var(--logo-w), 55vw); }
	.menu-toggle--mobile { justify-self: start; }
	.header-cart--mobile { justify-self: end; }
	.header-cart__label { display: none; }
	.site-header__main .header-cart { font-size: 1em; }
	.header-right .header-cart { display: none; }
}

/* ==========================================================================
   6. Off-canvas mobile drawer
   ========================================================================== */
.drawer-overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(0,0,0,.5); opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.drawer { position: fixed; top: 0; bottom: 0; left: 0; z-index: 9999; width: min(var(--drawer-w), 88vw); overflow-y: auto; overscroll-behavior: contain; background: rgba(255,255,255,.98); box-shadow: 0 0 10px rgba(0,0,0,.5); padding: 20px 20px 40px; transform: translateX(-105%); transition: transform .25s; visibility: hidden; }
body.drawer-open { overflow: hidden; }
body.drawer-open .drawer { transform: none; visibility: visible; }
body.drawer-open .drawer-overlay { opacity: 1; visibility: visible; }
.drawer__close { position: absolute; top: 6px; right: 6px; background: none; border: 0; box-shadow: none; color: var(--c-heading); width: 44px; height: 44px; padding: 0; margin: 0; }
.drawer__section { margin-top: 18px; }
.drawer .search-form { margin-top: 28px; }
.drawer-nav ul { list-style: none; margin: 0; padding: 0; }
.drawer-nav a { display: block; padding: 10px 0; border-bottom: 1px solid #ececec; font-weight: 700; text-transform: uppercase; font-size: .9em; letter-spacing: .02em; color: var(--c-heading); }
.drawer-nav a:hover, .drawer-nav .current-menu-item > a { color: var(--c-primary-dark); }
.drawer-nav .sub-menu { padding-left: 14px; }
.drawer-nav .sub-menu a { text-transform: none; font-weight: 400; }
.drawer .social-icons { color: var(--c-heading); }
.drawer-newsletter a, .drawer-account a { display: block; padding: 8px 0; font-weight: 700; text-transform: uppercase; font-size: .9em; color: var(--c-heading); }
.drawer-html { font-size: .9em; }
@media (min-width: 850px) { .drawer, .drawer-overlay { display: none; } }

/* ==========================================================================
   7. Search (search form + <dialog> lightbox)
   ========================================================================== */
.search-form { display: flex; position: relative; }
.search-form input[type=search] { padding-right: 3em; flex: 1; }
.search-form button { position: absolute; right: 0; top: 0; bottom: 0; margin: 0; padding: 0; width: 2.75em; min-height: 0; line-height: 1; background: none; color: var(--c-heading); border: 0; box-shadow: none; }
.search-form button:hover { color: var(--c-primary-dark); background: none; box-shadow: none; }
dialog.search-dialog { width: min(600px, calc(100% - 30px)); margin: 12vh auto 0; padding: 30px 20px; border: 0; background: #fff; box-shadow: 0 0 20px rgba(0,0,0,.4); }
dialog.search-dialog::backdrop { background: rgba(0,0,0,.7); }
.search-dialog__close { position: absolute; top: 2px; right: 2px; background: none; border: 0; box-shadow: none; color: var(--c-heading); width: 44px; height: 44px; padding: 0; margin: 0; }
.search-dialog h2 { font-size: 1.1em; }

/* ==========================================================================
   8. Page titles, breadcrumbs, content
   ========================================================================== */
.page-header { padding: 15px 0; }
.page-title, .entry-title { font-size: 1.7em; text-transform: none; }
.breadcrumbs { font-size: .8em; text-transform: uppercase; letter-spacing: .02em; font-weight: 700; margin-bottom: 1em; color: var(--c-text); }
.breadcrumbs a { color: var(--c-heading); }
.breadcrumbs a:hover { color: var(--c-primary-dark); }
.breadcrumbs .sep { margin: 0 .4em; opacity: .5; }
.entry-content > *:last-child { margin-bottom: 0; }
.entry-content img.alignleft, .alignleft { float: left; margin: 0 1.5em 1em 0; }
.alignright { float: right; margin: 0 0 1em 1.5em; }
.aligncenter { display: block; margin-inline: auto; }
.alignwide, .alignfull { max-width: 100%; }
.wp-caption, figure { margin: 0 0 1.5em; max-width: 100%; }
figcaption, .wp-caption-text { font-size: .85em; opacity: .8; }
.post-card { margin-bottom: 2em; padding-bottom: 1.5em; border-bottom: 1px solid var(--c-border); }
.post-card__title a { color: var(--c-heading); }
.post-meta { font-size: .8em; text-transform: uppercase; letter-spacing: .02em; opacity: .7; margin-bottom: .75em; }
.nav-links, .pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2em 0 0; }
.comments-area { margin-top: 3em; }
.comment-list { list-style: none; padding: 0; }
.comment-body { padding: 1em 0; border-bottom: 1px solid var(--c-border); }

/* Pagination (Flatsome pill style) */
.page-numbers, .woocommerce-pagination ul.page-numbers { list-style: none; }
.woocommerce-pagination ul { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin: 2em 0 0; padding: 0; }
.page-numbers:where(a, span), .woocommerce-pagination ul li > * {
	display: block; min-width: 2.25em; height: 2.25em; padding: 0 7px; font-size: 1.1em; font-weight: 700; line-height: 2em; text-align: center;
	color: var(--c-heading); border: 2px solid currentColor; border-radius: 99px; transition: all .3s;
}
.woocommerce-pagination ul li { display: block; }
.page-numbers.current, .page-numbers:hover, .woocommerce-pagination ul li > *.current, .woocommerce-pagination ul li > a:hover { color: #fff; background: var(--c-primary); border-color: var(--c-primary); }
.page-numbers.dots { border-color: transparent; }

/* ==========================================================================
   9. Product grid (shop, related, search)
   ========================================================================== */
.shop-intro { text-align: center; margin: 0 0 1.5em; }
.shop-toolbar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 1.25em; }
.woocommerce-result-count { margin: 0; font-size: .9em; }
.woocommerce-ordering { margin: 0; }
.woocommerce-ordering select { width: auto; min-width: 200px; }
ul.products { list-style: none; margin: 0 -7px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
@media (min-width: 550px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 850px) { ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); } ul.products { margin: 0 -10px; } }
ul.products > li.product { display: flex; padding: 0 7px 20px; margin: 0; }
@media (min-width: 850px) { ul.products > li.product { padding: 0 10px 30px; } }
.product-card { display: flex; flex-direction: column; width: 100%; text-align: center; }
.product-card__media { position: relative; display: block; overflow: hidden; background: #f4f4f4; }
.product-card__media img { display: block; width: 100%; height: auto; transition: transform .6s, opacity .6s; }
.product-card:hover .product-card__media img, .product-card:focus-within .product-card__media img { transform: scale(1.1); opacity: .8; }   /* product_hover: zoom-fade */
.product-card__body { padding: .7em .2em 0; flex: 1; display: flex; flex-direction: column; }   /* equalize_product_box */
.product-card__title { font-size: .9em; font-weight: 700; line-height: 1.4; margin: 0 0 .4em; color: var(--c-heading); text-transform: none; }
.product-card__title a { color: var(--c-heading); }
.product-card__title a:hover { color: var(--c-primary-dark); }
.price { color: var(--c-price); font-weight: 700; font-size: .95em; }
.price del { opacity: .5; font-weight: 400; margin-right: .4em; }
.price ins { text-decoration: none; }
.product-card .button { margin-top: auto; }
.product-category-card { text-align: center; }
.product-category-card img { width: 100%; }

/* ==========================================================================
   10. Single product (layout: stacked-right)
   ========================================================================== */
.single-product-wrap { display: grid; gap: 30px; }
@media (min-width: 850px) { .single-product-wrap { grid-template-columns: 7fr 5fr; gap: 40px; align-items: start; } }
.product-gallery { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; margin: 0; padding: 0; list-style: none; }
.product-gallery li { flex: 0 0 100%; scroll-snap-align: center; margin: 0; }
.product-gallery img { width: 100%; height: auto; display: block; }
@media (min-width: 850px) {
	.product-gallery { display: grid; grid-template-columns: 1fr; gap: 12px; overflow: visible; }
}
.product-summary { position: relative; }
@media (min-width: 850px) { .product-summary { position: sticky; top: calc(var(--header-h-sticky) + 20px); } }
.product_title { font-size: 1.5em; margin-bottom: .4em; }
.product-summary .price { font-size: 1.5em; display: block; margin: .5em 0 1em; }
.product-summary form.cart { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 0 0 1.25em; }
.quantity input.qty { width: 4em; text-align: center; padding: 0 .3em; }
.product-extra-html { margin: 1.25em 0; }
.product-extra-html h3 { font-size: 1.15em; }
.product-share { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin-top: 1.5em; padding-top: 1em; border-top: 1px solid var(--c-border); }
.product-share__label { font-size: .85em; font-weight: 700; margin-right: .5em; }
.product-share a { display: inline-grid; place-items: center; width: 34px; height: 34px; color: var(--c-heading); border: 1px solid currentColor; border-radius: 50%; opacity: .7; }
.product-share a:hover { opacity: 1; color: var(--c-primary-dark); }
.product-share .icon { width: 1em; height: 1em; }
.product-tabs { margin-top: 40px; border-top: 1px solid var(--c-border); }
.product-tabs h2 { font-size: 1.1em; text-transform: uppercase; letter-spacing: .02em; padding-top: 1em; border-top: 3px solid var(--c-primary); display: inline-block; margin-top: -1px; }
.related.products, .up-sells { margin-top: 40px; }
.related.products > h2, .up-sells > h2 { font-size: 1.25em; }
.stock.out-of-stock { color: #c00; font-weight: 700; }

/* ==========================================================================
   11. Cart / checkout / account / notices (WooCommerce core markup)
   ========================================================================== */
.woocommerce-notices-wrapper { margin-bottom: 1em; }
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; margin: 0 0 1.5em; padding: .9em 1.2em; border-left: 4px solid var(--c-primary); background: #f9f9f9; color: var(--c-heading);
	display: flex; flex-wrap: wrap; align-items: center; gap: 10px; justify-content: space-between;
}
.woocommerce-error { border-color: #c00; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; margin: 0; }
.woocommerce table.shop_table { border: 1px solid var(--c-border); }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { vertical-align: middle; }
.woocommerce-cart-form .product-thumbnail img { width: 70px; }
.woocommerce-cart-form .product-remove a { font-size: 1.5em; color: #c00; }
.cart_totals, .woocommerce-checkout-review-order { background: #fafafa; padding: 1em; }
.woocommerce form .form-row { margin: 0 0 1em; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 550px) {
	.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: calc(50% - 8px); float: left; }
	.woocommerce form .form-row-last { float: right; }
	.woocommerce form .form-row-wide { clear: both; }
}
.woocommerce-checkout #customer_details { display: grid; gap: 20px; }
@media (min-width: 850px) { .woocommerce-checkout form.checkout { display: grid; grid-template-columns: 7fr 5fr; gap: 40px; } .woocommerce-checkout form.checkout > h3 { grid-column: 2; } }
.woocommerce-MyAccount-navigation ul { list-style: none; padding: 0; margin: 0 0 1.5em; }
.woocommerce-MyAccount-navigation a { display: block; padding: .5em 0; border-bottom: 1px solid var(--c-border); font-weight: 700; color: var(--c-heading); }
@media (min-width: 850px) { .woocommerce-account .woocommerce { display: grid; grid-template-columns: 1fr 3fr; gap: 40px; } .woocommerce-account:not(.logged-in) .woocommerce { display: block; } }

/* ==========================================================================
   12. Footer
   ========================================================================== */
.site-footer { position: relative; }
.footer-widgets { background: var(--c-footer-1); border-top: 1px solid rgba(0,0,0,.05); padding: 30px 0 10px; }
.footer-widgets__grid { display: grid; gap: 30px; grid-template-columns: 1fr; }
@media (min-width: 550px) { .footer-widgets__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 850px) { .footer-widgets__grid { grid-template-columns: repeat(4, 1fr); } }
.footer-widgets .widget { margin-bottom: 20px; font-size: .95em; }
.footer-widgets .widget-title, .footer-widgets h3 { font-size: .9em; text-transform: uppercase; letter-spacing: .05em; }
.footer-widgets address { font-style: normal; }
.footer-widgets ul { list-style: none; padding: 0; }
.footer-widgets li { padding: .3em 0; }
.footer-bottom { background: var(--c-footer-abs); color: rgba(255,255,255,.7); font-size: .9em; padding: 10px 0 15px; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px; }
.footer-bottom a { color: #fff; }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.payment-icons img { height: 26px; width: auto; display: block; background: #fff; border-radius: 3px; padding: 2px 3px; opacity: .9; }
.back-to-top { position: fixed; right: 16px; bottom: 16px; z-index: 900; width: 44px; height: 44px; padding: 0; margin: 0; border-radius: 50%; }
.back-to-top[hidden] { display: none; }

/* ==========================================================================
   13. Preferences
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
@media print {
	.site-header, .site-footer, .cookie-notice, .site-notice, .drawer, .back-to-top { display: none !important; }
	body { color: #000; }
}

/* ==========================================================================
   14. WooCommerce extras (core stylesheets are dequeued by the theme)
   ========================================================================== */
.woocommerce-checkout #payment { background: #fafafa; padding: 1em; margin-top: 1em; }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 1em; padding: 0; }
.woocommerce-checkout #payment .payment_box { background: #fff; padding: .75em 1em; margin: .5em 0; font-size: .9em; }
.woocommerce-checkout #payment .place-order .button { width: 100%; margin: 0; }
.woocommerce form .required { color: #c00; text-decoration: none; }
.woocommerce-checkout .select2-container .select2-selection--single { height: 2.5em; border: 1px solid #ddd; border-radius: 0; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 2.4em; }
.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow { height: 2.4em; }
table.woocommerce-product-attributes th { width: 30%; }
.woocommerce-cart-form .actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; }
.woocommerce-cart-form .coupon { display: flex; gap: 6px; flex-wrap: wrap; }
.woocommerce-cart-form .coupon input { width: auto; }
@media (max-width: 549.98px) {
	.woocommerce table.shop_table_responsive thead { display: none; }
	.woocommerce table.shop_table_responsive tr { display: block; margin-bottom: 1em; border: 1px solid var(--c-border); }
	.woocommerce table.shop_table_responsive td { display: block; text-align: right; }
	.woocommerce table.shop_table_responsive td::before { content: attr(data-title) ": "; float: left; font-weight: 700; }
	.woocommerce table.shop_table_responsive td.product-remove::before, .woocommerce table.shop_table_responsive td.product-thumbnail::before { content: none; }
}
