/* GiftBag Astra Child — app-inspired storefront */

:root {
	--gb-primary: #57004f;
	--gb-primary-dark: #3d0038;
	--gb-secondary: #a83092;
	--gb-accent: #cd8461;
	--gb-cream: #fcddbe;
	--gb-cream-soft: #fff6ec;
	--gb-ink: #2b1528;
	--gb-muted: #6e596b;
	--gb-line: #ead7c8;
	--gb-white: #ffffff;
	--gb-danger: #b42318;
	--gb-radius: 16px;
	--gb-radius-sm: 10px;
	--gb-radius-pill: 999px;
	--gb-shadow: 0 8px 24px rgba(87, 0, 79, 0.08);
	--gb-shadow-hover: 0 12px 28px rgba(87, 0, 79, 0.14);
	--gb-font: "Poppins", "Inter", system-ui, -apple-system, sans-serif;
	--gb-header-h: 64px;
	--gb-tabbar-h: 68px;
	--gb-space: 20px;
	--gb-max: 1180px;
	--gb-container: 1180px;
	--gb-container-pad: 20px;
}

html {
	scroll-behavior: smooth;
}

body.giftbag-theme {
	font-family: var(--gb-font);
	color: var(--gb-ink);
	background: var(--gb-cream-soft);
	font-size: 16px;
	line-height: 1.55;
}

body.giftbag-theme a {
	color: var(--gb-primary);
}

body.giftbag-theme img {
	max-width: 100%;
	height: auto;
}

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Hide leftover Astra header chrome; our header replaces astra_header_markup. */
body.giftbag-theme .main-header-bar,
body.giftbag-theme .ast-mobile-header-wrap,
body.giftbag-theme .ast-above-header-bar,
body.giftbag-theme .ast-below-header-bar,
body.giftbag-theme .ast-header-break-point .main-header-bar-navigation {
	display: none !important;
}

body.giftbag-theme #masthead {
	background: transparent;
	border: 0;
	box-shadow: none;
	padding: 0;
	margin: 0;
	line-height: 0;
}

/* ---------- Header ---------- */
.giftbag-header {
	position: sticky;
	top: 0;
	z-index: 200;
	background: var(--gb-white);
	box-shadow: 0 1px 0 var(--gb-line), var(--gb-shadow);
	line-height: 1.4;
}

.giftbag-header__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	max-width: var(--gb-max);
	margin: 0 auto;
	padding: 10px var(--gb-space);
	min-height: var(--gb-header-h);
}

.giftbag-header__logo {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--gb-primary);
}

.giftbag-header__logo-img {
	display: block;
	height: 40px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
}

.giftbag-header__wordmark {
	font-weight: 700;
	font-size: 1.15rem;
	letter-spacing: -0.02em;
	color: var(--gb-primary);
}

.giftbag-header__nav {
	display: none;
	flex: 1 1 auto;
	min-width: 0;
}

.giftbag-menu {
	display: flex;
	flex-wrap: nowrap;
	gap: 4px 16px;
	list-style: none;
	margin: 0;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
}

.giftbag-menu::-webkit-scrollbar {
	display: none;
}

.giftbag-menu > li {
	margin: 0;
	flex: 0 0 auto;
	position: relative;
}

.giftbag-menu a {
	display: block;
	padding: 6px 0;
	color: var(--gb-ink);
	text-decoration: none;
	font-size: 0.88rem;
	font-weight: 500;
	white-space: nowrap;
}

.giftbag-menu a:hover,
.giftbag-menu .current-menu-item > a {
	color: var(--gb-primary);
}

.giftbag-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 200px;
	background: var(--gb-white);
	border-radius: var(--gb-radius-sm);
	box-shadow: var(--gb-shadow-hover);
	padding: 8px 0;
	z-index: 20;
	list-style: none;
	margin: 0;
}

.giftbag-menu > li:hover > .sub-menu,
.giftbag-menu > li:focus-within > .sub-menu {
	display: block;
}

.giftbag-menu .sub-menu a {
	padding: 8px 14px;
	white-space: normal;
}

.giftbag-search {
	display: flex;
	align-items: center;
	background: var(--gb-cream-soft);
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-radius-pill);
	padding: 0 6px 0 14px;
	min-width: 0;
}

.giftbag-search input[type="search"] {
	flex: 1 1 auto;
	border: 0;
	background: transparent;
	box-shadow: none;
	padding: 10px 8px;
	font: inherit;
	color: var(--gb-ink);
	min-width: 0;
	width: 100%;
}

.giftbag-search input[type="search"]:focus {
	outline: none;
}

.giftbag-search__btn {
	border: 0;
	background: var(--gb-primary);
	color: var(--gb-white);
	border-radius: var(--gb-radius-pill);
	width: 36px;
	height: 36px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	flex: 0 0 auto;
	padding: 0;
}

.giftbag-search--desktop {
	display: none;
	flex: 0 1 280px;
}

.giftbag-search--mobile {
	margin: 0 var(--gb-space) 12px;
	padding-left: 12px;
}

.giftbag-search--mobile .giftbag-icon {
	color: var(--gb-muted);
	flex: 0 0 auto;
}

.giftbag-search--mobile .giftbag-search__btn {
	width: auto;
	padding: 0 14px;
	font-size: 0.8rem;
	font-weight: 600;
}

.giftbag-header__actions {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-left: auto;
}

.giftbag-header__action {
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--gb-primary);
	text-decoration: none;
	padding: 6px 8px;
	border-radius: var(--gb-radius-pill);
}

.giftbag-header__action:hover {
	background: var(--gb-cream-soft);
	color: var(--gb-primary);
}

.giftbag-header__action-label {
	display: none;
	font-size: 0.8rem;
	font-weight: 600;
}

.giftbag-bag-count {
	position: absolute;
	top: 0;
	right: 0;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: var(--gb-radius-pill);
	background: var(--gb-accent);
	color: var(--gb-white);
	font-size: 0.68rem;
	font-weight: 700;
	line-height: 18px;
	text-align: center;
}

.giftbag-bag-count.is-empty {
	display: none;
}

.giftbag-header__bag .giftbag-bag-count,
.giftbag-tabbar__bag-wrap .giftbag-bag-count {
	top: -2px;
	right: -6px;
}

/* ---------- Mobile tab bar ---------- */
.giftbag-tabbar {
	display: flex;
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 210;
	background: var(--gb-white);
	border-top: 1px solid var(--gb-line);
	padding: 6px 8px calc(6px + env(safe-area-inset-bottom, 0px));
	justify-content: space-around;
	box-shadow: 0 -8px 24px rgba(87, 0, 79, 0.06);
}

.giftbag-tabbar__item {
	flex: 1 1 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	background: none;
	border: 0;
	color: var(--gb-muted);
	text-decoration: none;
	font-family: inherit;
	font-size: 0.68rem;
	font-weight: 600;
	padding: 4px 2px;
	cursor: pointer;
}

.giftbag-tabbar__item.is-active,
.giftbag-tabbar__item[aria-expanded="true"] {
	color: var(--gb-primary);
}

.giftbag-tabbar__bag-wrap {
	position: relative;
	display: inline-flex;
}

body.giftbag-theme {
	padding-bottom: calc(var(--gb-tabbar-h) + env(safe-area-inset-bottom, 0px));
}

/* ---------- Categories sheet ---------- */
.giftbag-catsheet {
	position: fixed;
	inset: 0;
	z-index: 220;
}

.giftbag-catsheet[hidden] {
	display: none;
}

.giftbag-catsheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(43, 21, 40, 0.45);
}

.giftbag-catsheet__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: 86vh;
	background: var(--gb-white);
	border-radius: 24px 24px 0 0;
	padding: 16px 20px calc(24px + var(--gb-tabbar-h));
	overflow: auto;
	box-shadow: 0 -16px 40px rgba(87, 0, 79, 0.16);
}

.giftbag-catsheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-bottom: 12px;
}

.giftbag-catsheet__head h2 {
	margin: 0;
	font-size: 1.15rem;
	color: var(--gb-primary);
}

.giftbag-catsheet__close {
	border: 0;
	background: var(--gb-cream-soft);
	width: 36px;
	height: 36px;
	border-radius: 50%;
	font-size: 1.4rem;
	line-height: 1;
	cursor: pointer;
	color: var(--gb-ink);
}

.giftbag-catsheet__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.giftbag-catsheet__list a {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px;
	border-radius: var(--gb-radius-sm);
	background: var(--gb-cream-soft);
	text-decoration: none;
	color: var(--gb-ink);
	font-weight: 500;
	font-size: 0.9rem;
}

.giftbag-catsheet__thumb {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--gb-cream);
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.giftbag-catsheet__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.giftbag-catsheet__initial,
.giftbag-cat__initial {
	font-weight: 700;
	color: var(--gb-primary);
}

.giftbag-catsheet__menu-title {
	margin: 22px 0 8px;
	font-size: 1rem;
	color: var(--gb-primary);
}

.giftbag-mobile-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.giftbag-mobile-menu a {
	display: block;
	padding: 10px 0;
	border-bottom: 1px solid var(--gb-line);
	text-decoration: none;
	color: var(--gb-ink);
	font-weight: 500;
}

/* ---------- Homepage ---------- */
.giftbag-home {
	max-width: var(--gb-max);
	margin: 0 auto;
	padding: 16px var(--gb-space) 40px;
}

.giftbag-hero {
	position: relative;
	border-radius: 22px;
	overflow: hidden;
	box-shadow: var(--gb-shadow);
	aspect-ratio: 16 / 9;
	max-height: 420px;
	background: var(--gb-primary);
}

.giftbag-hero__track {
	height: 100%;
}

.giftbag-hero__slide {
	display: none;
	height: 100%;
}

.giftbag-hero__slide.is-active {
	display: block;
}

.giftbag-hero__link {
	display: block;
	position: relative;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.giftbag-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.giftbag-hero__overlay {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 22px 22px;
	background: linear-gradient(transparent, rgba(43, 21, 40, 0.72));
	color: var(--gb-white);
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.giftbag-hero__title {
	font-size: clamp(1.15rem, 2.6vw, 1.8rem);
	font-weight: 650;
	line-height: 1.25;
	max-width: 18ch;
}

.giftbag-hero__price {
	font-weight: 600;
	color: var(--gb-cream);
}

.giftbag-hero__price del {
	opacity: 0.7;
	margin-right: 6px;
}

.giftbag-hero__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 10px;
	display: flex;
	justify-content: center;
	gap: 6px;
	z-index: 2;
}

.giftbag-hero__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, 0.55);
	cursor: pointer;
}

.giftbag-hero__dot.is-active {
	background: var(--gb-white);
	width: 20px;
	border-radius: var(--gb-radius-pill);
}

.giftbag-btn,
body.giftbag-theme .button,
body.giftbag-theme button.button,
body.giftbag-theme input[type="submit"],
body.giftbag-theme .woocommerce a.button,
body.giftbag-theme .woocommerce button.button,
body.giftbag-theme .woocommerce input.button,
body.giftbag-theme .woocommerce #respond input#submit,
body.giftbag-theme .woocommerce a.button.alt,
body.giftbag-theme .woocommerce button.button.alt,
body.giftbag-theme .woocommerce input.button.alt,
body.giftbag-theme #place_order {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gb-primary);
	color: var(--gb-white) !important;
	border: 0;
	border-radius: var(--gb-radius-pill);
	padding: 12px 22px;
	font-family: var(--gb-font);
	font-weight: 600;
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
	box-shadow: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

.giftbag-btn:hover,
body.giftbag-theme .button:hover,
body.giftbag-theme .woocommerce a.button:hover,
body.giftbag-theme .woocommerce button.button:hover,
body.giftbag-theme .woocommerce a.button.alt:hover,
body.giftbag-theme #place_order:hover {
	background: var(--gb-secondary);
	color: var(--gb-white) !important;
}

.giftbag-btn--light {
	background: var(--gb-cream);
	color: var(--gb-primary) !important;
	margin-top: 6px;
}

/* Category circles */
.giftbag-cats {
	margin: 22px 0 8px;
}

.giftbag-cats__scroller,
.giftbag-row__scroller {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 4px 2px 8px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.giftbag-cat {
	flex: 0 0 auto;
	width: 84px;
	text-align: center;
	text-decoration: none;
	color: var(--gb-ink);
	scroll-snap-align: start;
}

.giftbag-cat__circle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 74px;
	height: 74px;
	margin: 0 auto 8px;
	border-radius: 50%;
	overflow: hidden;
	background: var(--gb-white);
	box-shadow: var(--gb-shadow);
	border: 2px solid var(--gb-cream);
}

.giftbag-cat__circle img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.giftbag-cat__label {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	line-height: 1.25;
}

/* Product rows */
.giftbag-row,
.giftbag-occasions {
	margin: 28px 0;
}

.giftbag-row__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 12px;
}

.giftbag-row__title,
.giftbag-related__title,
.ast-woocommerce-container .related.products > h2 {
	margin: 0;
	font-size: 1.25rem;
	font-weight: 650;
	color: var(--gb-primary);
}

.giftbag-row__all {
	font-size: 0.85rem;
	font-weight: 600;
	text-decoration: none;
	color: var(--gb-secondary);
}

.giftbag-row__item {
	flex: 0 0 46%;
	max-width: 200px;
	scroll-snap-align: start;
}

.giftbag-card {
	background: var(--gb-white);
	border-radius: var(--gb-radius);
	box-shadow: var(--gb-shadow);
	overflow: hidden;
	height: 100%;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
}

.giftbag-card:hover {
	box-shadow: var(--gb-shadow-hover);
	transform: translateY(-2px);
}

.giftbag-card__media {
	position: relative;
	display: block;
	aspect-ratio: 1;
	background: var(--gb-cream);
	overflow: hidden;
}

.giftbag-card__img,
.giftbag-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.giftbag-card__badge,
body.giftbag-theme .onsale {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--gb-accent);
	color: var(--gb-white);
	border-radius: var(--gb-radius-pill);
	padding: 3px 9px;
	font-size: 0.7rem;
	font-weight: 700;
	min-width: 0;
	min-height: 0;
	line-height: 1.3;
	z-index: 1;
}

.giftbag-card__body {
	padding: 10px 12px 14px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	flex: 1;
}

.giftbag-card__title {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 550;
	line-height: 1.3;
}

.giftbag-card__title a {
	color: var(--gb-ink);
	text-decoration: none;
}

.giftbag-card__price,
body.giftbag-theme .price {
	color: var(--gb-primary);
	font-weight: 650;
	font-size: 0.95rem;
}

body.giftbag-theme .price del {
	color: var(--gb-muted);
	font-weight: 500;
	margin-right: 6px;
}

body.giftbag-theme .price ins {
	background: none;
	color: var(--gb-primary);
	text-decoration: none;
}

/* Occasion tiles */
.giftbag-occasions__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.giftbag-occasion {
	position: relative;
	display: block;
	min-height: 120px;
	border-radius: var(--gb-radius);
	overflow: hidden;
	background: var(--gb-primary);
	box-shadow: var(--gb-shadow);
	text-decoration: none;
	color: var(--gb-white);
}

.giftbag-occasion__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.giftbag-occasion__label {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 28px 12px 12px;
	background: linear-gradient(transparent, rgba(43, 21, 40, 0.78));
	font-weight: 600;
	font-size: 0.92rem;
}

/* ---------- WooCommerce shop / category ---------- */
body.giftbag-theme .site-content,
body.giftbag-theme #content,
body.giftbag-theme .ast-container {
	background: transparent;
}

body.giftbag-theme .woocommerce-products-header__title,
body.giftbag-theme .ast-woo-shop-archive .entry-title,
body.giftbag-theme h1.page-title,
body.giftbag-theme .woocommerce-products-header .page-title {
	color: var(--gb-primary);
	font-weight: 650;
}

body.giftbag-theme ul.products {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 14px;
	list-style: none;
	margin: 0 0 24px;
	padding: 0;
}

body.giftbag-theme ul.products li.product {
	width: 100% !important;
	margin: 0 !important;
	float: none !important;
	background: var(--gb-white);
	border-radius: var(--gb-radius);
	box-shadow: var(--gb-shadow);
	overflow: hidden;
	padding: 0 0 14px;
	text-align: left;
}

body.giftbag-theme ul.products li.product a img {
	width: 100%;
	margin: 0;
	border-radius: 0;
}

body.giftbag-theme ul.products li.product .woocommerce-loop-product__title {
	font-size: 0.9rem;
	padding: 10px 12px 0;
	font-weight: 550;
}

body.giftbag-theme ul.products li.product .price {
	padding: 4px 12px 0;
}

body.giftbag-theme ul.products li.product .button,
body.giftbag-theme ul.products li.product .added_to_cart {
	margin: 10px 12px 0;
	width: calc(100% - 24px);
}

body.giftbag-theme .woocommerce-result-count,
body.giftbag-theme .woocommerce-ordering {
	font-size: 0.9rem;
	color: var(--gb-muted);
}

body.giftbag-theme .woocommerce-ordering select {
	border-radius: var(--gb-radius-pill);
	border: 1px solid var(--gb-line);
	padding: 8px 12px;
	background: var(--gb-white);
	font-family: inherit;
}

/* ---------- Single product ---------- */
body.giftbag-theme div.product {
	padding-bottom: 24px;
}

body.giftbag-theme div.product .woocommerce-product-gallery {
	border-radius: var(--gb-radius);
	overflow: hidden;
	background: var(--gb-white);
	box-shadow: var(--gb-shadow);
	margin-bottom: 20px;
}

body.giftbag-theme div.product .woocommerce-product-gallery__image img {
	width: 100%;
	border-radius: 0;
}

body.giftbag-theme div.product .product_title {
	font-size: clamp(1.4rem, 3vw, 2rem);
	color: var(--gb-ink);
	font-weight: 650;
	margin-bottom: 8px;
}

body.giftbag-theme div.product p.price {
	font-size: 1.45rem;
	margin: 8px 0 16px;
}

body.giftbag-theme div.product .cart {
	margin-top: 8px;
}

body.giftbag-theme div.product form.cart .button,
body.giftbag-theme div.product .single_add_to_cart_button {
	border-radius: var(--gb-radius-pill);
	padding: 14px 28px;
	width: 100%;
	font-size: 1rem;
}

body.giftbag-theme div.product form.cart .quantity {
	margin-bottom: 10px;
}

body.giftbag-theme .quantity input.qty {
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-radius-sm);
	width: 4.5em;
	padding: 10px;
	font-family: inherit;
	text-align: center;
}

body.giftbag-theme div.product .product_meta,
body.giftbag-theme div.product .woocommerce-product-rating {
	font-size: 0.9rem;
	color: var(--gb-muted);
}

body.giftbag-theme .woocommerce-tabs {
	margin-top: 28px;
	background: var(--gb-white);
	border-radius: var(--gb-radius);
	box-shadow: var(--gb-shadow);
	padding: 8px 20px 20px;
}

body.giftbag-theme .woocommerce-tabs ul.tabs {
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
}

body.giftbag-theme .woocommerce-tabs ul.tabs li {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	border-radius: 0;
	margin: 0 16px 0 0;
	padding: 0;
}

body.giftbag-theme .woocommerce-tabs ul.tabs li.active {
	border-bottom-color: var(--gb-primary);
}

body.giftbag-theme .woocommerce-tabs ul.tabs li a {
	color: var(--gb-ink);
	font-weight: 600;
	padding: 12px 0;
}

/* You may also like — single horizontal row */
.giftbag-related,
body.giftbag-theme .related.products,
body.giftbag-theme .upsells.products {
	margin: 32px 0;
}

.giftbag-related__scroller,
.giftbag-related__scroller ul.products,
.giftbag-related__scroller .products,
body.giftbag-theme .related.products ul.products,
body.giftbag-theme .upsells.products ul.products {
	display: flex !important;
	grid-template-columns: none !important;
	overflow-x: auto;
	overflow-y: hidden;
	gap: 14px;
	padding-bottom: 4px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	-ms-overflow-style: none;
}

.giftbag-related__scroller::-webkit-scrollbar,
.giftbag-related__scroller ul.products::-webkit-scrollbar,
.giftbag-related__scroller .products::-webkit-scrollbar,
body.giftbag-theme .related.products ul.products::-webkit-scrollbar,
body.giftbag-theme .upsells.products ul.products::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

body.giftbag-theme .related.products ul.products li.product,
body.giftbag-theme .upsells.products ul.products li.product,
.giftbag-related__scroller ul.products li.product {
	flex: 0 0 46%;
	max-width: 200px;
	scroll-snap-align: start;
	width: 200px !important;
}

/* ---------- Cart ---------- */
body.giftbag-theme .woocommerce-cart-form,
body.giftbag-theme .cart-collaterals .cart_totals,
body.giftbag-theme .woocommerce-checkout #customer_details,
body.giftbag-theme .woocommerce-checkout-review-order,
body.giftbag-theme .woocommerce-MyAccount-content,
body.giftbag-theme .woocommerce-MyAccount-navigation {
	background: var(--gb-white);
	border-radius: var(--gb-radius);
	box-shadow: var(--gb-shadow);
	padding: 16px;
}

body.giftbag-theme .woocommerce table.shop_table {
	border: 0;
	border-radius: var(--gb-radius-sm);
}

body.giftbag-theme .woocommerce table.shop_table th,
body.giftbag-theme .woocommerce table.shop_table td {
	border-color: var(--gb-line);
}

body.giftbag-theme .wc-proceed-to-checkout a.checkout-button,
body.giftbag-theme .cart_totals .checkout-button {
	width: 100%;
	display: block;
	text-align: center;
}

/* ---------- Checkout: visual only, do not hide or reorder fields ---------- */
body.giftbag-theme .woocommerce form .form-row input.input-text,
body.giftbag-theme .woocommerce form .form-row textarea,
body.giftbag-theme .woocommerce form .form-row select,
body.giftbag-theme .woocommerce form .form-row .select2-selection,
body.giftbag-theme input[type="text"],
body.giftbag-theme input[type="email"],
body.giftbag-theme input[type="tel"],
body.giftbag-theme input[type="password"],
body.giftbag-theme textarea,
body.giftbag-theme select {
	border: 1px solid var(--gb-line);
	border-radius: var(--gb-radius-sm);
	padding: 10px 12px;
	font-family: inherit;
	background: var(--gb-white);
	color: var(--gb-ink);
	box-shadow: none;
}

body.giftbag-theme .woocommerce form .form-row input.input-text:focus,
body.giftbag-theme input:focus,
body.giftbag-theme textarea:focus,
body.giftbag-theme select:focus {
	border-color: var(--gb-secondary);
	outline: 2px solid rgba(168, 48, 146, 0.25);
	outline-offset: 0;
}

body.giftbag-theme #place_order {
	width: 100%;
	padding: 16px 24px;
	font-size: 1.05rem;
}

body.giftbag-theme .woocommerce-info,
body.giftbag-theme .woocommerce-message,
body.giftbag-theme .woocommerce-error {
	border-top: 0;
	border-radius: var(--gb-radius-sm);
	background: var(--gb-white);
	box-shadow: var(--gb-shadow);
	color: var(--gb-ink);
}

body.giftbag-theme .woocommerce-message {
	border-left: 4px solid var(--gb-secondary);
}

body.giftbag-theme .woocommerce-error {
	border-left: 4px solid var(--gb-danger);
}

body.giftbag-theme .woocommerce-info {
	border-left: 4px solid var(--gb-accent);
}

/* Footer breathing room */
body.giftbag-theme .site-footer,
body.giftbag-theme footer#colophon {
	margin-bottom: 8px;
}

/* ---------- Desktop ---------- */
@media (min-width: 768px) {
	.giftbag-row__item,
	body.giftbag-theme .related.products ul.products li.product,
	body.giftbag-theme .upsells.products ul.products li.product,
	.giftbag-related__scroller ul.products li.product {
		flex-basis: 180px;
		max-width: 200px;
		width: 200px !important;
	}

	body.giftbag-theme ul.products {
		grid-template-columns: repeat(3, 1fr);
	}

	.giftbag-occasions__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.giftbag-hero {
		aspect-ratio: 21 / 8;
		max-height: 440px;
	}

	body.giftbag-theme div.product form.cart .button,
	body.giftbag-theme div.product .single_add_to_cart_button {
		width: auto;
		min-width: 220px;
	}

	body.giftbag-theme div.product form.cart {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		gap: 10px;
	}

	body.giftbag-theme div.product form.cart .quantity {
		margin-bottom: 0;
	}

	.giftbag-catsheet__list {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1024px) {
	.giftbag-header__nav {
		display: block;
	}

	.giftbag-search--desktop {
		display: flex;
	}

	.giftbag-search--mobile {
		display: none;
	}

	.giftbag-header__action-label {
		display: inline;
	}

	.giftbag-tabbar {
		display: none;
	}

	body.giftbag-theme {
		padding-bottom: 0;
	}

	body.giftbag-theme ul.products {
		grid-template-columns: repeat(4, 1fr);
	}

	.giftbag-occasions__grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.giftbag-header__logo-img {
		height: 46px;
		max-width: 220px;
	}

	.giftbag-cat {
		width: 96px;
	}

	.giftbag-cat__circle {
		width: 84px;
		height: 84px;
	}
}

/* ========== v1.1 fixes ========== */

/* Store notice must sit in document flow so it cannot cover the sticky header
   (WooCommerce defaults it to position:fixed; z-index:99998). */
body.giftbag-theme .woocommerce-store-notice,
body.giftbag-theme p.demo_store {
	position: relative !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	z-index: 1 !important;
	width: 100%;
	margin: 0;
	background-color: var(--gb-primary);
	color: var(--gb-white);
	box-shadow: none;
}

body.giftbag-theme .woocommerce-store-notice a,
body.giftbag-theme p.demo_store a {
	color: var(--gb-cream);
}

/* Keep the header above page content, below the WP admin bar. */
body.giftbag-theme .giftbag-header {
	position: sticky;
	top: 0;
	z-index: 10000;
	background: var(--gb-white);
	isolation: isolate;
}

body.admin-bar .giftbag-header {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .giftbag-header {
		top: 46px;
	}
}

/* Two-row desktop header: logo / search / account / bag on row 1, Main Menu on row 2. */
.giftbag-header {
	display: block;
	width: 100%;
	overflow: visible;
}

.giftbag-header__bar {
	display: flex;
	align-items: center;
	gap: 16px;
	width: 100%;
	max-width: var(--gb-max);
	margin: 0 auto;
	padding: 10px var(--gb-space);
	min-height: var(--gb-header-h);
	box-sizing: border-box;
}

.giftbag-header__logo {
	position: relative;
	z-index: 2;
	flex: 0 0 auto;
	max-width: 220px;
}

.giftbag-header__logo-icon {
	height: 40px;
	width: 40px;
	border-radius: 10px;
}

/* Nav is a sibling of the bar so it cannot squeeze the logo off the first row. */
.giftbag-header__nav {
	display: none;
	width: 100%;
	background: var(--gb-white);
	border-top: 1px solid var(--gb-line);
	position: relative;
	z-index: 2;
}

.giftbag-header__nav .giftbag-menu {
	max-width: var(--gb-max);
	margin: 0 auto;
	padding: 0 var(--gb-space);
}

/* Hide Astra's injected mobile toggles inside our menus; CSS dropdowns handle hover. */
.giftbag-menu .ast-menu-toggle,
.giftbag-footer .ast-menu-toggle,
.giftbag-catsheet .ast-menu-toggle {
	display: none !important;
}

.giftbag-menu .dropdown-menu-toggle,
.giftbag-menu .ast-header-navigation-arrow {
	display: inline-block;
	margin-left: 4px;
	pointer-events: none;
}

.giftbag-menu .sub-menu {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 230px;
	max-height: 70vh;
	overflow: auto;
	background: var(--gb-white);
	border-radius: 0 0 var(--gb-radius-sm) var(--gb-radius-sm);
	box-shadow: var(--gb-shadow-hover);
	padding: 8px 0;
	z-index: 30;
	list-style: none;
	margin: 0;
}

.giftbag-menu > li:hover > .sub-menu,
.giftbag-menu > li:focus-within > .sub-menu,
.giftbag-menu > li.is-open > .sub-menu {
	display: block;
}

.giftbag-menu .sub-menu .sub-menu {
	top: 0;
	left: 100%;
	border-radius: var(--gb-radius-sm);
}

.giftbag-menu .sub-menu li {
	position: relative;
}

/* Hide leftover Astra footer ("Powered by Astra") — we render .giftbag-footer instead. */
body.giftbag-theme #colophon,
body.giftbag-theme .site-below-footer-wrap,
body.giftbag-theme .ast-footer-copyright {
	display: none !important;
}

/* Footer */
.giftbag-footer {
	background: var(--gb-primary);
	color: var(--gb-cream);
	margin-top: 40px;
	padding: 40px var(--gb-space) 24px;
}

.giftbag-footer a {
	color: var(--gb-white);
	text-decoration: none;
}

.giftbag-footer a:hover {
	color: var(--gb-cream);
	text-decoration: underline;
}

.giftbag-footer__inner {
	max-width: var(--gb-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px 32px;
}

.giftbag-footer__logo {
	display: inline-flex;
	align-items: center;
	margin-bottom: 12px;
	color: var(--gb-primary);
	background: var(--gb-white);
	border-radius: 12px;
	padding: 8px 12px;
}

.giftbag-footer__logo .giftbag-header__wordmark,
.giftbag-footer__logo .giftbag-header__logo-img,
.giftbag-footer__logo .giftbag-header__logo-full,
.giftbag-footer__logo img {
	filter: none;
	height: 36px;
	max-width: 180px;
	width: auto;
}

.giftbag-footer__logo .giftbag-header__wordmark {
	filter: none;
	color: var(--gb-white);
	font-size: 1.2rem;
	font-weight: 700;
}

.giftbag-footer__blurb {
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--gb-cream);
	margin: 0 0 10px;
}

.giftbag-footer__heading {
	margin: 0 0 12px;
	font-size: 0.95rem;
	font-weight: 650;
	color: var(--gb-white);
	letter-spacing: 0.02em;
	text-transform: none;
}

.giftbag-footer__links,
.giftbag-footer__nav .giftbag-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.giftbag-footer__links li {
	margin: 0 0 8px;
}

.giftbag-footer__links a {
	font-size: 0.9rem;
}

.giftbag-footer__legal {
	max-width: var(--gb-max);
	margin: 28px auto 0;
	padding-top: 16px;
	border-top: 1px solid rgba(252, 221, 190, 0.25);
	text-align: center;
	font-size: 0.85rem;
}

.giftbag-footer__legal p {
	margin: 0;
	color: var(--gb-cream);
}

/* Flatsome UX shims */
.giftbag-ux-row,
.giftbag-ux-section {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin: 12px 0;
	width: 100%;
}

.giftbag-ux-col {
	box-sizing: border-box;
	padding: 0 4px;
	min-width: 0;
}

.giftbag-ux-image,
.giftbag-ux-banner__img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: var(--gb-radius-sm);
}

.giftbag-ux-banner {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--gb-radius);
	color: inherit;
	text-decoration: none;
}

.giftbag-ux-banner__body {
	padding: 12px 0;
}

.giftbag-ux-title {
	color: var(--gb-primary);
	margin: 12px 0 8px;
}

/* Checkout: Flexible Checkout Fields 2-column rows, full-width labels.
   Do not hide, reorder, or remove fields. */
body.giftbag-theme .woocommerce form .form-row {
	display: block;
	float: none;
	position: relative;
	box-sizing: border-box;
}

body.giftbag-theme .woocommerce form .form-row label,
body.giftbag-theme .woocommerce-page form .form-row label,
body.giftbag-theme.woocommerce-js form .form-row label {
	display: block !important;
	float: none !important;
	position: static !important;
	width: 100% !important;
	max-width: 100%;
	white-space: normal;
	line-height: 1.35 !important;
	margin: 0 0 6px;
	padding: 0;
}

body.giftbag-theme .woocommerce form .form-row .woocommerce-input-wrapper,
body.giftbag-theme .woocommerce form .form-row input.input-text,
body.giftbag-theme .woocommerce form .form-row select,
body.giftbag-theme .woocommerce form .form-row textarea,
body.giftbag-theme .woocommerce form .form-row .select2-container {
	display: block;
	width: 100% !important;
	max-width: 100%;
	float: none;
	clear: both;
}

@media (min-width: 769px) {
	body.giftbag-theme .woocommerce form .form-row.form-row-first,
	body.giftbag-theme .woocommerce form .form-row.form-row-last,
	body.giftbag-theme .woocommerce-page form .form-row.form-row-first,
	body.giftbag-theme .woocommerce-page form .form-row.form-row-last {
		width: calc(50% - 8px) !important;
		float: left;
		clear: none;
		display: block;
		overflow: visible;
	}

	body.giftbag-theme .woocommerce form .form-row.form-row-first,
	body.giftbag-theme .woocommerce-page form .form-row.form-row-first {
		margin-right: 16px;
	}

	body.giftbag-theme .woocommerce form .form-row.form-row-last,
	body.giftbag-theme .woocommerce-page form .form-row.form-row-last {
		float: right;
		margin-right: 0;
	}

	body.giftbag-theme .woocommerce form .form-row.form-row-wide,
	body.giftbag-theme .woocommerce-page form .form-row.form-row-wide {
		width: 100% !important;
		float: none;
		clear: both;
		display: block;
	}

	body.giftbag-theme form.checkout::after,
	body.giftbag-theme .woocommerce-billing-fields__field-wrapper::after,
	body.giftbag-theme .woocommerce-shipping-fields__field-wrapper::after,
	body.giftbag-theme .woocommerce-additional-fields__field-wrapper::after {
		content: "";
		display: table;
		clear: both;
	}
}

/* "Edit Deliveries" (and similar) must not sit on top of the "× 1" quantity. */
body.giftbag-theme.woocommerce-checkout form #order_review td.product-name,
body.giftbag-theme .woocommerce-checkout-review-order-table td.product-name {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	position: relative;
}

body.giftbag-theme #order_review td.product-name .product-quantity,
body.giftbag-theme .woocommerce-checkout-review-order-table .product-quantity {
	flex: 0 0 auto;
	position: static;
	white-space: nowrap;
	margin: 0;
	z-index: 0;
}

body.giftbag-theme #order_review td.product-name a.button,
body.giftbag-theme #order_review td.product-name button,
body.giftbag-theme #order_review td.product-name .button,
body.giftbag-theme .woocommerce-checkout-review-order-table td.product-name a.button,
body.giftbag-theme .woocommerce-checkout-review-order-table td.product-name button {
	flex: 1 0 100%;
	position: static;
	margin: 4px 0 0;
	width: auto;
	max-width: 100%;
	border-radius: var(--gb-radius-pill);
	background: var(--gb-primary);
	color: var(--gb-white) !important;
	padding: 8px 16px;
	font-size: 0.8rem;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	box-shadow: none;
	z-index: 0;
}

/* Flatsome page-blank pages: full width under Astra, keep GiftBag chrome. */
body.giftbag-theme.giftbag-page-blank .ast-container,
body.giftbag-theme.page-template-page-blank .ast-container,
body.giftbag-theme.page-template-page-blank-php .ast-container {
	max-width: 100%;
	width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.giftbag-theme.giftbag-page-blank #content,
body.giftbag-theme.page-template-page-blank #content,
body.giftbag-theme.page-template-page-blank-php #content {
	margin: 0;
	padding: 0;
}

body.giftbag-theme .giftbag-page-blank-main {
	max-width: var(--gb-max);
	margin: 0 auto;
	padding: 16px var(--gb-space) 40px;
}

body.giftbag-theme.giftbag-page-blank .entry-header,
body.giftbag-theme.page-template-page-blank .entry-header,
body.giftbag-theme.page-template-page-blank-php .entry-header {
	display: none;
}

@media (min-width: 768px) {
	.giftbag-footer__inner {
		grid-template-columns: 1.3fr 1fr 1fr 1fr;
	}

	.giftbag-ux-col {
		min-width: 0;
	}
}

@media (min-width: 1024px) {
	.giftbag-header__nav {
		display: block;
	}

	.giftbag-search--desktop {
		display: flex;
		flex: 1 1 320px;
		max-width: 420px;
		margin-left: auto;
	}

	.giftbag-search--mobile {
		display: none;
	}

	.giftbag-header__action-label {
		display: inline;
	}

	.giftbag-menu {
		justify-content: flex-start;
	}
}

/* =========================================================================
   v1.2.0 — app-mirrored storefront
   App palette (from the GiftBag app bundle): plum #57004F, dark #4A0E42,
   secondary #710A67, page #F8F5F8, soft #FAF5F9, line #E9E0E9 / #D8C2D5,
   ink #111111, muted #777777, cream #FCDDBE, peach #FFF5EE.
   App fonts: Open Sans (text/prices), Slabo 27px (product & section titles).
   ========================================================================= */
:root {
	--gb-primary: #57004f;
	--gb-primary-dark: #4a0e42;
	--gb-secondary: #a83092;
	--gb-plum-2: #710a67;
	--gb-accent: #cd8461;
	--gb-cream: #fcddbe;
	--gb-cream-soft: #faf5f9;
	--gb-peach: #fff5ee;
	--gb-bg: #f8f5f8;
	--gb-ink: #111111;
	--gb-muted: #777777;
	--gb-line: #e9e0e9;
	--gb-line-strong: #d8c2d5;
	--gb-font: "Open Sans", "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
	--gb-display: "Slabo 27px", Georgia, "Times New Roman", serif;
	--gb-shadow: 0 2px 10px rgba(87, 0, 79, 0.06);
	--gb-shadow-hover: 0 10px 26px rgba(87, 0, 79, 0.14);
}

/* Site-wide background: app's light lavender-white, no beige. */
html body.giftbag-theme,
body.giftbag-theme #page,
body.giftbag-theme .site-content,
body.giftbag-theme .ast-separate-container,
body.giftbag-theme.ast-separate-container,
body.giftbag-theme .ast-plain-container,
body.giftbag-theme.ast-separate-container .ast-article-single,
body.giftbag-theme.ast-separate-container .ast-woocommerce-container,
body.giftbag-theme .ast-woocommerce-container {
	background-color: var(--gb-bg);
}

body.giftbag-theme {
	font-family: var(--gb-font);
	color: var(--gb-ink);
}

body.giftbag-theme h1,
body.giftbag-theme h2,
body.giftbag-theme h3 {
	font-family: var(--gb-font);
}

/* Prices: theme font everywhere (was falling back to a serif). */
body.giftbag-theme .price,
body.giftbag-theme .price *,
body.giftbag-theme .amount,
body.giftbag-theme .amount bdi,
body.giftbag-theme .woocommerce-Price-amount,
body.giftbag-theme .woocommerce-Price-currencySymbol {
	font-family: var(--gb-font) !important;
}

/* ---------- Header: real logo, burger ---------- */
.giftbag-header__logo {
	max-width: none;
}

body.giftbag-theme .giftbag-header__logo-full {
	height: 34px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	image-rendering: auto;
}

.giftbag-header__burger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-left: -8px;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--gb-primary);
	cursor: pointer;
}

.giftbag-header__burger:hover {
	background: var(--gb-cream-soft);
}

@media (min-width: 1024px) {
	body.giftbag-theme .giftbag-header__logo-full {
		height: 44px;
		max-width: 250px;
	}

	.giftbag-header__burger {
		display: none;
	}
}

/* ---------- Desktop main menu (app drawer tree) ---------- */
.giftbag-header__nav .giftbag-appmenu {
	display: flex;
	flex-wrap: nowrap;
	justify-content: space-between;
	align-items: stretch;
	gap: 0 4px;
	max-width: var(--gb-max);
	margin: 0 auto;
	padding: 0 var(--gb-space);
	overflow: visible;
	list-style: none;
}

.giftbag-appmenu__item {
	position: relative;
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
	list-style: none;
}

.giftbag-appmenu__top {
	display: inline-flex;
	align-items: center;
}

body.giftbag-theme .giftbag-appmenu__link,
body.giftbag-theme button.giftbag-appmenu__link {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 12px 6px;
	border: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	color: var(--gb-primary) !important;
	font-family: var(--gb-font);
	font-size: clamp(0.74rem, 0.95vw, 0.86rem);
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
	cursor: pointer;
	line-height: 1.2;
}

body.giftbag-theme .giftbag-appmenu__link:hover,
body.giftbag-theme .giftbag-appmenu__item.is-open > .giftbag-appmenu__link,
body.giftbag-theme .giftbag-appmenu__item.is-open .giftbag-appmenu__top > .giftbag-appmenu__link {
	color: var(--gb-secondary) !important;
	background: transparent;
}

body.giftbag-theme button.giftbag-appmenu__toggle:not(.giftbag-appmenu__toggle--label) {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 28px;
	margin-left: -2px;
	padding: 0;
	border: 0;
	border-radius: 6px;
	background: transparent;
	color: var(--gb-primary) !important;
	box-shadow: none;
	cursor: pointer;
}

.giftbag-chevron {
	flex: 0 0 auto;
	transition: transform 0.18s ease;
}

.giftbag-appmenu__item.is-open .giftbag-chevron {
	transform: rotate(180deg);
}

.giftbag-appmenu__panel {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 40;
	min-width: 240px;
	max-height: 72vh;
	overflow: auto;
	padding: 10px 0;
	background: var(--gb-white);
	border: 1px solid var(--gb-line);
	border-radius: 0 0 14px 14px;
	box-shadow: var(--gb-shadow-hover);
}

.giftbag-appmenu__item.is-open > .giftbag-appmenu__panel,
.giftbag-appmenu__item:focus-within > .giftbag-appmenu__panel {
	display: block;
}

.giftbag-appmenu__item:last-child > .giftbag-appmenu__panel,
.giftbag-appmenu__item:nth-last-child(2) > .giftbag-appmenu__panel {
	left: auto;
	right: 0;
}

.giftbag-appmenu__list,
.giftbag-appmenu__group ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

body.giftbag-theme .giftbag-appmenu__panel a {
	display: block;
	padding: 8px 18px;
	color: var(--gb-ink);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
}

body.giftbag-theme .giftbag-appmenu__panel a:hover {
	background: var(--gb-cream-soft);
	color: var(--gb-primary);
}

/* "More gifts": grouped mega panel with headings */
.giftbag-appmenu__item.is-mega > .giftbag-appmenu__panel {
	width: min(940px, calc(100vw - 40px));
	padding: 18px 8px;
}

.giftbag-appmenu__groups {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px 12px;
}

body.giftbag-theme .giftbag-appmenu__heading,
body.giftbag-theme .giftbag-appmenu__heading a {
	margin: 0 0 4px;
	padding: 4px 18px;
	color: var(--gb-primary);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	text-decoration: underline;
	text-underline-offset: 3px;
}

body.giftbag-theme .giftbag-appmenu__group a {
	padding: 5px 18px;
	font-size: 0.86rem;
	white-space: normal;
}

/* ---------- Mobile drawer accordion (like the app) ---------- */
.giftbag-catsheet {
	z-index: 10001;
}

.giftbag-catsheet__panel {
	background: var(--gb-peach);
}

.giftbag-accordion {
	list-style: none;
	margin: 0;
	padding: 0;
}

.giftbag-accordion--d0 > .giftbag-accordion__item {
	margin: 0 0 10px;
	background: var(--gb-white);
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(87, 0, 79, 0.08);
	overflow: hidden;
}

.giftbag-accordion__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

body.giftbag-theme .giftbag-accordion__link,
body.giftbag-theme button.giftbag-accordion__toggle--label {
	flex: 1 1 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 14px 16px;
	border: 0;
	background: transparent;
	box-shadow: none;
	border-radius: 0;
	color: var(--gb-primary) !important;
	font-family: var(--gb-font);
	font-size: 0.86rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-align: left;
	text-decoration: none;
	cursor: pointer;
}

body.giftbag-theme button.giftbag-accordion__toggle:not(.giftbag-accordion__toggle--label) {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	box-shadow: none;
	color: var(--gb-primary) !important;
	cursor: pointer;
}

.giftbag-accordion__item.is-open > .giftbag-accordion__row .giftbag-chevron {
	transform: rotate(180deg);
}

.giftbag-accordion__panel {
	background: var(--gb-primary);
	padding: 6px 0;
}

.giftbag-accordion__panel[hidden] {
	display: none;
}

body.giftbag-theme .giftbag-accordion__panel .giftbag-accordion__link,
body.giftbag-theme .giftbag-accordion__panel button.giftbag-accordion__toggle,
body.giftbag-theme .giftbag-accordion__panel button.giftbag-accordion__toggle--label {
	color: var(--gb-white) !important;
	text-transform: none;
	letter-spacing: 0;
	font-weight: 600;
	font-size: 0.95rem;
	padding: 11px 18px;
}

.giftbag-accordion--d1 > .giftbag-accordion__item + .giftbag-accordion__item {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

body.giftbag-theme .giftbag-accordion__item.is-heading > .giftbag-accordion__row .giftbag-accordion__toggle--label,
body.giftbag-theme .giftbag-accordion__item.is-heading > .giftbag-accordion__row .giftbag-accordion__link {
	color: var(--gb-cream) !important;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.giftbag-accordion__panel .giftbag-accordion__panel {
	background: var(--gb-primary-dark);
}

/* ---------- Hero: app banners at native ratio + side banners ---------- */
.giftbag-herozone {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	margin: 0 0 8px;
}

.giftbag-home .giftbag-hero {
	aspect-ratio: var(--gb-hero-ratio, 1 / 1);
	max-height: none;
	border-radius: 22px;
	background: #F2F0F3;
	box-shadow: var(--gb-shadow);
}

.giftbag-home .giftbag-hero__img {
	object-fit: cover;
}

.giftbag-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: none;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin-top: -20px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.85);
	color: var(--gb-primary);
	font-size: 1.6rem;
	line-height: 1;
	cursor: pointer;
	box-shadow: var(--gb-shadow);
}

.giftbag-hero__arrow--prev { left: 12px; }
.giftbag-hero__arrow--next { right: 12px; }

.giftbag-hero:hover .giftbag-hero__arrow {
	display: inline-flex;
}

.giftbag-home .giftbag-hero__dots {
	bottom: 12px;
}

.giftbag-home .giftbag-hero__dot {
	background: rgba(87, 0, 79, 0.25);
}

.giftbag-home .giftbag-hero__dot.is-active {
	background: var(--gb-primary);
}

.giftbag-hero-side {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.giftbag-hero-side__item {
	display: block;
	aspect-ratio: 3 / 1;
	border-radius: 14px;
	overflow: hidden;
	background: var(--gb-white);
	box-shadow: var(--gb-shadow);
}

.giftbag-hero-side__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

@media (min-width: 768px) {
	/* Square hero + a 4-high stack of 3:1 banners: 4fr:3fr keeps both columns the same height. */
	.giftbag-herozone.has-side {
		grid-template-columns: 4fr 3fr;
		align-items: stretch;
	}

	.giftbag-herozone.has-side .giftbag-hero-side {
		grid-template-columns: 1fr;
		grid-template-rows: repeat(4, 1fr);
	}

	.giftbag-herozone.has-side .giftbag-hero-side__item {
		aspect-ratio: auto;
		min-height: 0;
	}
}

@media (min-width: 1024px) {
	.giftbag-herozone:not(.has-side) .giftbag-hero {
		max-width: 680px;
		margin: 0 auto;
		width: 100%;
	}
}

/* ---------- Category tiles: square, rounded (app grid) ---------- */
.giftbag-tiles {
	margin: 22px 0 8px;
}

.giftbag-tiles__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 12px;
}

body.giftbag-theme a.giftbag-tile {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	text-decoration: none;
	color: var(--gb-ink);
}

.giftbag-tile__media {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	overflow: hidden;
	background: var(--gb-cream);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.giftbag-tile__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.giftbag-tile__initial {
	font-size: 1.6rem;
	font-weight: 700;
	color: var(--gb-primary);
}

.giftbag-tile:hover .giftbag-tile__media {
	transform: translateY(-2px);
	box-shadow: var(--gb-shadow-hover);
}

.giftbag-tile__label {
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	color: var(--gb-ink);
}

@media (min-width: 768px) {
	.giftbag-tiles__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.giftbag-tiles__grid {
		grid-template-columns: repeat(9, minmax(0, 1fr));
		gap: 16px;
	}

	.giftbag-tile__label {
		font-size: 0.82rem;
	}
}

/* ---------- Rows / section titles ---------- */
.giftbag-row__titles {
	min-width: 0;
}

body.giftbag-theme .giftbag-row__title,
body.giftbag-theme .giftbag-related__title,
body.giftbag-theme .giftbag-product-info__title {
	font-family: var(--gb-display);
	font-weight: 400;
	font-size: 1.55rem;
	line-height: 1.2;
	color: var(--gb-primary);
}

.giftbag-row__subtitle {
	margin: 2px 0 0;
	font-size: 0.85rem;
	color: var(--gb-muted);
}

body.giftbag-theme .giftbag-row__all {
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--gb-primary);
}

/* ---------- Google reviews ---------- */
.giftbag-reviews {
	margin: 32px 0;
}

.giftbag-reviews__summary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 8px;
	margin: 4px 0 0;
	font-size: 0.9rem;
	color: var(--gb-ink);
}

.giftbag-reviews__g {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gb-white);
	box-shadow: 0 0 0 1px var(--gb-line);
	font-weight: 700;
	font-size: 0.8rem;
	color: #4285f4;
}

.giftbag-reviews__count {
	color: var(--gb-muted);
}

.giftbag-stars {
	display: inline-flex;
	gap: 1px;
	font-size: 0.95rem;
	line-height: 1;
}

.giftbag-stars__star {
	color: #e0d6df;
}

.giftbag-stars__star.is-on {
	color: #fbbc04;
}

.giftbag-reviews__scroller {
	display: flex;
	gap: 14px;
	overflow-x: auto;
	padding: 4px 2px 12px;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
}

.giftbag-review {
	flex: 0 0 82%;
	max-width: 340px;
	scroll-snap-align: start;
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 16px;
	background: var(--gb-white);
	border: 1px solid var(--gb-line);
	border-radius: 16px;
	box-shadow: var(--gb-shadow);
}

.giftbag-review__head {
	display: flex;
	align-items: center;
	gap: 10px;
}

.giftbag-review__avatar {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	object-fit: cover;
	flex: 0 0 auto;
}

.giftbag-review__avatar--initial {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--gb-cream);
	color: var(--gb-primary);
	font-weight: 700;
}

.giftbag-review__who {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.giftbag-review__name {
	font-weight: 700;
	font-size: 0.92rem;
	color: var(--gb-ink);
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.giftbag-review__date {
	font-size: 0.78rem;
	color: var(--gb-muted);
}

.giftbag-review__text {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.5;
	color: var(--gb-ink);
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (min-width: 768px) {
	.giftbag-review {
		flex-basis: 300px;
	}
}

/* ---------- Product cards (home rails + shop/category grids) ---------- */
body.giftbag-theme .ast-woo-product-category,
body.giftbag-theme ul.products li.product .ast-woo-product-category,
body.giftbag-theme .single-product-category,
body.giftbag-theme .product_meta {
	display: none !important;
}

.giftbag-card,
body.giftbag-theme ul.products li.product {
	display: flex !important;
	flex-direction: column;
	height: 100%;
	background: var(--gb-white);
	border: 1px solid var(--gb-line-strong);
	border-radius: 16px;
	box-shadow: none;
	overflow: hidden;
}

.giftbag-row__item {
	display: flex;
}

.giftbag-row__item > .giftbag-card {
	width: 100%;
}

body.giftbag-theme ul.products {
	align-items: stretch;
}

/* Image area: photo ratio (900:773), padded white like the app. */
.giftbag-card__media,
body.giftbag-theme ul.products li.product .astra-shop-thumbnail-wrap {
	display: block;
	position: relative;
	aspect-ratio: 900 / 773;
	margin: 6px 6px 0;
	border-radius: 12px;
	overflow: hidden;
	background: var(--gb-white);
}

.giftbag-card__media img,
body.giftbag-theme ul.products li.product .astra-shop-thumbnail-wrap img,
body.giftbag-theme ul.products li.product a img {
	width: 100% !important;
	height: 100% !important;
	max-width: 100%;
	object-fit: cover;
	display: block;
	margin: 0 !important;
}

body.giftbag-theme ul.products li.product .astra-shop-thumbnail-wrap > a {
	display: block;
	height: 100%;
}

.giftbag-card__body,
body.giftbag-theme ul.products li.product .astra-shop-summary-wrap {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	padding: 10px 12px 12px;
	text-align: left;
}

body.giftbag-theme .giftbag-card__title,
body.giftbag-theme ul.products li.product .woocommerce-loop-product__title {
	margin: 0;
	padding: 0;
	font-family: var(--gb-font);
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.35;
	color: var(--gb-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	min-height: 2.7em;
}

body.giftbag-theme .giftbag-card__title a,
body.giftbag-theme ul.products li.product .ast-loop-product__link,
body.giftbag-theme ul.products li.product .woocommerce-LoopProduct-link {
	color: var(--gb-ink);
	text-decoration: none;
}

body.giftbag-theme .giftbag-card__price,
body.giftbag-theme .giftbag-card__price .price,
body.giftbag-theme ul.products li.product .price {
	display: block;
	margin: 4px 0 0;
	padding: 0;
	font-family: var(--gb-font) !important;
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gb-primary) !important;
}

body.giftbag-theme ul.products li.product .price del,
body.giftbag-theme .giftbag-card__price del {
	color: var(--gb-muted) !important;
	font-weight: 400;
	font-size: 0.85em;
}

body.giftbag-theme ul.products li.product .price ins,
body.giftbag-theme .giftbag-card__price ins {
	text-decoration: none;
	color: var(--gb-primary);
}

body.giftbag-theme ul.products li.product .price {
	margin-bottom: 12px;
}

/* Add to bag pinned to the card bottom so buttons align across a row. */
body.giftbag-theme ul.products li.product .button,
body.giftbag-theme ul.products li.product .added_to_cart {
	margin: auto 0 0 !important;
	width: 100%;
	border-radius: 12px;
	background: var(--gb-primary);
	font-weight: 700;
}

body.giftbag-theme ul.products li.product .button + .added_to_cart {
	margin-top: 8px !important;
	background: transparent;
	color: var(--gb-primary) !important;
	padding: 4px 0;
}

body.giftbag-theme ul.products li.product .astra-shop-summary-wrap::after {
	content: none;
}

body.giftbag-theme .giftbag-card__badge,
body.giftbag-theme .onsale {
	background: var(--gb-primary);
	color: var(--gb-white);
	border-radius: 6px;
	font-weight: 700;
}

@media (min-width: 1024px) {
	body.giftbag-theme ul.products:not(.columns-8) {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ---------- Pagination: brand pills ---------- */
body.giftbag-theme .woocommerce-pagination {
	margin: 24px 0 8px;
	text-align: center;
}

body.giftbag-theme .woocommerce-pagination ul.page-numbers,
body.giftbag-theme nav.woocommerce-pagination ul {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	border: 0 !important;
	margin: 0;
	padding: 0;
	list-style: none;
}

body.giftbag-theme .woocommerce-pagination ul.page-numbers li,
body.giftbag-theme nav.woocommerce-pagination ul li {
	border: 0 !important;
	margin: 0;
	float: none;
	overflow: visible;
}

body.giftbag-theme .woocommerce-pagination .page-numbers a,
body.giftbag-theme .woocommerce-pagination .page-numbers span,
body.giftbag-theme .woocommerce-pagination ul li a.page-numbers,
body.giftbag-theme .woocommerce-pagination ul li span.page-numbers {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 14px !important;
	border: 1px solid var(--gb-line-strong) !important;
	border-radius: 999px !important;
	background: var(--gb-white) !important;
	color: var(--gb-primary) !important;
	font-family: var(--gb-font);
	font-size: 0.92rem;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	box-shadow: none !important;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

body.giftbag-theme .woocommerce-pagination ul li a.page-numbers:hover,
body.giftbag-theme .woocommerce-pagination ul li a.page-numbers:focus {
	background: var(--gb-secondary) !important;
	border-color: var(--gb-secondary) !important;
	color: var(--gb-white) !important;
}

body.giftbag-theme .woocommerce-pagination ul li span.page-numbers.current {
	background: var(--gb-primary) !important;
	border-color: var(--gb-primary) !important;
	color: var(--gb-white) !important;
}

body.giftbag-theme .woocommerce-pagination ul li span.page-numbers.dots {
	background: transparent !important;
	border-color: transparent !important;
	min-width: 24px;
	padding: 0 4px !important;
}

/* ---------- Category landing: compact subcategory row (no mega icons) ---------- */
body.giftbag-theme .term-description > h1:first-child {
	display: none; /* duplicates the page title right above */
}

body.giftbag-theme .term-description ul.products,
body.giftbag-theme .giftbag-subcats ul.products,
body.giftbag-theme .woocommerce-products-header ul.products {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 12px;
	margin: 8px 0 16px !important;
	padding: 2px 2px 8px !important;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	-webkit-overflow-scrolling: touch;
	grid-template-columns: none !important;
	list-style: none;
}

body.giftbag-theme .term-description ul.products li.product,
body.giftbag-theme .term-description ul.products li.product-category,
body.giftbag-theme .giftbag-subcats ul.products li.product-category,
body.giftbag-theme .woocommerce-products-header ul.products li.product-category {
	flex: 0 0 76px !important;
	width: 76px !important;
	height: auto;
	display: block !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	overflow: visible;
	text-align: center;
	scroll-snap-align: start;
}

body.giftbag-theme .term-description ul.products li a,
body.giftbag-theme .giftbag-subcats ul.products li a,
body.giftbag-theme .woocommerce-products-header ul.products li a {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--gb-ink);
}

body.giftbag-theme .term-description ul.products li img,
body.giftbag-theme .giftbag-subcats ul.products li img,
body.giftbag-theme .woocommerce-products-header ul.products li img {
	width: 64px !important;
	height: 64px !important;
	max-width: 64px;
	object-fit: cover;
	border-radius: 16px !important;
	background: var(--gb-cream);
	margin: 0 !important;
	aspect-ratio: auto;
}

body.giftbag-theme .term-description ul.products li .woocommerce-loop-category__title,
body.giftbag-theme .giftbag-subcats ul.products li .woocommerce-loop-category__title,
body.giftbag-theme .woocommerce-products-header ul.products li .woocommerce-loop-category__title {
	margin: 0 !important;
	padding: 0 !important;
	font-family: var(--gb-font);
	font-size: 0.72rem !important;
	font-weight: 700;
	line-height: 1.2;
	color: var(--gb-ink);
	text-align: center;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

body.giftbag-theme .term-description ul.products li .woocommerce-loop-category__title mark,
body.giftbag-theme .giftbag-subcats .count {
	display: none;
}

/* Flatsome [row][col][ux_image] icon grids inside category descriptions */
body.giftbag-theme .term-description .giftbag-ux-row,
body.giftbag-theme .term-description .giftbag-ux-section {
	flex-wrap: nowrap;
	gap: 12px;
	overflow-x: auto;
	padding-bottom: 6px;
}

body.giftbag-theme .term-description .giftbag-ux-col {
	flex: 0 0 84px !important;
	max-width: 84px !important;
	padding: 0;
	text-align: center;
	font-size: 0.72rem;
	line-height: 1.2;
}

body.giftbag-theme .term-description .giftbag-ux-image,
body.giftbag-theme .term-description .giftbag-ux-banner__img,
body.giftbag-theme .term-description .giftbag-ux-col img {
	width: 72px !important;
	height: 72px !important;
	max-width: 72px;
	margin: 0 auto 6px;
	object-fit: cover;
	border-radius: 16px;
	background: var(--gb-cream);
}

body.giftbag-theme .term-description .giftbag-ux-col h1,
body.giftbag-theme .term-description .giftbag-ux-col h2,
body.giftbag-theme .term-description .giftbag-ux-col h3,
body.giftbag-theme .term-description .giftbag-ux-col h4,
body.giftbag-theme .term-description .giftbag-ux-col p {
	font-size: 0.72rem;
	font-weight: 700;
	margin: 0;
}

@media (min-width: 1024px) {
	body.giftbag-theme .term-description ul.products,
	body.giftbag-theme .giftbag-subcats ul.products,
	body.giftbag-theme .woocommerce-products-header ul.products {
		flex-wrap: wrap;
		overflow: visible;
		gap: 16px;
	}

	body.giftbag-theme .term-description ul.products li.product-category,
	body.giftbag-theme .term-description ul.products li.product,
	body.giftbag-theme .giftbag-subcats ul.products li.product-category,
	body.giftbag-theme .woocommerce-products-header ul.products li.product-category {
		flex-basis: 100px !important;
		width: 100px !important;
	}

	body.giftbag-theme .term-description ul.products li img,
	body.giftbag-theme .giftbag-subcats ul.products li img,
	body.giftbag-theme .woocommerce-products-header ul.products li img {
		width: 88px !important;
		height: 88px !important;
		max-width: 88px;
	}

	body.giftbag-theme .term-description ul.products li .woocommerce-loop-category__title {
		font-size: 0.78rem !important;
	}
}

/* ---------- Single product (app product screen) ---------- */
body.giftbag-theme div.product .product_title,
body.giftbag-theme.single-product .entry-title {
	font-family: var(--gb-display) !important;
	font-weight: 400;
	font-size: clamp(1.7rem, 3vw, 2.3rem);
	line-height: 1.2;
	color: var(--gb-primary);
	margin: 0 0 10px;
}

body.giftbag-theme div.product .summary p.price,
body.giftbag-theme div.product .summary span.price,
body.giftbag-theme div.product .woocommerce-variation-price .price {
	font-family: var(--gb-font) !important;
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--gb-primary) !important;
	margin: 0 0 14px;
}

body.giftbag-theme div.product .summary,
body.giftbag-theme div.product .summary p,
body.giftbag-theme .giftbag-product-info__body {
	color: var(--gb-ink);
	font-family: var(--gb-font);
}

/* Variant labels + pill options (Booster button swatches and WC selects) */
body.giftbag-theme div.product table.variations {
	border: 0;
	margin: 0 0 10px;
}

body.giftbag-theme div.product table.variations tr,
body.giftbag-theme div.product table.variations th,
body.giftbag-theme div.product table.variations td {
	display: block;
	border: 0;
	padding: 0;
	background: transparent;
	text-align: left;
}

body.giftbag-theme div.product table.variations th.label label {
	display: block;
	margin: 10px 0 8px;
	font-size: 0.92rem;
	font-weight: 700;
	color: var(--gb-primary);
}

body.giftbag-theme div.product .variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0 0 6px;
	padding: 0;
	list-style: none;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.button-variable-item {
	margin: 0;
	padding: 0 16px;
	min-height: 40px;
	display: inline-flex;
	align-items: center;
	border: 1px solid var(--gb-line-strong) !important;
	border-radius: 999px !important;
	background: var(--gb-cream-soft) !important;
	box-shadow: none !important;
	color: var(--gb-primary);
	font-weight: 600;
	cursor: pointer;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.button-variable-item .variable-item-span {
	color: var(--gb-primary);
	font-size: 0.92rem;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.selected,
body.giftbag-theme div.product .variable-items-wrapper .variable-item.wcj_selected,
body.giftbag-theme div.product .variable-items-wrapper .variable-item[aria-checked="true"] {
	background: var(--gb-primary) !important;
	border-color: var(--gb-primary) !important;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.selected .variable-item-span,
body.giftbag-theme div.product .variable-items-wrapper .variable-item.wcj_selected .variable-item-span,
body.giftbag-theme div.product .variable-items-wrapper .variable-item[aria-checked="true"] .variable-item-span {
	color: var(--gb-white);
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.disabled,
body.giftbag-theme div.product .variable-items-wrapper .variable-item.wcj_disabled {
	opacity: 0.45;
}

body.giftbag-theme div.product .reset_variations {
	font-size: 0.85rem;
	color: var(--gb-secondary);
}

/* Delivery Date + Personalise cards */
body.giftbag-theme div.product .prdd-delivery-form,
body.giftbag-theme div.product .ppom-wrapper {
	margin: 14px 0;
	padding: 16px;
	background: var(--gb-white);
	border: 1px solid var(--gb-line);
	border-radius: 18px;
}

body.giftbag-theme div.product .prdd-delivery-form .delivery_start_date_label {
	display: block;
	margin: 0 0 10px !important;
	font-family: var(--gb-display);
	font-size: 1.45rem;
	font-weight: 400;
	color: var(--gb-primary);
}

body.giftbag-theme div.product .prdd-delivery-form .prdd_label_separator {
	display: none;
}

body.giftbag-theme div.product .ppom-wrapper::before {
	content: "Personalise this gift";
	display: block;
	margin: 0 0 10px;
	font-family: var(--gb-display);
	font-size: 1.45rem;
	color: var(--gb-primary);
}

body.giftbag-theme div.product .ppom-wrapper label,
body.giftbag-theme div.product .ppom-wrapper .form-control-label {
	font-weight: 700;
	color: var(--gb-primary);
	font-size: 0.92rem;
}

body.giftbag-theme div.product .ppom-wrapper input[type="text"],
body.giftbag-theme div.product .ppom-wrapper input[type="email"],
body.giftbag-theme div.product .ppom-wrapper input[type="number"],
body.giftbag-theme div.product .ppom-wrapper textarea,
body.giftbag-theme div.product .ppom-wrapper select {
	border: 1px solid var(--gb-line-strong);
	border-radius: 12px;
	background: var(--gb-white);
	padding: 12px 14px;
	font-family: var(--gb-font);
}

/* Delivery date input: rounded with plum calendar icon */
body.giftbag-theme div.product .prdd_wrapper {
	position: relative;
	display: block;
}

body.giftbag-theme div.product .prdd_wrapper input.delivery_calender {
	width: 100%;
	min-height: 50px;
	padding: 12px 48px 12px 16px;
	border: 1px solid var(--gb-line-strong);
	border-radius: 14px;
	background: var(--gb-cream-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2357004F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") no-repeat right 14px center;
	color: var(--gb-ink);
	font-family: var(--gb-font);
	font-size: 0.95rem;
	cursor: pointer !important;
}

body.giftbag-theme div.product .prdd_wrapper input.delivery_calender:focus {
	outline: none;
	border-color: var(--gb-primary);
	box-shadow: 0 0 0 3px rgba(87, 0, 79, 0.12);
}

body.giftbag-theme div.product .prdd_wrapper #delivery_cal {
	position: absolute;
	top: 0;
	right: 0;
	width: 50px !important;
	height: 50px !important;
	opacity: 0;
	cursor: pointer;
}

/* Product info + add to bag */
.giftbag-product-info {
	margin: 22px 0 8px;
	padding: 18px;
	background: var(--gb-white);
	border: 1px solid var(--gb-line);
	border-radius: 18px;
}

.giftbag-product-info__title {
	margin: 0 0 10px;
}

.giftbag-product-info__body {
	font-size: 0.95rem;
	line-height: 1.6;
}

.giftbag-product-info__body p:last-child {
	margin-bottom: 0;
}

body.giftbag-theme div.product .single_add_to_cart_button {
	border-radius: 14px;
	min-height: 52px;
	font-weight: 700;
	font-size: 1rem;
	background: var(--gb-primary);
}

body.giftbag-theme div.product .single_add_to_cart_button:hover {
	background: var(--gb-secondary);
}

body.giftbag-theme div.product .quantity input.qty {
	border-radius: 12px;
	border: 1px solid var(--gb-line-strong);
	min-height: 52px;
}

body.giftbag-theme div.product .woocommerce-product-gallery {
	background: var(--gb-white);
	border-radius: 18px;
	overflow: hidden;
}

body.giftbag-theme div.product .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

body.giftbag-theme div.product .flex-control-thumbs li img {
	border-radius: 10px;
	aspect-ratio: 900 / 773;
	object-fit: cover;
}

/* ---------- Delivery-date picker (Product Delivery Date / jQuery UI) ---------- */
#ui-datepicker-div.giftbag-dp,
body.giftbag-theme .prdd-delivery-form .ui-datepicker {
	width: 300px;
	max-width: calc(100vw - 24px);
	padding: 0 0 10px;
	border: 1px solid var(--gb-line) !important;
	border-radius: 18px !important;
	background: var(--gb-white) !important;
	box-shadow: 0 16px 40px rgba(87, 0, 79, 0.18);
	font-family: var(--gb-font) !important;
	overflow: hidden;
	z-index: 10050 !important;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-header,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-header {
	position: relative;
	margin: 0;
	padding: 12px 44px;
	border: 0 !important;
	border-radius: 0 !important;
	background: var(--gb-primary) !important;
	color: var(--gb-white) !important;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-title,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-title {
	margin: 0;
	line-height: 1.6;
	font-weight: 700;
	font-size: 1rem;
	color: var(--gb-white);
	text-align: center;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-prev,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next {
	top: 50% !important;
	width: 32px;
	height: 32px;
	margin-top: -16px;
	border: 0 !important;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.14) !important;
	cursor: pointer;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-prev,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev { left: 8px !important; }

#ui-datepicker-div.giftbag-dp .ui-datepicker-next,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next { right: 8px !important; }

#ui-datepicker-div.giftbag-dp .ui-datepicker-prev:hover,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next:hover {
	background: rgba(255, 255, 255, 0.28) !important;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-prev span,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next span {
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	width: 9px;
	height: 9px;
	margin: -4px 0 0 -3px;
	background: none !important;
	border: solid var(--gb-white);
	border-width: 0 0 2px 2px;
	text-indent: -9999px;
	overflow: hidden;
	transform: rotate(45deg);
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-next span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next span {
	margin-left: -6px;
	transform: rotate(-135deg);
}

#ui-datepicker-div.giftbag-dp table.ui-datepicker-calendar,
body.giftbag-theme .prdd-delivery-form .ui-datepicker table.ui-datepicker-calendar {
	width: calc(100% - 16px);
	margin: 8px;
	border: 0;
	border-collapse: separate;
	border-spacing: 3px;
	font-size: 0.88rem;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar th,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar th {
	padding: 6px 0;
	border: 0;
	background: transparent;
	color: var(--gb-muted);
	font-weight: 600;
	font-size: 0.75rem;
	text-transform: uppercase;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td {
	padding: 0;
	border: 0;
	background: transparent;
	text-align: center;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td a,
#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td a,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td span {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 36px;
	padding: 0;
	border: 1px solid transparent !important;
	border-radius: 10px !important;
	background: transparent !important;
	color: var(--gb-ink) !important;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td a:hover,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td a:hover {
	background: var(--gb-cream) !important;
	color: var(--gb-primary) !important;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td.ui-datepicker-today a,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td.ui-datepicker-today a {
	border-color: var(--gb-secondary) !important;
	color: var(--gb-secondary) !important;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td.ui-datepicker-current-day a,
#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td a.ui-state-active,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td.ui-datepicker-current-day a,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td a.ui-state-active {
	background: var(--gb-primary) !important;
	border-color: var(--gb-primary) !important;
	color: var(--gb-white) !important;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td.ui-datepicker-unselectable span,
#ui-datepicker-div.giftbag-dp .ui-datepicker-calendar td.ui-state-disabled span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td.ui-datepicker-unselectable span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker-calendar td.ui-state-disabled span {
	color: #c9c2c8 !important;
	background: transparent !important;
	font-weight: 400;
	opacity: 1;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-buttonpane {
	margin: 0 8px;
	border: 0;
	background: transparent;
}

#ui-datepicker-div.giftbag-dp .ui-datepicker-buttonpane button {
	border-radius: 999px;
	border: 1px solid var(--gb-line-strong);
	background: var(--gb-white);
	color: var(--gb-primary);
	font-family: var(--gb-font);
}

/* ---------- Footer: readable on plum ---------- */
body.giftbag-theme .giftbag-footer,
body.giftbag-theme .giftbag-footer p,
body.giftbag-theme .giftbag-footer li,
body.giftbag-theme .giftbag-footer span {
	color: var(--gb-white) !important;
}

body.giftbag-theme .giftbag-footer a,
body.giftbag-theme .giftbag-footer .giftbag-footer__links a,
body.giftbag-theme .giftbag-footer .menu-item a,
body.giftbag-theme .giftbag-footer nav a {
	color: var(--gb-cream) !important;
	text-decoration: none;
}

body.giftbag-theme .giftbag-footer a:hover,
body.giftbag-theme .giftbag-footer a:focus {
	color: var(--gb-white) !important;
	text-decoration: underline;
}

body.giftbag-theme .giftbag-footer .giftbag-footer__heading {
	color: var(--gb-white) !important;
	font-family: var(--gb-font);
}

body.giftbag-theme .giftbag-footer .giftbag-footer__logo .giftbag-header__logo-img {
	filter: brightness(0) invert(1);
	height: 36px;
	width: auto;
	max-width: 220px;
}

body.giftbag-theme .giftbag-footer .giftbag-footer__links .sub-menu {
	display: none;
}

/* ---------- App product tile (exact): white card, thin lilac outline,
   14px radius, white inset around a rounded image, plum heart. ---------- */
.giftbag-card,
body.giftbag-theme ul.products li.product:not(.product-category) {
	position: relative;
	background: var(--gb-white) !important;
	border: 1px solid rgba(87, 0, 79, 0.12) !important;
	border-radius: 14px !important;
	box-shadow: 0 1px 3px rgba(87, 0, 79, 0.06) !important;
	padding: 0 !important;
}

.giftbag-card:hover,
body.giftbag-theme ul.products li.product:not(.product-category):hover {
	box-shadow: 0 6px 18px rgba(87, 0, 79, 0.1) !important;
	transform: none;
}

.giftbag-card__media,
body.giftbag-theme ul.products li.product .astra-shop-thumbnail-wrap {
	margin: 8px 8px 0 !important;
	border-radius: 10px !important;
}

.giftbag-card__body,
body.giftbag-theme ul.products li.product .astra-shop-summary-wrap {
	padding: 10px 10px 10px !important;
}

body.giftbag-theme .giftbag-heart {
	position: absolute;
	top: 16px;
	right: 16px;
	z-index: 4;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	min-height: 0;
	padding: 0 !important;
	border: 0;
	border-radius: 50% !important;
	background: rgba(87, 0, 79, 0.72) !important;
	color: var(--gb-white) !important;
	box-shadow: none;
	cursor: pointer;
	text-decoration: none;
	transition: background 0.15s ease, transform 0.15s ease;
}

body.giftbag-theme .giftbag-heart:hover {
	background: rgba(87, 0, 79, 0.88) !important;
	transform: scale(1.05);
}

body.giftbag-theme .giftbag-heart.is-saved svg {
	fill: var(--gb-white);
}

body.giftbag-theme .giftbag-card__badge,
body.giftbag-theme ul.products li.product .onsale {
	position: absolute;
	top: 16px !important;
	left: 16px !important;
	right: auto !important;
	z-index: 3;
	min-width: 0;
	min-height: 0;
	margin: 0 !important;
	padding: 3px 9px !important;
	border-radius: 6px !important;
	background: var(--gb-primary) !important;
	color: var(--gb-white) !important;
	font-size: 0.78rem;
	font-weight: 700;
	line-height: 1.4;
}

body.giftbag-theme .giftbag-card__media .giftbag-card__badge {
	top: 8px !important;
	left: 8px !important;
}

/* Archive header: plum display title + sort pills (Default / Price / Price ↓ / Name) */
body.giftbag-theme .woocommerce-products-header__title.page-title,
body.giftbag-theme .woocommerce-products-header .page-title {
	font-family: var(--gb-display);
	font-weight: 400;
	font-size: clamp(1.8rem, 3.2vw, 2.4rem);
	color: var(--gb-primary);
	margin: 4px 0 10px;
}

body.giftbag-theme .woocommerce-result-count {
	display: none;
}

.giftbag-sort {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 4px 0 16px;
	clear: both;
}

body.giftbag-theme a.giftbag-sort__pill {
	display: inline-flex;
	align-items: center;
	min-height: 36px;
	padding: 0 16px;
	border: 1px solid var(--gb-line-strong);
	border-radius: 999px;
	background: var(--gb-white);
	color: var(--gb-primary);
	font-size: 0.9rem;
	font-weight: 500;
	text-decoration: none;
}

body.giftbag-theme a.giftbag-sort__pill:hover {
	border-color: var(--gb-secondary);
	color: var(--gb-secondary);
}

body.giftbag-theme a.giftbag-sort__pill.is-active {
	background: var(--gb-primary);
	border-color: var(--gb-primary);
	color: var(--gb-white);
	font-weight: 600;
}

/* Menu fit at mid widths: never cut off — tighten, then wrap as a last resort. */
.giftbag-header__nav .giftbag-appmenu {
	flex-wrap: wrap;
}

@media (min-width: 1024px) and (max-width: 1199px) {
	body.giftbag-theme .giftbag-appmenu__link,
	body.giftbag-theme button.giftbag-appmenu__link {
		font-size: 0.72rem;
		letter-spacing: 0.02em;
		padding: 12px 3px;
	}

	body.giftbag-theme button.giftbag-appmenu__toggle:not(.giftbag-appmenu__toggle--label) {
		width: 20px;
	}
}

/* =========================================================================
   v1.3.0 — staging fixes
   ========================================================================= */

[hidden] {
	display: none !important;
}

/* ---------- Hero + side banners: separate columns, clear gaps ---------- */
body.giftbag-theme .giftbag-herozone {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 14px;
	align-items: stretch;
}

body.giftbag-theme .giftbag-herozone > * {
	min-width: 0;
}

body.giftbag-theme .giftbag-home .giftbag-hero,
body.giftbag-theme .giftbag-herozone .giftbag-hero {
	width: 100%;
	max-width: 100%;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid rgba(87, 0, 79, 0.14);
	box-shadow: 0 2px 10px rgba(87, 0, 79, 0.08);
}

body.giftbag-theme .giftbag-hero-side {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	min-width: 0;
}

body.giftbag-theme .giftbag-hero-side__item {
	position: relative;
	display: block;
	aspect-ratio: 3 / 1;
	min-height: 0;
	margin: 0;
	border-radius: 14px;
	overflow: hidden;
	background: var(--gb-white);
	border: 1px solid rgba(87, 0, 79, 0.14);
	box-shadow: 0 2px 10px rgba(87, 0, 79, 0.08);
}

body.giftbag-theme .giftbag-hero-side__item img {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	display: block;
	margin: 0;
}

@media (min-width: 768px) {
	body.giftbag-theme .giftbag-herozone.has-side {
		grid-template-columns: minmax(0, 4fr) minmax(0, 3fr);
		gap: 16px;
	}

	body.giftbag-theme .giftbag-herozone.has-side .giftbag-hero-side {
		grid-template-columns: minmax(0, 1fr);
		grid-template-rows: repeat(4, minmax(0, 1fr));
		gap: 12px;
		height: 100%;
	}

	body.giftbag-theme .giftbag-herozone.has-side .giftbag-hero-side__item {
		aspect-ratio: auto;
		height: auto;
	}
}

/* ---------- Product tiles: app card — image, heart, title, price; no buttons ---------- */
.giftbag-card,
body.giftbag-theme ul.products li.product:not(.product-category) {
	position: relative;
	border: 1px solid #e6dde6 !important;
	border-color: rgba(87, 0, 79, 0.14) !important;
	box-shadow: 0 2px 8px rgba(87, 0, 79, 0.07) !important;
	background: var(--gb-white);
}

.giftbag-card:hover,
body.giftbag-theme ul.products li.product:not(.product-category):hover {
	box-shadow: 0 6px 18px rgba(87, 0, 79, 0.12) !important;
}

body.giftbag-theme ul.products li.product .button,
body.giftbag-theme ul.products li.product .add_to_cart_button:not(.giftbag-addon-plus),
body.giftbag-theme ul.products li.product .added_to_cart,
body.giftbag-theme ul.products li.product .ast-on-card-button,
body.giftbag-theme ul.products li.product .ast-select-options-trigger,
.giftbag-card .button,
.giftbag-card__actions {
	display: none !important;
}

/* Whole card is one link: stretch the title link over the card. */
.giftbag-card__title a::after,
body.giftbag-theme ul.products li.product:not(.product-category) .ast-loop-product__link::after,
body.giftbag-theme ul.products li.product:not(.product-category) .woocommerce-loop-product__link::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
}

body.giftbag-theme .giftbag-heart,
body.giftbag-theme ul.products li.product .giftbag-heart {
	z-index: 5;
}

/* Equal heights, price pinned to the bottom. */
.giftbag-card__body,
body.giftbag-theme ul.products li.product .astra-shop-summary-wrap {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
}

body.giftbag-theme .giftbag-card__price,
body.giftbag-theme ul.products li.product .price {
	margin-top: auto !important;
	margin-bottom: 0 !important;
	padding-top: 6px;
}

/* ---------- Rails: full cards only, hidden scrollbar, edge arrows ---------- */
.giftbag-rail {
	position: relative;
}

body.giftbag-theme .giftbag-rail .giftbag-row__scroller,
body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller {
	--gb-rail-gap: 12px;
	--gb-rail-per: 2;
	display: flex !important;
	grid-template-columns: none !important;
	gap: var(--gb-rail-gap) !important;
	overflow-x: auto !important;
	overflow-y: hidden;
	margin: 0 !important;
	padding: 4px 0 8px !important;
	scroll-snap-type: x mandatory;
	scroll-padding: 0;
	scrollbar-width: none !important;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior-x: contain;
}

body.giftbag-theme .giftbag-rail .giftbag-row__scroller::-webkit-scrollbar,
body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller::-webkit-scrollbar {
	display: none !important;
	width: 0 !important;
	height: 0 !important;
	background: transparent !important;
}

body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller {
	--gb-rail-per: 1;
}

body.giftbag-theme .giftbag-rail .giftbag-row__scroller > .giftbag-row__item,
body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller > .giftbag-review {
	flex: 0 0 calc((100% - (var(--gb-rail-per) - 1) * var(--gb-rail-gap)) / var(--gb-rail-per)) !important;
	width: calc((100% - (var(--gb-rail-per) - 1) * var(--gb-rail-gap)) / var(--gb-rail-per)) !important;
	max-width: none !important;
	min-width: 0;
	scroll-snap-align: start;
	scroll-snap-stop: always;
}

body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller > .giftbag-review {
	border: 1px solid rgba(87, 0, 79, 0.14);
	box-shadow: 0 2px 8px rgba(87, 0, 79, 0.07);
}

@media (min-width: 600px) {
	body.giftbag-theme .giftbag-rail .giftbag-row__scroller { --gb-rail-per: 3; --gb-rail-gap: 14px; }
	body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller { --gb-rail-per: 2; --gb-rail-gap: 14px; }
}

@media (min-width: 900px) {
	body.giftbag-theme .giftbag-rail .giftbag-row__scroller { --gb-rail-per: 4; --gb-rail-gap: 16px; }
	body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller { --gb-rail-per: 3; --gb-rail-gap: 16px; }
}

@media (min-width: 1200px) {
	body.giftbag-theme .giftbag-rail .giftbag-row__scroller { --gb-rail-per: 5; }
	body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller { --gb-rail-per: 4; }
}

body.giftbag-theme .giftbag-rail-nav__btn {
	position: absolute;
	top: 50%;
	z-index: 6;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: -20px 0 0;
	padding: 0;
	border: 1px solid rgba(87, 0, 79, 0.18);
	border-radius: 50%;
	background: var(--gb-white);
	color: var(--gb-primary);
	box-shadow: 0 4px 14px rgba(87, 0, 79, 0.18);
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
}

body.giftbag-theme .giftbag-rail-nav__btn--prev { left: 6px; }
body.giftbag-theme .giftbag-rail-nav__btn--next { right: 6px; }

body.giftbag-theme .giftbag-rail-nav__btn:hover,
body.giftbag-theme .giftbag-rail-nav__btn:focus-visible {
	background: var(--gb-primary);
	color: var(--gb-white);
	outline: none;
}

@media (max-width: 599px) {
	body.giftbag-theme .giftbag-rail-nav__btn {
		width: 34px;
		height: 34px;
		margin-top: -17px;
	}
	body.giftbag-theme .giftbag-rail-nav__btn--prev { left: 4px; }
	body.giftbag-theme .giftbag-rail-nav__btn--next { right: 4px; }
}

body.giftbag-theme .giftbag-row__tools {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

/* ---------- Category page: subcategory icon tiles, label BELOW ---------- */
body.giftbag-theme .giftbag-subcats--app {
	margin: 8px 0 16px;
}

body.giftbag-theme .giftbag-subcats__list {
	display: flex;
	gap: 14px;
	margin: 0;
	padding: 2px 0 6px;
	list-style: none;
	overflow-x: auto;
	scroll-snap-type: x proximity;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}

body.giftbag-theme .giftbag-subcats__list::-webkit-scrollbar {
	display: none;
}

body.giftbag-theme .giftbag-subcat {
	flex: 0 0 84px;
	width: 84px;
	margin: 0;
	padding: 0;
	list-style: none;
	scroll-snap-align: start;
}

body.giftbag-theme .giftbag-subcat__link {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	text-decoration: none;
	color: var(--gb-ink);
}

body.giftbag-theme .giftbag-subcat__media {
	display: block;
	width: 72px;
	height: 72px;
	border-radius: 16px;
	overflow: hidden;
	background: var(--gb-cream, #fcddbe);
}

body.giftbag-theme .giftbag-subcat__img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0 !important;
	object-fit: cover;
}

body.giftbag-theme .giftbag-subcat__label {
	position: static;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	width: 100%;
	margin: 0;
	padding: 0;
	background: none;
	font-family: var(--gb-font);
	font-size: 12px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--gb-primary);
	text-align: center;
	text-transform: none;
	letter-spacing: 0;
	white-space: normal;
	word-break: normal;
	overflow-wrap: normal;
	hyphens: none;
}

@media (min-width: 768px) {
	body.giftbag-theme .giftbag-subcat { flex-basis: 96px; width: 96px; }
	body.giftbag-theme .giftbag-subcat__media { width: 84px; height: 84px; }
}

/* Fallback if WooCommerce markup is printed directly (Astra overlay box off). */
body.giftbag-theme .term-description ul.products li.product-category .woocommerce-loop-category__title,
body.giftbag-theme .giftbag-subcats ul.products li.product-category .woocommerce-loop-category__title {
	position: static !important;
	inset: auto !important;
	transform: none !important;
	background: none !important;
	box-shadow: none !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	color: var(--gb-primary) !important;
	white-space: normal !important;
	text-overflow: clip !important;
	word-break: normal !important;
	width: 100% !important;
	padding: 0 !important;
	margin: 6px 0 0 !important;
	opacity: 1 !important;
}

/* ---------- Product page: single price line (variation price shown at top) ---------- */
body.giftbag-theme div.product .woocommerce-variation-price,
body.giftbag-theme div.product .single_variation .woocommerce-variation-price {
	display: none !important;
}

/* Personalise (PPOM) card */
body.giftbag-theme div.product .ppom-wrapper {
	padding: 18px !important;
	margin: 14px 0 !important;
	border: 1px solid var(--gb-line) !important;
	border-radius: 18px !important;
	background: var(--gb-white) !important;
	box-shadow: none !important;
}

body.giftbag-theme div.product .ppom-wrapper::before {
	margin: 0 0 12px !important;
	padding: 0 !important;
	line-height: 1.2;
}

body.giftbag-theme div.product .ppom-wrapper .ppom-rendering-fields,
body.giftbag-theme div.product .ppom-wrapper .form-row {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
	border: 0 !important;
	float: none !important;
}

body.giftbag-theme div.product .ppom-wrapper .ppom-field-wrapper,
body.giftbag-theme div.product .ppom-wrapper .ppom-col {
	flex: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

body.giftbag-theme div.product .ppom-wrapper .form-group {
	margin: 0 !important;
	padding: 0 !important;
}

body.giftbag-theme div.product .ppom-wrapper .form-control-label {
	display: block;
	margin: 0 0 6px !important;
}

body.giftbag-theme div.product .ppom-wrapper input.form-control,
body.giftbag-theme div.product .ppom-wrapper textarea,
body.giftbag-theme div.product .ppom-wrapper select {
	width: 100% !important;
	max-width: 100% !important;
	min-height: 48px;
	box-sizing: border-box;
}

body.giftbag-theme div.product .ppom-wrapper hr,
body.giftbag-theme div.product .ppom-wrapper #ppom-price-cloner-wrapper,
body.giftbag-theme div.product .ppom-wrapper #ppom-price-container:empty,
body.giftbag-theme div.product .ppom-wrapper .woocommerce-notices-wrapper:empty,
body.giftbag-theme div.product .ppom-wrapper > div[style*="clear"] {
	display: none !important;
}

body.giftbag-theme div.product .ppom-wrapper #ppom-price-container table,
body.giftbag-theme div.product .ppom-wrapper #ppom-price-container td,
body.giftbag-theme div.product .ppom-wrapper #ppom-price-container th {
	border: 0 !important;
}

body.giftbag-theme div.product .prdd-delivery-form {
	width: 100%;
	box-sizing: border-box;
}

body.giftbag-theme div.product #prdd_price:empty,
body.giftbag-theme div.product #ajax_img {
	display: none;
}

/* Quantity stepper + Add to bag on one row (48px) */
body.giftbag-theme div.product form.cart:not(.variations_form),
body.giftbag-theme div.product .woocommerce-variation-add-to-cart {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

body.giftbag-theme div.product form.cart:not(.variations_form) > *,
body.giftbag-theme div.product .woocommerce-variation-add-to-cart > * {
	flex: 1 1 100%;
	min-width: 0;
}

body.giftbag-theme div.product form.cart .quantity {
	flex: 0 0 auto !important;
	display: inline-flex !important;
	align-items: stretch;
	height: 48px;
	margin: 0 !important;
	border: 1.5px solid var(--gb-primary);
	border-radius: 12px;
	background: var(--gb-white);
	overflow: hidden;
}

body.giftbag-theme div.product form.cart .quantity input.qty {
	width: 44px !important;
	height: 100% !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--gb-ink) !important;
	font-family: var(--gb-font);
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	box-shadow: none !important;
	-moz-appearance: textfield;
	appearance: textfield;
}

body.giftbag-theme div.product form.cart .quantity input.qty::-webkit-outer-spin-button,
body.giftbag-theme div.product form.cart .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

body.giftbag-theme div.product form.cart .quantity .giftbag-qty__btn {
	width: 40px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--gb-primary);
	font-size: 1.3rem;
	font-weight: 700;
	line-height: 1;
	cursor: pointer;
}

body.giftbag-theme div.product form.cart .quantity .giftbag-qty__btn:hover {
	background: rgba(87, 0, 79, 0.06);
}

body.giftbag-theme div.product form.cart .single_add_to_cart_button {
	flex: 1 1 200px !important;
	height: 48px;
	min-height: 48px;
	margin: 0 !important;
	padding: 0 24px !important;
	border-radius: 12px !important;
	background: var(--gb-primary) !important;
	color: var(--gb-white) !important;
	font-weight: 700;
}

body.giftbag-theme .giftbag-attn {
	animation: giftbag-attn 0.6s ease 0s 2;
	box-shadow: 0 0 0 3px rgba(168, 48, 146, 0.45) !important;
	border-radius: 14px;
}

@keyframes giftbag-attn {
	0%, 100% { transform: translateX(0); }
	30% { transform: translateX(-4px); }
	60% { transform: translateX(4px); }
}

/* ---------- Sticky buy bar (product pages) ---------- */
.giftbag-buybar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 220;
	background: var(--gb-white);
	border-top: 1px solid rgba(87, 0, 79, 0.14);
	box-shadow: 0 -8px 24px rgba(87, 0, 79, 0.1);
	padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
}

.giftbag-buybar__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	max-width: 1140px;
	margin: 0 auto;
}

.giftbag-buybar__price {
	flex: 0 0 auto;
	font-family: var(--gb-font);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--gb-primary);
	white-space: nowrap;
}

.giftbag-buybar__price del {
	color: var(--gb-muted);
	font-weight: 400;
	font-size: 0.85em;
}

.giftbag-buybar__price ins {
	text-decoration: none;
}

.giftbag-buybar__btn {
	flex: 1 1 auto;
	height: 48px;
	border: 0;
	border-radius: 12px;
	background: var(--gb-primary);
	color: var(--gb-white);
	font-family: var(--gb-font);
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
}

.giftbag-buybar__btn:hover {
	background: #4a0e42;
}

.giftbag-buybar__msg {
	max-width: 1140px;
	margin: 6px auto 0;
	font-size: 0.85rem;
	font-weight: 600;
	color: #b3261e;
	text-align: center;
}

/* Padding for the sticky bar is mobile-only; ≥922px is reset in the v1.4.14 block. */
@media (max-width: 921px) {
	body.giftbag-has-buybar {
		padding-bottom: 84px !important;
	}
}

/* Mobile only (<922px): bar sits above the bottom app-nav; in-page button hidden (app style). */
@media (max-width: 921px) {
	body.giftbag-has-buybar .giftbag-buybar {
		bottom: calc(var(--gb-tabbar-h, 68px) + env(safe-area-inset-bottom, 0px));
		padding-bottom: 10px;
	}

	body.giftbag-has-buybar {
		padding-bottom: calc(var(--gb-tabbar-h, 68px) + 84px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.giftbag-has-buybar div.product form.cart .single_add_to_cart_button {
		display: none !important;
	}
}

/* WhatsApp chat (Social Chat / qlwapp) and similar widgets lifted above the bar. */
body.giftbag-has-buybar .qlwapp__container,
body.giftbag-has-buybar .qlwapp-container,
body.giftbag-has-buybar #qlwapp .qlwapp-toggle,
body.giftbag-has-buybar .qlwapp--bottom-right,
body.giftbag-has-buybar .qlwapp--bottom-left,
body.giftbag-has-buybar .joinchat,
body.giftbag-has-buybar .wa__btn_popup,
body.giftbag-has-buybar .ht-ctc {
	bottom: 88px !important;
}

@media (max-width: 921px) {
	body.giftbag-has-buybar .qlwapp__container,
	body.giftbag-has-buybar .qlwapp-container,
	body.giftbag-has-buybar #qlwapp .qlwapp-toggle,
	body.giftbag-has-buybar .qlwapp--bottom-right,
	body.giftbag-has-buybar .qlwapp--bottom-left,
	body.giftbag-has-buybar .joinchat,
	body.giftbag-has-buybar .wa__btn_popup,
	body.giftbag-has-buybar .ht-ctc {
		bottom: calc(var(--gb-tabbar-h, 68px) + 88px) !important;
	}
}

/* ---------- Delivery datepicker: clear white chevrons ---------- */
body.single-product #ui-datepicker-div .ui-datepicker-header,
#ui-datepicker-div.giftbag-dp .ui-datepicker-header,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-header {
	position: relative;
	min-height: 52px;
	padding: 12px 52px !important;
	background: var(--gb-primary) !important;
	border: 0 !important;
	color: var(--gb-white) !important;
}

body.single-product #ui-datepicker-div .ui-datepicker-prev,
body.single-product #ui-datepicker-div .ui-datepicker-next,
#ui-datepicker-div.giftbag-dp .ui-datepicker-prev,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next {
	position: absolute !important;
	top: 50% !important;
	width: 32px !important;
	height: 32px !important;
	margin: -16px 0 0 !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: transparent !important;
	color: var(--gb-white) !important;
	cursor: pointer;
	overflow: hidden;
	text-indent: 0;
	z-index: 2;
}

body.single-product #ui-datepicker-div .ui-datepicker-prev,
#ui-datepicker-div.giftbag-dp .ui-datepicker-prev,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev {
	left: 10px !important;
	right: auto !important;
}

body.single-product #ui-datepicker-div .ui-datepicker-next,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next {
	right: 10px !important;
	left: auto !important;
}

body.single-product #ui-datepicker-div .ui-datepicker-prev:hover,
body.single-product #ui-datepicker-div .ui-datepicker-next:hover,
body.single-product #ui-datepicker-div .ui-datepicker-prev-hover,
body.single-product #ui-datepicker-div .ui-datepicker-next-hover,
#ui-datepicker-div.giftbag-dp .ui-datepicker-prev:hover,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next:hover,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev:hover,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next:hover {
	background: rgba(255, 255, 255, 0.2) !important;
	border: 0 !important;
	top: 50% !important;
}

body.single-product #ui-datepicker-div .ui-datepicker-prev span,
body.single-product #ui-datepicker-div .ui-datepicker-next span,
#ui-datepicker-div.giftbag-dp .ui-datepicker-prev span,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev span,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next span {
	display: none !important;
}

body.single-product #ui-datepicker-div .ui-datepicker-prev::before,
body.single-product #ui-datepicker-div .ui-datepicker-next::before,
#ui-datepicker-div.giftbag-dp .ui-datepicker-prev::before,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next::before,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-prev::before,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 10px;
	height: 10px;
	margin: -5px 0 0 -3px;
	border: solid #ffffff;
	border-width: 0 0 2.5px 2.5px;
	transform: rotate(45deg);
}

body.single-product #ui-datepicker-div .ui-datepicker-next::before,
#ui-datepicker-div.giftbag-dp .ui-datepicker-next::before,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-datepicker-next::before {
	margin-left: -7px;
	transform: rotate(-135deg);
}

body.single-product #ui-datepicker-div .ui-datepicker-prev.ui-state-disabled,
body.single-product #ui-datepicker-div .ui-datepicker-next.ui-state-disabled,
#ui-datepicker-div.giftbag-dp .ui-state-disabled.ui-datepicker-prev,
#ui-datepicker-div.giftbag-dp .ui-state-disabled.ui-datepicker-next,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-state-disabled.ui-datepicker-prev,
body.giftbag-theme .prdd-delivery-form .ui-datepicker .ui-state-disabled.ui-datepicker-next {
	opacity: 0.35 !important;
	cursor: default;
	background: transparent !important;
}

/* ---------- Checkout: robust field layout (replaces v1.1/v1.2 rules) ----------
   Rows full width, label above, 48px inputs; first/last pairs side by side
   at >=768px with inputs bottom-aligned; Astra/FCF floats and widths off. */
html body.giftbag-theme form.checkout .woocommerce-billing-fields__field-wrapper,
html body.giftbag-theme form.checkout .woocommerce-shipping-fields__field-wrapper,
html body.giftbag-theme form.checkout .woocommerce-additional-fields__field-wrapper {
	display: flex !important;
	flex-wrap: wrap !important;
	align-items: flex-end;
	column-gap: 16px;
	row-gap: 14px;
	width: 100% !important;
}

html body.giftbag-theme form.checkout .woocommerce-billing-fields__field-wrapper::before,
html body.giftbag-theme form.checkout .woocommerce-billing-fields__field-wrapper::after,
html body.giftbag-theme form.checkout .woocommerce-shipping-fields__field-wrapper::before,
html body.giftbag-theme form.checkout .woocommerce-shipping-fields__field-wrapper::after {
	content: none !important;
	display: none !important;
}

html body.giftbag-theme form.checkout p.form-row,
html body.giftbag-theme form.checkout div.form-row,
html body.giftbag-theme form.checkout .form-row.form-row-first,
html body.giftbag-theme form.checkout .form-row.form-row-last,
html body.giftbag-theme form.checkout .form-row.form-row-wide {
	display: block !important;
	flex: 0 0 100% !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	float: none !important;
	clear: none !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box;
	position: relative;
}

html body.giftbag-theme form.checkout .form-row[style*="display: none"],
html body.giftbag-theme form.checkout .form-row[style*="display:none"],
html body.giftbag-theme form.checkout .form-row.hidden,
html body.giftbag-theme form.checkout .form-row.fcf-hidden {
	display: none !important;
}

html body.giftbag-theme form.checkout .form-row > label,
html body.giftbag-theme form.checkout .form-row label:not(.checkbox):not(.woocommerce-form__label-for-checkbox) {
	display: block !important;
	float: none !important;
	position: static !important;
	width: auto !important;
	max-width: 100% !important;
	min-height: 0 !important;
	margin: 0 0 6px !important;
	padding: 0 !important;
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3 !important;
	color: var(--gb-ink);
	white-space: normal;
	order: 0 !important;
}

html body.giftbag-theme form.checkout .form-row .woocommerce-input-wrapper {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

html body.giftbag-theme form.checkout .form-row input.input-text,
html body.giftbag-theme form.checkout .form-row input[type="text"],
html body.giftbag-theme form.checkout .form-row input[type="email"],
html body.giftbag-theme form.checkout .form-row input[type="tel"],
html body.giftbag-theme form.checkout .form-row input[type="number"],
html body.giftbag-theme form.checkout .form-row input[type="password"],
html body.giftbag-theme form.checkout .form-row select,
html body.giftbag-theme form.checkout .form-row textarea,
html body.giftbag-theme form.checkout .form-row .select2-container {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	min-width: 0 !important;
	float: none !important;
	box-sizing: border-box !important;
	margin: 0 !important;
}

html body.giftbag-theme form.checkout .form-row input.input-text,
html body.giftbag-theme form.checkout .form-row input[type="text"],
html body.giftbag-theme form.checkout .form-row input[type="email"],
html body.giftbag-theme form.checkout .form-row input[type="tel"],
html body.giftbag-theme form.checkout .form-row input[type="number"],
html body.giftbag-theme form.checkout .form-row input[type="password"],
html body.giftbag-theme form.checkout .form-row select,
html body.giftbag-theme form.checkout .form-row .select2-container .select2-selection--single {
	min-height: 48px !important;
	height: auto;
	padding: 12px 14px !important;
	font-size: 0.95rem !important;
	line-height: 1.4 !important;
	border-radius: 12px !important;
}

html body.giftbag-theme form.checkout .form-row .select2-container .select2-selection--single {
	display: flex !important;
	align-items: center;
}

html body.giftbag-theme form.checkout .form-row .select2-container .select2-selection__rendered {
	padding: 0 !important;
	line-height: 1.4 !important;
}

html body.giftbag-theme form.checkout .form-row .select2-container .select2-selection__arrow {
	height: 100% !important;
	top: 0 !important;
	right: 8px !important;
}

html body.giftbag-theme form.checkout .form-row textarea {
	min-height: 96px !important;
	padding: 12px 14px !important;
}

@media (min-width: 768px) {
	html body.giftbag-theme form.checkout .woocommerce-billing-fields__field-wrapper > .form-row.form-row-first,
	html body.giftbag-theme form.checkout .woocommerce-billing-fields__field-wrapper > .form-row.form-row-last,
	html body.giftbag-theme form.checkout .woocommerce-shipping-fields__field-wrapper > .form-row.form-row-first,
	html body.giftbag-theme form.checkout .woocommerce-shipping-fields__field-wrapper > .form-row.form-row-last,
	html body.giftbag-theme form.checkout .woocommerce-additional-fields__field-wrapper > .form-row.form-row-first,
	html body.giftbag-theme form.checkout .woocommerce-additional-fields__field-wrapper > .form-row.form-row-last {
		flex: 0 0 calc(50% - 8px) !important;
		width: calc(50% - 8px) !important;
		max-width: calc(50% - 8px) !important;
	}
}

/* =========================================================================
   v1.3.1
   ========================================================================= */

/* Admin bar is absolute (scrolls away) below 600px: no header offset there. */
@media screen and (max-width: 600px) {
	body.admin-bar .giftbag-header,
	body.admin-bar.giftbag-theme .giftbag-header {
		top: 0;
	}
}

/* Reviews rail: arrows sit in side gutters, never over review text. */
body.giftbag-theme .giftbag-reviews .giftbag-rail {
	padding: 0 50px;
}

body.giftbag-theme .giftbag-reviews .giftbag-rail-nav__btn--prev { left: 0; }
body.giftbag-theme .giftbag-reviews .giftbag-rail-nav__btn--next { right: 0; }

@media (max-width: 599px) {
	body.giftbag-theme .giftbag-reviews .giftbag-rail {
		padding: 0 40px;
	}
}

/* Delivery Date: no empty plugin blocks or stacked margins. */
body.giftbag-theme div.product .giftbag-empty,
body.giftbag-theme div.product .prdd-delivery-form .inline_calendar:empty,
body.giftbag-theme div.product .prdd-delivery-form .prdd_show_time_slot:empty,
body.giftbag-theme div.product #prdd_price:empty,
body.giftbag-theme div.product .single_variation:empty,
body.giftbag-theme div.product .woocommerce-variation:empty {
	display: none !important;
}

body.giftbag-theme div.product form.cart:not(.variations_form) > .prdd-delivery-form,
body.giftbag-theme div.product form.cart [id^="prdd-delivery-form-wrapper"],
body.giftbag-theme div.product form.cart [id^="prdd-delivery-form-wrapper"] .prdd-delivery-form,
body.giftbag-theme div.product form.cart .ppom-wrapper {
	margin: 0 !important;
}

body.giftbag-theme div.product .prdd-delivery-form {
	padding: 16px 18px !important;
}

body.giftbag-theme div.product .prdd-delivery-form .prdd_start_date,
body.giftbag-theme div.product .prdd-delivery-form .prdd_wrapper {
	margin: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

body.giftbag-theme div.product .prdd-delivery-form .delivery_start_date_label {
	margin: 0 0 10px !important;
}

body.giftbag-theme div.product form.cart .variations,
body.giftbag-theme div.product form.cart .single_variation_wrap {
	margin-bottom: 0 !important;
}

/* ---------- Product page: app layout ---------- */
body.giftbag-theme div.product .woocommerce-product-gallery {
	margin-bottom: 18px;
}

body.giftbag-theme div.product .woocommerce-product-gallery .flex-viewport,
body.giftbag-theme div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	background: #F2F0F3 !important;
	border-radius: 18px;
	overflow: hidden;
}

body.giftbag-theme div.product .woocommerce-product-gallery__wrapper,
body.giftbag-theme div.product .woocommerce-product-gallery__image,
body.giftbag-theme div.product .woocommerce-product-gallery__image a,
body.giftbag-theme div.product .woocommerce-product-gallery__image img,
body.giftbag-theme div.product .woocommerce-product-gallery .zoomImg {
	background-color: #F2F0F3 !important;
}

body.giftbag-theme div.product .woocommerce-product-gallery__image img {
	width: 100%;
	height: auto;
	object-fit: contain;
}

body.giftbag-theme div.product .woocommerce-product-gallery .flex-control-thumbs {
	display: flex !important;
	flex-wrap: nowrap;
	gap: 10px;
	margin: 12px 0 0 !important;
	padding: 0 2px !important;
	overflow-x: auto;
	scrollbar-width: none;
	list-style: none;
}

body.giftbag-theme div.product .woocommerce-product-gallery .flex-control-thumbs::-webkit-scrollbar {
	display: none;
}

body.giftbag-theme div.product .woocommerce-product-gallery .flex-control-thumbs li {
	flex: 0 0 68px !important;
	width: 68px !important;
	margin: 0 !important;
	padding: 0 !important;
	float: none !important;
}

body.giftbag-theme div.product .woocommerce-product-gallery .flex-control-thumbs li img {
	display: block;
	width: 68px;
	height: 68px;
	object-fit: cover;
	border: 2px solid transparent;
	border-radius: 10px;
	background: #F2F0F3;
	opacity: 1 !important;
	cursor: pointer;
	box-sizing: border-box;
}

body.giftbag-theme div.product .woocommerce-product-gallery .flex-control-thumbs li img.flex-active {
	border-color: var(--gb-primary);
}

@media (max-width: 767px) {
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery {
		width: 100vw;
		max-width: 100vw;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
	}

	body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery__wrapper {
		border-radius: 0;
	}

	body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		padding: 0 16px !important;
	}
}

body.giftbag-theme div.product .summary .product_title {
	font-family: var(--gb-display) !important;
	font-size: 1.9rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--gb-primary) !important;
	margin: 0 0 10px;
}

body.giftbag-theme div.product .summary p.price,
body.giftbag-theme div.product .summary p.price .amount,
body.giftbag-theme div.product .summary p.price ins {
	font-family: var(--gb-font) !important;
	font-size: 1.1rem;
	font-weight: 700;
	color: #111111 !important;
	text-decoration: none;
}

body.giftbag-theme div.product .summary p.price {
	margin: 0 0 10px;
}

body.giftbag-theme div.product .summary p.price del,
body.giftbag-theme div.product .summary p.price del .amount {
	color: var(--gb-muted) !important;
	font-weight: 400;
	font-size: 0.9rem;
}

.giftbag-new-pill {
	display: inline-block;
	margin: 0 0 14px;
	padding: 4px 10px;
	border-radius: 6px;
	background: #710a67;
	color: #ffffff;
	font-family: var(--gb-font);
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.2;
}

body.giftbag-theme div.product table.variations,
body.giftbag-theme div.product table.variations tbody,
body.giftbag-theme div.product table.variations tr,
body.giftbag-theme div.product table.variations th,
body.giftbag-theme div.product table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
	background: transparent;
	text-align: left;
}

body.giftbag-theme div.product table.variations tr {
	margin: 0 0 14px;
}

body.giftbag-theme div.product table.variations th.label,
body.giftbag-theme div.product table.variations .label label {
	margin: 0 0 8px;
	font-family: var(--gb-font);
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--gb-primary);
}

body.giftbag-theme div.product .variable-items-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.button-variable-item {
	min-height: 40px;
	padding: 0 18px !important;
	border: 1px solid #d8c2d5 !important;
	background: #ffffff !important;
	border-radius: 999px !important;
	margin: 0 !important;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.button-variable-item .variable-item-span {
	color: #111111;
	font-weight: 500;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.selected,
body.giftbag-theme div.product .variable-items-wrapper .variable-item.wcj_selected,
body.giftbag-theme div.product .variable-items-wrapper .variable-item[aria-checked="true"] {
	background: var(--gb-primary) !important;
	border-color: var(--gb-primary) !important;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.selected .variable-item-span,
body.giftbag-theme div.product .variable-items-wrapper .variable-item.wcj_selected .variable-item-span,
body.giftbag-theme div.product .variable-items-wrapper .variable-item[aria-checked="true"] .variable-item-span {
	color: #ffffff;
	font-weight: 700;
}

body.giftbag-theme div.product .variable-items-wrapper .variable-item.giftbag-oos {
	display: none !important;
}

/* ---------- Sticky bar: price | − qty + | Add to bag ---------- */
.giftbag-buybar__inner {
	gap: 12px;
}

.giftbag-buybar__price {
	color: #111111;
	font-size: 1rem;
	min-width: 0;
}

.giftbag-buybar__price .amount {
	color: #111111;
}

.giftbag-buybar__qty {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.giftbag-buybar__step {
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid #d8c2d5;
	border-radius: 10px;
	background: #ffffff;
	color: #111111;
	font-size: 1.35rem;
	line-height: 1;
	cursor: pointer;
}

.giftbag-buybar__step:hover {
	border-color: var(--gb-primary);
	color: var(--gb-primary);
}

body.giftbag-theme .giftbag-buybar__qtyinput {
	width: 34px;
	height: 44px;
	min-height: 0;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	color: #111111;
	font-family: var(--gb-font);
	font-size: 1rem;
	font-weight: 700;
	text-align: center;
	-moz-appearance: textfield;
	appearance: textfield;
}

.giftbag-buybar__qtyinput::-webkit-outer-spin-button,
.giftbag-buybar__qtyinput::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.giftbag-buybar__btn {
	flex: 1 1 auto;
	min-width: 120px;
	height: 52px;
	border-radius: 14px;
}

/* Mobile only (<922px): no bottom app-nav on product pages (app style); bar at the very bottom;
   qty lives in the bar, so the in-page qty and button are hidden. */
@media (max-width: 921px) {
	body.giftbag-has-buybar .giftbag-tabbar {
		display: none !important;
	}

	body.giftbag-has-buybar .giftbag-buybar {
		bottom: 0;
		padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	}

	body.giftbag-has-buybar {
		padding-bottom: calc(84px + env(safe-area-inset-bottom, 0px)) !important;
	}

	body.giftbag-has-buybar div.product form.cart .quantity,
	body.giftbag-has-buybar div.product form.cart .single_add_to_cart_button {
		display: none !important;
	}

	body.giftbag-has-buybar .qlwapp,
	body.giftbag-has-buybar .qlwapp__container,
	body.giftbag-has-buybar .qlwapp-container,
	body.giftbag-has-buybar #qlwapp .qlwapp-toggle,
	body.giftbag-has-buybar .qlwapp--bottom-right,
	body.giftbag-has-buybar .qlwapp--bottom-left,
	body.giftbag-has-buybar .joinchat,
	body.giftbag-has-buybar .wa__btn_popup,
	body.giftbag-has-buybar .ht-ctc,
	body.giftbag-has-buybar hostinger-agent,
	body.giftbag-has-buybar hostinger-agent-widget,
	body.giftbag-has-buybar hostinger-chat,
	body.giftbag-has-buybar #hostinger-agent,
	body.giftbag-has-buybar #hostinger-agent-widget,
	body.giftbag-has-buybar #hostinger-agent-button,
	body.giftbag-has-buybar #hostinger-chat-widget,
	body.giftbag-has-buybar #kodee-chat-widget,
	body.giftbag-has-buybar [id*="hostinger-agent"],
	body.giftbag-has-buybar [class*="hostinger-agent"],
	body.giftbag-has-buybar [id*="kodee"],
	body.giftbag-has-buybar [class*="kodee-"] {
		bottom: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

@media (max-width: 380px) {
	.giftbag-buybar__inner { gap: 6px; }
	.giftbag-buybar__price { font-size: 0.85rem; }
	.giftbag-buybar__step { width: 32px; height: 36px; }
	.giftbag-buybar__btn { min-width: 0; height: 44px; font-size: 0.88rem; }
}

/* =========================================================================
   v1.3.2
   ========================================================================= */

/* Desktop: a clearly grey canvas behind the main image (product photos are
   near-white #F9F9F9, so the earlier fill was invisible without padding). */
@media (min-width: 768px) {
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
		background: #F2F0F3 !important;
		padding: 0 !important;
		overflow: hidden !important;
		width: 100% !important;
		max-width: 100%;
		box-sizing: border-box;
		border-radius: 18px;
	}

	/* Visual inset lives on the slide contents, not the viewport FlexSlider measures. */
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a,
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image > a {
		display: block;
		padding: 24px;
		box-sizing: border-box;
		background: #F2F0F3;
	}

	body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
		overflow: hidden;
		box-sizing: border-box;
	}
}

/* =========================================================================
   v1.3.3
   ========================================================================= */

/* Product pages: clip any leftover horizontal overflow (e.g. 100vw full-bleed
   gallery) instead of letting the page scroll sideways. */
html:has(body.giftbag-theme.single-product),
body.giftbag-theme.single-product {
	overflow-x: clip;
	max-width: 100%;
}

/* Sticky buy bar must fit down to 320px: no 100vw, box-sizing, shrinking price,
   compact stepper, flex button with nowrap. */
.giftbag-buybar,
.giftbag-buybar * ,
.giftbag-buybar *::before,
.giftbag-buybar *::after {
	box-sizing: border-box;
}

.giftbag-buybar {
	width: 100%;
	max-width: 100%;
	left: 0;
	right: 0;
	padding-left: max(12px, env(safe-area-inset-left, 0px));
	padding-right: max(12px, env(safe-area-inset-right, 0px));
	padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
	overflow-x: clip;
}

.giftbag-buybar__inner {
	display: flex;
	align-items: center;
	gap: 8px;
	width: 100%;
	max-width: 100%;
	min-width: 0;
}

.giftbag-buybar__price {
	flex: 0 1 auto;
	min-width: 0;
	max-width: 42%;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	font-size: 1rem;
}

.giftbag-buybar__price *,
.giftbag-buybar__price .amount,
.giftbag-buybar__price .woocommerce-Price-amount,
.giftbag-buybar__price bdi {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	min-width: 0;
	max-width: 100%;
}

.giftbag-buybar__qty {
	flex: 0 0 96px;
	width: 96px;
	min-width: 96px;
	max-width: 96px;
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 0;
}

.giftbag-buybar__step {
	flex: 0 0 32px;
	width: 32px;
	height: 36px;
	padding: 0;
}

body.giftbag-theme .giftbag-buybar__qtyinput,
.giftbag-buybar__qtyinput {
	flex: 1 1 auto;
	width: 32px;
	min-width: 0;
	height: 36px;
}

.giftbag-buybar__btn {
	flex: 1 1 0;
	min-width: 0;
	max-width: 100%;
	width: auto;
	padding: 0 12px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

@media (max-width: 399px) {
	.giftbag-buybar__inner {
		gap: 6px;
	}

	.giftbag-buybar__price {
		font-size: 0.82rem;
	}

	.giftbag-buybar__btn {
		height: 44px;
		padding: 0 8px;
		font-size: 0.88rem;
	}

	.giftbag-buybar__step {
		height: 36px;
		font-size: 1.15rem;
	}
}

/* =========================================================================
   v1.3.4
   Menu matches the GiftBag app drawer / Shop-categories screen
   (APK 1.0.21 bundle colours + drawer tree; v101 app shots).
   ========================================================================= */

/* Full-screen menu (not a peach bottom sheet). App page bg #F8F5F8. */
.giftbag-catsheet__backdrop {
	background: rgba(17, 17, 17, 0.35);
}

.giftbag-catsheet__panel {
	inset: 0;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	max-height: none;
	height: 100%;
	border-radius: 0;
	background: var(--gb-bg, #F8F5F8) !important;
	padding: 0 0 calc(var(--gb-tabbar-h, 68px) + env(safe-area-inset-bottom, 0px));
	display: flex;
	flex-direction: column;
	box-shadow: none;
	overflow: hidden;
}

.giftbag-catsheet__head {
	flex: 0 0 auto;
	margin: 0;
	padding: 10px 8px 10px 16px;
	background: var(--gb-bg, #F8F5F8);
	border-bottom: 1px solid var(--gb-line, #E9E0E9);
}

.giftbag-catsheet__head h2 {
	font-family: var(--gb-display);
	font-size: 1.45rem;
	font-weight: 400;
	text-transform: none;
	letter-spacing: 0;
	color: var(--gb-primary);
}

.giftbag-catsheet__close {
	background: transparent;
	color: var(--gb-primary);
	width: 44px;
	height: 44px;
}

.giftbag-catsheet__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 4px 16px 16px;
	-webkit-overflow-scrolling: touch;
}

/* Title-case rows on lavender, with optional category thumb + chevron. */
.giftbag-accordion--d0 > .giftbag-accordion__item {
	margin: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
	border-bottom: 1px solid var(--gb-line, #E9E0E9);
}

body.giftbag-theme .giftbag-accordion__link,
body.giftbag-theme button.giftbag-accordion__toggle--label {
	justify-content: flex-start;
	padding: 12px 2px;
	color: var(--gb-primary) !important;
	font-size: 1.02rem;
	font-weight: 600;
	letter-spacing: 0 !important;
	text-transform: none !important;
}

body.giftbag-theme button.giftbag-accordion__toggle:not(.giftbag-accordion__toggle--label) {
	color: var(--gb-primary) !important;
}

.giftbag-accordion__label {
	flex: 1 1 auto;
	min-width: 0;
	text-align: left;
}

.giftbag-accordion__media {
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	border-radius: 12px;
	overflow: hidden;
	background: #ffffff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--gb-primary);
	font-weight: 700;
}

.giftbag-accordion__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.giftbag-accordion__item.is-open > .giftbag-accordion__row .giftbag-chevron {
	transform: rotate(180deg);
}

.giftbag-accordion__panel,
.giftbag-accordion__panel .giftbag-accordion__panel {
	background: transparent !important;
	padding: 0 0 8px;
}

body.giftbag-theme .giftbag-accordion__panel .giftbag-accordion__link,
body.giftbag-theme .giftbag-accordion__panel button.giftbag-accordion__toggle,
body.giftbag-theme .giftbag-accordion__panel button.giftbag-accordion__toggle--label {
	color: var(--gb-ink, #111111) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-weight: 500;
	font-size: 0.98rem;
	padding: 10px 2px 10px 8px;
}

.giftbag-accordion--d1 > .giftbag-accordion__item {
	margin: 0;
	background: transparent;
	border-radius: 0;
	box-shadow: none;
	border-bottom: 0;
}

.giftbag-accordion--d1 > .giftbag-accordion__item + .giftbag-accordion__item {
	border-top: 1px solid var(--gb-line, #E9E0E9);
}

body.giftbag-theme .giftbag-accordion__item.is-heading > .giftbag-accordion__row .giftbag-accordion__toggle--label,
body.giftbag-theme .giftbag-accordion__item.is-heading > .giftbag-accordion__row .giftbag-accordion__link {
	color: var(--gb-primary) !important;
	text-transform: none !important;
	letter-spacing: 0 !important;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
}

/* Tiles: category image + title-case label, no beige. */
.giftbag-menutiles {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 10px 0 14px;
}

.giftbag-menutiles__link {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 8px;
	background: #ffffff;
	border-radius: 14px;
	text-decoration: none;
	color: var(--gb-primary);
	box-shadow: 0 1px 4px rgba(87, 0, 79, 0.06);
}

.giftbag-menutiles__media {
	display: block;
	width: 100%;
	aspect-ratio: 1;
	border-radius: 10px;
	overflow: hidden;
	background: #F2F0F3;
}

.giftbag-menutiles__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.giftbag-menutiles__media--initial {
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gb-primary);
	font-weight: 700;
	font-size: 1.4rem;
	background: #F2F0F3;
}

.giftbag-menutiles__label {
	font-size: 0.88rem;
	font-weight: 600;
	line-height: 1.3;
	color: var(--gb-primary);
	text-transform: none;
}

.giftbag-drawer-foot {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 12px 16px;
	border-top: 1px solid var(--gb-line, #E9E0E9);
	background: var(--gb-bg, #F8F5F8);
}

.giftbag-drawer-foot__call {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 16px;
	border: 1px solid var(--gb-primary);
	border-radius: 999px;
	color: var(--gb-primary) !important;
	font-weight: 700;
	font-size: 0.82rem;
	letter-spacing: 0.02em;
	text-decoration: none;
	background: #ffffff;
}

.giftbag-drawer-foot__social {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-left: auto;
}

.giftbag-drawer-foot__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	color: var(--gb-primary);
	text-decoration: none;
}

/* Hero: light placeholder so the first slide isn't a blank white box. */
body.giftbag-theme .giftbag-hero,
body.giftbag-theme .giftbag-hero__track,
body.giftbag-theme .giftbag-hero__slide,
body.giftbag-theme .giftbag-hero__link {
	background-color: #F2F0F3;
}

/* WhatsApp / Agent: sit above the bottom tab bar; icon-only on mobile. */
@media (max-width: 1023px) {
	body.giftbag-theme:not(.giftbag-has-buybar) .qlwapp,
	body.giftbag-theme:not(.giftbag-has-buybar) .qlwapp__container,
	body.giftbag-theme:not(.giftbag-has-buybar) .qlwapp-container,
	body.giftbag-theme:not(.giftbag-has-buybar) #qlwapp .qlwapp-toggle,
	body.giftbag-theme:not(.giftbag-has-buybar) .qlwapp--bottom-right,
	body.giftbag-theme:not(.giftbag-has-buybar) .qlwapp--bottom-left,
	body.giftbag-theme:not(.giftbag-has-buybar) .joinchat,
	body.giftbag-theme:not(.giftbag-has-buybar) .wa__btn_popup,
	body.giftbag-theme:not(.giftbag-has-buybar) .ht-ctc,
	body.giftbag-theme:not(.giftbag-has-buybar) hostinger-agent,
	body.giftbag-theme:not(.giftbag-has-buybar) hostinger-agent-widget,
	body.giftbag-theme:not(.giftbag-has-buybar) hostinger-chat,
	body.giftbag-theme:not(.giftbag-has-buybar) #hostinger-agent,
	body.giftbag-theme:not(.giftbag-has-buybar) #hostinger-agent-widget,
	body.giftbag-theme:not(.giftbag-has-buybar) #hostinger-agent-button,
	body.giftbag-theme:not(.giftbag-has-buybar) #hostinger-chat-widget,
	body.giftbag-theme:not(.giftbag-has-buybar) #kodee-chat-widget,
	body.giftbag-theme:not(.giftbag-has-buybar) [id*="hostinger-agent"],
	body.giftbag-theme:not(.giftbag-has-buybar) [class*="hostinger-agent"],
	body.giftbag-theme:not(.giftbag-has-buybar) [id*="kodee"],
	body.giftbag-theme:not(.giftbag-has-buybar) [class*="kodee-"] {
		bottom: calc(var(--gb-tabbar-h, 68px) + 12px + env(safe-area-inset-bottom, 0px)) !important;
	}

	/* Inline --qlwapp-scheme-icon-size:60px on .qlwapp wins unless !important.
	   Plugin markup is BEM: .qlwapp__button / .qlwapp__button--button / .qlwapp__text. */
	body.giftbag-theme .qlwapp,
	body.giftbag-theme .qlwapp__container,
	html body.giftbag-theme .qlwapp {
		--qlwapp-scheme-icon-size: 52px !important;
	}

	body.giftbag-theme .qlwapp .qlwapp__text,
	body.giftbag-theme .qlwapp__button .qlwapp__text,
	body.giftbag-theme .qlwapp__button--button .qlwapp__text,
	body.giftbag-theme .qlwapp__button--bubble .qlwapp__text,
	body.giftbag-theme .qlwapp .qlwapp-text,
	body.giftbag-theme .qlwapp [class*="qlwapp__text"],
	body.giftbag-theme .qlwapp [class*="qlwapp-text"] {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		max-width: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
		font-size: 0 !important;
		color: transparent !important;
		visibility: hidden !important;
	}

	body.giftbag-theme .qlwapp .qlwapp__button,
	body.giftbag-theme .qlwapp .qlwapp__button--button,
	body.giftbag-theme .qlwapp .qlwapp__button--bubble,
	body.giftbag-theme a.qlwapp__button,
	body.giftbag-theme button.qlwapp__button,
	body.giftbag-theme .qlwapp-toggle,
	body.giftbag-theme .qlwapp .qlwapp-button {
		width: 52px !important;
		height: 52px !important;
		min-width: 52px !important;
		min-height: 52px !important;
		max-width: 52px !important;
		padding: 0 !important;
		margin-right: 12px !important;
		margin-bottom: 0 !important;
		gap: 0 !important;
		border-radius: 50% !important;
		box-sizing: border-box !important;
	}
}

/* Archive / product: tighten the header-to-breadcrumb gap. */
body.giftbag-theme.archive #content.site-content,
body.giftbag-theme.tax-product_cat #content.site-content,
body.giftbag-theme.tax-product_tag #content.site-content,
body.giftbag-theme.post-type-archive-product #content.site-content,
body.giftbag-theme.search #content.site-content,
body.giftbag-theme.single-product #content.site-content,
body.giftbag-theme.archive #primary,
body.giftbag-theme.tax-product_cat #primary,
body.giftbag-theme.tax-product_tag #primary,
body.giftbag-theme.post-type-archive-product #primary,
body.giftbag-theme.search #primary,
body.giftbag-theme.single-product #primary,
body.giftbag-theme.archive .ast-woocommerce-container,
body.giftbag-theme.tax-product_cat .ast-woocommerce-container,
body.giftbag-theme.single-product .ast-woocommerce-container,
body.giftbag-theme .woocommerce-products-header {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

body.giftbag-theme.archive #content.site-content > .ast-container,
body.giftbag-theme.tax-product_cat #content.site-content > .ast-container,
body.giftbag-theme.tax-product_tag #content.site-content > .ast-container,
body.giftbag-theme.post-type-archive-product #content.site-content > .ast-container,
body.giftbag-theme.search #content.site-content > .ast-container,
body.giftbag-theme.single-product #content.site-content > .ast-container {
	margin-top: 0 !important;
	padding-top: 16px !important;
}

@media (max-width: 767px) {
	body.giftbag-theme.archive #content.site-content > .ast-container,
	body.giftbag-theme.tax-product_cat #content.site-content > .ast-container,
	body.giftbag-theme.tax-product_tag #content.site-content > .ast-container,
	body.giftbag-theme.post-type-archive-product #content.site-content > .ast-container,
	body.giftbag-theme.search #content.site-content > .ast-container,
	body.giftbag-theme.single-product #content.site-content > .ast-container {
		padding-top: 12px !important;
	}
}

body.giftbag-theme .woocommerce-breadcrumb,
body.giftbag-theme .ast-breadcrumbs,
body.giftbag-theme .ast-woocommerce-container > .woocommerce-breadcrumb {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Product gallery: equal side margins, centred (no 100vw breakout). */
@media (max-width: 767px) {
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery {
		width: 100% !important;
		max-width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		padding-left: 16px;
		padding-right: 16px;
		box-sizing: border-box;
	}

	body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery__wrapper,
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery__image,
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery__image a,
	body.giftbag-theme.single-product div.product .woocommerce-product-gallery__image img {
		margin-left: auto;
		margin-right: auto;
		display: block;
		width: 100%;
		max-width: 100%;
		box-sizing: border-box;
	}

	body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		padding: 0 !important;
	}
}

/* =========================================================================
   v1.3.5
   Cart / checkout totals, Edit Deliveries modal, widgets, menu, footer, gallery.
   ========================================================================= */

/* ---- Footer logo: never invert to white on the plum footer. ---- */
.giftbag-footer__logo .giftbag-header__wordmark,
.giftbag-footer__logo .giftbag-header__logo-img,
.giftbag-footer__logo .giftbag-header__logo-full,
.giftbag-footer__logo img {
	filter: none !important;
}

/* ---- Mobile menu sits below the WP admin bar when logged in. ---- */
body.admin-bar .giftbag-catsheet,
body.admin-bar .giftbag-catsheet__panel,
body.admin-bar .giftbag-catsheet__backdrop {
	top: var(--wp-admin--admin-bar--height, 32px);
	height: calc(100% - var(--wp-admin--admin-bar--height, 32px));
	max-height: none;
}
@media screen and (max-width: 782px) {
	body.admin-bar .giftbag-catsheet,
	body.admin-bar .giftbag-catsheet__panel,
	body.admin-bar .giftbag-catsheet__backdrop {
		top: var(--wp-admin--admin-bar--height, 46px);
		height: calc(100% - var(--wp-admin--admin-bar--height, 46px));
	}
}

/* Title Case menu labels (keep "&"); PHP also proper-cases the text. */
.giftbag-accordion__label,
.giftbag-menutiles__label {
	text-transform: capitalize;
}

/* Hide WhatsApp + Hostinger Agent while the mobile menu is open.
   qlwapp__container is z-index 9999999, so it otherwise sits on top of the drawer. */
body.giftbag-catsheet-open .qlwapp,
body.giftbag-catsheet-open .qlwapp__container,
body.giftbag-catsheet-open .qlwapp-container,
body.giftbag-catsheet-open .joinchat,
body.giftbag-catsheet-open .wa__btn_popup,
body.giftbag-catsheet-open .ht-ctc,
body.giftbag-catsheet-open hostinger-agent,
body.giftbag-catsheet-open hostinger-agent-widget,
body.giftbag-catsheet-open hostinger-chat,
body.giftbag-catsheet-open #hostinger-agent,
body.giftbag-catsheet-open #hostinger-agent-widget,
body.giftbag-catsheet-open #hostinger-agent-button,
body.giftbag-catsheet-open #hostinger-chat-widget,
body.giftbag-catsheet-open #kodee-chat-widget,
body.giftbag-catsheet-open [id*="hostinger-agent"],
body.giftbag-catsheet-open [class*="hostinger-agent"],
body.giftbag-catsheet-open [id*="kodee"],
body.giftbag-catsheet-open [class*="kodee-"] {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
	opacity: 0 !important;
}

/* ---- Cart totals + checkout "Your order" cards ---- */
body.giftbag-theme .cart-collaterals .cart_totals,
body.giftbag-theme .woocommerce-checkout-review-order,
body.giftbag-theme #order_review.woocommerce-checkout-review-order {
	overflow: hidden;
	box-sizing: border-box;
	max-width: 100%;
}

body.giftbag-theme .cart_totals > h2,
body.giftbag-theme .cart-collaterals .cart_totals > h2,
body.giftbag-theme.woocommerce-checkout #order_review_heading,
body.giftbag-theme #order_review_heading,
body.giftbag-theme.woocommerce-checkout .woocommerce-billing-fields > h3,
body.giftbag-theme.woocommerce-checkout .woocommerce-shipping-fields > h3,
body.giftbag-theme.woocommerce-checkout .woocommerce-additional-fields > h3,
body.giftbag-theme.woocommerce-checkout #customer_details h3 {
	font-family: var(--gb-display, "Slabo 27px", Georgia, serif) !important;
	font-size: 1.35rem !important;
	font-weight: 400 !important;
	line-height: 1.3;
	color: var(--gb-primary) !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
	margin: 0 0 12px !important;
	padding: 0 0 4px !important;
	width: auto !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	border-radius: 0 !important;
	float: none !important;
	position: static !important;
	left: auto !important;
	right: auto !important;
}

/* "Your order" sits directly above the order card, same width, no grey box. */
body.giftbag-theme.woocommerce-checkout #order_review_heading {
	margin-bottom: 10px !important;
}

/* Shipping Details matches Additional Information typography (shared h3 rule).
   Give both section headings room above: Additional Information sits under Country. */
html body.giftbag-theme.woocommerce-checkout .woocommerce-additional-fields > h3,
html body.giftbag-theme.woocommerce-checkout .shipping_address > h3.giftbag-shipping-details-heading {
	margin-top: 28px !important;
	margin-bottom: 12px !important;
}

body.giftbag-theme .cart_totals table.shop_table,
body.giftbag-theme .woocommerce-checkout-review-order-table,
body.giftbag-theme #order_review table.shop_table {
	width: 100%;
	max-width: 100%;
	margin: 0;
	border: 0 !important;
	box-sizing: border-box;
}

body.giftbag-theme .cart_totals table.shop_table th,
body.giftbag-theme .cart_totals table.shop_table td,
body.giftbag-theme .woocommerce-checkout-review-order-table th,
body.giftbag-theme .woocommerce-checkout-review-order-table td {
	box-sizing: border-box;
	border-color: var(--gb-line);
	background: transparent;
}

/* Two-column rows: left label, right value. */
body.giftbag-theme .cart_totals tr.cart-subtotal th,
body.giftbag-theme .cart_totals tr.order-total th,
body.giftbag-theme .cart_totals tr.fee th,
body.giftbag-theme .cart_totals tr.tax-rate th,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.cart-subtotal th,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total th,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.fee th,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.tax-rate th {
	text-align: left;
	font-weight: 600;
	color: var(--gb-ink);
}

body.giftbag-theme .cart_totals tr.cart-subtotal td,
body.giftbag-theme .cart_totals tr.order-total td,
body.giftbag-theme .cart_totals tr.fee td,
body.giftbag-theme .cart_totals tr.tax-rate td,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.cart-subtotal td,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total td,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.fee td,
body.giftbag-theme .woocommerce-checkout-review-order-table tr.tax-rate td {
	text-align: right;
}

body.giftbag-theme .woocommerce-shipping-methods,
body.giftbag-theme ul#shipping_method {
	list-style: none;
	margin: 0;
	padding: 0;
	text-align: left;
}

body.giftbag-theme .woocommerce-shipping-methods li,
body.giftbag-theme ul#shipping_method li {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 8px;
	flex-wrap: nowrap;
	text-align: left;
	margin: 0 0 8px;
	padding: 0;
}

body.giftbag-theme .woocommerce-shipping-methods li input[type="radio"],
body.giftbag-theme ul#shipping_method li input[type="radio"],
body.giftbag-theme #payment input[type="radio"],
body.giftbag-theme .wc_payment_methods input[type="radio"],
body.giftbag-theme input.shipping_method,
body.giftbag-theme input.input-radio {
	accent-color: var(--gb-primary);
	accent-color: #57004F;
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	margin: 0 2px 0 0;
	position: static;
	float: none;
}

body.giftbag-theme .woocommerce-shipping-methods li label,
body.giftbag-theme ul#shipping_method li label {
	flex: 1 1 auto;
	min-width: 0;
	margin: 0;
	text-align: left;
	font-weight: 500;
	color: var(--gb-ink);
	float: none;
}

body.giftbag-theme .woocommerce-shipping-methods li label .amount,
body.giftbag-theme .woocommerce-shipping-methods li label .woocommerce-Price-amount,
body.giftbag-theme ul#shipping_method li label .amount,
body.giftbag-theme ul#shipping_method li label .woocommerce-Price-amount {
	font-weight: 700;
	color: var(--gb-ink);
	white-space: nowrap;
}

body.giftbag-theme .woocommerce-shipping-destination,
body.giftbag-theme p.woocommerce-shipping-destination,
body.giftbag-theme .woocommerce-shipping-contents,
body.giftbag-theme .woocommerce-shipping-calculator,
body.giftbag-theme .cart_totals .woocommerce-info,
body.giftbag-theme tr.woocommerce-shipping-totals td > p,
body.giftbag-theme tr.shipping td > p {
	text-align: left !important;
	font-size: 0.8rem;
	line-height: 1.4;
	color: var(--gb-muted);
	margin: 8px 0 0;
	width: 100%;
	float: none;
}

@media (max-width: 767px) {
	body.giftbag-theme .cart_totals table.shop_table,
	body.giftbag-theme .woocommerce-checkout-review-order-table,
	body.giftbag-theme #order_review table.shop_table {
		display: block;
	}

	body.giftbag-theme .cart_totals table.shop_table tbody,
	body.giftbag-theme .woocommerce-checkout-review-order-table tbody {
		display: block;
		width: 100%;
	}

	body.giftbag-theme .cart_totals table.shop_table tr,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		align-items: baseline;
		width: 100%;
		margin: 0;
		padding: 12px 0;
		border: 0 !important;
		border-bottom: 1px solid var(--gb-line) !important;
		box-sizing: border-box;
	}

	body.giftbag-theme .cart_totals table.shop_table th,
	body.giftbag-theme .cart_totals table.shop_table td,
	body.giftbag-theme .woocommerce-checkout-review-order-table th,
	body.giftbag-theme .woocommerce-checkout-review-order-table td,
	body.giftbag-theme table.shop_table_responsive tr td,
	body.giftbag-theme table.shop_table_responsive tr th {
		display: block !important;
		width: auto !important;
		max-width: 100%;
		float: none !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		text-align: left;
	}

	body.giftbag-theme .cart_totals table.shop_table td::before,
	body.giftbag-theme .woocommerce-checkout-review-order-table td::before,
	body.giftbag-theme table.shop_table_responsive tr.shipping td::before,
	body.giftbag-theme table.shop_table_responsive tr.woocommerce-shipping-totals td::before,
	body.giftbag-theme table.shop_table_responsive tr.cart-subtotal td::before,
	body.giftbag-theme table.shop_table_responsive tr.order-total td::before {
		content: none !important;
		display: none !important;
	}

	body.giftbag-theme .cart_totals tr.cart-subtotal th,
	body.giftbag-theme .cart_totals tr.order-total th,
	body.giftbag-theme .cart_totals tr.fee th,
	body.giftbag-theme .cart_totals tr.tax-rate th,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.cart-subtotal th,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total th {
		flex: 1 1 auto;
		text-align: left !important;
	}

	body.giftbag-theme .cart_totals tr.cart-subtotal td,
	body.giftbag-theme .cart_totals tr.order-total td,
	body.giftbag-theme .cart_totals tr.fee td,
	body.giftbag-theme .cart_totals tr.tax-rate td,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.cart-subtotal td,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total td {
		flex: 0 0 auto;
		text-align: right !important;
	}

	/* Shipping: label on its own line, then a left-aligned radio list. */
	body.giftbag-theme .cart_totals tr.woocommerce-shipping-totals,
	body.giftbag-theme .cart_totals tr.shipping,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping {
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
	}

	body.giftbag-theme .cart_totals tr.woocommerce-shipping-totals th,
	body.giftbag-theme .cart_totals tr.shipping th,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping th {
		width: 100% !important;
		text-align: left !important;
	}

	body.giftbag-theme .cart_totals tr.woocommerce-shipping-totals td,
	body.giftbag-theme .cart_totals tr.shipping td,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
	body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping td {
		width: 100% !important;
		text-align: left !important;
	}

	body.giftbag-theme .woocommerce-shipping-methods,
	body.giftbag-theme ul#shipping_method {
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: stretch;
		gap: 8px;
		margin-top: 0;
	}

	body.giftbag-theme .woocommerce-shipping-methods li,
	body.giftbag-theme ul#shipping_method li {
		width: 100%;
		margin: 0;
	}
}

/* ---- "Edit Deliveries" button: small plum outline pill (not plugin blue). ---- */
body.giftbag-theme .woocommerce td.product-name a.button,
body.giftbag-theme .woocommerce td.product-name button,
body.giftbag-theme .woocommerce td.product-name .button,
body.giftbag-theme #order_review td.product-name a.button,
body.giftbag-theme #order_review td.product-name button,
body.giftbag-theme #order_review td.product-name .button,
body.giftbag-theme .woocommerce-checkout-review-order-table td.product-name a.button,
body.giftbag-theme .woocommerce-checkout-review-order-table td.product-name button,
body.giftbag-theme a.prdd_edit_delivery,
body.giftbag-theme a.prdd-edit-delivery,
body.giftbag-theme button.prdd_edit_delivery,
body.giftbag-theme button.prdd-edit-delivery,
body.giftbag-theme [class*="edit-deliver"],
body.giftbag-theme [class*="edit_deliver"],
body.giftbag-theme [id*="edit_deliver"],
body.giftbag-theme [id*="edit-deliver"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	color: var(--gb-primary) !important;
	border: 1.5px solid var(--gb-primary) !important;
	border-radius: var(--gb-radius-pill) !important;
	box-shadow: none !important;
	padding: 6px 14px !important;
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	width: auto !important;
	max-width: 100%;
	margin: 6px 0 0 !important;
	text-decoration: none !important;
}

/* ---- PRDD "Edit Deliveries" popup (Product Delivery Date .prdd-modal). ---- */
body.giftbag-theme .prdd-modal-overlay,
body.giftbag-theme .prdd_modal_overlay,
body.giftbag-theme .prdd-overlay,
body.giftbag-theme #prdd-modal-overlay,
body.giftbag-theme [class*="prdd-modal-overlay"],
body.giftbag-theme [class*="prdd_modal_overlay"] {
	background: rgba(87, 0, 79, 0.45) !important;
	position: fixed !important;
	inset: 0 !important;
	z-index: 100040 !important;
}

/* When .prdd-modal is the full-screen wrapper (has an inner content box). */
body.giftbag-theme .prdd-modal:has(.prdd-modal-content),
body.giftbag-theme .prdd_modal:has(.prdd-modal-content),
body.giftbag-theme div[id*="prdd_edit"]:has(.prdd-modal-content) {
	position: fixed !important;
	inset: 0 !important;
	z-index: 100050 !important;
	background: rgba(87, 0, 79, 0.45) !important;
	display: flex !important;
	align-items: center;
	justify-content: center;
	padding: 16px !important;
	box-sizing: border-box;
	border: 0 !important;
	width: auto !important;
	max-width: none !important;
	transform: none !important;
}

body.giftbag-theme .prdd-modal,
body.giftbag-theme .prdd_modal,
body.giftbag-theme .prdd-modal-content,
body.giftbag-theme .prdd_modal_content,
body.giftbag-theme .prdd-modal-inner,
body.giftbag-theme .prdd-dialog,
body.giftbag-theme div[id*="prdd_edit_div"],
body.giftbag-theme div[id*="prdd-edit"],
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form),
body.giftbag-theme .ui-dialog:has(.delivery_calender),
body.giftbag-theme .ui-dialog:has([id*="prdd"]) {
	background: var(--gb-white) !important;
	border-radius: 20px !important;
	border: 0 !important;
	box-shadow: 0 16px 48px rgba(87, 0, 79, 0.22) !important;
	box-sizing: border-box !important;
	padding: 22px 20px 20px !important;
	max-width: 420px;
	width: calc(100vw - 32px);
	max-height: min(90vh, 640px);
	overflow: auto;
	z-index: 100050;
	position: relative;
}

body.giftbag-theme .prdd-modal:not(:has(.prdd-modal-content)),
body.giftbag-theme .prdd_modal:not(:has(.prdd-modal-content)) {
	position: fixed !important;
	left: 50% !important;
	top: 50% !important;
	right: auto !important;
	bottom: auto !important;
	transform: translate(-50%, -50%) !important;
	z-index: 100050 !important;
}

body.giftbag-theme .prdd-modal-content,
body.giftbag-theme .prdd_modal_content,
body.giftbag-theme .prdd-modal-inner {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	border: 0 !important;
	position: relative;
}

body.giftbag-theme .prdd-modal h1,
body.giftbag-theme .prdd-modal h2,
body.giftbag-theme .prdd-modal h3,
body.giftbag-theme .prdd-modal .prdd-modal-title,
body.giftbag-theme .prdd-modal-content h1,
body.giftbag-theme .prdd-modal-content h2,
body.giftbag-theme .prdd-modal-content h3,
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .ui-dialog-title,
body.giftbag-theme .ui-dialog:has(.delivery_calender) .ui-dialog-title {
	font-family: var(--gb-display, "Slabo 27px", Georgia, serif) !important;
	font-size: 22px !important;
	font-weight: 400 !important;
	line-height: 1.3 !important;
	color: var(--gb-primary) !important;
	background: transparent !important;
	border: 0 !important;
	margin: 0 44px 16px 0 !important;
	padding: 0 !important;
}

body.giftbag-theme .prdd-modal .prdd-close,
body.giftbag-theme .prdd-modal .prdd_close,
body.giftbag-theme .prdd-modal [class*="prdd-close"],
body.giftbag-theme .prdd-modal [class*="prdd_close"],
body.giftbag-theme .prdd-modal-content .close,
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .ui-dialog-titlebar-close,
body.giftbag-theme .ui-dialog:has(.delivery_calender) .ui-dialog-titlebar-close {
	position: absolute !important;
	top: 12px !important;
	right: 12px !important;
	width: 36px !important;
	height: 36px !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: var(--gb-bg, #F8F5F8) !important;
	color: var(--gb-primary) !important;
	font-size: 1.25rem !important;
	line-height: 36px !important;
	text-align: center !important;
	padding: 0 !important;
	cursor: pointer;
	box-shadow: none !important;
	z-index: 2;
}

/* No grey inner box / table border inside the sheet. */
body.giftbag-theme .prdd-modal table,
body.giftbag-theme .prdd-modal fieldset,
body.giftbag-theme .prdd-modal .prdd-delivery-form,
body.giftbag-theme .prdd-modal .prdd_wrapper,
body.giftbag-theme .prdd-modal-content table,
body.giftbag-theme .prdd-modal-content fieldset,
body.giftbag-theme .prdd-modal-content .prdd-delivery-form,
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) fieldset,
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) table {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
	background: transparent !important;
	width: 100% !important;
	max-width: 100%;
}

body.giftbag-theme .prdd-modal label,
body.giftbag-theme .prdd-modal .delivery_start_date_label,
body.giftbag-theme .prdd-modal .prdd_label,
body.giftbag-theme .prdd-modal-content label,
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) label {
	display: block;
	font-family: var(--gb-font, "Open Sans", sans-serif) !important;
	font-size: 0.9rem !important;
	font-weight: 600 !important;
	color: var(--gb-primary) !important;
	margin: 0 0 6px !important;
}

body.giftbag-theme .prdd-modal input[type="text"],
body.giftbag-theme .prdd-modal input[type="date"],
body.giftbag-theme .prdd-modal input.delivery_calender,
body.giftbag-theme .prdd-modal .prdd_wrapper input,
body.giftbag-theme .prdd-modal select,
body.giftbag-theme .prdd-modal-content input[type="text"],
body.giftbag-theme .prdd-modal-content input.delivery_calender,
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) input[type="text"],
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) input.delivery_calender {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	box-sizing: border-box !important;
	border: 1px solid var(--gb-line) !important;
	border-radius: var(--gb-radius-sm) !important;
	padding: 10px 12px !important;
	font-family: var(--gb-font, "Open Sans", sans-serif) !important;
	background: var(--gb-white) !important;
	color: var(--gb-ink) !important;
	box-shadow: none !important;
}

body.giftbag-theme .prdd-modal input:focus,
body.giftbag-theme .prdd-modal-content input:focus {
	border-color: var(--gb-secondary) !important;
	outline: 2px solid rgba(168, 48, 146, 0.25) !important;
}

/* Confirm = plum pill; Cancel = outline plum pill. Stack full-width on mobile. */
body.giftbag-theme .prdd-modal .button.alt,
body.giftbag-theme .prdd-modal button.alt,
body.giftbag-theme .prdd-modal input[type="submit"],
body.giftbag-theme .prdd-modal input[type="button"].alt,
body.giftbag-theme .prdd-modal [id*="confirm"],
body.giftbag-theme .prdd-modal [id*="save_delivery"],
body.giftbag-theme .prdd-modal [class*="confirm"],
body.giftbag-theme .prdd-modal input[value*="Confirm"],
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .button.alt,
body.giftbag-theme .ui-dialog:has(.delivery_calender) .button.alt {
	background: #57004F !important;
	background-color: #57004F !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-family: var(--gb-font, "Open Sans", sans-serif) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	padding: 12px 20px !important;
	cursor: pointer;
	text-align: center;
}

body.giftbag-theme .prdd-modal .button:not(.alt),
body.giftbag-theme .prdd-modal button:not(.alt):not(.prdd-close):not([class*="close"]),
body.giftbag-theme .prdd-modal [id*="cancel"],
body.giftbag-theme .prdd-modal [class*="cancel"],
body.giftbag-theme .prdd-modal input[value*="Cancel"],
body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .button:not(.alt),
body.giftbag-theme .ui-dialog:has(.delivery_calender) .button:not(.alt) {
	background: transparent !important;
	background-color: transparent !important;
	color: #57004F !important;
	border: 1.5px solid #57004F !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	font-family: var(--gb-font, "Open Sans", sans-serif) !important;
	font-weight: 600 !important;
	font-size: 0.95rem !important;
	padding: 12px 20px !important;
	cursor: pointer;
	text-align: center;
}

@media (max-width: 600px) {
	body.giftbag-theme .prdd-modal,
	body.giftbag-theme .prdd-modal-content,
	body.giftbag-theme .prdd_modal {
		width: calc(100vw - 24px);
		max-width: 420px;
	}

	body.giftbag-theme .prdd-modal .button,
	body.giftbag-theme .prdd-modal button:not(.prdd-close):not([class*="close"]),
	body.giftbag-theme .prdd-modal input[type="submit"],
	body.giftbag-theme .prdd-modal input[type="button"],
	body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .button {
		display: block !important;
		width: 100% !important;
		margin: 0 0 10px !important;
	}
}

/* Datepicker above the modal; inherit the product-page plum calendar. */
body.giftbag-theme #ui-datepicker-div,
body.woocommerce-cart #ui-datepicker-div,
body.woocommerce-checkout #ui-datepicker-div {
	z-index: 100080 !important;
}

body.woocommerce-cart #ui-datepicker-div,
body.woocommerce-checkout #ui-datepicker-div,
body.giftbag-theme .prdd-modal .ui-datepicker {
	font-family: var(--gb-font, "Open Sans", sans-serif);
	background: var(--gb-white) !important;
	border: 0 !important;
	border-radius: 16px !important;
	box-shadow: 0 12px 32px rgba(87, 0, 79, 0.18) !important;
	padding: 8px;
}

/* ---- Checkout payment methods: plum instead of plugin/Woo blue. ---- */
body.giftbag-theme #payment ul.payment_methods,
body.giftbag-theme #payment {
	border-color: var(--gb-line) !important;
	background: transparent;
}

body.giftbag-theme #payment .payment_box,
body.giftbag-theme #payment div.payment_box {
	background: var(--gb-bg, #F8F5F8) !important;
	color: var(--gb-ink) !important;
	border-radius: var(--gb-radius-sm);
}

body.giftbag-theme #payment .payment_box::before {
	border-bottom-color: var(--gb-bg, #F8F5F8) !important;
}

body.giftbag-theme #payment a,
body.giftbag-theme.woocommerce-checkout #payment a,
body.giftbag-theme.woocommerce-cart a:not(.checkout-button):not(.button) {
	color: var(--gb-primary);
}

body.giftbag-theme.woocommerce-cart .woocommerce button.button,
body.giftbag-theme.woocommerce-cart .woocommerce input.button,
body.giftbag-theme.woocommerce-checkout .woocommerce button.button,
body.giftbag-theme.woocommerce-checkout .woocommerce input.button,
body.giftbag-theme.woocommerce-checkout #place_order {
	background: var(--gb-primary) !important;
	color: var(--gb-white) !important;
	border: 0 !important;
	border-radius: var(--gb-radius-pill) !important;
}

body.giftbag-theme.woocommerce-cart .woocommerce button.button:hover,
body.giftbag-theme.woocommerce-checkout .woocommerce button.button:hover,
body.giftbag-theme.woocommerce-checkout #place_order:hover {
	background: var(--gb-primary-dark) !important;
	color: var(--gb-white) !important;
}

/* Coupon / secondary cart actions stay readable, not default blue. */
body.giftbag-theme.woocommerce-cart .coupon .button,
body.giftbag-theme.woocommerce-checkout .woocommerce-form-coupon .button {
	background: transparent !important;
	color: var(--gb-primary) !important;
	border: 1.5px solid var(--gb-primary) !important;
	border-radius: var(--gb-radius-pill) !important;
}

/* ---- Desktop gallery: clip any leftover next-slide sliver. ---- */
body.giftbag-theme div.product .woocommerce-product-gallery .flex-viewport {
	overflow: hidden !important;
	width: 100% !important;
	max-width: 100%;
	box-sizing: border-box;
}

/* =========================================================================
   v1.3.6
   Shipping radio/label overlap, checkout thead spacing,
   Edit Deliveries date field, menu close colour.
   ========================================================================= */

/* 1. Shipping methods: kill Woo/Astra text-indent / absolute radio that
   hides the first letter of the label (e.g. "ubai Delivery"). */
html body.giftbag-theme.woocommerce-cart ul#shipping_method li,
html body.giftbag-theme.woocommerce-checkout ul#shipping_method li,
html body.giftbag-theme .woocommerce ul#shipping_method li,
html body.giftbag-theme .woocommerce-shipping-methods li,
html body.giftbag-theme .cart_totals ul#shipping_method li,
html body.giftbag-theme #order_review ul#shipping_method li {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	flex-wrap: nowrap !important;
	gap: 0 !important;
	list-style: none !important;
	text-indent: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
	margin: 0 0 8px !important;
	position: static !important;
}

html body.giftbag-theme.woocommerce-cart ul#shipping_method li input.shipping_method,
html body.giftbag-theme.woocommerce-checkout ul#shipping_method li input.shipping_method,
html body.giftbag-theme .woocommerce ul#shipping_method li input[type="radio"],
html body.giftbag-theme .woocommerce-shipping-methods li input[type="radio"],
html body.giftbag-theme .cart_totals ul#shipping_method li input,
html body.giftbag-theme #order_review ul#shipping_method li input {
	flex: 0 0 18px !important;
	width: 18px !important;
	min-width: 18px !important;
	height: 18px !important;
	margin: 0 10px 0 0 !important;
	padding: 0 !important;
	position: static !important;
	left: auto !important;
	right: auto !important;
	float: none !important;
	text-indent: 0 !important;
	accent-color: #57004F;
}

html body.giftbag-theme.woocommerce-cart ul#shipping_method li label,
html body.giftbag-theme.woocommerce-checkout ul#shipping_method li label,
html body.giftbag-theme .woocommerce ul#shipping_method li label,
html body.giftbag-theme .woocommerce-shipping-methods li label,
html body.giftbag-theme .cart_totals ul#shipping_method li label,
html body.giftbag-theme #order_review ul#shipping_method li label {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	display: block !important;
	padding: 0 !important;
	padding-left: 0 !important;
	margin: 0 !important;
	text-indent: 0 !important;
	position: static !important;
	float: none !important;
	left: auto !important;
	line-height: 1.35;
}

/* 2. Checkout (and cart) table header: "Product" and "Subtotal" spaced apart. */
@media (max-width: 767px) {
	html body.giftbag-theme .woocommerce-checkout-review-order-table thead,
	html body.giftbag-theme #order_review table.shop_table thead,
	html body.giftbag-theme .cart_totals table.shop_table thead {
		display: block !important;
		width: 100%;
	}

	html body.giftbag-theme .woocommerce-checkout-review-order-table thead tr,
	html body.giftbag-theme #order_review table.shop_table thead tr,
	html body.giftbag-theme .cart_totals table.shop_table thead tr {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: center !important;
		width: 100% !important;
		gap: 12px;
		padding: 0 0 10px !important;
		border-bottom: 1px solid var(--gb-line) !important;
	}

	html body.giftbag-theme .woocommerce-checkout-review-order-table thead th,
	html body.giftbag-theme #order_review table.shop_table thead th,
	html body.giftbag-theme .cart_totals table.shop_table thead th {
		display: block !important;
		width: auto !important;
		padding: 0 !important;
		border: 0 !important;
		float: none !important;
		background: transparent !important;
	}

	html body.giftbag-theme .woocommerce-checkout-review-order-table thead th.product-name,
	html body.giftbag-theme #order_review table.shop_table thead th.product-name,
	html body.giftbag-theme .cart_totals table.shop_table thead th.product-name {
		flex: 1 1 auto !important;
		text-align: left !important;
	}

	html body.giftbag-theme .woocommerce-checkout-review-order-table thead th.product-total,
	html body.giftbag-theme .woocommerce-checkout-review-order-table thead th.product-subtotal,
	html body.giftbag-theme #order_review table.shop_table thead th.product-total,
	html body.giftbag-theme .cart_totals table.shop_table thead th.product-total {
		flex: 0 0 auto !important;
		text-align: right !important;
	}
}

/* 3. Edit Deliveries date field: 12px radius, 48px height, plum SVG icon
   (plugin calendar.gif is hidden but kept as a click target). Shrink empty
   space under the buttons. */
html body.giftbag-theme .prdd-modal,
html body.giftbag-theme .prdd_modal,
html body.giftbag-theme .prdd-modal-content,
html body.giftbag-theme .prdd-modal-inner,
html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form),
html body.giftbag-theme .ui-dialog:has(.delivery_calender) {
	height: auto !important;
	min-height: 0 !important;
	padding-bottom: 20px !important;
}

html body.giftbag-theme .prdd-modal .prdd-delivery-form,
html body.giftbag-theme .prdd-modal-content .prdd-delivery-form {
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 0 12px !important;
	padding: 0 !important;
	min-height: 0 !important;
	height: auto !important;
}

html body.giftbag-theme .prdd-modal .prdd_wrapper,
html body.giftbag-theme .prdd-modal .prdd_start_date,
html body.giftbag-theme .prdd-modal-content .prdd_wrapper,
html body.giftbag-theme .prdd-modal-content .prdd_start_date {
	display: block !important;
	position: relative !important;
	width: 100% !important;
	grid-template-columns: none !important;
	min-height: 0 !important;
	height: auto !important;
}

html body.giftbag-theme .prdd-modal input.delivery_calender,
html body.giftbag-theme .prdd-modal .prdd_wrapper input.delivery_calender,
html body.giftbag-theme .prdd-modal-content input.delivery_calender,
html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) input.delivery_calender {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: 48px !important;
	min-height: 48px !important;
	box-sizing: border-box !important;
	border: 1px solid var(--gb-line) !important;
	border-radius: 12px !important;
	padding: 12px 48px 12px 16px !important;
	background-color: var(--gb-white) !important;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%2357004F' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3.5' y='5' width='17' height='15.5' rx='3'/%3E%3Cpath d='M3.5 10h17M8 3v4M16 3v4'/%3E%3C/svg%3E") !important;
	background-repeat: no-repeat !important;
	background-position: right 14px center !important;
	background-size: 22px 22px !important;
	color: var(--gb-ink) !important;
	font-family: var(--gb-font, "Open Sans", sans-serif) !important;
	font-size: 0.95rem !important;
	cursor: pointer !important;
}

html body.giftbag-theme .prdd-modal .prdd_wrapper img,
html body.giftbag-theme .prdd-modal .prdd_start_date img,
html body.giftbag-theme .prdd-modal #delivery_cal,
html body.giftbag-theme .prdd-modal img[src*="calendar"],
html body.giftbag-theme .prdd-modal-content .prdd_wrapper img,
html body.giftbag-theme .prdd-modal-content #delivery_cal {
	position: absolute !important;
	top: 0 !important;
	right: 0 !important;
	width: 48px !important;
	height: 48px !important;
	margin: 0 !important;
	padding: 0 !important;
	opacity: 0 !important;
	border: 0 !important;
	cursor: pointer !important;
	z-index: 2;
}

html body.giftbag-theme .prdd-modal .inline_calendar:empty,
html body.giftbag-theme .prdd-modal .inline_datepicker:empty,
html body.giftbag-theme .prdd-modal [class*="inline_calendar"]:empty,
html body.giftbag-theme .prdd-modal-content .inline_calendar:empty {
	display: none !important;
	height: 0 !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
}

/* 4. Mobile menu close: plum circle, white X (not plugin/browser blue). */
html body.giftbag-theme .giftbag-catsheet__close,
html body.giftbag-theme button.giftbag-catsheet__close {
	background: #57004F !important;
	background-color: #57004F !important;
	color: #ffffff !important;
	border: 0 !important;
	border-radius: 50% !important;
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	font-size: 1.35rem !important;
	line-height: 36px !important;
	font-weight: 400 !important;
	box-shadow: none !important;
	cursor: pointer;
}

/* =========================================================================
   v1.3.7
   PRDD "date populated from cart" notice + WhatsApp icon-only on product pages.
   ========================================================================= */

/* typche PRDD Pro setting/filter: prdd_duplicates_date_note_text
   "Delivery date has been populated from the products added in cart previously..."
   Shown on the product page when a cart already has a shared delivery date.
   Plugin class is not in the empty-cart HTML; typche naming + JS class
   .giftbag-prdd-date-note (theme.js) cover the injected node. */
html body.giftbag-theme .giftbag-prdd-date-note,
html body.giftbag-theme .prdd_duplicates_date_note,
html body.giftbag-theme .prdd_duplicates_date_note_text,
html body.giftbag-theme .prdd-duplicates-date-note,
html body.giftbag-theme .prdd-duplicates-date-notice,
html body.giftbag-theme .prdd_duplicates_date_notice,
html body.giftbag-theme [class*="prdd_duplicates_date_note"],
html body.giftbag-theme [class*="prdd-duplicates-date-note"],
html body.giftbag-theme [id*="prdd_duplicates_date_note"],
html body.giftbag-theme [id*="prdd-duplicates-date-note"],
html body.giftbag-theme div.product .prdd-delivery-form .prdd-note,
html body.giftbag-theme div.product #prdd-delivery-form > p,
html body.giftbag-theme div.product [id^="prdd-delivery-form-wrapper"] > p {
	display: block;
	font-size: 12.5px !important;
	line-height: 1.45 !important;
	font-weight: 400 !important;
	font-family: var(--gb-font, "Open Sans", sans-serif) !important;
	color: #6b5a68 !important;
	background: #F8F5F8 !important;
	border-radius: 10px;
	padding: 10px 12px !important;
	margin: 8px 0 12px !important;
	border: 0 !important;
	box-shadow: none !important;
	max-width: 100%;
	box-sizing: border-box;
}

@media (min-width: 768px) {
	html body.giftbag-theme .giftbag-prdd-date-note,
	html body.giftbag-theme .prdd_duplicates_date_note,
	html body.giftbag-theme .prdd_duplicates_date_note_text,
	html body.giftbag-theme .prdd-duplicates-date-note,
	html body.giftbag-theme .prdd-duplicates-date-notice,
	html body.giftbag-theme .prdd_duplicates_date_notice,
	html body.giftbag-theme [class*="prdd_duplicates_date_note"],
	html body.giftbag-theme [class*="prdd-duplicates-date-note"],
	html body.giftbag-theme [id*="prdd_duplicates_date_note"],
	html body.giftbag-theme [id*="prdd-duplicates-date-note"],
	html body.giftbag-theme div.product .prdd-delivery-form .prdd-note,
	html body.giftbag-theme div.product #prdd-delivery-form > p,
	html body.giftbag-theme div.product [id^="prdd-delivery-form-wrapper"] > p {
		font-size: 13px !important;
		padding: 12px !important;
	}
}

/* WhatsApp icon-only on all mobile pages, including product + sticky buy bar.
   The plugin often mounts .qlwapp__container on <body>, not inside .qlwapp,
   so selectors must not require a .qlwapp ancestor. */
@media (max-width: 1023px) {
	html body.giftbag-theme .qlwapp,
	html body.giftbag-theme .qlwapp__container,
	html body.giftbag-theme.single-product .qlwapp,
	html body.giftbag-theme.single-product .qlwapp__container,
	html body.giftbag-has-buybar .qlwapp,
	html body.giftbag-has-buybar .qlwapp__container {
		--qlwapp-scheme-icon-size: 52px !important;
	}

	html body.giftbag-theme .qlwapp__text,
	html body.giftbag-theme .qlwapp__button .qlwapp__text,
	html body.giftbag-theme .qlwapp__button--button .qlwapp__text,
	html body.giftbag-theme .qlwapp__button--bubble .qlwapp__text,
	html body.giftbag-theme .qlwapp__container .qlwapp__text,
	html body.giftbag-theme.single-product .qlwapp__text,
	html body.giftbag-has-buybar .qlwapp__text,
	html body.giftbag-theme [class*="qlwapp__text"],
	html body.giftbag-theme [class*="qlwapp-text"] {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		max-width: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
		font-size: 0 !important;
		color: transparent !important;
		visibility: hidden !important;
	}

	html body.giftbag-theme .qlwapp__button,
	html body.giftbag-theme .qlwapp__button--button,
	html body.giftbag-theme .qlwapp__button--bubble,
	html body.giftbag-theme .qlwapp__container .qlwapp__button,
	html body.giftbag-theme.single-product .qlwapp__button,
	html body.giftbag-theme.single-product .qlwapp__button--button,
	html body.giftbag-has-buybar .qlwapp__button,
	html body.giftbag-has-buybar .qlwapp__button--button,
	html body.giftbag-theme a.qlwapp__button,
	html body.giftbag-theme button.qlwapp__button {
		width: 52px !important;
		height: 52px !important;
		min-width: 52px !important;
		min-height: 52px !important;
		max-width: 52px !important;
		padding: 0 !important;
		gap: 0 !important;
		border-radius: 50% !important;
		box-sizing: border-box !important;
	}
}

/* =========================================================================
   v1.3.8
   Hide scrollbars on "You may also like" / upsells and other horizontal
   product rails. Swipe / overflow-x: auto is unchanged.
   ========================================================================= */
html body.giftbag-theme .giftbag-related__scroller,
html body.giftbag-theme .giftbag-related__scroller ul.products,
html body.giftbag-theme .giftbag-related__scroller .products,
html body.giftbag-theme .related.products ul.products,
html body.giftbag-theme .upsells.products ul.products,
html body.giftbag-theme .upsells .products,
html body.giftbag-theme .giftbag-row__scroller,
html body.giftbag-theme .giftbag-rail .giftbag-row__scroller,
html body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller {
	overflow-x: auto !important;
	overflow-y: hidden !important;
	scrollbar-width: none !important;
	-ms-overflow-style: none !important;
}

html body.giftbag-theme .giftbag-related__scroller::-webkit-scrollbar,
html body.giftbag-theme .giftbag-related__scroller ul.products::-webkit-scrollbar,
html body.giftbag-theme .giftbag-related__scroller .products::-webkit-scrollbar,
html body.giftbag-theme .related.products ul.products::-webkit-scrollbar,
html body.giftbag-theme .upsells.products ul.products::-webkit-scrollbar,
html body.giftbag-theme .upsells .products::-webkit-scrollbar,
html body.giftbag-theme .giftbag-row__scroller::-webkit-scrollbar,
html body.giftbag-theme .giftbag-rail .giftbag-row__scroller::-webkit-scrollbar,
html body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller::-webkit-scrollbar {
	display: none !important;
	height: 0 !important;
	width: 0 !important;
	background: transparent !important;
}

/* =========================================================================
   v1.3.9
   Tight gap under "You may also like" on product pages (mobile).
   Cause: stacked margins/padding after the related rail — ul.products
   margin-bottom 24px, .giftbag-related/.related.products margin 32px 0,
   div.product padding-bottom 24px, Astra .ast-woocommerce-container
   padding-bottom ~1.33em, and .giftbag-footer margin-top 40px (~140px
   total). The buy-bar spacer is body padding-bottom after the footer
   (tab bar is hidden on product pages) and is left in place so the
   footer is not covered.
   ========================================================================= */
html body.giftbag-theme.single-product .giftbag-related__scroller ul.products,
html body.giftbag-theme.single-product .giftbag-related__scroller .products,
html body.giftbag-theme.single-product .related.products ul.products,
html body.giftbag-theme.single-product .upsells.products ul.products {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

html body.giftbag-theme.single-product #primary,
html body.giftbag-theme.single-product #content,
html body.giftbag-theme.single-product #content.site-content,
html body.giftbag-theme.single-product #main,
html body.giftbag-theme.single-product .ast-woocommerce-container,
html body.giftbag-theme.single-product #content .ast-container {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}

@media (max-width: 1023px) {
	html body.giftbag-theme.single-product .giftbag-related,
	html body.giftbag-theme.single-product .related.products,
	html body.giftbag-theme.single-product .upsells.products {
		margin-bottom: 0 !important;
	}

	html body.giftbag-theme.single-product div.product {
		padding-bottom: 0 !important;
	}

	/* Single ~24px gap between the last related cards and the footer. */
	html body.giftbag-theme.single-product .giftbag-footer {
		margin-top: 24px;
	}
}

/* v1.3.9 (continued): hide breadcrumbs site-wide; no leftover gap. */
html body.giftbag-theme .woocommerce-breadcrumb,
html body.giftbag-theme .woocommerce-breadcrumb-wrapper,
html body.giftbag-theme nav.woocommerce-breadcrumb,
html body.giftbag-theme .ast-breadcrumbs,
html body.giftbag-theme .ast-breadcrumbs-wrapper,
html body.giftbag-theme .ast-breadcrumbs-inner,
html body.giftbag-theme .ast-breadcrumbs-container,
html body.giftbag-theme .ast-breadcrumbs-trail,
html body.giftbag-theme #ast-breadcrumbs-css,
html body.giftbag-theme .ast-woocommerce-container > .woocommerce-breadcrumb,
html body.giftbag-theme .woocommerce .woocommerce-breadcrumb {
	display: none !important;
	margin: 0 !important;
	padding: 0 !important;
	height: 0 !important;
	min-height: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	line-height: 0 !important;
	visibility: hidden !important;
}

/* Keep a neat, modest gap from the header to the page/product title. */
html body.giftbag-theme.woocommerce-cart #content.site-content > .ast-container,
html body.giftbag-theme.woocommerce-checkout #content.site-content > .ast-container,
html body.giftbag-theme.page #content.site-content > .ast-container {
	margin-top: 0 !important;
}

html body.giftbag-theme .woocommerce-products-header__title,
html body.giftbag-theme .woocommerce-products-header .page-title,
html body.giftbag-theme.single-product div.product .product_title,
html body.giftbag-theme.single-product .entry-title,
html body.giftbag-theme h1.entry-title,
html body.giftbag-theme h1.page-title {
	margin-top: 0;
}

/* =========================================================================
   v1.4.0
   Product gallery: full-width image like the GiftBag app (edge to edge,
   no grey #F2F0F3 letterbox). Mobile = viewport width under the header,
   ~1:1 object-fit cover. Desktop = fill the gallery column. Thumbs stay.
   ========================================================================= */

/* Kill the grey canvas and inset padding on the main image (all breakpoints). */
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery__wrapper,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery__image,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery__image a,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery__image img,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .zoomImg {
	background: transparent !important;
	background-color: transparent !important;
}

html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image > a {
	padding: 0 !important;
	background: transparent !important;
}

html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	width: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
	overflow: hidden !important;
	box-sizing: border-box !important;
	aspect-ratio: 1 / 1;
	height: auto !important;
}

html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image > a {
	height: 100%;
	box-sizing: border-box !important;
}

html body.giftbag-theme.single-product div.product .woocommerce-product-gallery__image img,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .zoomImg {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: 100% !important;
	object-fit: cover !important;
	object-position: center center;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

/* Desktop: fill the gallery column, no inset canvas. */
@media (min-width: 768px) {
	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery {
		width: 100%;
		padding: 0 !important;
		border-radius: 18px;
		overflow: hidden;
		box-shadow: none;
		background: transparent !important;
	}

	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
		border-radius: 18px;
	}

	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		padding: 12px 0 0 !important;
	}
}

/* Mobile: full viewport width, flush under the header, like the app. */
@media (max-width: 767px) {
	html body.giftbag-theme.single-product #content.site-content > .ast-container {
		padding-top: 0 !important;
	}

	html body.giftbag-theme.single-product .ast-woocommerce-container {
		padding-top: 0 !important;
	}

	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery {
		width: 100vw !important;
		max-width: 100vw !important;
		margin-left: calc(50% - 50vw) !important;
		margin-right: calc(50% - 50vw) !important;
		margin-top: 0 !important;
		margin-bottom: 12px !important;
		padding: 0 !important;
		border-radius: 0 !important;
		box-shadow: none !important;
		background: transparent !important;
		box-sizing: border-box !important;
		overflow: hidden;
	}

	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
		border-radius: 0 !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	/* Thumbnails stay inset below the full-bleed image. */
	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		padding: 12px 16px 0 !important;
		margin: 0 !important;
		box-sizing: border-box;
	}
}

@supports (width: 100svw) {
	@media (max-width: 767px) {
		html body.giftbag-theme.single-product div.product .woocommerce-product-gallery {
			width: 100svw !important;
			max-width: 100svw !important;
			margin-left: calc(50% - 50svw) !important;
			margin-right: calc(50% - 50svw) !important;
		}
	}
}

/* =========================================================================
   v1.4.1
   Category tiles, WhatsApp icon-only on all mobile pages, archive title gap,
   compact sort + Filter sheet, two-column mobile menu, live-matching footer.
   ========================================================================= */

/* ---- 1. Sub-category icon tiles: no white frame ---- */
html body.giftbag-theme .giftbag-subcat,
html body.giftbag-theme .giftbag-subcat__link,
html body.giftbag-theme .giftbag-subcat__media,
html body.giftbag-theme .giftbag-subcat__img {
	border: 0 !important;
	outline: 0 !important;
	box-shadow: none !important;
}

html body.giftbag-theme .giftbag-subcat__media {
	padding: 0 !important;
	margin: 0;
	background: transparent !important;
	overflow: hidden !important;
	border-radius: 16px !important;
}

html body.giftbag-theme .giftbag-subcat__img,
html body.giftbag-theme .giftbag-subcat__media img {
	padding: 0 !important;
	margin: 0 !important;
	background: transparent !important;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover !important;
	/* Category icon files have a ~11px white/transparent margin on a 280px canvas. */
	transform: scale(1.12);
	transform-origin: center center;
	display: block;
	border-radius: 0 !important;
}

/* ---- 2. WhatsApp: 52px icon-only on ALL mobile pages, above the tab bar.
   Selectors deliberately do not require a .qlwapp ancestor. ---- */
@media (max-width: 1023px) {
	html body .qlwapp,
	html body .qlwapp__container,
	html body [class*="qlwapp--"] {
		--qlwapp-scheme-icon-size: 52px !important;
	}

	html body .qlwapp__text,
	html body span.qlwapp__text,
	html body .qlwapp__button .qlwapp__text,
	html body .qlwapp__button--button .qlwapp__text,
	html body .qlwapp__button--bubble .qlwapp__text,
	html body [class*="qlwapp__text"],
	html body [class*="qlwapp-text"] {
		display: none !important;
		width: 0 !important;
		height: 0 !important;
		max-width: 0 !important;
		max-height: 0 !important;
		padding: 0 !important;
		margin: 0 !important;
		overflow: hidden !important;
		font-size: 0 !important;
		color: transparent !important;
		visibility: hidden !important;
		opacity: 0 !important;
	}

	html body .qlwapp__button,
	html body a.qlwapp__button,
	html body button.qlwapp__button,
	html body .qlwapp__button--button,
	html body .qlwapp__button--bubble,
	html body .qlwapp-toggle {
		width: 52px !important;
		height: 52px !important;
		min-width: 52px !important;
		min-height: 52px !important;
		max-width: 52px !important;
		padding: 0 !important;
		gap: 0 !important;
		border-radius: 50% !important;
		box-sizing: border-box !important;
		overflow: hidden !important;
		font-size: 0 !important;
	}

	html body .qlwapp,
	html body .qlwapp__container,
	html body .qlwapp-container,
	html body #qlwapp .qlwapp-toggle,
	html body .qlwapp--bottom-right,
	html body .qlwapp--bottom-left,
	html body .qlwapp__button,
	html body a.qlwapp__button,
	html body .joinchat,
	html body .wa__btn_popup,
	html body .ht-ctc,
	html body hostinger-agent,
	html body hostinger-agent-widget,
	html body #hostinger-agent,
	html body #hostinger-agent-widget,
	html body #hostinger-agent-button,
	html body #kodee-chat-widget,
	html body [id*="hostinger-agent"],
	html body [class*="hostinger-agent"],
	html body [id*="kodee"] {
		bottom: calc(var(--gb-tabbar-h, 68px) + 12px + env(safe-area-inset-bottom, 0px)) !important;
	}

	html body.giftbag-has-buybar .qlwapp,
	html body.giftbag-has-buybar .qlwapp__container,
	html body.giftbag-has-buybar .qlwapp__button,
	html body.giftbag-has-buybar a.qlwapp__button,
	html body.giftbag-has-buybar hostinger-agent,
	html body.giftbag-has-buybar [id*="hostinger-agent"],
	html body.giftbag-has-buybar [class*="hostinger-agent"] {
		bottom: calc(var(--gb-tabbar-h, 68px) + 88px + env(safe-area-inset-bottom, 0px)) !important;
	}
}

/* Hide chat widgets while the menu or filter sheet is open. */
body.giftbag-catsheet-open .qlwapp,
body.giftbag-catsheet-open .qlwapp__container,
body.giftbag-catsheet-open .qlwapp__button,
body.giftbag-catsheet-open hostinger-agent,
body.giftbag-catsheet-open [id*="hostinger-agent"],
body.giftbag-catsheet-open [class*="hostinger-agent"],
body.giftbag-filtersheet-open .qlwapp,
body.giftbag-filtersheet-open .qlwapp__container,
body.giftbag-filtersheet-open .qlwapp__button,
body.giftbag-filtersheet-open hostinger-agent,
body.giftbag-filtersheet-open [id*="hostinger-agent"],
body.giftbag-filtersheet-open [class*="hostinger-agent"],
body.giftbag-filtersheet-open #kodee-chat-widget {
	display: none !important;
	visibility: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

/* ---- 3. Archive: ~16px between the search bar and the page title ---- */
html body.giftbag-theme.archive .giftbag-search--mobile,
html body.giftbag-theme.tax-product_cat .giftbag-search--mobile,
html body.giftbag-theme.tax-product_tag .giftbag-search--mobile,
html body.giftbag-theme.post-type-archive-product .giftbag-search--mobile,
html body.giftbag-theme.search .giftbag-search--mobile {
	margin-bottom: 0 !important;
}

html body.giftbag-theme.archive #content.site-content,
html body.giftbag-theme.tax-product_cat #content.site-content,
html body.giftbag-theme.tax-product_tag #content.site-content,
html body.giftbag-theme.post-type-archive-product #content.site-content,
html body.giftbag-theme.search #content.site-content,
html body.giftbag-theme.archive #primary,
html body.giftbag-theme.tax-product_cat #primary,
html body.giftbag-theme.tax-product_tag #primary,
html body.giftbag-theme.post-type-archive-product #primary,
html body.giftbag-theme.search #primary,
html body.giftbag-theme.archive #main,
html body.giftbag-theme.tax-product_cat #main,
html body.giftbag-theme.post-type-archive-product #main,
html body.giftbag-theme.archive .ast-woocommerce-container,
html body.giftbag-theme.tax-product_cat .ast-woocommerce-container,
html body.giftbag-theme.post-type-archive-product .ast-woocommerce-container,
html body.giftbag-theme.archive #content.site-content > .ast-container,
html body.giftbag-theme.tax-product_cat #content.site-content > .ast-container,
html body.giftbag-theme.tax-product_tag #content.site-content > .ast-container,
html body.giftbag-theme.post-type-archive-product #content.site-content > .ast-container,
html body.giftbag-theme.search #content.site-content > .ast-container {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

html body.giftbag-theme.archive .woocommerce-products-header,
html body.giftbag-theme.tax-product_cat .woocommerce-products-header,
html body.giftbag-theme.tax-product_tag .woocommerce-products-header,
html body.giftbag-theme.post-type-archive-product .woocommerce-products-header,
html body.giftbag-theme.search .woocommerce-products-header {
	margin-top: 0 !important;
	padding-top: 16px !important;
	min-height: 0 !important;
}

html body.giftbag-theme .woocommerce-products-header__title,
html body.giftbag-theme .woocommerce-products-header .page-title,
html body.giftbag-theme .woocommerce-products-header__title.page-title {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* ---- 4. Compact sort pills + Filter ---- */
html body.giftbag-theme .giftbag-sort {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px;
	margin: 4px 0 16px;
}

html body.giftbag-theme a.giftbag-sort__pill,
html body.giftbag-theme button.giftbag-sort__pill,
html body.giftbag-theme .giftbag-sort__filter {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	min-height: 32px;
	height: 32px;
	padding: 0 12px;
	border: 1px solid var(--gb-line-strong, #D8C2D5);
	border-radius: 999px;
	background: var(--gb-white);
	color: var(--gb-primary);
	font-family: var(--gb-font);
	font-size: 13px;
	font-weight: 500;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

html body.giftbag-theme a.giftbag-sort__pill.is-active {
	background: var(--gb-primary);
	border-color: var(--gb-primary);
	color: var(--gb-white);
	font-weight: 600;
}

html body.giftbag-theme .giftbag-sort__filter {
	margin-left: auto;
}

html body.giftbag-theme .giftbag-sort__filter-icon {
	display: block;
	flex: 0 0 auto;
}

html body.giftbag-theme .giftbag-sort__filter-count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 18px;
	height: 18px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--gb-primary);
	color: #fff !important;
	font-size: 11px;
	font-weight: 700;
}

html body.giftbag-theme .giftbag-sort__filter.is-active .giftbag-sort__filter-count,
html body.giftbag-theme button.giftbag-sort__pill .giftbag-sort__filter-count {
	background: #fff;
	color: var(--gb-primary) !important;
}

/* Filter bottom sheet */
.giftbag-filtersheet {
	position: fixed;
	inset: 0;
	z-index: 10020;
}

.giftbag-filtersheet[hidden] {
	display: none !important;
}

.giftbag-filtersheet__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(87, 0, 79, 0.45);
}

.giftbag-filtersheet__panel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: min(86vh, 720px);
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 20px 20px 0 0;
	padding: 0 0 calc(12px + env(safe-area-inset-bottom, 0px));
	box-shadow: 0 -16px 40px rgba(87, 0, 79, 0.18);
	overflow: hidden;
}

.giftbag-filtersheet__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex: 0 0 auto;
	padding: 14px 16px 10px;
}

.giftbag-filtersheet__head h2 {
	margin: 0;
	font-family: var(--gb-display);
	font-size: 1.45rem;
	font-weight: 400;
	color: var(--gb-primary);
}

.giftbag-filtersheet__close {
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #F8F5F8;
	color: var(--gb-primary);
	font-size: 1.5rem;
	line-height: 1;
	cursor: pointer;
}

.giftbag-filtersheet__form {
	display: flex;
	flex-direction: column;
	min-height: 0;
	flex: 1 1 auto;
}

.giftbag-filtersheet__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: auto;
	padding: 0 16px 12px;
	-webkit-overflow-scrolling: touch;
}

.giftbag-filtersheet__facet {
	margin: 0 0 16px;
	padding: 0;
	border: 0;
}

.giftbag-filtersheet__facet legend {
	margin: 0 0 8px;
	padding: 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--gb-primary);
}

.giftbag-filtersheet__terms {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.giftbag-filtersheet__terms label {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	padding: 0 12px;
	border: 1px solid var(--gb-line, #E9E0E9);
	border-radius: 999px;
	background: #F8F5F8;
	color: var(--gb-primary);
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.giftbag-filtersheet__terms input {
	accent-color: var(--gb-primary);
	width: 16px;
	height: 16px;
	margin: 0;
}

.giftbag-filtersheet__terms input:checked + span,
.giftbag-filtersheet__terms label:has(input:checked) {
	background: var(--gb-primary);
	border-color: var(--gb-primary);
	color: #fff;
}

.giftbag-filtersheet__prices {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.giftbag-filtersheet__prices label {
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 12px;
	font-weight: 600;
	color: var(--gb-primary);
}

.giftbag-filtersheet__prices input {
	height: 44px;
	padding: 0 12px;
	border: 1px solid var(--gb-line-strong, #D8C2D5);
	border-radius: 12px;
	font: inherit;
	color: var(--gb-ink);
	background: #fff;
}

.giftbag-filtersheet__actions {
	display: flex;
	gap: 10px;
	flex: 0 0 auto;
	padding: 12px 16px 4px;
}

.giftbag-filtersheet__clear,
.giftbag-filtersheet__apply {
	flex: 1 1 0;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	border-radius: 999px;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	cursor: pointer;
	box-sizing: border-box;
}

.giftbag-filtersheet__clear {
	border: 1.5px solid var(--gb-primary);
	background: #fff;
	color: var(--gb-primary) !important;
}

.giftbag-filtersheet__apply {
	border: 0;
	background: var(--gb-primary);
	color: #fff !important;
}

/* ---- 5. Two-column mobile menu (classic GiftBag.ae drawer) ---- */
html body.giftbag-theme .giftbag-catsheet__panel {
	background: #FBF3EA !important;
	padding-bottom: env(safe-area-inset-bottom, 0px);
}

html body.giftbag-theme .giftbag-catsheet__head {
	display: grid;
	grid-template-columns: 44px 1fr 44px;
	align-items: center;
	margin: 0;
	padding: 10px 10px 6px;
	background: #FBF3EA;
	border-bottom: 0;
}

html body.giftbag-theme .giftbag-catsheet__logo {
	grid-column: 2;
	justify-self: center;
	text-align: center;
	line-height: 0;
}

html body.giftbag-theme .giftbag-catsheet__logo img,
html body.giftbag-theme .giftbag-catsheet__logo .giftbag-header__logo-img,
html body.giftbag-theme .giftbag-catsheet__logo .giftbag-header__logo-full {
	display: inline-block;
	height: 34px;
	width: auto;
	max-width: 200px;
	object-fit: contain;
	filter: none;
}

html body.giftbag-theme .giftbag-catsheet__logo .giftbag-header__wordmark {
	font-size: 1.35rem;
	font-weight: 800;
	color: var(--gb-primary);
	letter-spacing: -0.03em;
	line-height: 1;
}

html body.giftbag-theme .giftbag-catsheet__close,
html body.giftbag-theme button.giftbag-catsheet__close {
	grid-column: 3;
	justify-self: end;
	width: 44px !important;
	height: 44px !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: var(--gb-primary) !important;
	font-size: 28px !important;
	font-weight: 400;
	line-height: 1;
}

html body.giftbag-theme .giftbag-catsheet__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow: hidden;
	padding: 4px 12px 8px;
	display: flex;
	flex-direction: column;
}

html body.giftbag-theme .giftbag-catsheet__appmenu {
	flex: 1 1 auto;
	min-height: 0;
	display: flex;
	flex-direction: column;
}

.giftbag-splitmenu {
	display: grid;
	grid-template-columns: minmax(124px, 38%) minmax(0, 1fr);
	gap: 10px;
	flex: 1 1 auto;
	min-height: 0;
	align-items: stretch;
}

.giftbag-splitmenu__left {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 0;
	overflow-y: auto;
	padding: 4px 2px 8px 0;
	-webkit-overflow-scrolling: touch;
}

.giftbag-splitmenu__tab {
	display: block;
	width: 100%;
	text-align: left;
	margin: 0;
	padding: 11px 12px;
	border: 0;
	border-radius: 16px;
	background: #fff;
	color: var(--gb-primary);
	font-family: var(--gb-font);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.03em;
	line-height: 1.25;
	text-transform: uppercase;
	cursor: pointer;
	box-shadow: 0 1px 0 rgba(87, 0, 79, 0.06);
}

.giftbag-splitmenu__tab.is-active {
	background: #FBDCC0;
	box-shadow: 0 3px 0 var(--gb-primary);
	border-radius: 16px 16px 12px 12px;
}

.giftbag-splitmenu__right {
	min-height: 0;
	min-width: 0;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	padding: 0 2px 8px 2px;
}

.giftbag-splitmenu__all {
	display: block;
	margin: 2px 0 10px;
	font-size: 13px;
	font-weight: 700;
	color: var(--gb-primary) !important;
	text-decoration: none;
}

.giftbag-splitmenu__subs,
.giftbag-splitmenu__subs ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.giftbag-splitmenu__link {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 6px 0;
	text-decoration: none;
	color: var(--gb-primary);
}

.giftbag-splitmenu__media {
	flex: 0 0 64px;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	overflow: hidden;
	background: #FCDDBE;
}

.giftbag-splitmenu__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.12);
	transform-origin: center;
}

.giftbag-splitmenu__sub.no-thumb .giftbag-splitmenu__media {
	display: none;
}

.giftbag-splitmenu__label {
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	color: var(--gb-primary);
}

.giftbag-splitmenu__heading {
	margin: 10px 0 8px;
	padding: 0 0 6px;
	border-bottom: 2px solid var(--gb-primary);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--gb-primary);
}

.giftbag-splitmenu__heading a {
	color: var(--gb-primary);
	text-decoration: none;
}

html body.giftbag-theme .giftbag-drawer-foot {
	border-top: 1px solid var(--gb-primary);
	background: #FBF3EA;
	padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
}

html body.giftbag-theme .giftbag-drawer-foot__call {
	background: #fff;
	border: 1.5px solid var(--gb-primary);
	color: var(--gb-primary) !important;
}

html body.giftbag-theme .giftbag-drawer-foot__icon {
	width: 40px;
	height: 40px;
	border: 1.5px solid var(--gb-primary);
	border-radius: 50%;
	color: var(--gb-primary);
	background: #fff;
}

/* Admin bar offset (keep). */
body.admin-bar .giftbag-catsheet,
body.admin-bar .giftbag-catsheet__panel,
body.admin-bar .giftbag-catsheet__backdrop {
	top: 32px;
}

@media screen and (max-width: 782px) {
	body.admin-bar .giftbag-catsheet,
	body.admin-bar .giftbag-catsheet__panel,
	body.admin-bar .giftbag-catsheet__backdrop {
		top: 46px;
	}
}

/* ---- 6. Footer: live-site sections, purple styling ---- */
html body.giftbag-theme .giftbag-footer .giftbag-footer__heading,
body.giftbag-theme .giftbag-footer .giftbag-footer__heading {
	margin: 0 0 14px;
	padding: 0 0 8px;
	color: #fff !important;
	font-family: var(--gb-font);
	font-size: 0.92rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	border-bottom: 0;
	position: relative;
}

html body.giftbag-theme .giftbag-footer .giftbag-footer__heading::after {
	content: "";
	display: block;
	width: 36px;
	height: 3px;
	margin-top: 8px;
	background: #FCDDBE;
	border-radius: 2px;
}

html body.giftbag-theme .giftbag-footer__inner {
	grid-template-columns: 1fr;
	gap: 28px 32px;
}

@media (min-width: 768px) {
	html body.giftbag-theme .giftbag-footer__inner {
		grid-template-columns: 1fr 1fr 1.15fr;
		align-items: start;
	}
}

html body.giftbag-theme .giftbag-footer__social {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 14px;
}

html body.giftbag-theme .giftbag-footer__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1.5px solid #FCDDBE;
	border-radius: 50%;
	color: #FCDDBE !important;
	background: transparent;
	text-decoration: none !important;
}

html body.giftbag-theme .giftbag-footer__social-icon:hover,
html body.giftbag-theme .giftbag-footer__social-icon:focus {
	background: rgba(252, 221, 190, 0.15);
	color: #fff !important;
	text-decoration: none !important;
}

html body.giftbag-theme .giftbag-footer__stores {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	align-items: center;
}

html body.giftbag-theme .giftbag-footer__store {
	display: block;
	line-height: 0;
	text-decoration: none !important;
}

html body.giftbag-theme .giftbag-footer__store img {
	display: block;
	height: 40px;
	width: auto;
	max-width: 148px;
	filter: none !important;
}

html body.giftbag-theme .giftbag-footer__posts {
	list-style: none;
	margin: 0;
	padding: 0;
}

html body.giftbag-theme .giftbag-footer__posts li {
	margin: 0 0 10px;
}

html body.giftbag-theme .giftbag-footer__post {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	text-decoration: none !important;
	color: #FCDDBE !important;
}

html body.giftbag-theme .giftbag-footer__post:hover .giftbag-footer__post-title {
	text-decoration: underline;
	color: #fff !important;
}

html body.giftbag-theme .giftbag-footer__post-date {
	flex: 0 0 44px;
	width: 44px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 4px 0;
	border: 1.5px solid #FCDDBE;
	border-radius: 4px;
	color: #fff !important;
	line-height: 1.1;
	text-align: center;
}

html body.giftbag-theme .giftbag-footer__post-day {
	font-size: 16px;
	font-weight: 700;
	color: #fff !important;
}

html body.giftbag-theme .giftbag-footer__post-month {
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #FCDDBE !important;
}

html body.giftbag-theme .giftbag-footer__post-title {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.35;
	color: #FCDDBE !important;
}

/* =========================================================================
   v1.4.2
   Footer: payment logos removed; copyright sits alone under a tidy divider.
   ========================================================================= */
html body.giftbag-theme .giftbag-footer__bar {
	max-width: var(--gb-max);
	margin: 24px auto 0;
	padding-top: 16px;
	border-top: 1px solid rgba(252, 221, 190, 0.25);
	display: block;
	text-align: center;
}

html body.giftbag-theme .giftbag-footer__legal,
html body.giftbag-theme .giftbag-footer .giftbag-footer__legal,
html body.giftbag-theme .giftbag-footer__legal p {
	margin: 0;
	padding: 0;
	border: 0;
	text-align: center;
	font-size: 0.85rem;
	color: #FCDDBE !important;
}

html body.giftbag-theme .giftbag-footer .giftbag-footer__logo .giftbag-header__logo-img,
html body.giftbag-theme .giftbag-footer .giftbag-footer__logo img {
	filter: none !important;
}

html body.giftbag-theme .giftbag-sort__filter .giftbag-sort__filter-count {
	background: var(--gb-primary) !important;
	color: #fff !important;
}

/* =========================================================================
   v1.4.4
   1) Product gallery: FlexSlider must show one image at a time and swipe
      horizontally. v1.4.0 applied width/height/aspect-ratio to the wrapper
      and slides, which stacked images and broke translate/swipe.
      Only the img inside each slide gets 1:1 cover sizing.
   2) Sort row: one toggling Price pill; Default / Price / Name / Filter
      stay on one row at 360px and 412px.
   ========================================================================= */

/* ---- Gallery: restore FlexSlider's horizontal track ---- */

/* Viewport is the visible frame only. Do not give it a forced 1:1 height
   that expands around stacked slides. */
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport {
	width: 100% !important;
	max-width: 100% !important;
	overflow: hidden !important;
	aspect-ratio: auto !important;
	height: auto !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

/* The wrapper is FlexSlider's sliding track (n × slide width + translate).
   Never force width/max-width/aspect-ratio on it. */
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__wrapper {
	display: block !important;
	max-width: none !important;
	height: auto !important;
	aspect-ratio: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: content-box !important;
}

/* Each slide: keep FlexSlider's inline width and sit in a horizontal row. */
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image {
	float: left !important;
	display: block !important;
	max-width: none !important;
	height: auto !important;
	aspect-ratio: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	box-sizing: border-box !important;
}

html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport .woocommerce-product-gallery__image > a {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	aspect-ratio: auto !important;
}

/* 1:1 cover belongs only on the image, never the track or slide width. */
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__image img,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .zoomImg {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: 1 / 1;
	object-fit: cover !important;
	object-position: center center;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
}

/* Single-image products (Woo often skips FlexSlider; no .flex-viewport). */
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__image > a {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	aspect-ratio: auto !important;
	float: none !important;
	margin: 0 !important;
	padding: 0 !important;
	display: block !important;
}

/* ---- Sort pills: one row (Default / Price / Name / Filter) ---- */
html body.giftbag-theme .giftbag-sort {
	display: flex;
	flex-wrap: nowrap;
	align-items: center;
	gap: 4px;
	margin: 4px 0 14px;
	overflow-x: auto;
	overflow-y: hidden;
	scrollbar-width: none;
	-ms-overflow-style: none;
	-webkit-overflow-scrolling: touch;
}

html body.giftbag-theme .giftbag-sort::-webkit-scrollbar {
	display: none;
	height: 0;
	width: 0;
}

html body.giftbag-theme a.giftbag-sort__pill,
html body.giftbag-theme button.giftbag-sort__pill,
html body.giftbag-theme .giftbag-sort__filter {
	flex: 0 0 auto;
	gap: 4px;
	min-height: 30px;
	height: 30px;
	padding: 0 9px;
	font-size: 12.5px;
	white-space: nowrap;
	margin-left: 0;
}

html body.giftbag-theme .giftbag-sort__filter {
	margin-left: 0;
	padding: 0 9px;
}

html body.giftbag-theme .giftbag-sort__filter-icon {
	width: 12px;
	height: 12px;
}

html body.giftbag-theme .giftbag-sort__dir {
	display: block;
	flex: 0 0 auto;
}

html body.giftbag-theme .giftbag-sort__filter-count {
	min-width: 16px;
	height: 16px;
	padding: 0 4px;
	font-size: 10px;
}

@media (min-width: 768px) {
	html body.giftbag-theme .giftbag-sort {
		gap: 6px;
		overflow: visible;
	}

	html body.giftbag-theme a.giftbag-sort__pill,
	html body.giftbag-theme button.giftbag-sort__pill,
	html body.giftbag-theme .giftbag-sort__filter {
		min-height: 32px;
		height: 32px;
		padding: 0 12px;
		font-size: 13px;
	}
}

/* =========================================================================
   v1.4.5
   Two-column mobile menu: keep plum text on the light panel in every state.
   The dark plum "is-grouped" right-panel variant is removed — it (and
   always-white heading/link rules) made subcategory text turn white after
   switching categories. Astra :visited/:focus/:active could also bleach
   links; lock colours with higher specificity.
   ========================================================================= */

html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel.is-grouped,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__subs,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel.is-grouped .giftbag-splitmenu__subs {
	background: transparent !important;
	color: var(--gb-primary) !important;
}

html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab:hover,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab:focus,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab:focus-visible,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab:active,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab.is-active,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab[aria-selected="true"] {
	color: var(--gb-primary) !important;
}

html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab {
	background: #fff;
}

html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab.is-active,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__tab[aria-selected="true"] {
	background: #FBDCC0 !important;
	color: var(--gb-primary) !important;
}

html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__all,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__all:link,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__all:visited,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__all:hover,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__all:focus,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__all:active,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__link,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__link:link,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__link:visited,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__link:hover,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__link:focus,
html body.giftbag-theme .giftbag-catsheet a.giftbag-splitmenu__link:active,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__link,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__label,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading a,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading a:link,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading a:visited,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading a:hover,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading a:focus,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading a:active,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel.is-grouped .giftbag-splitmenu__link,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel.is-grouped .giftbag-splitmenu__label,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel.is-grouped .giftbag-splitmenu__heading,
html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel.is-grouped .giftbag-splitmenu__heading a {
	color: var(--gb-primary) !important;
	text-decoration: none;
}

html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__heading {
	border-bottom-color: var(--gb-primary);
}

html body.giftbag-theme .giftbag-catsheet .giftbag-splitmenu__panel.is-grouped .giftbag-splitmenu__sub {
	border-bottom-color: var(--gb-line, #E9E0E9);
}

/* =========================================================================
   v1.4.6
   Filter sheet: plum close X (same as the menu), no browser-blue in any
   state, and plum theming for Apply, Clear, checkboxes/radios, price inputs.
   ========================================================================= */

html body.giftbag-theme .giftbag-filtersheet__close,
html body.giftbag-theme button.giftbag-filtersheet__close,
html body.giftbag-theme .giftbag-filtersheet__close:hover,
html body.giftbag-theme .giftbag-filtersheet__close:focus,
html body.giftbag-theme .giftbag-filtersheet__close:focus-visible,
html body.giftbag-theme .giftbag-filtersheet__close:active,
html body.giftbag-theme .giftbag-filtersheet__close:visited {
	width: 36px !important;
	height: 36px !important;
	min-width: 36px !important;
	min-height: 36px !important;
	padding: 0 !important;
	margin: 0 !important;
	border: 0 !important;
	border-radius: 50% !important;
	background: #F8F5F8 !important;
	background-color: #F8F5F8 !important;
	color: #57004F !important;
	font-size: 1.5rem !important;
	font-weight: 400 !important;
	line-height: 36px !important;
	text-decoration: none !important;
	box-shadow: none !important;
	outline: none !important;
	outline-offset: 0 !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
}

html body.giftbag-theme .giftbag-filtersheet__close:focus-visible {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #57004F !important;
	outline: none !important;
}

/* Clear is an <a>: visited/focus often render browser blue. */
html body.giftbag-theme a.giftbag-filtersheet__clear,
html body.giftbag-theme a.giftbag-filtersheet__clear:link,
html body.giftbag-theme a.giftbag-filtersheet__clear:visited,
html body.giftbag-theme a.giftbag-filtersheet__clear:hover,
html body.giftbag-theme a.giftbag-filtersheet__clear:focus,
html body.giftbag-theme a.giftbag-filtersheet__clear:focus-visible,
html body.giftbag-theme a.giftbag-filtersheet__clear:active,
html body.giftbag-theme .giftbag-filtersheet__clear {
	color: #57004F !important;
	background: #ffffff !important;
	border: 1.5px solid #57004F !important;
	text-decoration: none !important;
	outline: none !important;
	box-shadow: none !important;
	-webkit-tap-highlight-color: transparent;
}

html body.giftbag-theme a.giftbag-filtersheet__clear:focus-visible,
html body.giftbag-theme .giftbag-filtersheet__clear:focus-visible,
html body.giftbag-theme .giftbag-filtersheet__apply:focus-visible,
html body.giftbag-theme button.giftbag-filtersheet__apply:focus-visible {
	box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px #57004F !important;
	outline: none !important;
}

html body.giftbag-theme .giftbag-filtersheet__apply,
html body.giftbag-theme button.giftbag-filtersheet__apply,
html body.giftbag-theme .giftbag-filtersheet__apply:hover,
html body.giftbag-theme .giftbag-filtersheet__apply:focus,
html body.giftbag-theme .giftbag-filtersheet__apply:active {
	background: #57004F !important;
	background-color: #57004F !important;
	color: #ffffff !important;
	border: 0 !important;
	outline: none !important;
	-webkit-appearance: none !important;
	appearance: none !important;
	-webkit-tap-highlight-color: transparent;
}

/* Checkboxes, radios, and price fields: plum accent, no blue focus/caret. */
html body.giftbag-theme .giftbag-filtersheet,
html body.giftbag-theme .giftbag-filtersheet input,
html body.giftbag-theme .giftbag-filtersheet input[type="checkbox"],
html body.giftbag-theme .giftbag-filtersheet input[type="radio"],
html body.giftbag-theme .giftbag-filtersheet input[type="number"] {
	accent-color: #57004F !important;
}

html body.giftbag-theme .giftbag-filtersheet__prices input,
html body.giftbag-theme .giftbag-filtersheet__prices input:hover,
html body.giftbag-theme .giftbag-filtersheet__prices input:focus,
html body.giftbag-theme .giftbag-filtersheet__prices input:focus-visible,
html body.giftbag-theme .giftbag-filtersheet input[type="number"] {
	caret-color: #57004F;
	outline: none !important;
	border-color: #57004F;
	box-shadow: none;
}

html body.giftbag-theme .giftbag-filtersheet__prices input:focus,
html body.giftbag-theme .giftbag-filtersheet__prices input:focus-visible {
	box-shadow: 0 0 0 2px rgba(87, 0, 79, 0.25) !important;
	border-color: #57004F !important;
}

html body.giftbag-theme .giftbag-filtersheet__terms input:focus,
html body.giftbag-theme .giftbag-filtersheet__terms input:focus-visible {
	outline: 2px solid #57004F !important;
	outline-offset: 1px !important;
}

/* =========================================================================
   v1.4.7
   Category/archive pages: 16px space below the mobile header search bar,
   before the page title (then sub-category tiles / sort). v1.4.1 had
   zeroed the search's margin, which left the bar flush against the
   header edge. Home and other pages are unchanged.
   ========================================================================= */
@media (max-width: 1023px) {
	html body.giftbag-theme.tax-product_cat .giftbag-search--mobile,
	html body.giftbag-theme.tax-product_tag .giftbag-search--mobile,
	html body.giftbag-theme.post-type-archive-product .giftbag-search--mobile,
	html body.giftbag-theme.ast-woo-shop-archive .giftbag-search--mobile {
		margin-bottom: 16px !important;
	}

	/* Don't stack this 16px on top of the earlier products-header padding. */
	html body.giftbag-theme.tax-product_cat .woocommerce-products-header,
	html body.giftbag-theme.tax-product_tag .woocommerce-products-header,
	html body.giftbag-theme.post-type-archive-product .woocommerce-products-header,
	html body.giftbag-theme.ast-woo-shop-archive .woocommerce-products-header {
		padding-top: 0 !important;
	}
}

/* v1.4.9: same-document-feel between in-site navigations (Chromium). */
@view-transition {
	navigation: auto;
}

/* v1.4.10: plum buttons / filter pills
 * Astra's palette on this site is still the default blues (--ast-global-color-0: #046bd2).
 * Its generic `button` / `.button` rules paint the Filter <button> and Woo "Continue
 * shopping" / "Return to shop" links. !important + hex fallbacks so this still wins
 * when LiteSpeed CSS combine prints our file *before* Astra's inline CSS.
 */
html body.giftbag-theme {
	--ast-global-color-0: #57004F !important;
	--ast-global-color-1: #3d0038 !important;
}

html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill,
html body.giftbag-theme .giftbag-sort button.giftbag-sort__pill,
html body.giftbag-theme .giftbag-sort .giftbag-sort__filter,
html body.giftbag-theme a.giftbag-sort__pill,
html body.giftbag-theme button.giftbag-sort__pill,
html body.giftbag-theme button.giftbag-sort__filter,
html body.giftbag-theme .giftbag-sort__filter {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #57004F !important;
	border: 1px solid #D8C2D5 !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	padding: 0 12px !important;
	min-height: 32px !important;
	height: 32px !important;
}

html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill:hover,
html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill:focus,
html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill:focus-visible,
html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill:active,
html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill:visited,
html body.giftbag-theme .giftbag-sort button.giftbag-sort__pill:hover,
html body.giftbag-theme .giftbag-sort button.giftbag-sort__pill:focus,
html body.giftbag-theme .giftbag-sort button.giftbag-sort__pill:focus-visible,
html body.giftbag-theme .giftbag-sort button.giftbag-sort__pill:active,
html body.giftbag-theme .giftbag-sort .giftbag-sort__filter:hover,
html body.giftbag-theme .giftbag-sort .giftbag-sort__filter:focus,
html body.giftbag-theme .giftbag-sort .giftbag-sort__filter:focus-visible,
html body.giftbag-theme .giftbag-sort .giftbag-sort__filter:active {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: #57004F !important;
	border-color: #57004F !important;
	outline-color: #57004F !important;
}

html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill.is-active,
html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill.is-active:hover,
html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill.is-active:focus,
html body.giftbag-theme .giftbag-sort a.giftbag-sort__pill.is-active:visited,
html body.giftbag-theme .giftbag-sort button.giftbag-sort__pill.is-active,
html body.giftbag-theme .giftbag-sort .giftbag-sort__filter.is-active {
	background: #57004F !important;
	background-color: #57004F !important;
	border-color: #57004F !important;
	color: #ffffff !important;
}

html body.giftbag-theme a.button,
html body.giftbag-theme a.button:hover,
html body.giftbag-theme a.button:focus,
html body.giftbag-theme a.button:focus-visible,
html body.giftbag-theme a.button:active,
html body.giftbag-theme a.button:visited,
html body.giftbag-theme button.button,
html body.giftbag-theme button.button:hover,
html body.giftbag-theme button.button:focus,
html body.giftbag-theme input.button,
html body.giftbag-theme input.button:hover,
html body.giftbag-theme input[type="submit"],
html body.giftbag-theme input[type="button"],
html body.giftbag-theme .woocommerce a.button,
html body.giftbag-theme .woocommerce button.button,
html body.giftbag-theme .woocommerce input.button,
html body.giftbag-theme .woocommerce-js a.button,
html body.giftbag-theme .woocommerce-js a.button:hover,
html body.giftbag-theme .woocommerce-Button,
html body.giftbag-theme a.wc-backward,
html body.giftbag-theme a.wc-backward:hover,
html body.giftbag-theme a.wc-backward:visited,
html body.giftbag-theme a.wc-forward,
html body.giftbag-theme a.ast-continue-shopping,
html body.giftbag-theme .woocommerce-message a.button,
html body.giftbag-theme .woocommerce-info a.button,
html body.giftbag-theme .woocommerce-error a.button,
html body.giftbag-theme .return-to-shop .button,
html body.giftbag-theme .return-to-shop a,
html body.giftbag-theme .wc-empty-cart-message .button,
html body.giftbag-theme .woocommerce-no-products-found .button,
html body.giftbag-theme .woocommerce-info .button,
html body.giftbag-theme .cart-empty + .return-to-shop .button {
	background: #57004F !important;
	background-color: #57004F !important;
	border-color: #57004F !important;
	color: #ffffff !important;
}

html body.giftbag-theme a.button:hover,
html body.giftbag-theme a.button:focus,
html body.giftbag-theme button.button:hover,
html body.giftbag-theme button.button:focus,
html body.giftbag-theme input.button:hover,
html body.giftbag-theme input[type="submit"]:hover,
html body.giftbag-theme .woocommerce a.button:hover,
html body.giftbag-theme .woocommerce-js a.button:hover,
html body.giftbag-theme a.wc-backward:hover,
html body.giftbag-theme a.wc-forward:hover,
html body.giftbag-theme .return-to-shop .button:hover,
html body.giftbag-theme .woocommerce-message a.button:hover,
html body.giftbag-theme .woocommerce-info a.button:hover {
	background: #3d0038 !important;
	background-color: #3d0038 !important;
	border-color: #3d0038 !important;
	color: #ffffff !important;
}

html body.giftbag-theme .woocommerce-info,
html body.giftbag-theme .woocommerce-info a:not(.button) {
	border-top-color: #57004F !important;
	color: #57004F !important;
}

html body.giftbag-theme .woocommerce-info::before {
	color: #57004F !important;
}

html body.giftbag-theme .giftbag-sort__pill:focus-visible,
html body.giftbag-theme a.button:focus-visible,
html body.giftbag-theme button.button:focus-visible {
	outline: 2px solid #57004F !important;
	outline-offset: 2px !important;
}

/* ==========================================================================
   v1.4.12: first-visit menu/WhatsApp reliability, add-ons list, bag totals
   (also inlined late as #giftbag-critical so Astra/Woo inline cannot win).
   ========================================================================== */

html body.giftbag-theme a.giftbag-wa {
	position: fixed;
	right: 16px;
	bottom: calc(72px + env(safe-area-inset-bottom, 0px));
	z-index: 99990;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #57004F;
	color: #fff;
	box-shadow: 0 4px 12px rgba(87, 0, 79, 0.28);
	text-decoration: none;
}
html body.giftbag-theme.giftbag-has-buybar a.giftbag-wa {
	bottom: calc(96px + env(safe-area-inset-bottom, 0px));
}
html body.giftbag-catsheet-open a.giftbag-wa,
html body.giftbag-filtersheet-open a.giftbag-wa {
	display: none !important;
}
html body .qlwapp,
html body .qlwapp__container,
html body #qlwapp,
html body .qlwapp__button,
html body .qlwapp__text,
html body .joinchat,
html body .ht-ctc,
html body #ht-ctc-chat {
	display: none !important;
	visibility: hidden !important;
	pointer-events: none !important;
}

html body.giftbag-theme button.giftbag-splitmenu__tab,
html body.giftbag-theme .giftbag-splitmenu__tab {
	background: #fff !important;
	color: #57004F !important;
	border: 0 !important;
	border-radius: 16px !important;
	box-shadow: 0 1px 0 rgba(87, 0, 79, 0.06) !important;
}
html body.giftbag-theme button.giftbag-splitmenu__tab.is-active,
html body.giftbag-theme .giftbag-splitmenu__tab.is-active {
	background: #FBDCC0 !important;
	color: #57004F !important;
	box-shadow: 0 3px 0 #57004F !important;
}
html body.giftbag-theme .giftbag-splitmenu__subs,
html body.giftbag-theme .giftbag-splitmenu__subs ul,
html body.giftbag-theme .giftbag-splitmenu__subs li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

html body.giftbag-theme .cart-collaterals .cart_totals,
html body.giftbag-theme #order_review.woocommerce-checkout-review-order {
	border: 1px solid #E8D6E4 !important;
	border-radius: 16px !important;
	background: #fff !important;
	padding: 18px 16px 16px !important;
	box-sizing: border-box !important;
}
html body.giftbag-theme .cart_totals > h2 {
	display: block !important;
	margin: 0 0 14px !important;
	padding: 0 0 10px !important;
	border-bottom: 1px solid #E8D6E4 !important;
	color: #57004F !important;
	float: none !important;
	position: static !important;
}
html body.giftbag-theme.woocommerce-checkout #order_review_heading {
	color: #57004F !important;
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	margin: 0 0 10px !important;
	padding: 0 !important;
}

html body.giftbag-theme ul#shipping_method li,
html body.giftbag-theme .woocommerce-shipping-methods li {
	display: flex !important;
	align-items: flex-start !important;
	padding: 0 !important;
	margin: 0 !important;
	text-indent: 0 !important;
	list-style: none !important;
}
html body.giftbag-theme ul#shipping_method li label,
html body.giftbag-theme .woocommerce-shipping-methods li label {
	display: flex !important;
	flex: 1 1 auto !important;
	justify-content: space-between !important;
	align-items: flex-start !important;
	gap: 10px !important;
	text-indent: 0 !important;
	text-align: left !important;
	float: none !important;
}
html body.giftbag-theme ul#shipping_method li label .woocommerce-Price-amount,
html body.giftbag-theme .woocommerce-shipping-methods li label .woocommerce-Price-amount {
	margin-left: auto !important;
	white-space: nowrap !important;
	font-weight: 700 !important;
}
html body.giftbag-theme .woocommerce-shipping-destination,
html body.giftbag-theme p.woocommerce-shipping-destination {
	text-align: left !important;
	font-size: 0.8rem !important;
}

html body.giftbag-theme.giftbag-addons-archive .giftbag-sort,
html body.giftbag-theme.giftbag-addons-archive .woocommerce-result-count,
html body.giftbag-theme.giftbag-addons-archive .woocommerce-ordering {
	display: none !important;
}
html body.giftbag-theme.giftbag-addons-archive ul.products {
	display: flex !important;
	flex-direction: column !important;
	grid-template-columns: 1fr !important;
	gap: 10px !important;
}
html body.giftbag-theme.giftbag-addons-archive ul.products li.product {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	gap: 12px !important;
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	padding: 10px 12px !important;
	background: #fff !important;
	border-radius: 16px !important;
	box-shadow: 0 1px 4px rgba(87, 0, 79, 0.08) !important;
}
html body.giftbag-theme.giftbag-addons-archive li.product .giftbag-heart,
html body.giftbag-theme.giftbag-addons-archive li.product .ast-on-card-button {
	display: none !important;
}
html body.giftbag-theme.giftbag-addons-archive li.product .astra-shop-thumbnail-wrap {
	flex: 0 0 84px !important;
	width: 84px !important;
	margin: 0 !important;
	position: static !important;
}
html body.giftbag-theme.giftbag-addons-archive li.product .astra-shop-thumbnail-wrap img {
	width: 84px !important;
	height: 84px !important;
	object-fit: cover !important;
	border-radius: 12px !important;
}
html body.giftbag-theme.giftbag-addons-archive li.product .astra-shop-summary-wrap {
	flex: 1 1 auto !important;
	min-width: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
}
html body.giftbag-theme.giftbag-addons-archive a.giftbag-addon-plus {
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	margin-left: auto !important;
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: #57004F !important;
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1 !important;
	text-decoration: none !important;
	border: 0 !important;
}

html body.giftbag-theme .woocommerce-message::before,
html body.giftbag-theme .woocommerce-info::before,
html body.giftbag-theme .woocommerce-error::before {
	content: none !important;
	display: none !important;
	font-size: 0 !important;
	width: 0 !important;
	height: 0 !important;
}
html body.giftbag-theme .woocommerce-message {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
}
html body.giftbag-theme .woocommerce-message a.button {
	float: none !important;
	margin: 10px auto 0 !important;
}

/* ==========================================================================
   v1.4.13: product archives are full-width (no sidebar). The GEO/SEO block
   sits under the grid and pagination. Column counts stay 2 / 3 / 4 so cards
   match every other category page.
   ========================================================================== */

body.giftbag-theme.giftbag-shop-fullwidth #secondary,
body.giftbag-theme.archive.tax-product_cat #secondary,
body.giftbag-theme.tax-product_tag #secondary,
body.giftbag-theme.post-type-archive-product #secondary {
	display: none !important;
}

body.giftbag-theme.giftbag-shop-fullwidth #primary,
body.giftbag-theme.archive.tax-product_cat #primary,
body.giftbag-theme.tax-product_tag #primary,
body.giftbag-theme.post-type-archive-product #primary,
body.giftbag-theme.giftbag-shop-fullwidth .content-area,
body.giftbag-theme.archive.tax-product_cat .content-area {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
	margin: 0 !important;
	flex: 0 0 100% !important;
}

body.giftbag-theme.giftbag-shop-fullwidth .ast-container,
body.giftbag-theme.archive.tax-product_cat .site-content > .ast-container,
body.giftbag-theme.post-type-archive-product .site-content > .ast-container {
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
}

body.giftbag-theme.giftbag-shop-fullwidth .ast-woocommerce-container,
body.giftbag-theme.archive.tax-product_cat .ast-woocommerce-container {
	width: 100% !important;
	max-width: 100% !important;
	float: none !important;
}

body.giftbag-theme section.giftbag-seo {
	display: block !important;
	float: none !important;
	clear: both !important;
	width: 100% !important;
	flex: 0 0 100% !important;
	box-sizing: border-box;
	margin-top: 32px;
	margin-bottom: 24px;
}

/* ==========================================================================
   v1.4.14: sticky Add to bag bar is mobile-only (hidden at ≥922px,
   desktop and tablet-landscape). In-page add-to-bag / qty stay visible there.
   ========================================================================== */
@media (min-width: 922px) {
	html body.giftbag-theme .giftbag-buybar,
	html body.giftbag-theme.giftbag-has-buybar .giftbag-buybar,
	html body.giftbag-has-buybar .giftbag-buybar,
	html body .giftbag-buybar {
		display: none !important;
		visibility: hidden !important;
		pointer-events: none !important;
	}

	html body.giftbag-theme.giftbag-has-buybar,
	html body.giftbag-has-buybar {
		padding-bottom: 0 !important;
	}

	html body.giftbag-theme.giftbag-has-buybar a.giftbag-wa {
		bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
	}
}


/* ==========================================================================
   v1.4.15
   - Add-ons + button is visible on simple AJAX products (beats the archive
     hide rule). Variable / options products have no plus.
   - Desktop only (≥922px): one shared container (--gb-container: 1180px,
     --gb-container-pad: 20px, box-sizing: border-box) for the header bar,
     menu, main content, carousels and footer. Category archives stay
     no-sidebar with 4 columns and the GEO block at the bottom, but are no
     longer stretched edge-to-edge. Bag/checkout shipment rows and the
     checkout Total line, plus the Edit Deliveries modal, are desktop-only.
   ========================================================================== */

html body.giftbag-theme.giftbag-addons-archive ul.products li.product a.giftbag-addon-plus,
html body.giftbag-theme.giftbag-addons-archive ul.products li.product a.giftbag-addon-plus.add_to_cart_button,
html body.giftbag-theme.giftbag-addons-archive ul.products li.product a.giftbag-addon-plus.ajax_add_to_cart {
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	margin-left: auto !important;
	display: inline-flex !important;
	visibility: visible !important;
	align-items: center !important;
	justify-content: center !important;
	border-radius: 50% !important;
	background: #57004F !important;
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1 !important;
	text-decoration: none !important;
	border: 0 !important;
	z-index: 4 !important;
	position: relative !important;
	padding: 0 !important;
	box-shadow: none !important;
}
html body.giftbag-theme.giftbag-addons-archive ul.products li.product a.giftbag-addon-plus.added span[aria-hidden="true"] {
	font-size: 0 !important;
}
html body.giftbag-theme.giftbag-addons-archive ul.products li.product a.giftbag-addon-plus.added span[aria-hidden="true"]::after {
	content: "\2713";
	font-size: 20px;
	font-weight: 700;
	line-height: 1;
}
html body.giftbag-theme.giftbag-addons-archive ul.products li.product a.added_to_cart {
	display: none !important;
}

@media (min-width: 922px) {
	/* ---- Shared desktop container: same width and side padding as the header. ---- */
	html body.giftbag-theme .giftbag-header__bar,
	html body.giftbag-theme .giftbag-header__nav .giftbag-menu,
	html body.giftbag-theme .giftbag-header__nav .giftbag-appmenu,
	html body.giftbag-theme .giftbag-home,
	html body.giftbag-theme .giftbag-page-blank-main,
	html body.giftbag-theme:not(.home):not(.front-page):not(.giftbag-page-blank):not(.page-template-page-blank):not(.page-template-page-blank-php) #content.site-content > .ast-container,
	html body.giftbag-theme .giftbag-footer__inner,
	html body.giftbag-theme .giftbag-footer__bar,
	html body.giftbag-theme .giftbag-footer__legal,
	html body.giftbag-theme .giftbag-footer .giftbag-footer__legal {
		max-width: var(--gb-container) !important;
		width: 100% !important;
		margin-left: auto !important;
		margin-right: auto !important;
		padding-left: var(--gb-container-pad) !important;
		padding-right: var(--gb-container-pad) !important;
		box-sizing: border-box !important;
	}

	/* Front page / blank templates already use .giftbag-home or
	   .giftbag-page-blank-main as the container — don't double-pad Astra's wrap. */
	html body.giftbag-theme.home #content.site-content > .ast-container,
	html body.giftbag-theme.front-page #content.site-content > .ast-container,
	html body.giftbag-theme.giftbag-page-blank #content.site-content > .ast-container,
	html body.giftbag-theme.page-template-page-blank #content.site-content > .ast-container,
	html body.giftbag-theme.page-template-page-blank-php #content.site-content > .ast-container {
		max-width: none !important;
		width: 100% !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Footer: drop the extra outer side padding that was inset 20px left of the header. */
	html body.giftbag-theme .giftbag-footer {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	/* Category / shop archives: keep no-sidebar, undo the v1.4.13 edge-to-edge stretch. */
	html body.giftbag-theme.giftbag-shop-fullwidth #content.site-content > .ast-container,
	html body.giftbag-theme.archive.tax-product_cat #content.site-content > .ast-container,
	html body.giftbag-theme.tax-product_tag #content.site-content > .ast-container,
	html body.giftbag-theme.post-type-archive-product #content.site-content > .ast-container {
		max-width: var(--gb-container) !important;
		width: 100% !important;
		padding-left: var(--gb-container-pad) !important;
		padding-right: var(--gb-container-pad) !important;
		box-sizing: border-box !important;
		margin-left: auto !important;
		margin-right: auto !important;
		display: block !important;
	}

	html body.giftbag-theme.giftbag-shop-fullwidth #primary,
	html body.giftbag-theme.archive.tax-product_cat #primary,
	html body.giftbag-theme.tax-product_tag #primary,
	html body.giftbag-theme.post-type-archive-product #primary,
	html body.giftbag-theme.giftbag-shop-fullwidth .content-area,
	html body.giftbag-theme.archive.tax-product_cat .content-area,
	html body.giftbag-theme.giftbag-shop-fullwidth .ast-woocommerce-container,
	html body.giftbag-theme.archive.tax-product_cat .ast-woocommerce-container,
	html body.giftbag-theme.post-type-archive-product .ast-woocommerce-container {
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
		flex: 0 0 100% !important;
		box-sizing: border-box !important;
	}

	html body.giftbag-theme.giftbag-shop-fullwidth #secondary,
	html body.giftbag-theme.archive.tax-product_cat #secondary,
	html body.giftbag-theme.tax-product_tag #secondary,
	html body.giftbag-theme.post-type-archive-product #secondary {
		display: none !important;
	}

	/* Rails / carousels: left edge lines up with the logo; clip to the container. */
	/* Clip home/rail carousels only. Do not set overflow on .giftbag-related /
	   .related.products — overflow creates a BFC that shrinks the rail into
	   the gap between the floated gallery and summary. */
	html body.giftbag-theme .giftbag-home,
	html body.giftbag-theme .giftbag-rail,
	html body.giftbag-theme .giftbag-row,
	html body.giftbag-theme .giftbag-reviews {
		overflow-x: hidden;
		max-width: 100%;
		box-sizing: border-box;
	}
	html body.giftbag-theme .giftbag-home {
		overflow-x: hidden;
		max-width: var(--gb-container) !important;
	}
	html body.giftbag-theme .giftbag-rail .giftbag-row__scroller,
	html body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller,
	html body.giftbag-theme .giftbag-row__scroller,
	html body.giftbag-theme .giftbag-cats__scroller,
	html body.giftbag-theme .giftbag-related__scroller,
	html body.giftbag-theme .giftbag-related__scroller ul.products,
	html body.giftbag-theme .giftbag-related__scroller .products {
		max-width: 100% !important;
		width: 100% !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box !important;
		overflow-x: auto !important;
	}

	/* ---- Bag Total + checkout Your order: shipment full width; Total on one line. ---- */
	html body.giftbag-theme .cart_totals table.shop_table,
	html body.giftbag-theme .woocommerce-checkout-review-order-table,
	html body.giftbag-theme #order_review table.shop_table {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table thead,
	html body.giftbag-theme .cart_totals table.shop_table tbody,
	html body.giftbag-theme .cart_totals table.shop_table tfoot,
	html body.giftbag-theme .woocommerce-checkout-review-order-table thead,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tbody,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tfoot {
		display: block !important;
		width: 100% !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table tr,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: baseline !important;
		width: 100% !important;
		box-sizing: border-box !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table tr th,
	html body.giftbag-theme .cart_totals table.shop_table tr td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr td {
		float: none !important;
		box-sizing: border-box !important;
	}
	html body.giftbag-theme .cart_totals tr.cart-subtotal th,
	html body.giftbag-theme .cart_totals tr.order-total th,
	html body.giftbag-theme .cart_totals tr.fee th,
	html body.giftbag-theme .cart_totals tr.tax-rate th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.cart-subtotal th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.fee th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.tax-rate th {
		flex: 0 0 auto;
		text-align: left !important;
		width: auto !important;
	}
	html body.giftbag-theme .cart_totals tr.cart-subtotal td,
	html body.giftbag-theme .cart_totals tr.fee td,
	html body.giftbag-theme .cart_totals tr.tax-rate td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.cart-subtotal td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.fee td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.tax-rate td {
		flex: 1 1 auto;
		text-align: right !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table tr.shipping,
	html body.giftbag-theme .cart_totals table.shop_table tr.woocommerce-shipping-totals,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
		display: block !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
		float: none !important;
	}
	html body.giftbag-theme .cart_totals tr.shipping th,
	html body.giftbag-theme .cart_totals tr.woocommerce-shipping-totals th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
	html body.giftbag-theme .cart_totals tr.shipping td,
	html body.giftbag-theme .cart_totals tr.woocommerce-shipping-totals td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		text-align: left !important;
		float: none !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	html body.giftbag-theme ul#shipping_method,
	html body.giftbag-theme .woocommerce-shipping-methods {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	html body.giftbag-theme ul#shipping_method li,
	html body.giftbag-theme .woocommerce-shipping-methods li {
		display: flex !important;
		flex-direction: row !important;
		align-items: flex-start !important;
		width: 100% !important;
	}
	html body.giftbag-theme ul#shipping_method li label,
	html body.giftbag-theme .woocommerce-shipping-methods li label {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: row !important;
		align-items: flex-start !important;
		justify-content: space-between !important;
		gap: 10px !important;
		text-align: left !important;
	}
	html body.giftbag-theme ul#shipping_method li label .woocommerce-Price-amount,
	html body.giftbag-theme ul#shipping_method li label .amount,
	html body.giftbag-theme .woocommerce-shipping-methods li label .woocommerce-Price-amount {
		margin-left: auto !important;
		flex: 0 0 auto !important;
		white-space: nowrap !important;
		text-align: right !important;
	}
	html body.giftbag-theme .woocommerce-shipping-destination,
	html body.giftbag-theme p.woocommerce-shipping-destination,
	html body.giftbag-theme tr.shipping td > p,
	html body.giftbag-theme tr.woocommerce-shipping-totals td > p,
	html body.giftbag-theme .cart_totals .woocommerce-info {
		width: 100% !important;
		max-width: 100% !important;
		text-align: left !important;
		display: block !important;
	}
	html body.giftbag-theme .cart_totals tr.order-total td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total td {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: flex-end !important;
		align-items: baseline !important;
		gap: 0.4em !important;
		text-align: right !important;
		white-space: nowrap !important;
		width: auto !important;
		flex: 1 1 auto !important;
	}
	html body.giftbag-theme .cart_totals tr.order-total small.includes_tax,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total small.includes_tax,
	html body.giftbag-theme tr.order-total .includes_tax,
	html body.giftbag-theme tr.order-total .woocommerce-Price-amount,
	html body.giftbag-theme tr.order-total strong {
		display: inline !important;
		white-space: nowrap !important;
		float: none !important;
		margin: 0 !important;
	}

	/* ---- Edit Deliveries modal: one roomy desktop box, buttons side by side. ---- */
	html body.giftbag-theme .prdd-modal:has(.prdd-modal-content),
	html body.giftbag-theme .prdd_modal:has(.prdd-modal-content),
	html body.giftbag-theme div[id*="prdd_edit"]:has(.prdd-modal-content) {
		width: auto !important;
		max-width: none !important;
		padding: 16px !important;
		overflow: visible !important;
	}
	html body.giftbag-theme .prdd-modal:not(:has(.prdd-modal-content)),
	html body.giftbag-theme .prdd_modal:not(:has(.prdd-modal-content)),
	html body.giftbag-theme .prdd-dialog,
	html body.giftbag-theme div[id*="prdd_edit_div"],
	html body.giftbag-theme div[id*="prdd-edit"],
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form),
	html body.giftbag-theme .ui-dialog:has(.delivery_calender),
	html body.giftbag-theme .ui-dialog:has([id*="prdd"]) {
		width: min(480px, 92vw) !important;
		max-width: min(480px, 92vw) !important;
		padding: 28px 28px 24px !important;
		overflow: visible !important;
		border: 0 !important;
		box-sizing: border-box !important;
	}
	html body.giftbag-theme .prdd-modal:has(.prdd-modal-content) .prdd-modal-content,
	html body.giftbag-theme .prdd-modal:has(.prdd-modal-content) .prdd_modal_content,
	html body.giftbag-theme .prdd-modal:has(.prdd-modal-content) .prdd-modal-inner,
	html body.giftbag-theme .prdd_modal:has(.prdd-modal-content) .prdd-modal-content {
		width: min(480px, 92vw) !important;
		max-width: min(480px, 92vw) !important;
		padding: 28px 28px 24px !important;
		margin: 0 !important;
		background: #fff !important;
		border: 0 !important;
		border-radius: 20px !important;
		box-shadow: 0 16px 48px rgba(87, 0, 79, 0.22) !important;
		overflow: visible !important;
		box-sizing: border-box !important;
	}
	html body.giftbag-theme .prdd-modal-content,
	html body.giftbag-theme .prdd_modal_content,
	html body.giftbag-theme .prdd-modal-inner,
	html body.giftbag-theme .prdd-modal table,
	html body.giftbag-theme .prdd-modal fieldset,
	html body.giftbag-theme .prdd-modal .prdd-delivery-form,
	html body.giftbag-theme .prdd-modal .prdd_wrapper,
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) fieldset,
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) table,
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .ui-dialog-content {
		width: 100% !important;
		max-width: 100% !important;
		border: 0 !important;
		outline: 0 !important;
		box-shadow: none !important;
		overflow: visible !important;
	}
	html body.giftbag-theme .prdd-modal-content,
	html body.giftbag-theme .prdd_modal_content,
	html body.giftbag-theme .prdd-modal-inner {
		background: transparent !important;
		padding: 0 !important;
		box-shadow: none !important;
	}
	html body.giftbag-theme .prdd-modal:has(.prdd-modal-content) .prdd-modal-content,
	html body.giftbag-theme .prdd-modal:has(.prdd-modal-content) .prdd_modal_content,
	html body.giftbag-theme .prdd-modal:has(.prdd-modal-content) .prdd-modal-inner {
		background: #fff !important;
		padding: 28px 28px 24px !important;
		box-shadow: 0 16px 48px rgba(87, 0, 79, 0.22) !important;
	}
	html body.giftbag-theme .prdd-modal input[type="text"],
	html body.giftbag-theme .prdd-modal input[type="date"],
	html body.giftbag-theme .prdd-modal input.delivery_calender,
	html body.giftbag-theme .prdd-modal .prdd_wrapper input,
	html body.giftbag-theme .prdd-modal select,
	html body.giftbag-theme .prdd-modal-content input[type="text"],
	html body.giftbag-theme .prdd-modal-content input.delivery_calender,
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) input[type="text"],
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) input.delivery_calender {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	html body.giftbag-theme .prdd-modal .prdd-modal-footer,
	html body.giftbag-theme .prdd-modal .prdd-buttons,
	html body.giftbag-theme .prdd-modal p.form-row,
	html body.giftbag-theme .prdd-modal .ui-dialog-buttonpane,
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .ui-dialog-buttonpane,
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .ui-dialog-buttonset {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: space-between !important;
		gap: 12px !important;
		width: 100% !important;
	}
	html body.giftbag-theme .prdd-modal .button,
	html body.giftbag-theme .prdd-modal button:not(.prdd-close):not([class*="close"]),
	html body.giftbag-theme .prdd-modal input[type="submit"],
	html body.giftbag-theme .prdd-modal input[type="button"],
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) .button,
	html body.giftbag-theme .ui-dialog:has(.prdd-delivery-form) button.ui-button {
		display: inline-flex !important;
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 12px 0 0 !important;
		justify-content: center !important;
	}
	html body.giftbag-theme #ui-datepicker-div,
	html body.woocommerce-cart #ui-datepicker-div,
	html body.woocommerce-checkout #ui-datepicker-div {
		z-index: 100080 !important;
	}
}


/* ==========================================================================
   v1.4.16
   Related products must sit full-width under the product (all viewports).
   Desktop (≥922px): shipping rows and checkout dividers, Edit Deliveries
   modal using the plugin's real classes (.prdd-delivery-contents, .modal-body,
   .modal-footer, .prdd_modal_button_class). Mobile layout is unchanged.
   ========================================================================== */

html body.giftbag-theme.single-product div.product .giftbag-related,
html body.giftbag-theme.single-product div.product .related.products,
html body.giftbag-theme.single-product div.product .upsells.products,
html body.giftbag-theme.single-product .giftbag-related,
html body.giftbag-theme.single-product .related.products,
html body.giftbag-theme.single-product .upsells.products {
	clear: both !important;
	float: none !important;
	display: block !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	grid-column: 1 / -1 !important;
	overflow: visible !important;
	box-sizing: border-box !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	position: relative;
}

html body.giftbag-theme.single-product .giftbag-related .giftbag-related__scroller,
html body.giftbag-theme.single-product .related.products .giftbag-related__scroller,
html body.giftbag-theme.single-product .giftbag-related__scroller ul.products {
	overflow-x: auto !important;
	max-width: 100%;
}

@media (min-width: 922px) {
	/* ---- Shipping: each option is radio | name (flex 1) | price on the right. ---- */
	html body.giftbag-theme .cart_totals table.shop_table,
	html body.giftbag-theme .woocommerce-checkout-review-order-table,
	html body.giftbag-theme #order_review table.shop_table {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		border-collapse: collapse !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table thead,
	html body.giftbag-theme .cart_totals table.shop_table tbody,
	html body.giftbag-theme .cart_totals table.shop_table tfoot,
	html body.giftbag-theme .woocommerce-checkout-review-order-table thead,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tbody,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tfoot {
		display: block !important;
		width: 100% !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table tr,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr {
		display: flex !important;
		flex-wrap: nowrap !important;
		justify-content: space-between !important;
		align-items: baseline !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		border: 0 !important;
		border-bottom: 1px solid var(--gb-line, #ead7c8) !important;
		padding: 12px 0 !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table tr:last-child,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tfoot tr:last-child {
		border-bottom: 0 !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table th,
	html body.giftbag-theme .cart_totals table.shop_table td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table td {
		display: block !important;
		float: none !important;
		border: 0 !important;
		background: transparent !important;
		box-sizing: border-box !important;
	}
	html body.giftbag-theme .cart_totals table.shop_table tr.woocommerce-shipping-totals,
	html body.giftbag-theme .cart_totals table.shop_table tr.shipping,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping {
		display: block !important;
		flex-direction: column !important;
		align-items: stretch !important;
		width: 100% !important;
		max-width: 100% !important;
	}
	html body.giftbag-theme .cart_totals tr.woocommerce-shipping-totals th,
	html body.giftbag-theme .cart_totals tr.shipping th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping th,
	html body.giftbag-theme .cart_totals tr.woocommerce-shipping-totals td,
	html body.giftbag-theme .cart_totals tr.shipping td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.shipping td {
		display: block !important;
		width: 100% !important;
		max-width: 100% !important;
		text-align: left !important;
	}
	html body.giftbag-theme ul#shipping_method,
	html body.giftbag-theme .woocommerce-shipping-methods {
		display: flex !important;
		flex-direction: column !important;
		width: 100% !important;
		gap: 10px !important;
		list-style: none !important;
		margin: 0 !important;
		padding: 0 !important;
	}
	html body.giftbag-theme ul#shipping_method li,
	html body.giftbag-theme .woocommerce-shipping-methods li {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		gap: 8px !important;
		width: 100% !important;
		margin: 0 !important;
	}
	html body.giftbag-theme ul#shipping_method li input.shipping_method,
	html body.giftbag-theme .woocommerce-shipping-methods li input.shipping_method {
		flex: 0 0 auto !important;
		margin: 3px 0 0 !important;
		float: none !important;
	}
	html body.giftbag-theme ul#shipping_method li label,
	html body.giftbag-theme .woocommerce-shipping-methods li label {
		display: flex !important;
		flex: 1 1 auto !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: flex-start !important;
		justify-content: space-between !important;
		gap: 12px !important;
		min-width: 0 !important;
		width: auto !important;
		margin: 0 !important;
		text-align: left !important;
	}
	html body.giftbag-theme .giftbag-shipping-name {
		flex: 1 1 auto !important;
		min-width: 0 !important;
		text-align: left !important;
	}
	html body.giftbag-theme .giftbag-shipping-price,
	html body.giftbag-theme ul#shipping_method li label .giftbag-shipping-price,
	html body.giftbag-theme .woocommerce-shipping-methods li label .woocommerce-Price-amount {
		flex: 0 0 auto !important;
		margin-left: auto !important;
		white-space: nowrap !important;
		text-align: right !important;
	}
	html body.giftbag-theme .woocommerce-shipping-destination,
	html body.giftbag-theme tr.shipping td > p,
	html body.giftbag-theme tr.woocommerce-shipping-totals td > p {
		display: block !important;
		width: 100% !important;
		text-align: left !important;
	}
	html body.giftbag-theme .cart_totals tr.order-total td,
	html body.giftbag-theme .woocommerce-checkout-review-order-table tr.order-total td {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		justify-content: flex-end !important;
		align-items: baseline !important;
		gap: 0.4em !important;
		text-align: right !important;
		white-space: nowrap !important;
		margin-left: auto !important;
	}
	html body.giftbag-theme tr.order-total small.includes_tax,
	html body.giftbag-theme tr.order-total .includes_tax {
		display: inline !important;
		white-space: nowrap !important;
		float: none !important;
	}

	/* ---- Edit Deliveries: real plugin markup (outer .prdd-modal, inner
	   .prdd-delivery-contents / .modal-body). One 480px box, buttons in a row. ---- */
	html body.giftbag-theme .prdd-modal,
	html body.giftbag-theme div[id^="prdd_edit_modal_"] {
		width: min(480px, 92vw) !important;
		max-width: min(480px, 92vw) !important;
		min-width: 0 !important;
		padding: 28px 28px 24px !important;
		box-sizing: border-box !important;
		border: 0 !important;
		border-radius: 20px !important;
		background: #fff !important;
		box-shadow: 0 16px 48px rgba(87, 0, 79, 0.22) !important;
		overflow: visible !important;
	}
	html body.giftbag-theme .prdd-modal .prdd_save,
	html body.giftbag-theme .prdd-modal .prdd-delivery-contents,
	html body.giftbag-theme .prdd-modal .modal-body,
	html body.giftbag-theme .prdd-modal [id^="modal-body-"],
	html body.giftbag-theme .prdd-modal [id^="prdd-delivery-form-wrapper-"],
	html body.giftbag-theme .prdd-modal .prdd-delivery-form,
	html body.giftbag-theme .prdd-modal .prdd_wrapper {
		width: 100% !important;
		max-width: 100% !important;
		min-width: 0 !important;
		margin: 0 !important;
		padding: 0 !important;
		border: 0 !important;
		outline: 0 !important;
		box-shadow: none !important;
		background: transparent !important;
		overflow: visible !important;
		float: none !important;
	}
	html body.giftbag-theme .prdd-modal .prdd-delivery-header {
		display: flex !important;
		flex-direction: row !important;
		align-items: flex-start !important;
		justify-content: space-between !important;
		gap: 12px !important;
		width: 100% !important;
		margin: 0 0 16px !important;
	}
	html body.giftbag-theme .prdd-modal .prdd-header-title,
	html body.giftbag-theme .prdd-modal .prdd-header-title h1,
	html body.giftbag-theme .prdd-modal h1.product_title,
	html body.giftbag-theme .prdd-modal h1.entry-title {
		flex: 1 1 auto !important;
		width: auto !important;
		max-width: none !important;
		margin: 0 !important;
		padding: 0 8px 0 0 !important;
		font-size: 1.25rem !important;
		line-height: 1.3 !important;
		white-space: normal !important;
		overflow: visible !important;
		color: #57004F !important;
		float: none !important;
	}
	html body.giftbag-theme .prdd-modal .prdd-header-close {
		flex: 0 0 36px !important;
		width: 36px !important;
		height: 36px !important;
		line-height: 36px !important;
		text-align: center !important;
		cursor: pointer;
	}
	html body.giftbag-theme .prdd-modal .delivery_calender,
	html body.giftbag-theme .prdd-modal input.delivery_calender {
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}
	html body.giftbag-theme .prdd-modal .modal-footer {
		display: flex !important;
		flex-direction: row !important;
		flex-wrap: nowrap !important;
		align-items: stretch !important;
		justify-content: space-between !important;
		gap: 12px !important;
		width: 100% !important;
		margin: 20px 0 0 !important;
		padding: 0 !important;
		border: 0 !important;
		background: transparent !important;
		box-shadow: none !important;
	}
	html body.giftbag-theme .prdd-modal .prdd_modal_button_class,
	html body.giftbag-theme .prdd-modal input.prdd_modal_button_class,
	html body.giftbag-theme .prdd-modal input[name="confirm_deliveries"],
	html body.giftbag-theme .prdd-modal input[name="cancel_modal"] {
		display: inline-flex !important;
		flex: 1 1 0 !important;
		width: auto !important;
		min-width: 0 !important;
		margin: 0 !important;
		justify-content: center !important;
		align-items: center !important;
		float: none !important;
		border-radius: 999px !important;
		padding: 12px 16px !important;
		font-weight: 600 !important;
		cursor: pointer;
	}
	html body.giftbag-theme .prdd-modal input[name="confirm_deliveries"],
	html body.giftbag-theme .prdd-modal input[id^="confirm_deliveries"] {
		background: #57004F !important;
		color: #fff !important;
		border: 0 !important;
	}
	html body.giftbag-theme .prdd-modal input[name="cancel_modal"],
	html body.giftbag-theme .prdd-modal #cancel_modal {
		background: transparent !important;
		color: #57004F !important;
		border: 1.5px solid #57004F !important;
	}
	html body.giftbag-theme .prdd-modal #ui-datepicker-div,
	html body.woocommerce-cart #ui-datepicker-div,
	html body.woocommerce-checkout #ui-datepicker-div {
		z-index: 100080 !important;
	}
}

/* v1.4.17: higher-specificity desktop shipment layout + product-total nowrap.
   Woo prints `.woocommerce-js ul#shipping_method li label{display:inline}`;
   LiteSpeed combined CSS often drops new theme selectors, so these rules
   are also inlined (no-optimize) from PHP. Desktop ≥922px only. */
@media (min-width: 922px) {
/* v1.4.17: high-specificity desktop shipment rows + product-total nowrap.
   Beats Woo `.woocommerce-js ul#shipping_method li label{display:inline}` and
   survives LiteSpeed UCSS (this block is also printed late, no-optimize). */
html body.giftbag-theme.woocommerce-cart .cart_totals ul#shipping_method,
html body.giftbag-theme.woocommerce-checkout #order_review ul#shipping_method,
html body.giftbag-theme.woocommerce-js .cart_totals ul#shipping_method,
html body.giftbag-theme.woocommerce-js #order_review ul#shipping_method{display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;list-style:none!important;margin:0!important;padding:0!important;text-indent:0!important;gap:10px!important}
html body.giftbag-theme.woocommerce-cart .cart_totals ul#shipping_method li,
html body.giftbag-theme.woocommerce-checkout #order_review ul#shipping_method li,
html body.giftbag-theme.woocommerce-js .cart_totals ul#shipping_method li,
html body.giftbag-theme.woocommerce-js #order_review ul#shipping_method li{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;gap:8px!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;text-indent:0!important;list-style:none!important}
html body.giftbag-theme.woocommerce-cart .cart_totals ul#shipping_method li input.shipping_method,
html body.giftbag-theme.woocommerce-checkout #order_review ul#shipping_method li input.shipping_method{flex:0 0 auto!important;float:none!important;margin:4px 0 0!important}
html body.giftbag-theme.woocommerce-cart .cart_totals ul#shipping_method li label,
html body.giftbag-theme.woocommerce-checkout #order_review ul#shipping_method li label,
html body.giftbag-theme.woocommerce-js .cart_totals ul#shipping_method li label,
html body.giftbag-theme.woocommerce-js #order_review ul#shipping_method li label{display:flex!important;flex:1 1 auto!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;min-width:0!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;float:none!important;text-indent:0!important;text-align:left!important;color:#221022!important}
html body.giftbag-theme.woocommerce-cart .cart_totals ul#shipping_method li label .giftbag-shipping-name,
html body.giftbag-theme.woocommerce-checkout #order_review ul#shipping_method li label .giftbag-shipping-name{display:block!important;flex:1 1 auto!important;min-width:0!important;text-align:left!important}
html body.giftbag-theme.woocommerce-cart .cart_totals ul#shipping_method li label .giftbag-shipping-price,
html body.giftbag-theme.woocommerce-checkout #order_review ul#shipping_method li label .giftbag-shipping-price,
html body.giftbag-theme.woocommerce-cart .cart_totals ul#shipping_method li label .woocommerce-Price-amount,
html body.giftbag-theme.woocommerce-checkout #order_review ul#shipping_method li label .woocommerce-Price-amount{display:block!important;flex:0 0 auto!important;margin-left:auto!important;white-space:nowrap!important;text-align:right!important;float:none!important;font-weight:700!important}
html body.giftbag-theme.woocommerce-checkout #order_review td.product-total,
html body.giftbag-theme.woocommerce-checkout .woocommerce-checkout-review-order-table td.product-total,
html body.giftbag-theme.woocommerce-checkout #order_review td.product-total .woocommerce-Price-amount,
html body.giftbag-theme.woocommerce-checkout #order_review td.product-total bdi{white-space:nowrap!important;flex:0 0 auto!important;float:none!important}

}

/* v1.4.18: the plugin localizes cart data as
   <script id="prdd-edit-delivery-js-extra">var prdd_edit_params_…</script>.
   Older modal rules used [id*="prdd-edit"], which matched that script and
   could paint its source at the bottom of the bag page (esp. desktop, where
   overflow:visible !important was set). Keep every script hidden. */
html body.giftbag-theme script[id*="prdd"],
html body.giftbag-theme script[id*="prdd-edit"],
html body.giftbag-theme script[id*="prdd_edit"],
html body.giftbag-theme script#prdd-edit-delivery-js-extra {
	display: none !important;
	visibility: hidden !important;
	position: static !important;
	width: auto !important;
	max-width: none !important;
	height: 0 !important;
	max-height: none !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	background: none !important;
	border: 0 !important;
	box-shadow: none !important;
}

/* v1.4.18: the shipping-label filter strips the trailing ": " so desktop can
   flex the price to the right. Restore "Name: Price" on mobile only. */
@media (max-width: 921px) {
	html body.giftbag-theme .giftbag-shipping-name::after,
	html body.giftbag-theme ul#shipping_method li label .giftbag-shipping-name::after,
	html body.giftbag-theme .woocommerce-shipping-methods li label .giftbag-shipping-name::after {
		content: ":\00a0";
	}
}

/* v1.4.19: one order-level Edit Deliveries control on bag and checkout.
   Hides the plugin's per-item buttons and per-item Delivery Date rows.
   All devices — do not wrap in a min-width media query. */
html body.giftbag-theme.woocommerce-cart input.prdd_edit_deliveries,
html body.giftbag-theme.woocommerce-checkout input.prdd_edit_deliveries,
html body.giftbag-theme.woocommerce-cart .woocommerce-cart-form input.prdd_edit_deliveries,
html body.giftbag-theme.woocommerce-checkout #order_review input.prdd_edit_deliveries,
html body.giftbag-theme.woocommerce-page input.prdd_edit_deliveries {
	display: none !important;
	visibility: hidden !important;
	position: absolute !important;
	width: 0 !important;
	height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: hidden !important;
	border: 0 !important;
	pointer-events: none !important;
}
html body.giftbag-theme.woocommerce-cart dl.variation dt.variation-DeliveryDate,
html body.giftbag-theme.woocommerce-cart dl.variation dd.variation-DeliveryDate,
html body.giftbag-theme.woocommerce-checkout dl.variation dt.variation-DeliveryDate,
html body.giftbag-theme.woocommerce-checkout dl.variation dd.variation-DeliveryDate,
html body.giftbag-theme.woocommerce-cart dl.variation:has(dt.variation-DeliveryDate):not(:has(dt:not(.variation-DeliveryDate))),
html body.giftbag-theme.woocommerce-checkout dl.variation:has(dt.variation-DeliveryDate):not(:has(dt:not(.variation-DeliveryDate))) {
	display: none !important;
}
html body.giftbag-theme .giftbag-order-delivery {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	width: 100%;
	box-sizing: border-box;
	background: #fff;
	border: 1px solid #E8D6E4;
	border-radius: 16px;
	padding: 12px 16px;
	margin: 0 0 16px;
	color: #221022;
}
html body.giftbag-theme #order_review > .giftbag-order-delivery {
	margin: 0 0 16px;
}
html body.giftbag-theme .giftbag-order-delivery__label {
	font-weight: 600;
	color: #57004F;
	font-size: 0.95rem;
}
html body.giftbag-theme .giftbag-order-delivery__date {
	font-weight: 700;
	font-size: 0.95rem;
	margin-right: auto;
	color: #221022;
}
html body.giftbag-theme .giftbag-order-delivery__btn {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	background: transparent !important;
	color: #57004F !important;
	border: 1.5px solid #57004F !important;
	border-radius: 999px !important;
	box-shadow: none !important;
	padding: 8px 16px !important;
	font-size: 0.8rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	white-space: nowrap;
	width: auto !important;
	max-width: 100%;
	margin: 0 !important;
	text-decoration: none !important;
	cursor: pointer;
}
html body.giftbag-theme .giftbag-order-delivery__btn:hover,
html body.giftbag-theme .giftbag-order-delivery__btn:focus {
	background: #57004F !important;
	color: #fff !important;
}
@media (max-width: 921px) {
	html body.giftbag-theme .giftbag-order-delivery {
		padding: 12px 14px;
		margin: 0 0 12px;
	}
	html body.giftbag-theme .giftbag-order-delivery__btn {
		margin-left: auto !important;
	}
	/* Keep the order-level PRDD modal usable on small screens. */
	html body.giftbag-theme .prdd-modal,
	html body.giftbag-theme div[id^="prdd_edit_modal_"] {
		width: min(480px, calc(100vw - 24px)) !important;
		max-width: calc(100vw - 24px) !important;
		max-height: min(90vh, 640px) !important;
		box-sizing: border-box !important;
	}
}

/* =========================================================================
   v1.4.23
   Product gallery: the outer .woocommerce-product-gallery used overflow:hidden
   plus an 18px radius, and the thumb strip had no left/bottom padding
   (desktop: 12px 0 0). That clipped the active thumb's purple rounded border
   at the first thumb's bottom-left corner. Clip only the main viewport;
   give the strip a few px of padding so the ring is fully visible. Thumb
   size stays 68px.
   ========================================================================= */
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery {
	overflow: visible !important;
}
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-viewport,
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery:not(:has(.flex-viewport)) .woocommerce-product-gallery__wrapper {
	overflow: hidden !important;
}
html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
	padding: 12px 4px 6px !important;
	box-sizing: border-box !important;
}
@media (max-width: 767px) {
	html body.giftbag-theme.single-product div.product .woocommerce-product-gallery .flex-control-thumbs {
		padding: 12px 16px 6px !important;
	}
}

/* =========================================================================
   v1.4.24
   - Archive infinite scroll: hide pagination after JS init (kept in the DOM
     for no-JS / SEO). Spinner sits under the growing ul.products; the
     GEO/SEO block remains after pagination, below the grid.
   - Desktop ≥922px: filter sheet panel matches the shared container width
     (--gb-container 1180px + side alignment). Backdrop stays full-screen.
     Mobile sheet is unchanged.
   - Single product: hide Availability / in-stock status (including variation
     availability). Swatch "Out of stock" labels and disabled add-to-cart stay.
   ========================================================================= */

html body.giftbag-theme.giftbag-infinite-ready nav.woocommerce-pagination {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0, 0, 0, 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

html body.giftbag-theme .giftbag-infinite {
	clear: both;
	width: 100%;
	box-sizing: border-box;
}

html body.giftbag-theme .giftbag-infinite__sentinel {
	width: 100%;
	height: 1px;
}

html body.giftbag-theme .giftbag-infinite__status {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 16px 0 8px;
	color: var(--gb-primary, #57004F);
	font-size: 0.9rem;
}

html body.giftbag-theme .giftbag-infinite__status[hidden] {
	display: none !important;
}

html body.giftbag-theme .giftbag-infinite__spinner {
	width: 22px;
	height: 22px;
	border: 2px solid rgba(87, 0, 79, 0.2);
	border-top-color: var(--gb-primary, #57004F);
	border-radius: 50%;
	animation: giftbag-infinite-spin 0.7s linear infinite;
}

@keyframes giftbag-infinite-spin {
	to { transform: rotate(360deg); }
}

@media (min-width: 922px) {
	/* Outer edges match the header/main/footer *content* box:
	   container 1180px minus 20px padding on each side (box-sizing border-box).
	   max-width: 1180px alone was 20px wider each side than the logo/nav. */
	html body.giftbag-theme .giftbag-filtersheet__panel {
		left: 50% !important;
		right: auto !important;
		width: calc(100% - 2 * var(--gb-container-pad)) !important;
		max-width: calc(var(--gb-container) - 2 * var(--gb-container-pad)) !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		transform: translateX(-50%) !important;
		box-sizing: border-box !important;
	}
}

html body.giftbag-theme.single-product div.product p.stock,
html body.giftbag-theme.single-product div.product .stock,
html body.giftbag-theme.single-product div.product .woocommerce-variation-availability,
html body.giftbag-theme.single-product div.product .woocommerce-variation-availability p,
html body.giftbag-theme.single-product div.product .ast-stock-detail,
html body.giftbag-theme.single-product div.product p.availability,
html body.giftbag-theme.single-product div.product span.availability,
html body.giftbag-theme.single-product div.product .summary .availability,
html body.giftbag-theme.single-product div.product .product_meta .availability,
html body.giftbag-theme.single-product div.product .single_variation_wrap .availability {
	display: none !important;
}

/* =========================================================================
   v1.4.26
   Desktop (≥922px): product rails show a whole number of equal-width cards
   inside the shared container — no cropped last card. "You may also like"
   becomes a 6-column wrapping grid (up to 12 items, two rows). Home and
   category .giftbag-rail carousels keep scrolling but size cards with
   calc((100% - gaps) / var(--gb-rail-per)) so a full set fits at rest.
   Mobile (<922px) swipe + peek is unchanged.
   ========================================================================= */
@media (min-width: 922px) {
	html body.giftbag-theme.single-product .giftbag-related .giftbag-related__scroller,
	html body.giftbag-theme.single-product .related.products .giftbag-related__scroller,
	html body.giftbag-theme.single-product .giftbag-related__scroller,
	html body.giftbag-theme.single-product .upsells.products {
		overflow: visible !important;
		overflow-x: visible !important;
		overflow-y: visible !important;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
	}

	html body.giftbag-theme.single-product .giftbag-related__scroller ul.products,
	html body.giftbag-theme.single-product .giftbag-related__scroller .products,
	html body.giftbag-theme.single-product .related.products ul.products,
	html body.giftbag-theme.single-product .upsells.products ul.products {
		display: grid !important;
		grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
		gap: 14px !important;
		overflow: visible !important;
		overflow-x: visible !important;
		overflow-y: visible !important;
		width: 100% !important;
		max-width: 100% !important;
		margin: 0 !important;
		padding: 0 !important;
		scroll-snap-type: none !important;
		float: none !important;
		box-sizing: border-box !important;
	}

	html body.giftbag-theme.single-product .giftbag-related__scroller ul.products li.product,
	html body.giftbag-theme.single-product .giftbag-related__scroller .products li.product,
	html body.giftbag-theme.single-product .related.products ul.products li.product,
	html body.giftbag-theme.single-product .upsells.products ul.products li.product {
		width: auto !important;
		max-width: none !important;
		min-width: 0 !important;
		flex: none !important;
		flex-basis: auto !important;
		float: none !important;
		margin: 0 !important;
		box-sizing: border-box !important;
		scroll-snap-align: unset;
	}

	/* Home / category product and review rails: whole cards only, same container. */
	html body.giftbag-theme .giftbag-rail .giftbag-row__scroller,
	html body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller {
		--gb-rail-gap: 16px;
		--gb-rail-per: 4;
		width: 100% !important;
		max-width: 100% !important;
		box-sizing: border-box !important;
		padding-left: 0 !important;
		padding-right: 0 !important;
		scroll-padding: 0 !important;
		scroll-snap-type: x mandatory !important;
	}

	html body.giftbag-theme .giftbag-rail .giftbag-row__scroller > .giftbag-row__item,
	html body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller > .giftbag-review {
		flex: 0 0 calc((100% - (var(--gb-rail-per) - 1) * var(--gb-rail-gap)) / var(--gb-rail-per)) !important;
		width: calc((100% - (var(--gb-rail-per) - 1) * var(--gb-rail-gap)) / var(--gb-rail-per)) !important;
		max-width: none !important;
		min-width: 0 !important;
		box-sizing: border-box !important;
		scroll-snap-align: start !important;
		scroll-snap-stop: always !important;
	}
}

@media (min-width: 1200px) {
	html body.giftbag-theme .giftbag-rail .giftbag-row__scroller { --gb-rail-per: 5; }
	html body.giftbag-theme .giftbag-rail .giftbag-reviews__scroller { --gb-rail-per: 4; }
}

/* =========================================================================
   v1.4.28
   Cart page: 24px gap between the items/coupon card (.woocommerce-cart-form)
   and the Bag Total card (.cart-collaterals / .cart_totals). These stack on
   both desktop and mobile in this theme and were flush against each other.
   ========================================================================= */
html body.giftbag-theme.woocommerce-cart .cart-collaterals {
	margin-top: 24px !important;
	clear: both;
}

/* =========================================================================
   v1.4.29
   Checkout: 32px gap before Additional Information, all viewports.
   The 1.4.22 rule (margin-top: 28px on .woocommerce-additional-fields > h3)
   lost to #customer_details h3 { margin: 0 0 12px !important } (ID beats
   the class selector). Margin on the heading could also collapse through
   a display:none .shipping_address. Put non-collapsing padding on the
   section itself, with #customer_details in the selector, so the gap shows
   after Country when shipping is visible, and after billing/the checkbox
   when it is not.
   ========================================================================= */
html body.giftbag-theme.woocommerce-checkout #customer_details .woocommerce-additional-fields {
	padding-top: 32px !important;
	margin-top: 0 !important;
}
html body.giftbag-theme.woocommerce-checkout #customer_details .woocommerce-additional-fields > h3 {
	margin-top: 0 !important;
}

/* =========================================================================
   v1.4.31
   Occasions (promo_tiles): 2-column grid on mobile, 4-column grid on
   desktop (>=922px), same heading style as other homepage rails. Images
   are square (app tiles are 280x280). On-sale product rails reuse the
   existing product-row / Sale badge / sale-price styles.
   ========================================================================= */
.giftbag-promos {
	margin: 22px 0 8px;
}
.giftbag-promos__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px 12px;
}
body.giftbag-theme a.giftbag-promo,
body.giftbag-theme .giftbag-promo {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	min-width: 0;
	text-decoration: none;
	color: var(--gb-ink);
}
.giftbag-promo__media {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	overflow: hidden;
	background: var(--gb-cream);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.giftbag-promo__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
body.giftbag-theme a.giftbag-promo:hover .giftbag-promo__media,
body.giftbag-theme a.giftbag-promo:focus-visible .giftbag-promo__media {
	transform: translateY(-2px);
	box-shadow: var(--gb-shadow-hover);
}
.giftbag-promo__label {
	font-size: 0.86rem;
	font-weight: 600;
	line-height: 1.25;
	text-align: center;
	color: var(--gb-ink);
}
@media (min-width: 922px) {
	.giftbag-promos__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 16px;
	}
	.giftbag-promo__label {
		font-size: 0.82rem;
	}
}

/* =========================================================================
   v1.4.33
   Hide out-of-stock variation pills (rules above). Empty bag: centre the
   Return to shop button. The href itself is set to the homepage in PHP.
   ========================================================================= */
html body.giftbag-theme.woocommerce-cart .return-to-shop,
html body.giftbag-theme.woocommerce-cart .wc-empty-cart-message + .return-to-shop,
html body.giftbag-theme.woocommerce-cart .wp-block-woocommerce-empty-cart-block,
html body.giftbag-theme.woocommerce-cart .wp-block-woocommerce-cart-empty-message,
html body.giftbag-theme.woocommerce-cart .wc-block-cart__empty-cart {
	text-align: center !important;
}
html body.giftbag-theme.woocommerce-cart p.return-to-shop {
	display: block !important;
	width: 100% !important;
	text-align: center !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	float: none !important;
}
html body.giftbag-theme.woocommerce-cart .return-to-shop .button,
html body.giftbag-theme.woocommerce-cart .return-to-shop a.button,
html body.giftbag-theme.woocommerce-cart .return-to-shop a.wc-backward,
html body.giftbag-theme.woocommerce-cart .wp-block-woocommerce-empty-cart-block .wc-block-components-button,
html body.giftbag-theme.woocommerce-cart .wp-block-woocommerce-empty-cart-block a {
	display: inline-block !important;
	float: none !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
