/*
Theme Name: GlowShop
Theme URI: https://example.com/glowshop
Author: GlowShop
Author URI: https://example.com
Description: A clean skincare storefront child theme for Storefront. Responsive, WooCommerce-ready, with mega menu, hero carousel and custom product card layouts.
Version: 1.0.5
Template: storefront
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: glowshop
Tags: e-commerce, woocommerce, responsive, custom-menu
*/

/* ==========================================================================
   Base tokens
   ========================================================================== */
:root {
	--gs-primary: #b33bb3;
	--gs-primary-dark: #9a2f9a;
	--gs-text: #444444;
	--gs-heading: #2c2d33;
	--gs-strong: #111111;
	--gs-bg: #ffffff;
	--gs-surface: #f7f7f7;
	--gs-border: #e6e6e6;
	--gs-muted: #767676;
	--gs-sale: #b33bb3;
	--gs-width: 1190px;
	--gs-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
	--gs-radius: 4px;
	--gs-header-h: 90px;
}

/* ==========================================================================
   Reset / typography
   ========================================================================== */
html {
	-webkit-text-size-adjust: 100%;
}

body,
body.custom-background {
	background-color: var(--gs-bg);
	color: var(--gs-text);
	font-family: var(--gs-font);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
	color: var(--gs-heading);
	font-family: var(--gs-font);
	font-weight: 600;
	line-height: 1.25;
	margin: 0 0 .6em;
}

a {
	color: var(--gs-primary);
	text-decoration: none;
}

a:hover,
a:focus {
	color: var(--gs-primary-dark);
	text-decoration: none;
}

img {
	max-width: 100%;
	height: auto;
}

button,
input,
select,
textarea {
	font-family: inherit;
}

.gs-container {
	width: 100%;
	max-width: var(--gs-width);
	margin: 0 auto;
	padding: 0 20px;
	box-sizing: border-box;
}

.gs-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* ==========================================================================
   Announcement bar (sticky, stays visible on scroll)
   ========================================================================== */
.gs-announce {
	background: var(--gs-primary);
	color: #fff;
	text-align: center;
	padding: 9px 16px;
}

.gs-announce-text {
	display: inline-block;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .3px;
	line-height: 1.4;
}

/* ==========================================================================
   Header
   ========================================================================== */
.gs-header-wrapper {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff;
	box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.gs-header-main {
	display: flex;
	align-items: center;
	gap: 28px;
	height: var(--gs-header-h);
}

.gs-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}

.gs-logo img {
	display: block;
	width: 236px;
	max-height: 56px;
	object-fit: contain;
}

.gs-search {
	flex: 1 1 auto;
	max-width: 640px;
	position: relative;
}

.gs-search form {
	display: flex;
	align-items: center;
	background: #f2f2f2;
	border-radius: 999px;
	padding: 0 6px 0 18px;
	height: 44px;
}

.gs-search input[type="search"] {
	flex: 1;
	border: 0;
	background: transparent;
	box-shadow: none;
	font-size: 14px;
	color: var(--gs-text);
	height: 42px;
	outline: none;
}

.gs-search button {
	border: 0;
	background: transparent;
	cursor: pointer;
	padding: 0 12px;
	color: var(--gs-heading);
	display: flex;
	align-items: center;
}

.gs-header-actions {
	display: flex;
	align-items: center;
	gap: 22px;
	margin-left: auto;
	flex-shrink: 0;
}

.gs-cart-link {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--gs-heading);
	font-size: 14px;
	position: relative;
	white-space: nowrap;
}

.gs-cart-icon {
	display: block;
	flex-shrink: 0;
}

.gs-cart-link:hover .gs-cart-icon {
	color: var(--gs-primary);
}

.gs-cart-link:hover {
	color: var(--gs-primary);
}

.gs-cart-count {
	background: var(--gs-primary);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	min-width: 18px;
	height: 18px;
	line-height: 18px;
	text-align: center;
	border-radius: 999px;
	padding: 0 5px;
	display: inline-block;
}

.gs-burger {
	display: none;
	background: transparent;
	border: 0;
	padding: 8px;
	cursor: pointer;
	color: var(--gs-heading);
}

/* ==========================================================================
   Primary navigation
   ========================================================================== */
.gs-nav-bar {
	border-top: 1px solid var(--gs-border);
}

.gs-nav {
	display: flex;
	align-items: center;
	gap: 34px;
	height: 52px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gs-nav > li {
	position: relative;
	height: 52px;
	display: flex;
	align-items: center;
}

.gs-nav > li > a {
	color: var(--gs-heading);
	font-size: 13px;
	font-weight: 600;
	letter-spacing: .6px;
	text-transform: uppercase;
	padding: 6px 0;
}

.gs-nav > li > a:hover,
.gs-nav > li.is-current > a {
	color: var(--gs-primary);
}

.gs-caret {
	display: inline-block;
	width: 7px;
	height: 7px;
	margin-left: 7px;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	vertical-align: middle;
	opacity: .7;
}

/* mega menu */
.gs-mega {
	position: absolute;
	top: 100%;
	left: -24px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(0, 0, 0, .12);
	border-radius: 0 0 6px 6px;
	padding: 30px 34px 34px;
	display: none;
	min-width: 580px;
	z-index: 1000;
}

.gs-nav > li:hover > .gs-mega,
.gs-nav > li:focus-within > .gs-mega {
	display: block;
}

.gs-mega-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(150px, 1fr));
	gap: 12px 34px;
}

.gs-mega-col-title {
	display: block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .5px;
	text-transform: uppercase;
	color: var(--gs-heading);
	margin-bottom: 12px;
}

.gs-mega-col-title:hover {
	color: var(--gs-primary);
}

.gs-mega-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gs-mega-links li {
	margin-bottom: 9px;
}

.gs-mega-links a {
	color: var(--gs-text);
	font-size: 14px;
	line-height: 1.4;
	display: inline-block;
}

.gs-mega-links a:hover {
	color: var(--gs-primary);
}

/* ==========================================================================
   Mobile drawer
   ========================================================================== */
.gs-drawer {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none;
}

.gs-drawer.is-open {
	display: block;
}

.gs-drawer-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .45);
}

.gs-drawer-panel {
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 86%;
	max-width: 360px;
	background: #fff;
	overflow-y: auto;
	padding: 22px 22px 40px;
	box-sizing: border-box;
}

.gs-drawer-close {
	background: transparent;
	border: 0;
	font-size: 26px;
	line-height: 1;
	color: var(--gs-heading);
	cursor: pointer;
	padding: 0 0 18px;
}

.gs-drawer-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gs-drawer-nav > li {
	border-bottom: 1px solid var(--gs-border);
}

.gs-drawer-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.gs-drawer-link,
.gs-drawer-toggle {
	color: var(--gs-heading);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .5px;
	text-transform: uppercase;
	padding: 15px 0;
	background: transparent;
	border: 0;
	cursor: pointer;
	text-align: left;
	display: block;
	flex: 1;
}

.gs-drawer-toggle {
	flex: 0 0 auto;
	width: 44px;
	text-align: center;
	font-size: 18px;
}

.gs-drawer-sub {
	list-style: none;
	margin: 0;
	padding: 0 0 12px 10px;
	display: none;
}

.gs-drawer-sub.is-open {
	display: block;
}

.gs-drawer-sub li a {
	color: var(--gs-text);
	font-size: 14px;
	display: block;
	padding: 8px 0;
}

.gs-drawer-group-title {
	color: var(--gs-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	padding: 16px 0 6px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.gs-footer {
	background: var(--gs-primary);
	color: #fff;
	margin-top: 70px;
	padding: 52px 0 34px;
}

.gs-footer a {
	color: #fff;
}

.gs-footer a:hover {
	color: rgba(255, 255, 255, .78);
	text-decoration: underline;
}

.gs-footer-cols {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	max-width: 780px;
}

.gs-footer-col h3 {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .8px;
	text-transform: uppercase;
	margin: 0 0 16px;
}

.gs-footer-col ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gs-footer-col li {
	margin-bottom: 9px;
}

.gs-footer-col a {
	font-size: 14px;
}

.gs-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, .28);
	margin-top: 34px;
	padding-top: 20px;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: space-between;
	font-size: 13px;
	color: rgba(255, 255, 255, .86);
}

/* ==========================================================================
   Homepage — hero carousel
   ========================================================================== */
.gs-hero {
	position: relative;
	overflow: hidden;
	background: #fff;
}

.gs-hero-track {
	display: flex;
	transition: transform .55s cubic-bezier(.4, 0, .2, 1);
}

.gs-hero-slide {
	flex: 0 0 100%;
	display: block;
	position: relative;
	height: 539px;
	overflow: hidden;
}

.gs-hero-slide img {
	display: block;
	width: 100%;
	height: 539px;
	object-fit: cover;
	object-position: center;
}

.gs-hero-dots {
	position: absolute;
	bottom: 16px;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 9px;
	z-index: 3;
}

.gs-hero-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: 0;
	padding: 0;
	background: rgba(255, 255, 255, .55);
	cursor: pointer;
}

.gs-hero-dot.is-active {
	background: #fff;
}

/* ==========================================================================
   Homepage — product rail sections
   ========================================================================== */
.gs-rail-section {
	padding: 46px 0 10px;
}

.gs-rail-head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 22px;
}

.gs-rail-title {
	color: var(--gs-primary);
	font-size: 26px;
	font-weight: 600;
	margin: 0;
	letter-spacing: .2px;
}

.gs-rail-link {
	font-size: 14px;
	font-weight: 600;
	color: var(--gs-primary);
}

/* rail with arrows */
.gs-rail {
	position: relative;
}

.gs-rail-viewport {
	overflow: hidden;
}

.gs-rail-track {
	display: flex;
	gap: 24px;
	transition: transform .45s cubic-bezier(.4, 0, .2, 1);
}

.gs-rail-track .gs-card {
	flex: 0 0 calc((100% - 72px) / 4);
}

.gs-rail-arrow {
	position: absolute;
	top: 42%;
	transform: translateY(-50%);
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: 0;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .16);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--gs-heading);
	z-index: 5;
}

.gs-rail-arrow[disabled] {
	opacity: .35;
	cursor: default;
}

.gs-rail-arrow svg {
	flex: 0 0 auto;
	width: 18px;
	height: 18px;
	display: block;
}

.gs-rail-arrow.prev {
	left: -12px;
}

.gs-rail-arrow.next {
	right: -12px;
}

/* ==========================================================================
   Product card
   ========================================================================== */
.gs-products-grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 26px 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.gs-card {
	display: flex;
	flex-direction: column;
	list-style: none;
	margin: 0;
	position: relative;
}

.gs-card-media {
	position: relative;
	background: var(--gs-surface);
	border-radius: 6px;
	overflow: hidden;
	margin-bottom: 14px;
}

.gs-card-media img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	transition: transform .45s ease;
}

.gs-card:hover .gs-card-media img {
	transform: scale(1.04);
}

.gs-card-badge {
	position: absolute;
	top: 10px;
	left: 10px;
	background: var(--gs-sale);
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: .3px;
	padding: 4px 9px;
	border-radius: 3px;
	z-index: 2;
}

.gs-card-badge--new {
	background: var(--gs-heading);
}

.gs-card-title {
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	color: var(--gs-heading);
	margin: 0 0 6px;
}

.gs-card-title a {
	color: var(--gs-heading);
}

.gs-card-title a:hover {
	color: var(--gs-primary);
}

.gs-card-price {
	font-size: 14px;
	color: var(--gs-strong);
	font-weight: 400;
	margin-bottom: 12px;
}

.gs-card-price del {
	color: var(--gs-muted);
	margin-right: 5px;
	font-weight: 400;
}

.gs-card-price ins {
	text-decoration: none;
	color: var(--gs-strong);
	font-weight: 600;
}

.gs-card-actions {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 8px;
}

.gs-card-varselect {
	flex: 1;
	height: 40px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	font-size: 13px;
	padding: 0 10px;
	color: var(--gs-text);
	background: #fff;
}

.gs-card-add {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	height: 40px;
	border: 0;
	border-radius: var(--gs-radius);
	background: var(--gs-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	padding: 0 16px;
	cursor: pointer;
	white-space: nowrap;
	transition: background .2s ease;
}

.gs-card-add:hover {
	background: var(--gs-primary-dark);
	color: #fff;
}

.gs-card-add[disabled] {
	opacity: .6;
	cursor: default;
}

.gs-card-swatches {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
	margin-bottom: 10px;
}

.gs-card-swatch {
	font-size: 11px;
	line-height: 1;
	padding: 5px 7px;
	border: 1px solid var(--gs-border);
	border-radius: 3px;
	color: var(--gs-muted);
	background: #fff;
}

/* ==========================================================================
   Shop archive
   ========================================================================== */
.gs-shop-wrap {
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 40px;
	padding: 30px 0 60px;
	align-items: start;
}

.gs-shop-sidebar {
	position: sticky;
	top: calc(var(--gs-header-h) + 110px);
}

.gs-sidebar-box {
	margin-bottom: 32px;
}

.gs-sidebar-title {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .7px;
	text-transform: uppercase;
	color: var(--gs-heading);
	margin: 0 0 14px;
}

.gs-price-inputs {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 12px;
}

.gs-price-inputs input[type="number"] {
	width: 100%;
	height: 38px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 0 10px;
	font-size: 13px;
	box-sizing: border-box;
}

.gs-price-btn,
.gs-filter-btn {
	width: 100%;
	height: 40px;
	border: 0;
	border-radius: var(--gs-radius);
	background: var(--gs-primary);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
}

.gs-side-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gs-side-list li {
	margin-bottom: 8px;
}

.gs-side-list a {
	font-size: 14px;
	color: var(--gs-text);
}

.gs-side-list a:hover,
.gs-side-list a.is-active {
	color: var(--gs-primary);
	font-weight: 600;
}

.gs-toprated-item {
	display: flex;
	gap: 12px;
	align-items: center;
	margin-bottom: 14px;
}

.gs-toprated-item img {
	width: 56px;
	height: 56px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
	background: var(--gs-surface);
}

.gs-toprated-info {
	min-width: 0;
}

.gs-toprated-name {
	font-size: 13px;
	font-weight: 500;
	color: var(--gs-heading);
	line-height: 1.3;
	display: block;
	margin-bottom: 3px;
}

.gs-toprated-price {
	font-size: 13px;
	color: var(--gs-muted);
}

.gs-shop-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 8px;
	flex-wrap: wrap;
}

.gs-shop-title {
	font-size: 42px;
	font-weight: 600;
	color: var(--gs-heading);
	margin: 0;
	line-height: 1.15;
}

.gs-crumbs {
	font-size: 13px;
	color: var(--gs-muted);
	margin-bottom: 16px;
}

.gs-crumbs a {
	color: var(--gs-muted);
}

.gs-crumbs a:hover {
	color: var(--gs-primary);
}

.gs-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-bottom: 26px;
	flex-wrap: wrap;
}

.gs-result-count {
	font-size: 14px;
	color: var(--gs-muted);
}

.gs-ordering select {
	height: 42px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	font-size: 14px;
	padding: 0 34px 0 12px;
	color: var(--gs-text);
	background: #fff;
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, #666 50%), linear-gradient(135deg, #666 50%, transparent 50%);
	background-position: calc(100% - 18px) 18px, calc(100% - 13px) 18px;
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.gs-shop-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gs-empty {
	padding: 40px 0;
	text-align: center;
	color: var(--gs-muted);
}

.gs-mobile-filter {
	display: none;
}

/* ==========================================================================
   Pagination
   ========================================================================== */
.gs-pagination {
	margin-top: 44px;
	text-align: center;
}

.gs-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	margin: 0 3px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	font-size: 14px;
	color: var(--gs-text);
	background: #fff;
}

.gs-pagination .page-numbers.current,
.gs-pagination .page-numbers:hover {
	background: var(--gs-primary);
	border-color: var(--gs-primary);
	color: #fff;
}

/* ==========================================================================
   Single product
   ========================================================================== */
.gs-single {
	padding: 26px 0 60px;
}

.gs-single-top {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
	gap: 54px;
	align-items: start;
	margin-bottom: 60px;
}

.gs-gallery {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gs-gallery-main {
	position: relative;
	background: var(--gs-surface);
	border-radius: 6px;
	overflow: hidden;
}

.gs-gallery-main img {
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.gs-gallery-thumbs {
	display: flex;
	gap: 10px;
	flex-wrap: wrap;
}

.gs-gallery-thumb {
	width: 78px;
	height: 78px;
	border: 1px solid var(--gs-border);
	border-radius: 4px;
	overflow: hidden;
	padding: 0;
	background: var(--gs-surface);
	cursor: pointer;
	flex-shrink: 0;
}

.gs-gallery-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.gs-gallery-thumb.is-active {
	border-color: var(--gs-primary);
}

.gs-summary .gs-product-title {
	font-size: 30px;
	font-weight: 700;
	letter-spacing: .3px;
	text-transform: uppercase;
	color: var(--gs-heading);
	margin: 6px 0 12px;
	line-height: 1.2;
}

.gs-sale-badge {
	display: inline-block;
	background: var(--gs-sale);
	color: #fff;
	font-size: 12px;
	font-weight: 600;
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 8px;
}

.gs-summary .price {
	font-size: 24px;
	color: var(--gs-heading);
	font-weight: 600;
	margin-bottom: 18px;
}

.gs-summary .price del {
	color: var(--gs-muted);
	font-weight: 400;
	font-size: 18px;
	margin-right: 8px;
}

.gs-summary .price ins {
	text-decoration: none;
	color: var(--gs-primary);
}

.gs-summary .woocommerce-product-details__short-description {
	font-size: 15px;
	color: var(--gs-text);
	margin-bottom: 18px;
}

/* variation selectors */
.gs-variation-label {
	font-size: 14px;
	font-weight: 600;
	color: var(--gs-heading);
	margin-bottom: 8px;
	display: block;
}

.gs-summary table.variations {
	width: 100%;
	border: 0;
	margin-bottom: 18px;
}

.gs-summary table.variations th,
.gs-summary table.variations td {
	border: 0;
	padding: 0 0 10px;
	text-align: left;
	background: transparent;
}

.gs-summary table.variations select {
	width: 100%;
	max-width: 320px;
	height: 44px;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 0 12px;
	font-size: 14px;
	background: #fff;
}

.gs-summary .reset_variations {
	font-size: 13px;
	color: var(--gs-primary);
}

.gs-summary .woocommerce-variation-price {
	margin-bottom: 12px;
	font-size: 20px;
	font-weight: 600;
	color: var(--gs-primary);
}

/* buy area */
.gs-buy-row {
	display: flex;
	align-items: stretch;
	gap: 12px;
	margin-bottom: 14px;
}

.gs-summary .quantity {
	display: flex;
	align-items: center;
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	overflow: hidden;
	height: 52px;
	background: #fff;
}

.gs-summary .quantity input.qty {
	width: 52px;
	height: 50px;
	border: 0;
	text-align: center;
	font-size: 15px;
	background: transparent;
	-moz-appearance: textfield;
}

.gs-summary .quantity input.qty::-webkit-outer-spin-button,
.gs-summary .quantity input.qty::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

.gs-summary .gs-qty-btns {
	display: flex;
	flex-direction: column;
	height: 50px;
	border-left: 1px solid var(--gs-border);
}

.gs-summary .gs-qty-btn {
	flex: 1;
	width: 28px;
	border: 0;
	background: #fafafa;
	cursor: pointer;
	font-size: 13px;
	line-height: 1;
	color: var(--gs-heading);
	padding: 0;
}

.gs-summary .gs-qty-btn:first-child {
	border-bottom: 1px solid var(--gs-border);
}

.gs-summary .single_add_to_cart_button {
	flex: 1;
	min-height: 52px;
	background: var(--gs-primary);
	color: #fff;
	border: 0;
	border-radius: var(--gs-radius);
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s ease;
}

.gs-summary .single_add_to_cart_button:hover {
	background: var(--gs-primary-dark);
	color: #fff;
}

.gs-summary .single_add_to_cart_button[disabled] {
	opacity: .55;
	cursor: default;
}

.gs-stock {
	font-size: 14px;
	color: #3a8c3a;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 7px;
}

.gs-stock::before {
	content: "";
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: #3a8c3a;
	display: inline-block;
}

.gs-trust {
	border-top: 1px solid var(--gs-border);
	padding-top: 18px;
	margin-top: 6px;
}

.gs-trust-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 14px;
	color: var(--gs-text);
	margin-bottom: 10px;
}

.gs-trust-line svg {
	flex-shrink: 0;
	margin-top: 2px;
	color: var(--gs-primary);
}

.gs-pay-badges {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid var(--gs-border);
}

.gs-pay-badge {
	height: 26px;
	min-width: 40px;
	border: 1px solid var(--gs-border);
	border-radius: 3px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 10px;
	font-weight: 700;
	color: var(--gs-muted);
	padding: 0 6px;
	background: #fff;
}

/* tabs */
.gs-tabs {
	border-top: 1px solid var(--gs-border);
	margin-bottom: 50px;
}

.gs-tab-nav {
	display: flex;
	justify-content: center;
	gap: 44px;
	list-style: none;
	margin: 0;
	padding: 22px 0 0;
}

.gs-tab-nav button {
	background: transparent;
	border: 0;
	border-bottom: 2px solid transparent;
	padding: 0 0 14px;
	font-size: 15px;
	font-weight: 600;
	color: var(--gs-muted);
	cursor: pointer;
}

.gs-tab-nav button.is-active {
	color: var(--gs-heading);
	border-bottom-color: var(--gs-primary);
}

.gs-tab-panel {
	display: none;
	padding: 30px 0 10px;
	font-size: 15px;
	line-height: 1.7;
	color: var(--gs-text);
}

.gs-tab-panel.is-active {
	display: block;
}

.gs-tab-panel h5,
.gs-tab-panel h4,
.gs-tab-panel h3 {
	font-size: 16px;
	font-weight: 600;
	color: var(--gs-heading);
	margin: 18px 0 8px;
}

.gs-tab-panel ul {
	padding-left: 20px;
}

.gs-tab-panel table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
}

.gs-tab-panel table th,
.gs-tab-panel table td {
	border: 1px solid var(--gs-border);
	padding: 10px 14px;
	text-align: left;
}

.gs-tab-panel table th {
	background: var(--gs-surface);
	font-weight: 600;
	color: var(--gs-heading);
}

.gs-attr-table th {
	width: 200px;
}

/* related */
.gs-related-title {
	font-size: 26px;
	font-weight: 600;
	color: var(--gs-heading);
	margin: 0 0 24px;
}

/* ==========================================================================
   Generic WooCommerce content pages (cart / checkout / account)
   ========================================================================== */
.gs-page-head {
	padding: 34px 0 10px;
}

.gs-page-head h1 {
	font-size: 36px;
	font-weight: 600;
}

.gs-content-wrap {
	padding-bottom: 60px;
}

.gs-content-wrap .woocommerce {
	max-width: none;
}

.gs-content-wrap table.shop_table {
	border: 1px solid var(--gs-border);
	border-radius: 4px;
	border-collapse: collapse;
}

.gs-content-wrap table.shop_table th,
.gs-content-wrap table.shop_table td {
	border-color: var(--gs-border);
	padding: 12px 14px;
}

.gs-content-wrap .button,
.gs-content-wrap button.button,
.gs-content-wrap input.button {
	background: var(--gs-primary);
	color: #fff;
	border-radius: var(--gs-radius);
	font-weight: 600;
	padding: 12px 22px;
	border: 0;
}

.gs-content-wrap .button:hover {
	background: var(--gs-primary-dark);
	color: #fff;
}

.gs-content-wrap input[type="text"],
.gs-content-wrap input[type="email"],
.gs-content-wrap input[type="password"],
.gs-content-wrap input[type="tel"],
.gs-content-wrap select,
.gs-content-wrap textarea {
	border: 1px solid var(--gs-border);
	border-radius: var(--gs-radius);
	padding: 10px 12px;
}

/* blog / post */
.gs-post-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 30px;
	padding: 30px 0 60px;
}

.gs-post-card {
	border: 1px solid var(--gs-border);
	border-radius: 6px;
	overflow: hidden;
	background: #fff;
}

.gs-post-card img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	display: block;
}

.gs-post-card-body {
	padding: 18px 20px 22px;
}

.gs-post-card h2 {
	font-size: 19px;
	margin: 0 0 10px;
}

.gs-post-card p {
	font-size: 14px;
	margin: 0 0 12px;
	color: var(--gs-text);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199px) {
	.gs-products-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.gs-rail-track .gs-card {
		flex: 0 0 calc((100% - 48px) / 3);
	}
}

@media (max-width: 989px) {
	:root {
		--gs-header-h: 68px;
	}

	.gs-header-main {
		gap: 14px;
		height: var(--gs-header-h);
		flex-wrap: nowrap;
	}

	.gs-burger {
		display: block;
		order: -1;
	}

	.gs-logo img {
		width: 170px;
		max-height: 42px;
	}

	.gs-search {
		display: none;
	}

	.gs-header-actions {
		gap: 14px;
	}

	.gs-nav-bar {
		display: none;
	}

	.gs-hero-slide {
		height: auto;
		aspect-ratio: 16 / 10;
	}

	.gs-hero-slide img {
		height: 100%;
		aspect-ratio: auto;
		object-fit: cover;
	}

	.gs-rail-section {
		padding: 32px 0 6px;
	}

	.gs-rail-title {
		font-size: 21px;
	}

	.gs-rail-track {
		gap: 14px;
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		-webkit-overflow-scrolling: touch;
		padding-bottom: 6px;
	}

	.gs-rail-track .gs-card {
		flex: 0 0 68%;
		scroll-snap-align: start;
	}

	.gs-rail-arrow {
		display: none;
	}

	.gs-products-grid,
	.gs-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 20px 14px;
	}

	.gs-shop-wrap {
		grid-template-columns: minmax(0, 1fr);
		gap: 0;
		padding-top: 18px;
	}

	.gs-shop-sidebar {
		position: static;
		display: none;
	}

	.gs-shop-sidebar.is-open {
		display: block;
		margin-bottom: 24px;
	}

	.gs-mobile-filter {
		display: inline-flex;
		align-items: center;
		gap: 7px;
		border: 1px solid var(--gs-border);
		border-radius: var(--gs-radius);
		background: #fff;
		height: 42px;
		padding: 0 14px;
		font-size: 14px;
		cursor: pointer;
		color: var(--gs-heading);
	}

	.gs-shop-title {
		font-size: 30px;
	}

	.gs-single-top {
		grid-template-columns: minmax(0, 1fr);
		gap: 30px;
		margin-bottom: 40px;
	}

	.gs-summary .gs-product-title {
		font-size: 24px;
	}

	.gs-tab-nav {
		gap: 26px;
	}

	.gs-post-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gs-footer-cols {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 599px) {
	.gs-container {
		padding: 0 14px;
	}

	.gs-announce-text {
		font-size: 12px;
	}

	.gs-logo img {
		width: 140px;
	}

	.gs-cart-amount {
		display: none;
	}

	.gs-products-grid,
	.gs-shop-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
		gap: 16px 10px;
	}

	.gs-card-title {
		font-size: 13px;
	}

	.gs-card-price {
		font-size: 12px;
	}

	.gs-card-varselect,
	.gs-card-add {
		height: 36px;
		font-size: 12px;
		padding: 0 10px;
	}

	.gs-shop-title {
		font-size: 24px;
	}

	.gs-gallery-thumb {
		width: 62px;
		height: 62px;
	}

	.gs-buy-row {
		flex-wrap: wrap;
	}

	.gs-summary .single_add_to_cart_button {
		width: 100%;
		flex: 0 0 100%;
	}

	.gs-post-list {
		grid-template-columns: minmax(0, 1fr);
	}

	.gs-footer-cols {
		grid-template-columns: minmax(0, 1fr);
	}
}
