/*
Theme Name: Givocart
Theme URI: https://givocart.com
Author: Shaheen QTS
Author URI: https://givocart.com
Description: Ultra-fast, mobile-first WooCommerce theme for Pakistani online stores. Sticky announcement bar, swipe category tabs, hero slider, 4-column product grids, 4-field Cash on Delivery checkout and an animated floating WhatsApp button.
Version: 1.0.0
Requires at least: 6.3
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: givocart
Tags: e-commerce, woocommerce, mobile-first, custom-logo, custom-menu, translation-ready
*/

/* ==========================================================================
   1. DESIGN TOKENS  (change colours here and the whole theme follows)
   ========================================================================== */
:root {
	--gc-primary: #f26a1b;      /* Brand orange: buttons, prices, accents   */
	--gc-primary-dark: #d4560d;
	--gc-dark: #14213d;         /* Announcement bar + footer                */
	--gc-sale: #e11d48;         /* Sale ribbons                             */
	--gc-green: #16a34a;        /* Cash on Delivery / confirm order         */
	--gc-wa: #25d366;           /* WhatsApp                                 */
	--gc-bg: #f5f6f8;
	--gc-card: #ffffff;
	--gc-text: #1f2937;
	--gc-muted: #6b7280;
	--gc-line: #e5e7eb;
	--gc-radius: 10px;
	--gc-font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; /* system fonts = zero font downloads */
}

/* ==========================================================================
   2. BASE
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	font-family: var(--gc-font);
	font-size: 15px;
	line-height: 1.55;
	color: var(--gc-text);
	background: var(--gc-bg);
	-webkit-tap-highlight-color: transparent;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; }
h1, h2, h3, h4 { line-height: 1.25; margin: 0 0 .5em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid #2563eb; outline-offset: 2px; }

.container { width: 100%; max-width: 1200px; margin-inline: auto; padding-inline: 12px; }
.gc-main { padding-block: 12px 8px; min-height: 50vh; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link:focus { clip: auto; width: auto; height: auto; margin: 0; padding: 10px 16px; background: #fff; z-index: 1000; top: 6px; left: 6px; }
.gc-icon { flex: none; }
.gc-page-title { font-size: 22px; margin: 6px 0 14px; }

/* ==========================================================================
   3. TOP BAR + HEADER  (sticky)
   ========================================================================== */
.gc-top { position: sticky; top: 0; z-index: 100; }
.admin-bar .gc-top { top: 32px; }
@media (max-width: 782px) { .admin-bar .gc-top { top: 46px; } }
@media (max-width: 600px) { .admin-bar .gc-top { top: 0; } }

/* Announcement ticker */
.gc-announce { background: var(--gc-dark); color: #fff; font-size: 12.5px; overflow: hidden; height: 32px; line-height: 32px; }
.gc-announce__track { display: flex; width: max-content; animation: gc-ticker 28s linear infinite; }
.gc-announce__set { display: flex; flex: none; }
.gc-announce__set span { padding: 0 28px; white-space: nowrap; }
.gc-announce:hover .gc-announce__track { animation-play-state: paused; }
@keyframes gc-ticker { to { transform: translateX(-50%); } }

/* Header: mobile = logo + cart on row 1, search on row 2 */
.gc-header { background: #fff; box-shadow: 0 1px 0 var(--gc-line); }
.gc-header__inner {
	display: grid;
	grid-template-columns: 1fr auto;
	grid-template-areas: "logo cart" "search search";
	gap: 8px 12px;
	align-items: center;
	padding-block: 8px;
}
.gc-logo { grid-area: logo; min-width: 0; }
.gc-logo img { max-height: 40px; width: auto; }
.gc-logo__text { font-size: 24px; font-weight: 800; letter-spacing: -.5px; color: var(--gc-primary); }
.gc-cart { grid-area: cart; position: relative; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: #fff4ec; color: var(--gc-primary-dark); }

.gc-cart-count {
	position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px;
	border-radius: 10px; background: var(--gc-sale); color: #fff; font: 700 11px/20px var(--gc-font); text-align: center;
}
.gc-cart-count[data-count="0"] { display: none; }

.gc-search { grid-area: search; display: flex; }
.gc-search input[type="search"] {
	flex: 1; min-width: 0; height: 46px; padding: 0 16px; font-size: 16px; /* 16px stops iOS zoom-on-focus */
	border: 2px solid var(--gc-primary); border-right: 0; border-radius: 999px 0 0 999px; background: #fff; -webkit-appearance: none; appearance: none;
}
.gc-search button {
	width: 54px; height: 46px; border: 0; cursor: pointer; background: var(--gc-primary); color: #fff;
	border-radius: 0 999px 999px 0; display: grid; place-items: center;
}

@media (min-width: 768px) {
	.gc-header__inner { grid-template-columns: auto minmax(280px, 640px) auto; grid-template-areas: "logo search cart"; justify-content: space-between; gap: 24px; padding-block: 12px; }
}

/* Category tabs: swipe sideways */
.gc-tabs { background: #fff; border-bottom: 1px solid var(--gc-line); }
.gc-tabs__list {
	display: flex; gap: 8px; list-style: none; overflow-x: auto; padding-block: 8px;
	scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.gc-tabs__list::-webkit-scrollbar { display: none; }
.gc-tabs__list li { flex: none; scroll-snap-align: start; }
.gc-tabs__list a {
	display: flex; align-items: center; min-height: 38px; padding: 0 16px; border-radius: 999px;
	background: #f1f3f5; font-size: 13.5px; font-weight: 600; white-space: nowrap;
}
.gc-tabs__list a.is-active, .gc-tabs__list a:active { background: var(--gc-primary); color: #fff; }

/* ==========================================================================
   4. HOME PAGE
   ========================================================================== */
/* Hero slider */
.gc-hero { position: relative; margin-bottom: 12px; }
.gc-hero__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain; border-radius: 12px;
}
.gc-hero__track::-webkit-scrollbar { display: none; }
.gc-hero__slide { flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 16 / 8; background: #ddd; display: block; }
.gc-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) { .gc-hero__slide { aspect-ratio: 1200 / 400; } }

.gc-hero__ph { display: flex; flex-direction: column; justify-content: center; gap: 6px; padding: 0 8%; color: #fff; }
.gc-hero__ph strong { font-size: clamp(20px, 5vw, 40px); line-height: 1.15; max-width: 14em; }
.gc-hero__ph span { font-size: clamp(13px, 2.4vw, 18px); opacity: .92; }
.gc-ph-1 { background: linear-gradient(120deg, #f26a1b, #ff9a4d); }
.gc-ph-2 { background: linear-gradient(120deg, #14213d, #2f4a86); }
.gc-ph-3 { background: linear-gradient(120deg, #0f8a4b, #38c27d); }

/* Dots (hero + product gallery) */
.gc-hero__dots, .gc-gallery__dots { position: absolute; left: 0; right: 0; bottom: 8px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.gc-dot { pointer-events: auto; width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.65); box-shadow: 0 0 0 1px rgba(0,0,0,.15); cursor: pointer; transition: width .2s; }
.gc-dot.is-active { width: 22px; border-radius: 4px; background: #fff; }

/* Trust strip */
.gc-trust { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 18px; }
.gc-trust li { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; padding: 10px 4px; background: #fff; border-radius: var(--gc-radius); font-size: 11.5px; font-weight: 600; color: var(--gc-green); }
@media (min-width: 640px) { .gc-trust li { flex-direction: row; justify-content: center; gap: 8px; font-size: 13.5px; } }

/* Sections */
.gc-section { margin-bottom: 26px; }
.gc-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.gc-section__title { font-size: 19px; margin: 0 0 10px; }
.gc-section__more { font-size: 13px; font-weight: 700; color: var(--gc-primary-dark); padding: 6px 0; }

/* Category icon grid */
.gc-cats { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px 8px; }
.gc-cats a { display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; font-size: 12px; font-weight: 600; }
.gc-cats__icon { width: 100%; max-width: 76px; aspect-ratio: 1; border-radius: 50%; background: #fff; border: 2px solid #ffe3d1; overflow: hidden; display: grid; place-items: center; }
.gc-cats__icon img { width: 100%; height: 100%; object-fit: cover; }
.gc-cats__icon b { font-size: 24px; color: var(--gc-primary); }
.gc-cats__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; line-height: 1.25; }
@media (min-width: 768px) { .gc-cats { grid-template-columns: repeat(8, 1fr); } .gc-cats__icon { max-width: 96px; } }

/* ==========================================================================
   5. PRODUCT GRID + CARD   (2 cols phones, 3 tablets, 4 desktop)
   ========================================================================== */
ul.products { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 0 20px; padding: 0; }
@media (min-width: 600px) { ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; } }
@media (min-width: 960px) { ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; } }

.gc-card { position: relative; display: flex; flex-direction: column; background: var(--gc-card); border-radius: var(--gc-radius); overflow: hidden; box-shadow: 0 1px 2px rgba(20,33,61,.08); }
.gc-card__media { position: relative; display: block; aspect-ratio: 1; background: #f3f4f6; }
.gc-card__media img { width: 100%; height: 100%; object-fit: cover; }
.gc-card__body { padding: 9px 9px 6px; flex: 1; }
.gc-card__title { font-size: 13.5px; font-weight: 600; margin: 0 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }

/* Sale ribbon "-30% OFF" */
.gc-ribbon, .onsale {
	position: absolute; top: 10px; left: 0; z-index: 2; padding: 3px 9px 3px 7px;
	background: var(--gc-sale); color: #fff; font-size: 11.5px; font-weight: 800; line-height: 1.4;
	border-radius: 0 6px 6px 0; box-shadow: 0 2px 4px rgba(225,29,72,.35);
}

/* Prices */
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; font-weight: 800; color: var(--gc-primary-dark); font-size: 15px; }
.price del { order: 2; color: #9ca3af; font-weight: 400; font-size: 12px; }
.price ins { order: 1; text-decoration: none; }

/* Add to cart in cards */
.gc-card .button { margin: 4px 9px 9px; width: calc(100% - 18px); min-height: 42px; font-size: 13.5px; padding: 0 8px; }
.gc-card .added_to_cart { display: none; }
.gc-card .button.loading { opacity: .6; pointer-events: none; }
.gc-card .button.added::after { content: " ✓"; }

/* ==========================================================================
   6. BUTTONS + FORMS (global)
   ========================================================================== */
.button, button.button, input[type="submit"], .wp-element-button {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px;
	border: 0; border-radius: 8px; background: var(--gc-primary); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; text-align: center;
}
.button:hover, button.button:hover { background: var(--gc-primary-dark); }
.button.disabled, .button:disabled { opacity: .5; cursor: not-allowed; }

input[type="text"], input[type="tel"], input[type="email"], input[type="number"], input[type="password"], input[type="search"], select, textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; font-size: 16px; background: #fff; border: 1.5px solid #d1d5db; border-radius: 8px;
}
input:focus, select:focus, textarea:focus { border-color: var(--gc-primary); outline: none; box-shadow: 0 0 0 3px rgba(242,106,27,.2); }
label { font-weight: 600; font-size: 14px; }
.required { color: var(--gc-sale); text-decoration: none; }

/* WhatsApp buttons */
.gc-btn-wa {
	display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 54px; margin-top: 10px;
	background: var(--gc-wa); color: #fff; font-weight: 800; font-size: 16px; border-radius: 8px;
}
.gc-btn-wa:hover { filter: brightness(.95); }
.gc-btn-wa--inline { width: auto; display: inline-flex; padding: 0 20px; min-height: 46px; font-size: 15px; }

/* Notices */
.woocommerce-message, .woocommerce-info, .woocommerce-error {
	list-style: none; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px;
	margin: 0 0 14px; padding: 12px 14px; background: #fff; border-left: 4px solid var(--gc-green); border-radius: 8px; font-size: 14px;
}
.woocommerce-info { border-color: #2563eb; }
.woocommerce-error { border-color: var(--gc-sale); }
.woocommerce-message .button { min-height: 38px; font-size: 13px; }

.woocommerce-breadcrumb { font-size: 12.5px; color: var(--gc-muted); margin: 4px 0 10px; }
.woocommerce-result-count, .woocommerce-ordering { font-size: 13px; margin-bottom: 10px; }
.woocommerce-ordering select { min-height: 40px; }
.woocommerce-products-header__title { font-size: 22px; }

.woocommerce-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-bottom: 20px; }
.page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 42px; height: 42px; padding: 0 10px; background: #fff; border-radius: 8px; font-weight: 600; }
.page-numbers.current { background: var(--gc-primary); color: #fff; }
.navigation.pagination .nav-links { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin: 16px 0; }

/* Blog cards + entries */
.gc-post-card { background: #fff; border-radius: var(--gc-radius); padding: 14px; margin-bottom: 12px; }
.gc-post-card h2 { font-size: 18px; }
.gc-entry { background: #fff; border-radius: var(--gc-radius); padding: 16px; }
.gc-entry__content > *:last-child { margin-bottom: 0; }

/* Star rating (pure CSS – no icon font) */
.star-rating { position: relative; display: inline-block; width: 5.6em; height: 1.1em; overflow: hidden; font-size: 14px; line-height: 1.1; letter-spacing: .05em; }
.star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: #d1d5db; }
.star-rating span { position: absolute; left: 0; top: 0; height: 100%; overflow: hidden; padding-top: 2em; }
.star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: #f59e0b; }

/* ==========================================================================
   7. SINGLE PRODUCT
   ========================================================================== */
.single-product div.product { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; }
@media (min-width: 768px) {
	.single-product div.product { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
	.single-product div.product > .woocommerce-tabs,
	.single-product div.product > .related,
	.single-product div.product > .up-sells { grid-column: 1 / -1; }
}

/* Swipe gallery (full-bleed on phones) */
.gc-gallery { position: relative; margin-inline: -12px; background: #fff; }
@media (min-width: 768px) { .gc-gallery { margin-inline: 0; border-radius: var(--gc-radius); overflow: hidden; } }
.gc-gallery__track {
	display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
	-webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
}
.gc-gallery__track::-webkit-scrollbar { display: none; }
.gc-gallery__slide { flex: 0 0 100%; scroll-snap-align: center; aspect-ratio: 1; }
.gc-gallery__slide img { width: 100%; height: 100%; object-fit: contain; }
.gc-gallery__dots { bottom: 10px; }
.gc-gallery .gc-dot { background: rgba(0,0,0,.25); box-shadow: none; }
.gc-gallery .gc-dot.is-active { background: var(--gc-primary); }
.gc-gallery .gc-ribbon { top: 14px; font-size: 13px; padding: 4px 12px 4px 9px; }

.summary .product_title { font-size: 22px; margin-bottom: 6px; }
.summary .price { font-size: 24px; margin-bottom: 8px; }
.summary .price del { font-size: 15px; }
.woocommerce-product-details__short-description { color: #374151; font-size: 14.5px; }

/* Trust badges */
.gc-badges { list-style: none; display: grid; gap: 8px; margin: 12px 0; }
.gc-badge { display: flex; align-items: center; gap: 10px; padding: 11px 12px; background: #fff; border: 1.5px dashed #bbf7d0; border-radius: var(--gc-radius); font-size: 13.5px; font-weight: 600; }
.gc-badge .gc-icon { color: var(--gc-green); }

/* Add to cart + WhatsApp: full-width and stacked on mobile */
.summary form.cart, .summary .woocommerce-variation-add-to-cart { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.summary .single_add_to_cart_button { width: 100%; min-height: 54px; font-size: 16px; font-weight: 800; }
.quantity { display: flex; }
.quantity input.qty { width: 90px; text-align: center; min-height: 46px; padding: 0 8px; }
.summary table.variations { width: 100%; border-collapse: collapse; margin-bottom: 10px; }
.summary table.variations th, .summary table.variations td { display: block; text-align: left; padding: 0 0 6px; }
.reset_variations { font-size: 12.5px; color: var(--gc-sale); }
.product_meta { margin-top: 14px; font-size: 13px; color: var(--gc-muted); display: grid; gap: 4px; }
.stock.out-of-stock { color: var(--gc-sale); font-weight: 700; }

.woocommerce-tabs { background: #fff; border-radius: var(--gc-radius); padding: 14px; }
.woocommerce-tabs ul.tabs { list-style: none; display: flex; gap: 6px; overflow-x: auto; margin-bottom: 12px; scrollbar-width: none; }
.woocommerce-tabs ul.tabs li a { display: block; padding: 8px 14px; border-radius: 999px; background: #f1f3f5; font-weight: 600; font-size: 13.5px; white-space: nowrap; }
.woocommerce-tabs ul.tabs li.active a { background: var(--gc-primary); color: #fff; }
.related > h2, .up-sells > h2 { font-size: 19px; }

/* ==========================================================================
   8. CART
   ========================================================================== */
table.shop_table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--gc-radius); overflow: hidden; }
table.shop_table th, table.shop_table td { padding: 10px 12px; border-bottom: 1px solid var(--gc-line); text-align: left; vertical-align: middle; }
.product-thumbnail img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; }
a.remove { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: #fee2e2; color: var(--gc-sale); font-weight: 800; }
td.actions { display: flex; flex-wrap: wrap; gap: 8px; }
td.actions .coupon { display: flex; gap: 8px; flex: 1 1 220px; }

@media (max-width: 767px) {
	table.shop_table_responsive thead { display: none; }
	table.shop_table_responsive tr { display: block; border-bottom: 6px solid var(--gc-bg); }
	table.shop_table_responsive td { display: flex; align-items: center; justify-content: space-between; gap: 10px; text-align: right; }
	table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; text-align: left; }
	table.shop_table_responsive td.product-remove::before,
	table.shop_table_responsive td.product-thumbnail::before,
	table.shop_table_responsive td.actions::before { display: none; }
}
.cart_totals { background: #fff; border-radius: var(--gc-radius); padding: 14px; margin-top: 16px; }
.cart_totals h2 { font-size: 18px; }
.wc-proceed-to-checkout .checkout-button { display: flex; width: 100%; min-height: 54px; background: var(--gc-green); font-size: 17px; font-weight: 800; }

/* ==========================================================================
   9. CHECKOUT  (4 fields, COD highlighted)
   ========================================================================== */
form.checkout { display: grid; gap: 16px; }
@media (min-width: 900px) { form.checkout { grid-template-columns: 1.1fr .9fr; align-items: start; } form.checkout #order_review_heading { display: none; } }
#customer_details, #order_review { background: #fff; border-radius: var(--gc-radius); padding: 14px; }
#customer_details h3, #order_review_heading { font-size: 18px; margin-bottom: 12px; }
.form-row { margin: 0 0 12px; }
.form-row label { display: block; margin-bottom: 5px; }
.woocommerce-invalid input { border-color: var(--gc-sale); }
.hidden, .form-row.hidden { display: none !important; }

.woocommerce-checkout-review-order-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 12px; }
.woocommerce-checkout-review-order-table th, .woocommerce-checkout-review-order-table td { padding: 8px 4px; border-bottom: 1px solid var(--gc-line); text-align: left; }
.woocommerce-checkout-review-order-table td:last-child, .woocommerce-checkout-review-order-table tfoot td { text-align: right; }
.woocommerce-checkout-review-order-table .order-total { font-weight: 800; font-size: 16px; }

.gc-cod-note { font-size: 13px; color: var(--gc-green); font-weight: 600; margin: 0 0 10px; }
#payment ul.payment_methods { list-style: none; display: grid; gap: 10px; margin-bottom: 14px; }
#payment .wc_payment_method { border: 2px solid var(--gc-line); border-radius: var(--gc-radius); padding: 12px; }
#payment .wc_payment_method label { display: inline; cursor: pointer; }
#payment .wc_payment_method input[type="radio"] { width: 18px; min-height: 0; height: 18px; margin-right: 8px; accent-color: var(--gc-green); vertical-align: -3px; }
#payment .payment_box { margin-top: 8px; font-size: 13.5px; color: var(--gc-muted); }
#payment .payment_box p { margin: 0; }

/* Cash on Delivery = the highlighted default */
#payment .payment_method_cod { border-color: var(--gc-green); background: #f0fdf4; box-shadow: 0 0 0 3px rgba(22,163,74,.12); }
#payment .payment_method_cod > label { font-weight: 800; }
#payment .payment_method_cod > label::after {
	content: "Recommended"; margin-left: 8px; padding: 2px 8px; border-radius: 999px; background: var(--gc-green); color: #fff; font-size: 11px; font-weight: 700; vertical-align: 1px;
}
#place_order { width: 100%; min-height: 56px; background: var(--gc-green); font-size: 17px; font-weight: 800; }
#place_order:hover { background: #128a3e; }
.woocommerce-privacy-policy-text { font-size: 12px; color: var(--gc-muted); margin-bottom: 10px; }

/* Thank-you + account */
.woocommerce-order-overview { list-style: none; display: grid; gap: 6px; background: #fff; border-radius: var(--gc-radius); padding: 14px; margin-bottom: 16px; }
.woocommerce-MyAccount-navigation ul { list-style: none; display: flex; gap: 6px; overflow-x: auto; margin-bottom: 14px; }
.woocommerce-MyAccount-navigation a { display: block; padding: 9px 14px; border-radius: 999px; background: #fff; font-weight: 600; white-space: nowrap; font-size: 13.5px; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--gc-primary); color: #fff; }

/* ==========================================================================
   10. FOOTER
   ========================================================================== */
.gc-footer { margin-top: 30px; background: var(--gc-dark); color: #cbd5e1; font-size: 14px; }
.gc-footer__grid { display: grid; gap: 22px; padding-block: 28px 20px; }
@media (min-width: 768px) { .gc-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; } }
.gc-footer p { margin: 0 0 8px; }
.gc-footer__brand { font-size: 22px; font-weight: 800; color: #fff; }
.gc-footer__title { font-size: 15px; color: #fff; margin-bottom: 10px; }
.gc-footer ul { list-style: none; display: grid; gap: 2px; }
.gc-footer ul a { display: block; padding: 7px 0; } /* 40px+ touch target */
.gc-footer ul a:hover { color: #fff; text-decoration: underline; }
.gc-footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding-block: 14px 18px; text-align: center; font-size: 13px; }
.gc-footer__bottom p { margin: 0 0 4px; }
.gc-credit { color: #fff; font-weight: 600; }

/* ==========================================================================
   11. FLOATING WIDGETS: WhatsApp (pulse + float) and mobile cart button
   ========================================================================== */
.gc-wa {
	position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 999;
	display: flex; align-items: center; justify-content: center; width: 60px; height: 60px; border-radius: 50%;
	background: var(--gc-wa); color: #fff; box-shadow: 0 6px 18px rgba(37,211,102,.45);
	animation: gc-float 3.2s ease-in-out infinite;
}
.gc-wa::before { /* expanding pulse ring */
	content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--gc-wa); z-index: -1;
	animation: gc-pulse 2.2s ease-out infinite;
}
.gc-wa__label { display: none; }
@media (min-width: 768px) {
	.gc-wa { width: auto; padding: 0 20px 0 16px; border-radius: 999px; gap: 8px; }
	.gc-wa__label { display: inline; order: 2; font-weight: 700; font-size: 14px; }
	.gc-wa::before { border-radius: 999px; }
}
@keyframes gc-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes gc-pulse { 0% { transform: scale(1); opacity: .55; } 80%, 100% { transform: scale(1.65); opacity: 0; } }

.gc-cart-fab {
	position: fixed; left: 16px; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 998;
	width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%;
	background: var(--gc-primary); color: #fff; box-shadow: 0 6px 16px rgba(242,106,27,.45);
}
.gc-cart-fab .gc-cart-count { background: #fff; color: var(--gc-primary-dark); }
@media (min-width: 768px) { .gc-cart-fab { display: none; } }
.woocommerce-cart .gc-cart-fab, .woocommerce-checkout .gc-cart-fab { display: none; }

/* "Added to cart" toast */
.gc-toast {
	position: fixed; left: 50%; bottom: calc(86px + env(safe-area-inset-bottom, 0px)); z-index: 1000;
	transform: translate(-50%, 20px); opacity: 0; pointer-events: none; padding: 10px 18px; border-radius: 999px;
	background: var(--gc-dark); color: #fff; font-size: 14px; font-weight: 600; transition: opacity .2s, transform .2s;
}
.gc-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* Respect users who disable motion */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
	.gc-announce { overflow-x: auto; }
}
