/**
 * GK Home Foods – WooCommerce single product page.
 *
 * Loaded only on single product pages, and every rule is scoped to
 * body.gk-product-page, so no other page (homepage included) is affected.
 * The site header and footer are not styled here.
 *
 * Built against GreenMart 4.3.6, Fresh (Elementor) skin markup.
 *
 * Contents
 *  1. Design tokens
 *  2. Page base
 *  3. Breadcrumb
 *  4. Gallery
 *  5. Summary: badge, title, rating, price, description
 *  6. Pack size selection
 *  7. Quantity
 *  8. Add to Cart / Buy Now / Wishlist
 *  9. Stock and notices
 * 10. Benefits strip
 * 11. Product information tabs
 * 12. Related products
 * 13. Responsive
 */

/* 1. Design tokens
   ------------------------------------------------------------------ */
body.gk-product-page {
	--gk-maroon: #800E20;
	--gk-maroon-dark: #650B19;
	--gk-mustard: #E9A817;
	--gk-cream: #FFF5E5;
	--gk-green: #47752E;
	--gk-text: #30221C;
	--gk-text-soft: #6B5A52;
	--gk-line: #E6D3B8;
	--gk-white: #FFFFFF;
	--gk-radius: 12px;
	--gk-radius-lg: 18px;
	--gk-shadow: 0 6px 24px rgba(48, 34, 28, 0.08);
	--gk-font-heading: "Lora", Georgia, "Times New Roman", serif;
	--gk-font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

/* The Fresh skin colours most accents from this variable. Re-pointing it
   inside the product content only gives hover and active states the brand
   maroon without touching the header or footer. */
body.gk-product-page #main-container,
body.gk-product-page .tbay-breadscrumb {
	--tb-theme-color: var(--gk-maroon);
	--tb-theme-color-hover: var(--gk-maroon-dark);
}

/* 2. Page base
   ------------------------------------------------------------------ */
body.gk-product-page #main-container {
	background-color: var(--gk-cream);
	color: var(--gk-text);
	font-family: var(--gk-font-body);
	padding-top: 8px;
	padding-bottom: 56px;
}

body.gk-product-page #main-container p,
body.gk-product-page #main-container li,
body.gk-product-page #main-container td,
body.gk-product-page #main-container th,
body.gk-product-page #main-container label,
body.gk-product-page #main-container input,
body.gk-product-page #main-container button,
body.gk-product-page #main-container textarea {
	font-family: var(--gk-font-body);
}

body.gk-product-page #main-container h1,
body.gk-product-page #main-container h2,
body.gk-product-page #main-container h3,
body.gk-product-page #main-container h4 {
	font-family: var(--gk-font-heading);
	color: var(--gk-maroon);
}

body.gk-product-page #main-container .gk-icon {
	flex: 0 0 auto;
	display: inline-block;
	vertical-align: middle;
}

/* 3. Breadcrumb
   ------------------------------------------------------------------ */
body.gk-product-page .tbay-breadscrumb {
	background-color: var(--gk-cream);
	font-family: var(--gk-font-body);
	margin-bottom: 0;
	padding: 18px 0 6px;
}

body.gk-product-page .tbay-breadscrumb .breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 2px 6px;
	background: transparent;
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 14px;
	line-height: 1.5;
}

body.gk-product-page .tbay-breadscrumb .breadcrumb,
body.gk-product-page .tbay-breadscrumb .breadcrumb li {
	color: var(--gk-text);
}

body.gk-product-page .tbay-breadscrumb .breadcrumb a {
	color: var(--gk-text-soft);
	text-decoration: none;
}

body.gk-product-page .tbay-breadscrumb .breadcrumb a:hover,
body.gk-product-page .tbay-breadscrumb .breadcrumb a:focus {
	color: var(--gk-maroon);
}

/* 4. Gallery
   ------------------------------------------------------------------ */
body.gk-product-page .singular-shop .image-mains .woocommerce-product-gallery {
	position: relative;
}

body.gk-product-page .singular-shop .image-mains .woocommerce-product-gallery__image img,
body.gk-product-page .singular-shop .image-mains .flex-viewport {
	border-radius: var(--gk-radius-lg);
}

body.gk-product-page .singular-shop .image-mains .flex-viewport {
	overflow: hidden;
	box-shadow: var(--gk-shadow);
	background-color: var(--gk-white);
}

body.gk-product-page .singular-shop .image-mains .flex-control-thumbs li img {
	border: 2px solid transparent !important;
	border-radius: var(--gk-radius);
	background-color: var(--gk-white);
	cursor: pointer;
}

body.gk-product-page .singular-shop .image-mains .flex-control-thumbs li img.flex-active,
body.gk-product-page .singular-shop .image-mains .flex-control-thumbs li img:hover {
	border-color: var(--gk-maroon) !important;
}

/* Zoom / lightbox trigger */
body.gk-product-page .singular-shop .image-mains .woocommerce-product-gallery__trigger {
	background-color: var(--gk-white);
	border-radius: 50%;
	box-shadow: var(--gk-shadow);
}

/* Sale / featured flash on the image */
body.gk-product-page .singular-shop .image-mains .onsale {
	background-color: var(--gk-mustard);
	color: var(--gk-text);
	border-radius: 999px;
	font-family: var(--gk-font-body);
	font-weight: 600;
}

/* 5. Summary: badge, title, rating, price, description
   ------------------------------------------------------------------ */
body.gk-product-page .singular-shop .information .entry-summary {
	padding-left: 12px;
}

body.gk-product-page .gk-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 12px;
	padding: 5px 14px;
	border-radius: 999px;
	background-color: rgba(233, 168, 23, 0.22);
	color: var(--gk-maroon);
	font-family: var(--gk-font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

body.gk-product-page a.gk-badge:hover,
body.gk-product-page a.gk-badge:focus {
	background-color: var(--gk-mustard);
	color: var(--gk-text);
}

body.gk-product-page .singular-shop .information .product_title {
	margin: 0 0 10px;
	font-family: var(--gk-font-heading);
	font-size: 40px;
	font-weight: 700;
	line-height: 1.2;
	color: var(--gk-maroon);
	overflow-wrap: anywhere;
}

body.gk-product-page .singular-shop .information .tbay-subtitle {
	margin-bottom: 8px;
	color: var(--gk-text-soft);
	font-size: 15px;
}

body.gk-product-page .singular-shop .information .woocommerce-product-rating {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 12px;
	margin: 0 0 14px;
	font-size: 14px;
	color: var(--gk-text-soft);
}

body.gk-product-page .singular-shop .information .woocommerce-product-rating .star-rating span::before,
body.gk-product-page #main-container .star-rating span::before {
	color: var(--gk-mustard);
}

body.gk-product-page .singular-shop .information .woocommerce-product-rating a.woocommerce-review-link {
	color: var(--gk-text-soft);
}

body.gk-product-page .singular-shop .information .woocommerce-product-rating a.woocommerce-review-link:hover {
	color: var(--gk-maroon);
}

body.gk-product-page.woocommerce .singular-shop div.product .entry-summary p.price,
body.gk-product-page.woocommerce .singular-shop div.product .entry-summary span.price {
	margin: 0 0 14px;
	font-family: var(--gk-font-heading);
	font-size: 30px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--gk-maroon);
}

body.gk-product-page.woocommerce .singular-shop div.product .entry-summary p.price ins,
body.gk-product-page.woocommerce .singular-shop div.product .entry-summary span.price ins {
	font-size: inherit;
	font-weight: inherit;
	color: inherit;
	text-decoration: none;
}

body.gk-product-page.woocommerce .singular-shop div.product .entry-summary p.price del,
body.gk-product-page.woocommerce .singular-shop div.product .entry-summary span.price del {
	font-size: 0.65em;
	font-weight: 500;
	color: var(--gk-text-soft);
}

body.gk-product-page .singular-shop .woocommerce-product-details__short-description {
	margin: 0 0 22px;
	font-size: 15px;
	line-height: 1.65;
	color: var(--gk-text);
}

body.gk-product-page .singular-shop .woocommerce-product-details__short-description p {
	margin: 0 0 8px;
	padding: 0;
}

/* 6. Pack size selection
   ------------------------------------------------------------------ */
body.gk-product-page .singular-shop .information form.cart table.variations,
body.gk-product-page .singular-shop .information form.cart table.variations tbody,
body.gk-product-page .singular-shop .information form.cart table.variations tr,
body.gk-product-page .singular-shop .information form.cart table.variations th,
body.gk-product-page .singular-shop .information form.cart table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

body.gk-product-page .singular-shop .information form.cart table.variations {
	margin: 0 0 18px;
}

body.gk-product-page .singular-shop .information form.cart table.variations tr + tr {
	margin-top: 16px;
}

body.gk-product-page .singular-shop .information form.cart table.variations .label,
body.gk-product-page .singular-shop .information form.cart table.variations .label label {
	margin: 0 0 10px;
	font-family: var(--gk-font-heading);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--gk-text);
}

body.gk-product-page .singular-shop .information form.cart table.variations .label label {
	margin: 0;
}

/* The real WooCommerce <select> stays in the form; it is only hidden from view. */
body.gk-product-page .singular-shop .information form.cart select.gk-select-replaced {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	margin: -1px !important;
	padding: 0 !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

body.gk-product-page .singular-shop .information form.cart table.variations td.value {
	position: relative;
}

/* Button group: plugin swatches and the built-in fallback share one look. */
body.gk-product-page .singular-shop .information form.cart ul.gk-pack-options,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(104px, 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.gk-product-page .singular-shop .information form.cart ul.gk-pack-options > li {
	margin: 0;
	padding: 0;
	list-style: none;
}

/* Never show two button groups for one attribute. */
body.gk-product-page .singular-shop .information form.cart td.value:has(.variable-items-wrapper) .gk-pack-options {
	display: none;
}

body.gk-product-page .singular-shop .information form.cart .gk-pack-option,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 2px;
	width: 100%;
	height: auto;
	min-height: 60px;
	margin: 0;
	padding: 9px 10px;
	border: 1.5px solid var(--gk-line);
	border-radius: var(--gk-radius);
	background-color: var(--gk-cream);
	box-shadow: none;
	color: var(--gk-text);
	font-family: var(--gk-font-body);
	line-height: 1.3;
	text-align: center;
	cursor: pointer;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item .variable-item-contents {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	width: 100%;
}

body.gk-product-page .singular-shop .information form.cart .gk-pack-option__name,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item .variable-item-span {
	font-family: var(--gk-font-heading);
	font-size: 16px;
	font-weight: 600;
	color: var(--gk-text);
}

body.gk-product-page .singular-shop .information form.cart .gk-pack-price,
body.gk-product-page .singular-shop .information form.cart .gk-pack-price .amount,
body.gk-product-page .singular-shop .information form.cart .gk-pack-price ins,
body.gk-product-page .singular-shop .information form.cart .gk-pack-price del {
	font-family: var(--gk-font-body);
	font-size: 13px;
	font-weight: 500;
	color: var(--gk-maroon);
	text-decoration: none;
}

/* WooCommerce may wrap a variation price in its own .price element: keep it
   from picking up the large main-price styling inside a button. */
body.gk-product-page.woocommerce .singular-shop div.product .entry-summary form.cart .gk-pack-price .price {
	display: inline;
	width: auto;
	margin: 0;
	font: inherit;
	color: inherit;
	line-height: inherit;
}

body.gk-product-page .singular-shop .information form.cart .gk-pack-price del,
body.gk-product-page .singular-shop .information form.cart .gk-pack-price del .amount {
	color: var(--gk-text-soft);
	text-decoration: line-through;
	margin-right: 4px;
}

body.gk-product-page .singular-shop .information form.cart .gk-pack-option:hover,
body.gk-product-page .singular-shop .information form.cart .gk-pack-option:focus-visible,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item:hover,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item:focus {
	border-color: var(--gk-mustard);
	outline: 0;
	box-shadow: 0 0 0 3px rgba(233, 168, 23, 0.25);
}

/* Selected state */
body.gk-product-page .singular-shop .information form.cart .gk-pack-option.is-selected,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item.selected {
	border-color: var(--gk-maroon);
	background-color: var(--gk-white);
	box-shadow: 0 0 0 1px var(--gk-maroon);
}

body.gk-product-page .singular-shop .information form.cart .gk-pack-option.is-selected::after,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item.selected::after {
	content: "";
	position: absolute;
	top: -8px;
	right: -8px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background-color: var(--gk-maroon);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFF5E5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: center;
	background-size: 12px 12px;
}

/* Unavailable for the current selection / out of stock */
body.gk-product-page .singular-shop .information form.cart .gk-pack-option.is-unavailable,
body.gk-product-page .singular-shop .information form.cart .gk-pack-option:disabled,
body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item.disabled {
	opacity: 0.45;
	cursor: not-allowed;
	box-shadow: none;
}

body.gk-product-page .singular-shop .information form.cart a.reset_variations {
	display: inline-block;
	margin-top: 10px;
	font-size: 13px;
	color: var(--gk-text-soft);
	text-decoration: underline;
}

body.gk-product-page .singular-shop .information form.cart a.reset_variations:hover {
	color: var(--gk-maroon);
}

/* Selected variation details (price when it differs, stock, description) */
body.gk-product-page .singular-shop .information form.cart .single_variation {
	margin: 0 0 14px;
}

body.gk-product-page .singular-shop .information form.cart .single_variation:empty {
	margin: 0;
}

/* The main price line already shows this price once a pack size is chosen. */
body.gk-product-page .singular-shop .information form.cart.gk-price-synced .woocommerce-variation-price {
	display: none;
}

body.gk-product-page .singular-shop .information form.cart .woocommerce-variation-description {
	font-size: 14px;
	color: var(--gk-text-soft);
}

/* 7. Quantity
   ------------------------------------------------------------------ */
body.gk-product-page .singular-shop div.product .information form.cart:not(.variations_form):not(.grouped_form),
body.gk-product-page .singular-shop div.product .information form.cart .woocommerce-variation-add-to-cart {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 12px;
	margin: 0;
}

body.gk-product-page .singular-shop div.product .information form.cart .gk-qty-label {
	flex: 0 0 auto;
	min-width: 84px;
	font-family: var(--gk-font-heading);
	font-size: 17px;
	font-weight: 600;
	color: var(--gk-text);
}

/* Label + selector fill the first row; buttons wrap to the next. */
body.gk-product-page .singular-shop div.product .information form.cart .gk-qty-label + .box-quantity {
	flex: 1 1 calc(100% - 110px);
}

body.gk-product-page .singular-shop div.product .information form.cart .box-quantity {
	display: flex;
	float: none;
	margin: 0;
}

body.gk-product-page .singular-shop div.product .information form.cart .box-quantity.hidden {
	display: none;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity {
	display: inline-flex;
	align-items: stretch;
	float: none;
	width: auto;
	margin: 0;
	border: 1.5px solid var(--gk-line);
	border-radius: var(--gk-radius);
	background-color: var(--gk-white);
	overflow: hidden;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity button.minus,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity button.plus {
	float: none;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--gk-text);
	font-size: 14px;
	line-height: 44px;
	cursor: pointer;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity button.minus:hover,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity button.plus:hover,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity button.minus:focus-visible,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity button.plus:focus-visible {
	background-color: var(--gk-cream);
	color: var(--gk-maroon);
	outline: 0;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity input.qty {
	float: none;
	width: 52px;
	height: 44px;
	margin: 0;
	padding: 0 4px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--gk-text);
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity input.qty::-webkit-outer-spin-button,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* 8. Add to Cart / Buy Now / Wishlist
   ------------------------------------------------------------------ */
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	float: none;
	flex: 1 1 200px;
	width: auto;
	min-width: 0;
	min-height: 52px;
	margin: 0 !important;
	padding: 12px 24px;
	border: 1.5px solid var(--gk-maroon) !important;
	border-radius: var(--gk-radius);
	box-shadow: none;
	font-family: var(--gk-font-heading);
	font-size: 17px;
	font-weight: 600;
	line-height: 1.3;
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	cursor: pointer;
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

/* Primary */
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button {
	flex-grow: 1.2;
	background-color: var(--gk-maroon) !important;
	color: var(--gk-cream) !important;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button:hover,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button:focus-visible {
	background-color: var(--gk-maroon-dark) !important;
	border-color: var(--gk-maroon-dark) !important;
	color: var(--gk-cream) !important;
}

/* Secondary */
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now {
	background-color: transparent !important;
	color: var(--gk-maroon) !important;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now:hover,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now:focus-visible {
	background-color: var(--gk-maroon) !important;
	color: var(--gk-cream) !important;
}

/* Not purchasable yet (no pack size chosen, or out of stock) */
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button.disabled,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button:disabled,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now.disabled {
	opacity: 0.5;
	cursor: not-allowed;
}

/* Wishlist (YITH), when installed */
body.gk-product-page .singular-shop div.product .information form.cart .yith-wcwl-add-to-wishlist,
body.gk-product-page .singular-shop div.product .information form.cart .yith-add-to-wishlist-button-block {
	flex: 0 0 auto;
	margin: 0;
}

body.gk-product-page .singular-shop div.product .information .yith-wcwl-add-to-wishlist a,
body.gk-product-page .singular-shop div.product .information .yith-wcwl-add-to-wishlist-button {
	color: var(--gk-maroon);
}

/* Product meta (SKU, categories, tags) */
body.gk-product-page .singular-shop .information .product_meta {
	margin-top: 22px;
	padding-top: 16px;
	border-top: 1px solid var(--gk-line);
	font-size: 14px;
	color: var(--gk-text-soft);
}

body.gk-product-page .singular-shop .information .product_meta a {
	color: var(--gk-text);
}

body.gk-product-page .singular-shop .information .product_meta a:hover {
	color: var(--gk-maroon);
}

/* 9. Stock and notices
   ------------------------------------------------------------------ */
body.gk-product-page .singular-shop .information .stock {
	margin: 0 0 12px;
	font-size: 14px;
	font-weight: 600;
}

body.gk-product-page .singular-shop .information .stock.in-stock {
	color: var(--gk-green);
}

body.gk-product-page .singular-shop .information .stock.out-of-stock {
	color: var(--gk-maroon);
}

/* 10. Benefits strip
   ------------------------------------------------------------------ */
body.gk-product-page .gk-benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 16px 24px;
	clear: both;
	margin: 40px 0 32px;
	padding: 22px 24px;
	list-style: none;
	border-top: 1px solid var(--gk-line);
	border-bottom: 1px solid var(--gk-line);
}

body.gk-product-page .gk-benefits__item {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--gk-text);
	font-family: var(--gk-font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
}

body.gk-product-page .gk-benefits__item .gk-icon {
	color: var(--gk-green);
}

body.gk-product-page .gk-benefits__item:nth-child(even) .gk-icon {
	color: var(--gk-maroon);
}

/* 11. Product information tabs
   ------------------------------------------------------------------ */
body.gk-product-page .singular-shop .woocommerce-tabs {
	clear: both;
	margin: 0 0 40px;
	padding: 24px 28px 28px;
	border: 1px solid var(--gk-line);
	border-radius: var(--gk-radius-lg);
	background-color: rgba(255, 255, 255, 0.55);
	box-shadow: var(--gk-shadow);
}

body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs {
	display: flex;
	flex-wrap: nowrap;
	gap: 6px;
	margin: 0 0 22px;
	padding: 0;
	border: 0;
	border-bottom: 1px solid var(--gk-line);
	list-style: none;
	white-space: nowrap;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs::before,
body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs::after {
	display: none;
}

body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li {
	flex: 0 0 auto;
	display: block;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
}

body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li::before,
body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li::after {
	display: none;
}

body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li > a {
	display: block;
	padding: 11px 22px;
	border: 0;
	border-radius: 10px 10px 0 0;
	background: transparent;
	color: var(--gk-text);
	font-family: var(--gk-font-heading);
	font-size: 16px;
	font-weight: 600;
	line-height: 1.3;
	text-decoration: none;
}

body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li > a:hover,
body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li > a:focus-visible {
	color: var(--gk-maroon);
	background-color: rgba(233, 168, 23, 0.16);
	outline: 0;
}

body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li.active > a,
body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li > a.active {
	background-color: var(--gk-maroon);
	color: var(--gk-cream);
}

body.gk-product-page .singular-shop .woocommerce-tabs .woocommerce-Tabs-panel,
body.gk-product-page .singular-shop .woocommerce-tabs .tab-full {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 15px;
	line-height: 1.7;
	color: var(--gk-text);
}

body.gk-product-page .singular-shop .woocommerce-tabs .woocommerce-Tabs-panel > h2,
body.gk-product-page .singular-shop .woocommerce-tabs .gk-tab-heading {
	margin: 0 0 10px;
	font-family: var(--gk-font-heading);
	font-size: 24px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gk-maroon);
}

body.gk-product-page .singular-shop .woocommerce-tabs .gk-tab-content p:last-child {
	margin-bottom: 0;
}

/* Reviews */
body.gk-product-page .singular-shop #reviews .comment-text,
body.gk-product-page .singular-shop #reviews #comments ol.commentlist li {
	border-color: var(--gk-line);
}

body.gk-product-page .singular-shop #review_form .comment-form input[type="text"],
body.gk-product-page .singular-shop #review_form .comment-form input[type="email"],
body.gk-product-page .singular-shop #review_form .comment-form textarea {
	border: 1.5px solid var(--gk-line);
	border-radius: var(--gk-radius);
	background-color: var(--gk-white);
	color: var(--gk-text);
}

body.gk-product-page .singular-shop #review_form .comment-form input[type="submit"] {
	min-height: 46px;
	padding: 10px 26px;
	border: 0;
	border-radius: var(--gk-radius);
	background-color: var(--gk-maroon);
	color: var(--gk-cream);
	font-family: var(--gk-font-heading);
	font-size: 16px;
	font-weight: 600;
}

body.gk-product-page .singular-shop #review_form .comment-form input[type="submit"]:hover {
	background-color: var(--gk-maroon-dark);
}

/* 12. Related products ("You May Also Like") and up-sells
   ------------------------------------------------------------------ */
body.gk-product-page .singular-shop .widget.related.products,
body.gk-product-page .singular-shop .widget.upsells {
	clear: both;
	padding: 8px 0 0;
}

body.gk-product-page .singular-shop .widget.related.products > h3.widget-title,
body.gk-product-page .singular-shop .widget.upsells > h3.widget-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	margin: 0 0 28px;
	padding: 0;
	border: 0;
	font-family: var(--gk-font-heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 1.25;
	color: var(--gk-maroon);
	text-align: center;
}

body.gk-product-page .singular-shop .widget.related.products > h3.widget-title::before,
body.gk-product-page .singular-shop .widget.related.products > h3.widget-title::after,
body.gk-product-page .singular-shop .widget.upsells > h3.widget-title::before,
body.gk-product-page .singular-shop .widget.upsells > h3.widget-title::after {
	content: "";
	position: static;
	flex: 0 1 64px;
	width: auto;
	height: 1px;
	background-color: var(--gk-mustard);
}

body.gk-product-page .singular-shop .widget.related.products > h3.widget-title span,
body.gk-product-page .singular-shop .widget.upsells > h3.widget-title span {
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

/* Product card */
body.gk-product-page .singular-shop .widget.related.products .product-block,
body.gk-product-page .singular-shop .widget.upsells .product-block {
	height: 100%;
	margin: 0 8px 8px;
	padding: 0 0 16px;
	border: 1px solid var(--gk-line);
	border-radius: var(--gk-radius-lg);
	background-color: var(--gk-white);
	box-shadow: none;
	overflow: hidden;
	text-align: center;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

body.gk-product-page .singular-shop .widget.related.products .product-block:hover,
body.gk-product-page .singular-shop .widget.upsells .product-block:hover {
	box-shadow: var(--gk-shadow);
	transform: translateY(-2px);
}

body.gk-product-page .singular-shop .widget.related.products .product-block .image img,
body.gk-product-page .singular-shop .widget.upsells .product-block .image img {
	width: 100%;
	border-radius: 0;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .caption,
body.gk-product-page .singular-shop .widget.upsells .product-block .caption {
	padding: 14px 14px 0;
	text-align: center;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .name,
body.gk-product-page .singular-shop .widget.related.products .product-block .name a,
body.gk-product-page .singular-shop .widget.upsells .product-block .name,
body.gk-product-page .singular-shop .widget.upsells .product-block .name a {
	margin: 0;
	font-family: var(--gk-font-heading);
	font-size: 18px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--gk-text);
	text-decoration: none;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .name a:hover,
body.gk-product-page .singular-shop .widget.upsells .product-block .name a:hover {
	color: var(--gk-maroon);
}

body.gk-product-page .singular-shop .widget.related.products .product-block.grid .price,
body.gk-product-page .singular-shop .widget.upsells .product-block.grid .price {
	display: block;
	margin: 6px 0 12px;
	font-family: var(--gk-font-body);
	font-size: 15px;
	font-weight: 700;
	color: var(--gk-maroon);
	text-align: center;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .price .amount,
body.gk-product-page .singular-shop .widget.upsells .product-block .price .amount {
	color: inherit;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .groups-button,
body.gk-product-page .singular-shop .widget.upsells .product-block .groups-button {
	display: flex;
	justify-content: center;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .groups-button > div.add-cart,
body.gk-product-page .singular-shop .widget.upsells .product-block .groups-button > div.add-cart {
	float: none;
	border-radius: 999px;
	background-color: var(--gk-maroon);
	overflow: hidden;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .groups-button > div.add-cart > a,
body.gk-product-page .singular-shop .widget.upsells .product-block .groups-button > div.add-cart > a {
	display: block;
	padding: 0 20px;
	border-radius: 999px;
	background-color: var(--gk-maroon);
	color: var(--gk-cream);
	font-family: var(--gk-font-heading);
	font-size: 14px;
	font-weight: 600;
	line-height: 40px;
	text-decoration: none;
}

body.gk-product-page .singular-shop .widget.related.products .product-block .groups-button > div.add-cart:hover,
body.gk-product-page .singular-shop .widget.related.products .product-block .groups-button > div.add-cart > a:hover,
body.gk-product-page .singular-shop .widget.upsells .product-block .groups-button > div.add-cart:hover,
body.gk-product-page .singular-shop .widget.upsells .product-block .groups-button > div.add-cart > a:hover {
	background-color: var(--gk-maroon-dark);
	color: var(--gk-cream);
}

/* 13. Responsive
   ------------------------------------------------------------------ */

/* Small desktop / large tablet */
@media (max-width: 1279.98px) {
	body.gk-product-page .singular-shop .information .product_title {
		font-size: 34px;
	}

	body.gk-product-page .gk-benefits {
		gap: 16px;
		padding: 20px 12px;
	}

	body.gk-product-page .gk-benefits__item {
		font-size: 14px;
	}
}

/* Tablet */
@media (max-width: 1024.98px) {
	body.gk-product-page .singular-shop .information .product_title {
		font-size: 30px;
	}

	body.gk-product-page.woocommerce .singular-shop div.product .entry-summary p.price,
	body.gk-product-page.woocommerce .singular-shop div.product .entry-summary span.price {
		font-size: 26px;
	}

	body.gk-product-page .gk-benefits {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.gk-product-page .gk-benefits__item {
		justify-content: flex-start;
	}

	body.gk-product-page .singular-shop .widget.related.products > h3.widget-title,
	body.gk-product-page .singular-shop .widget.upsells > h3.widget-title {
		font-size: 28px;
	}
}

/* Stacked layout: gallery first, details below */
@media (max-width: 767.98px) {
	body.gk-product-page #main-container {
		padding-bottom: 40px;
	}

	body.gk-product-page .singular-shop .information .entry-summary {
		padding-left: 0;
		margin-top: 22px;
	}

	body.gk-product-page .singular-shop .information .product_title {
		font-size: 28px;
	}

	body.gk-product-page .singular-shop .woocommerce-tabs {
		padding: 18px 16px 20px;
	}

	body.gk-product-page .singular-shop .woocommerce-tabs ul.tabs.wc-tabs > li > a {
		padding: 10px 16px;
		font-size: 15px;
	}

	body.gk-product-page .gk-benefits {
		margin: 28px 0 24px;
	}
}

/* Phones */
@media (max-width: 575.98px) {
	body.gk-product-page .singular-shop .information form.cart ul.gk-pack-options,
	body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	body.gk-product-page .singular-shop .information form.cart .gk-pack-option,
	body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item {
		min-height: 56px;
		padding: 8px 4px;
	}

	body.gk-product-page .singular-shop .information form.cart .gk-pack-option__name,
	body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper > li.variable-item .variable-item-span {
		font-size: 15px;
	}

	body.gk-product-page .singular-shop .information form.cart .gk-pack-price,
	body.gk-product-page .singular-shop .information form.cart .gk-pack-price .amount {
		font-size: 12px;
	}

	/* Full-width purchase buttons */
	body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button,
	body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now {
		flex: 1 1 100%;
		width: 100%;
	}

	body.gk-product-page .singular-shop .widget.related.products > h3.widget-title,
	body.gk-product-page .singular-shop .widget.upsells > h3.widget-title {
		gap: 10px;
		font-size: 24px;
	}

	body.gk-product-page .singular-shop .widget.related.products .product-block .name,
	body.gk-product-page .singular-shop .widget.related.products .product-block .name a,
	body.gk-product-page .singular-shop .widget.upsells .product-block .name,
	body.gk-product-page .singular-shop .widget.upsells .product-block .name a {
		font-size: 16px;
	}

	body.gk-product-page .singular-shop .widget.related.products .product-block .groups-button > div.add-cart > a,
	body.gk-product-page .singular-shop .widget.upsells .product-block .groups-button > div.add-cart > a {
		padding: 0 14px;
		font-size: 13px;
	}
}

/* Very small phones (320px) */
@media (max-width: 359.98px) {
	body.gk-product-page .singular-shop .information .product_title {
		font-size: 24px;
	}

	body.gk-product-page .gk-benefits {
		grid-template-columns: 1fr;
		padding: 16px 8px;
	}

	body.gk-product-page .singular-shop div.product .information form.cart .gk-qty-label {
		min-width: 0;
	}

	body.gk-product-page .singular-shop div.product .information form.cart .gk-qty-label + .box-quantity {
		flex: 1 1 auto;
	}
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
	body.gk-product-page #main-container * {
		transition: none !important;
	}
}


/* --------------------------------------------------------------------------
   GK Home Foods – full-width product layout refinements
   Appended overrides: preserve the existing PHP/WooCommerce functionality.
   -------------------------------------------------------------------------- */

/* Let the product page use the full viewport width rather than the theme's
   narrow boxed content container. Header and footer remain untouched. */
body.gk-product-page #main-container,
body.gk-product-page #main-container > .container,
body.gk-product-page #main-container .container,
body.gk-product-page #main-container .row {
	max-width: none;
}

body.gk-product-page #main-container > .container,
body.gk-product-page #main-container .container {
	width: 100%;
	padding-left: clamp(18px, 3.2vw, 56px);
	padding-right: clamp(18px, 3.2vw, 56px);
}

/* Main product row: full-width up to 1320px, centered on larger screens. */
body.gk-product-page #main-container .singular-shop > .row,
body.gk-product-page #main-container .singular-shop .product {
	width: 100%;
	max-width: 1320px;
	margin-left: auto;
	margin-right: auto;
}

body.gk-product-page #main-container .singular-shop > .row {
	padding-left: 0;
	padding-right: 0;
}

/* Keep the gallery and summary balanced across the available desktop width. */
@media (min-width: 992px) {
	body.gk-product-page .singular-shop .image-mains {
		width: 50%;
		padding-left: 0;
		padding-right: clamp(18px, 2.4vw, 40px);
	}

	body.gk-product-page .singular-shop .information {
		width: 50%;
		padding-left: clamp(18px, 2.4vw, 40px);
		padding-right: 0;
	}

	body.gk-product-page .singular-shop .information .entry-summary {
		padding-left: 0;
	}
}

/* More intentional breathing room and image sizing on wide displays. */
@media (min-width: 1200px) {
	body.gk-product-page .singular-shop .image-mains .woocommerce-product-gallery {
		width: 100%;
	}

	body.gk-product-page .singular-shop .image-mains .woocommerce-product-gallery__wrapper,
	body.gk-product-page .singular-shop .image-mains .woocommerce-product-gallery__image {
		width: 100%;
	}

	body.gk-product-page .singular-shop .image-mains .woocommerce-product-gallery__image img {
		width: 100%;
		height: auto;
		object-fit: contain;
	}
}

/* The selected pack sizes should form three equal cards on desktop. */
@media (min-width: 576px) {
	body.gk-product-page .singular-shop .information form.cart ul.gk-pack-options,
	body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 560px;
	}
}

/* Make the purchase actions align as a deliberate pair, with enough height. */
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now {
	min-height: 56px;
	font-size: 17px;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button {
	background-color: var(--gk-maroon) !important;
	color: var(--gk-mustard) !important;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button:hover,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .single_add_to_cart_button:focus-visible {
	background-color: var(--gk-maroon-dark) !important;
	color: var(--gk-mustard) !important;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now {
	background-color: transparent !important;
	color: var(--gk-maroon) !important;
}

body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now:hover,
body.gk-product-page.woocommerce .singular-shop div.product .information form.cart .tbay-buy-now:focus-visible {
	background-color: var(--gk-maroon) !important;
	color: var(--gk-mustard) !important;
}

/* Benefits, information tabs and related products span the full content width. */
body.gk-product-page #main-container .gk-benefits,
body.gk-product-page #main-container .woocommerce-tabs,
body.gk-product-page #main-container .widget.related.products,
body.gk-product-page #main-container .widget.upsells {
	width: 100%;
	max-width: none;
	clear: both;
}

/* Warm cream card surface for related products, matching the approved design. */
body.gk-product-page .singular-shop .widget.related.products .product-block,
body.gk-product-page .singular-shop .widget.upsells .product-block {
	background-color: #FAF0DE;
}

/* Avoid excessive empty margins on very wide screens. */
@media (min-width: 1600px) {
	body.gk-product-page #main-container > .container,
	body.gk-product-page #main-container .container {
		padding-left: clamp(56px, 4vw, 88px);
		padding-right: clamp(56px, 4vw, 88px);
	}
}

/* Mobile layout: restore the theme's natural stacked flow and prevent
   horizontal overflow from the full-width desktop adjustments. */
@media (max-width: 991.98px) {
	body.gk-product-page #main-container > .container,
	body.gk-product-page #main-container .container {
		padding-left: 18px;
		padding-right: 18px;
	}

	body.gk-product-page #main-container .row {
		margin-left: -10px;
		margin-right: -10px;
	}

	body.gk-product-page .singular-shop .image-mains,
	body.gk-product-page .singular-shop .information {
		width: 100%;
		padding-left: 10px;
		padding-right: 10px;
	}
}


/* ==========================================================================
   GK Home Foods – responsive product page + Elementor related product cards
   ========================================================================== */

/* Related products: render the three cards horizontally on desktop. */
body.gk-product-page .gk-elementor-related {
	width: 100%;
	max-width: 1320px;
	margin: clamp(36px, 5vw, 64px) auto 0;
	padding: 0;
	clear: both;
}

body.gk-product-page .gk-elementor-related .gk-related-heading {
	margin: 0 0 26px;
	color: var(--gk-maroon, #800E20);
	font-family: var(--gk-heading-font, "Lora", serif);
	font-size: clamp(24px, 2.2vw, 34px);
	line-height: 1.2;
}

body.gk-product-page .gk-elementor-related__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 2vw, 28px);
	align-items: stretch;
	width: 100%;
}

body.gk-product-page .gk-elementor-related__item {
	width: 100%;
	min-width: 0;
	max-width: none;
	margin: 0;
}

body.gk-product-page .gk-elementor-related__item > *,
body.gk-product-page .gk-elementor-related__item .elementor,
body.gk-product-page .gk-elementor-related__item .elementor-section,
body.gk-product-page .gk-elementor-related__item .e-con,
body.gk-product-page .gk-elementor-related__item .elementor-widget,
body.gk-product-page .gk-elementor-related__item .elementor-widget-container {
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

body.gk-product-page .gk-elementor-related__item img {
	max-width: 100%;
	height: auto;
}

/* Product information and gallery: two balanced columns on desktop. */
@media (min-width: 992px) {
	body.gk-product-page .singular-shop > .row,
	body.gk-product-page .singular-shop .product {
		display: flex;
		flex-wrap: wrap;
		align-items: flex-start;
	}

	body.gk-product-page .singular-shop .image-mains,
	body.gk-product-page .singular-shop .information {
		min-width: 0;
	}
}

/* Tablet: two related cards per row and comfortable product columns. */
@media (min-width: 600px) and (max-width: 991.98px) {
	body.gk-product-page .gk-elementor-related__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	body.gk-product-page .singular-shop .image-mains,
	body.gk-product-page .singular-shop .information {
		width: 100%;
	}
}

/* Small mobile: stack the main product content and related cards cleanly. */
@media (max-width: 599.98px) {
	body.gk-product-page #main-container > .container,
	body.gk-product-page #main-container .container {
		padding-left: 14px;
		padding-right: 14px;
	}

	body.gk-product-page .singular-shop > .row,
	body.gk-product-page .singular-shop .product {
		display: block;
		margin-left: 0;
		margin-right: 0;
	}

	body.gk-product-page .singular-shop .image-mains,
	body.gk-product-page .singular-shop .information {
		float: none;
		width: 100%;
		max-width: 100%;
		padding-left: 0;
		padding-right: 0;
	}

	body.gk-product-page .singular-shop .information .entry-summary {
		padding-left: 0;
		padding-right: 0;
	}

	body.gk-product-page .gk-elementor-related {
		margin-top: 34px;
	}

	body.gk-product-page .gk-elementor-related__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 16px;
	}

	body.gk-product-page .gk-elementor-related__item {
		width: 100%;
	}

	body.gk-product-page .gk-benefits {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 14px 10px;
	}

	body.gk-product-page .woocommerce-tabs ul.tabs {
		display: flex;
		flex-wrap: wrap;
		gap: 8px;
	}

	body.gk-product-page .woocommerce-tabs ul.tabs li {
		margin: 0;
	}

	body.gk-product-page .singular-shop .information form.cart ul.gk-pack-options,
	body.gk-product-page .singular-shop .information form.cart ul.variable-items-wrapper {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	body.gk-product-page .singular-shop .information form.cart .single_add_to_cart_button,
	body.gk-product-page .singular-shop .information form.cart .tbay-buy-now {
		width: 100%;
	}
}

/* Prevent long names, prices, or Elementor widgets from forcing overflow. */
body.gk-product-page .gk-elementor-related *,
body.gk-product-page .singular-shop,
body.gk-product-page .woocommerce-tabs {
	box-sizing: border-box;
}

body.gk-product-page .gk-elementor-related__item,
body.gk-product-page .gk-elementor-related__item * {
	overflow-wrap: anywhere;
}
