/* Gift Store Skin – single product page (loaded only on product pages). */

/* Vertical gallery: thumbnails as a slim rounded column. */
body.gss-skin .vertical-thumbnails .col {
	padding-bottom: 10px !important;
}
body.gss-skin .vertical-thumbnails img {
	border-radius: 12px !important;
	border: 1.5px solid var(--gss-line) !important;
	opacity: 1 !important;
	transition: border-color .15s;
}
body.gss-skin .vertical-thumbnails .is-nav-selected img,
body.gss-skin .vertical-thumbnails a:hover img {
	border-color: var(--gss-heading) !important;
}
body.gss-skin .product-gallery .flickity-prev-next-button {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgb(255 255 255 / .92);
	box-shadow: 0 4px 14px rgb(0 0 0 / .12);
	opacity: 1;
}
body.gss-skin .product-gallery .flickity-prev-next-button svg {
	padding: 10px;
	fill: var(--gss-heading);
}
body.gss-skin .product-gallery .image-tools .zoom-button {
	border-radius: 50%;
	background: #fff;
	color: var(--gss-heading);
	box-shadow: 0 4px 14px rgb(0 0 0 / .12);
}

/* Previous / next product arrows next to the breadcrumb. */
body.gss-skin .next-prev-thumbs {
	display: flex;
	gap: 6px;
	margin: 0;
}
body.gss-skin .next-prev-thumbs li {
	margin: 0 !important;
}
body.gss-skin .next-prev-thumbs .button {
	width: 34px;
	height: 34px !important;
	min-height: 34px !important;
	line-height: 32px !important;
	padding: 0 !important;
	margin: 0;
	border-radius: 50% !important;
	border: 1px solid var(--gss-line) !important;
	background: #fff !important;
	color: var(--gss-heading) !important;
}
body.gss-skin .next-prev-thumbs .button:hover {
	border-color: var(--gss-heading) !important;
}
body.gss-skin .next-prev-thumbs .nav-dropdown {
	border-radius: 12px;
	overflow: hidden;
}

/* Title and price */
body.gss-skin.single-product .product_title {
	font-size: 30px;
	line-height: 1.22;
	margin-bottom: 6px;
}
body.gss-skin.single-product .product-info p.price {
	display: flex;
	align-items: baseline;
	gap: 10px;
	flex-wrap: wrap;
	font-size: 28px;
	margin: 6px 0 14px;
}
body.gss-skin.single-product .product-info p.price del {
	font-size: 18px;
}
body.gss-skin .save-percent {
	display: inline-flex;
	align-items: center;
	height: 26px;
	padding: 0 10px;
	border-radius: 999px;
	background: var(--gss-brand-tint);
	color: var(--gss-brand) !important;
	font-size: 13px !important;
	font-weight: 700;
}

/* Countdown widget (HurryTimer) as a soft card. */
body.gss-skin .hurrytimer-campaign {
	border: 0 !important;
	border-radius: 14px !important;
	background: var(--gss-cream) !important;
	padding: 12px 16px !important;
}
body.gss-skin .hurrytimer-timer,
body.gss-skin .hurrytimer-timer-digit {
	color: var(--gss-brand) !important;
}

/* Option rows: label above, chips below. */
body.gss-skin.single-product table.variations,
body.gss-skin.single-product table.variations tbody,
body.gss-skin.single-product table.variations tr,
body.gss-skin.single-product table.variations th,
body.gss-skin.single-product table.variations td {
	display: block;
	width: 100%;
	padding: 0;
	border: 0;
}
body.gss-skin.single-product table.variations tr {
	margin-bottom: 16px;
}
body.gss-skin.single-product table.variations th.label {
	margin-bottom: 8px;
	font-size: 14px;
	color: var(--gss-heading);
}
body.gss-skin .woo-selected-variation-item-name {
	font-weight: 500;
	color: var(--gss-ink-soft);
}
body.gss-skin .reset_variations {
	font-size: 12px !important;
	color: var(--gss-muted) !important;
	text-transform: none;
	letter-spacing: 0;
	margin-top: 6px;
	display: inline-block;
}

/* Chips: white with a thin border, dark outline when chosen (no red fill). */
body.gss-skin .variable-items-wrapper {
	gap: 8px;
	margin: 0 !important;
}
body.gss-skin .variable-items-wrapper .variable-item.button-variable-item {
	margin: 0 !important;
	padding: 0 14px !important;
	height: 40px !important;
	min-width: 48px;
	border-radius: 10px !important;
	background: #fff !important;
	box-shadow: 0 0 0 1px #d5d7db !important;
}
body.gss-skin .variable-items-wrapper .variable-item.button-variable-item .variable-item-span {
	color: var(--gss-ink) !important;
	font-weight: 500;
	font-size: 14px;
	padding: 0 !important;
}
body.gss-skin .variable-items-wrapper .variable-item.button-variable-item:hover {
	box-shadow: 0 0 0 1px var(--gss-heading) !important;
}
body.gss-skin .variable-items-wrapper .variable-item.button-variable-item.selected,
body.gss-skin .variable-items-wrapper .variable-item.button-variable-item.selected:hover {
	background: #fff !important;
	box-shadow: 0 0 0 2px var(--gss-heading) !important;
}
body.gss-skin .variable-items-wrapper .variable-item.button-variable-item.selected .variable-item-span {
	color: var(--gss-heading) !important;
	font-weight: 700;
}
body.gss-skin .variable-items-wrapper .variable-item.disabled,
body.gss-skin .variable-items-wrapper .variable-item.out-of-stock {
	opacity: .45;
}

/* Picture swatches for design / style options (built by product.js). */
body.gss-skin .variable-items-wrapper.gss-picture-swatches {
	display: grid !important;
	grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
	gap: 10px;
}
body.gss-skin .gss-picture-swatches .variable-item.button-variable-item {
	height: auto !important;
	padding: 6px !important;
	border-radius: 12px !important;
}
body.gss-skin .gss-picture-swatches .variable-item-contents {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	width: 100%;
}
body.gss-skin .gss-swatch-img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 8px;
	background: var(--gss-soft);
}
body.gss-skin .gss-picture-swatches .variable-item-span {
	font-size: 12px !important;
	line-height: 1.25;
	text-align: center;
	white-space: normal;
}

/* Personalization fields (WooCommerce Custom Product Addons). */
body.gss-skin .wcpa_form_outer {
	margin: 4px 0 16px;
	width: 100%;
}
body.gss-skin .wcpa_form_outer .wcpa_row {
	margin: 0;
}
body.gss-skin .wcpa_form_outer .wcpa_field_wrap {
	width: 100% !important;
	max-width: 100% !important;
	flex: 1 1 100% !important;
	margin-bottom: 14px;
}
body.gss-skin .wcpa_form_outer .wcpa_field_label {
	display: block;
	margin-bottom: 8px;
	font-size: 14px !important;
	font-weight: 700 !important;
	color: var(--gss-heading) !important;
}
body.gss-skin .wcpa_form_outer .wcpa_field_label .required_ast {
	color: var(--gss-brand);
}
body.gss-skin .wcpa_form_outer input.wcpa_field,
body.gss-skin .wcpa_form_outer textarea.wcpa_field,
body.gss-skin .wcpa_form_outer select.wcpa_field {
	width: 100%;
	height: 46px;
	border: 1px solid #d5d7db !important;
	border-radius: 10px !important;
	padding: 0 14px !important;
	font-size: 15px;
	background: #fff;
	box-shadow: inset 0 1px 2px rgb(0 0 0 / .04);
}
body.gss-skin .wcpa_form_outer textarea.wcpa_field {
	height: 96px;
	padding: 10px 14px !important;
}
body.gss-skin .wcpa_form_outer input.wcpa_field:focus,
body.gss-skin .wcpa_form_outer textarea.wcpa_field:focus {
	border-color: var(--gss-heading) !important;
	box-shadow: 0 0 0 3px rgb(17 24 39 / .07);
}
body.gss-skin .gss-personalize {
	background: var(--gss-cream);
	border-radius: 14px;
	padding: 14px !important;
}
body.gss-skin .gss-field-meta {
	display: flex;
	justify-content: space-between;
	gap: 10px;
	margin-top: 8px;
	font-size: 13px;
	color: var(--gss-muted);
}
body.gss-skin .gss-field-meta.has-value .gss-field-preview {
	color: var(--gss-heading);
	font-weight: 600;
	word-break: break-word;
}
body.gss-skin .gss-field-count {
	flex: none;
}
body.gss-skin .wcpa_form_outer .wcpa_image img {
	border-radius: 10px;
	border: 1.5px solid var(--gss-line);
}

/* Quantity stepper + buttons */
body.gss-skin.single-product .quantity.buttons_added {
	display: inline-flex;
	align-items: center;
	height: 48px;
	border: 1px solid #d5d7db;
	border-radius: 999px;
	overflow: hidden;
	background: #fff;
}
body.gss-skin.single-product .quantity.buttons_added .button,
body.gss-skin.single-product .quantity.buttons_added input.qty {
	height: 46px !important;
	min-height: 46px !important;
	border: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	color: var(--gss-heading) !important;
	margin: 0;
}
body.gss-skin.single-product .quantity.buttons_added .button {
	width: 40px;
	padding: 0 !important;
	font-size: 18px;
}
body.gss-skin.single-product .quantity.buttons_added input.qty {
	width: 40px;
	font-weight: 600;
}
body.gss-skin.single-product .single_add_to_cart_button {
	min-height: 48px;
	font-size: 16px !important;
}
body.gss-skin.single-product .single_add_to_cart_button.disabled {
	opacity: .9 !important;
	cursor: pointer;
}

/* "Guaranteed safe checkout" image block */
body.gss-skin .imgAfterCart {
	margin-top: 14px;
	padding: 10px;
	border-radius: 14px;
	background: #fff;
	border: 1px solid var(--gss-line);
}
body.gss-skin .imgAfterCart img {
	margin: 0 auto;
}

/* Product tabs */
body.gss-skin.single-product .woocommerce-tabs .tabs {
	justify-content: flex-start;
	gap: 6px 22px;
	border-bottom: 1px solid var(--gss-line);
	margin-bottom: 18px;
}
body.gss-skin.single-product .woocommerce-tabs .tabs > li > a {
	padding: 12px 0 !important;
	border: 0 !important;
	background: transparent !important;
}
body.gss-skin.single-product .woocommerce-tabs .tabs > li.active > a {
	box-shadow: inset 0 -2px 0 var(--gss-brand);
}
body.gss-skin.single-product .woocommerce-Tabs-panel {
	max-width: 860px;
	font-size: 15px;
}
body.gss-skin.single-product .woocommerce-Tabs-panel ul {
	padding-left: 18px;
}
body.gss-skin.single-product .woocommerce-Tabs-panel li {
	margin-bottom: 6px;
	list-style: disc;
}
body.gss-skin.single-product .woocommerce-Tabs-panel a {
	color: var(--gss-brand);
	font-weight: 600;
}

@media (max-width: 849px) {
	body.gss-skin.single-product .product_title {
		font-size: 24px;
	}
	body.gss-skin.single-product .product-info p.price {
		font-size: 24px;
	}
	body.gss-skin.single-product .woocommerce-tabs .tabs {
		flex-wrap: nowrap;
		overflow-x: auto;
		scrollbar-width: none;
	}
	body.gss-skin.single-product .woocommerce-tabs .tabs > li {
		flex: none;
	}
}

/* Flatsome's "Buy now" button: dark secondary action under add-to-cart. */
body.gss-skin.single-product .ux-buy-now-button {
	background-color: var(--gss-heading) !important;
	border-color: var(--gss-heading) !important;
	color: #fff !important;
	min-height: 48px;
	font-size: 16px !important;
	opacity: .9 !important;
}
body.gss-skin.single-product .ux-buy-now-button:not(.disabled) {
	opacity: 1 !important;
}
body.gss-skin.single-product .ux-buy-now-button:hover {
	background-color: #000 !important;
}

/* Sections under the product as white cards; all but the first fold (product.js). */
body.gss-skin .product-page-sections {
	max-width: 1080px;
	margin: 0 auto;
}
body.gss-skin .product-page-sections .product-section {
	background: #fff;
	border: 1px solid var(--gss-line);
	border-radius: 16px;
	margin-bottom: 14px;
	padding: 0;
	border-top: 1px solid var(--gss-line) !important;
}
body.gss-skin .product-page-sections .product-section > .row {
	flex-direction: column;
	margin: 0 !important;
	padding: 6px 22px;
}
body.gss-skin .product-page-sections .product-section > .row > .col {
	flex-basis: 100% !important;
	max-width: 100% !important;
	padding: 0 !important;
}
body.gss-skin .product-page-sections .product-section h5 {
	position: relative;
	margin: 0 !important;
	padding: 16px 30px 16px 0;
	font-family: var(--gss-serif) !important;
	font-size: 20px !important;
	font-weight: 700;
	letter-spacing: 0 !important;
	text-transform: none !important;
	color: var(--gss-heading);
}
body.gss-skin .gss-acc h5 {
	cursor: pointer;
}
body.gss-skin .gss-acc h5::after {
	content: "";
	position: absolute;
	right: 4px;
	top: 50%;
	width: 9px;
	height: 9px;
	border-right: 2px solid var(--gss-heading);
	border-bottom: 2px solid var(--gss-heading);
	transform: translateY(-70%) rotate(45deg);
	transition: transform .2s;
}
body.gss-skin .gss-acc.is-open h5::after {
	transform: translateY(-30%) rotate(-135deg);
}
body.gss-skin .gss-acc:not(.is-open) .panel,
body.gss-skin .gss-acc:not(.is-open) > .row > .col:not(:first-child) {
	display: none;
}
body.gss-skin .product-page-sections .product-section .panel {
	padding-bottom: 18px;
	color: var(--gss-ink-soft);
	line-height: 1.75;
}
body.gss-skin .product-page-sections .product-section .panel img {
	border-radius: 12px;
}

/* "You may also like" */
body.gss-skin .related-products-wrapper,
body.gss-skin .related.products {
	margin-top: 36px;
}

/* ---------- Frequently bought together ---------- */
body.gss-skin .gss-fbt {
	margin: 18px 0;
	padding: 16px;
	border: 1px solid var(--gss-line);
	border-radius: 14px;
	background: #fff;
}
body.gss-skin .gss-fbt-title {
	margin: 0 0 12px;
	font-weight: 700;
	font-size: 16px;
	color: var(--gss-heading);
}
body.gss-skin .gss-fbt-list {
	list-style: none;
	margin: 0;
	padding: 0;
}
body.gss-skin .gss-fbt-item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid var(--gss-soft);
	transition: opacity .15s;
}
body.gss-skin .gss-fbt-item:first-child {
	border-top: 0;
	padding-top: 0;
}
body.gss-skin .gss-fbt-item.is-off {
	opacity: .45;
}
body.gss-skin .gss-fbt-check {
	margin: 0;
	flex: none;
}
body.gss-skin .gss-fbt-check input {
	width: 18px;
	height: 18px;
	margin: 0;
	accent-color: var(--gss-brand);
	vertical-align: middle;
}
body.gss-skin .gss-fbt-img {
	width: 56px !important;
	height: 56px !important;
	object-fit: cover;
	border-radius: 8px;
	flex: none;
}
body.gss-skin .gss-fbt-info {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
	flex: 1;
}
body.gss-skin .gss-fbt-name {
	font-size: 13.5px;
	line-height: 1.35;
	color: var(--gss-ink) !important;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
body.gss-skin .gss-fbt-price {
	font-size: 14px;
	font-weight: 600;
}
body.gss-skin .gss-fbt-option {
	margin: 0;
	height: 34px;
	font-size: 13px;
	max-width: 100%;
	border-radius: 8px;
}
body.gss-skin .gss-fbt-foot {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 12px;
	padding-top: 12px;
	border-top: 1px solid var(--gss-line);
}
body.gss-skin .gss-fbt-total {
	margin: 0;
	font-size: 15px;
}
body.gss-skin .gss-fbt-total strong {
	color: var(--gss-brand);
	font-size: 18px;
}
body.gss-skin .gss-fbt-add {
	margin: 0;
	border-radius: 999px;
	background: var(--gss-dark) !important;
	color: #fff !important;
	text-transform: none;
	letter-spacing: 0;
	padding: 0 22px;
}
body.gss-skin .gss-fbt-add.loading {
	opacity: .6;
}
body.gss-skin .gss-fbt-msg {
	margin: 10px 0 0;
	font-size: 13.5px;
	color: #1d7a3e;
}
body.gss-skin .gss-fbt-msg.is-error {
	color: var(--gss-brand);
}
@media (max-width: 549px) {
	body.gss-skin .gss-fbt-add {
		width: 100%;
	}
}
body.gss-skin .gss-fbt-total del {
	color: var(--gss-muted);
	font-size: 14px;
	margin-right: 4px;
}
body.gss-skin .gss-fbt-save {
	margin: 2px 0 0;
	font-size: 12.5px;
	font-weight: 600;
	color: #1d7a3e;
}
