/**
 * KOSMO OIL — Shop Catalog, Product Cards, Sidebar Filters, Mini-Cart, Quick View, Cart & Checkout
 */

/* ==========================================================================
   1. Product Grid & Luxury Product Cards
   ========================================================================== */
.kosmo-filter-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kosmo-filter-pill {
	padding: 10px 18px;
	border-radius: var(--kosmo-radius-pill);
	border: 1px solid var(--kosmo-border-strong);
	background: var(--kosmo-white);
	color: var(--kosmo-green-primary);
	font-family: var(--kosmo-font-body);
	font-size: 0.875rem;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.25s var(--kosmo-ease);
}

.kosmo-filter-pill:hover,
.kosmo-filter-pill.is-active {
	background: var(--kosmo-green-primary);
	color: var(--kosmo-white);
	border-color: var(--kosmo-green-primary);
}

.kosmo-products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.kosmo-products-grid--shop {
	grid-template-columns: repeat(3, 1fr);
}

.kosmo-products-grid__item.is-hidden {
	display: none;
}

.kosmo-product-card {
	background-color: var(--kosmo-white);
	border-radius: var(--kosmo-radius-lg);
	border: 1px solid var(--kosmo-border);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.35s var(--kosmo-ease), box-shadow 0.35s var(--kosmo-ease), border-color 0.35s var(--kosmo-ease);
	position: relative;
}

.kosmo-product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--kosmo-shadow-md);
	border-color: rgba(198, 154, 69, 0.45);
}

.kosmo-product-card__media {
	position: relative;
	background: radial-gradient(circle at 50% 50%, #ffffff 0%, #f3efe2 100%);
	padding: 28px 20px 22px;
	height: 290px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.kosmo-product-card__badges {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.kosmo-product-card__floating-actions {
	position: absolute;
	top: 14px;
	right: 14px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.kosmo-icon-pill {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	border: 1px solid var(--kosmo-border);
	background: rgba(255, 253, 247, 0.92);
	color: var(--kosmo-green-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s var(--kosmo-ease);
	box-shadow: var(--kosmo-shadow-sm);
}

.kosmo-icon-pill:hover,
.kosmo-icon-pill.is-active {
	background: var(--kosmo-green-primary);
	color: var(--kosmo-golden);
	border-color: var(--kosmo-green-primary);
}

.kosmo-product-card__img-link {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
}

.kosmo-product-card__img {
	max-height: 235px;
	width: auto;
	object-fit: contain;
	transition: transform 0.45s var(--kosmo-ease), opacity 0.35s var(--kosmo-ease);
	filter: drop-shadow(0 12px 20px rgba(53, 37, 30, 0.14));
}

.kosmo-product-card__img--secondary {
	position: absolute;
	opacity: 0;
	transform: scale(0.96);
}

.kosmo-product-card:hover .kosmo-product-card__img--primary {
	transform: scale(1.06);
}

.kosmo-product-card__body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.kosmo-product-card__meta-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
	margin-bottom: 6px;
}

.kosmo-product-card__category {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--kosmo-green-secondary);
}

.kosmo-product-card__rating {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 0.8rem;
	color: var(--kosmo-dark);
}

.kosmo-star-icon {
	color: var(--kosmo-golden);
	display: inline-flex;
}

.kosmo-product-card__title {
	font-size: 1.15rem;
	line-height: 1.3;
	margin-bottom: 6px;
}

.kosmo-product-card__title a {
	color: var(--kosmo-green-primary);
}

.kosmo-product-card__title a:hover {
	color: var(--kosmo-green-secondary);
}

.kosmo-product-card__purity {
	font-size: 0.8rem;
	color: var(--kosmo-muted);
	margin-bottom: 16px;
	flex-grow: 1;
}

.kosmo-product-card__footer {
	padding-top: 14px;
	border-top: 1px solid var(--kosmo-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
}

.kosmo-price-group {
	display: flex;
	align-items: baseline;
	gap: 7px;
}

.kosmo-price-sale {
	font-family: var(--kosmo-font-heading);
	font-size: 1.35rem;
	font-weight: 700;
	color: var(--kosmo-green-primary);
}

.kosmo-price-regular {
	font-size: 0.86rem;
	color: var(--kosmo-muted);
}

.kosmo-price-save {
	display: block;
	font-size: 0.74rem;
	font-weight: 700;
	color: var(--kosmo-green-secondary);
}

.kosmo-btn--card {
	padding: 10px 16px;
	font-size: 0.84rem;
	background: var(--kosmo-green-primary);
	color: var(--kosmo-white);
}

.kosmo-btn--card:hover {
	background: var(--kosmo-golden);
	color: var(--kosmo-dark);
}

/* ==========================================================================
   2. Shop Archive Hero, Toolbar & Sidebar Filters
   ========================================================================== */
.kosmo-shop-hero {
	background: linear-gradient(135deg, var(--kosmo-green-primary) 0%, #4a342a 100%);
	color: var(--kosmo-white);
	padding: 52px 0;
}

.kosmo-shop-hero .kosmo-eyebrow {
	color: var(--kosmo-golden);
}

.kosmo-shop-hero__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.kosmo-shop-hero__title {
	color: var(--kosmo-white);
	font-size: clamp(2rem, 3.6vw, 3rem);
	margin-bottom: 10px;
}

.kosmo-shop-hero__subtitle {
	color: rgba(255, 253, 247, 0.84);
	max-width: 660px;
	margin: 0;
}

.kosmo-shop-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.kosmo-shop-pill {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 9px 15px;
	border-radius: var(--kosmo-radius-pill);
	background: rgba(255, 253, 247, 0.12);
	border: 1px solid rgba(198, 154, 69, 0.35);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--kosmo-white);
}

.kosmo-shop-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	background: var(--kosmo-white);
	padding: 16px 22px;
	border-radius: var(--kosmo-radius-md);
	border: 1px solid var(--kosmo-border);
	margin-bottom: 32px;
	flex-wrap: wrap;
}

.kosmo-shop-toolbar__left {
	display: flex;
	align-items: center;
	gap: 14px;
}

.kosmo-filter-drawer-trigger {
	display: none;
}

.kosmo-shop-count {
	margin: 0;
	font-weight: 600;
	color: var(--kosmo-green-primary);
	font-size: 0.94rem;
}

.kosmo-sort-form {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.9rem;
}

.kosmo-sort-form select {
	padding: 9px 14px;
	border-radius: var(--kosmo-radius-sm);
	border: 1px solid var(--kosmo-border-strong);
	background: var(--kosmo-cream);
	font-family: var(--kosmo-font-body);
	font-weight: 600;
	color: var(--kosmo-green-primary);
}

.kosmo-shop-layout {
	display: grid;
	grid-template-columns: 280px 1fr;
	gap: 32px;
	align-items: start;
}

.kosmo-shop-sidebar {
	background: var(--kosmo-white);
	border-radius: var(--kosmo-radius-lg);
	border: 1px solid var(--kosmo-border);
	padding: 24px;
	display: grid;
	gap: 24px;
}

.kosmo-shop-sidebar__mobile-head {
	display: none;
}

.kosmo-filter-block {
	padding-bottom: 22px;
	border-bottom: 1px solid var(--kosmo-border);
}

.kosmo-filter-block:last-of-type {
	border-bottom: none;
	padding-bottom: 0;
}

.kosmo-filter-block__title {
	font-family: var(--kosmo-font-body);
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: var(--kosmo-green-primary);
	margin-bottom: 14px;
}

.kosmo-sidebar-search {
	display: flex;
	background: var(--kosmo-cream);
	border: 1px solid var(--kosmo-border-strong);
	border-radius: var(--kosmo-radius-pill);
	overflow: hidden;
}

.kosmo-sidebar-search input {
	flex: 1;
	border: none;
	background: transparent;
	padding: 9px 14px;
	font-size: 0.88rem;
}

.kosmo-sidebar-search button {
	border: none;
	background: var(--kosmo-green-primary);
	color: var(--kosmo-white);
	padding: 0 13px;
	cursor: pointer;
}

.kosmo-filter-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 6px;
}

.kosmo-filter-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 12px;
	border-radius: var(--kosmo-radius-sm);
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--kosmo-dark);
}

.kosmo-filter-links a:hover,
.kosmo-filter-links a.is-active {
	background: var(--kosmo-green-primary);
	color: var(--kosmo-white);
}

.kosmo-filter-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.kosmo-chip {
	padding: 7px 13px;
	border-radius: var(--kosmo-radius-pill);
	border: 1px solid var(--kosmo-border-strong);
	font-size: 0.82rem;
	font-weight: 600;
	color: var(--kosmo-green-primary);
	background: var(--kosmo-cream);
}

.kosmo-chip:hover,
.kosmo-chip.is-active {
	background: var(--kosmo-green-primary);
	color: var(--kosmo-white);
	border-color: var(--kosmo-green-primary);
}

.kosmo-price-inputs {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-bottom: 12px;
}

.kosmo-price-inputs label {
	display: block;
	font-size: 0.76rem;
	color: var(--kosmo-muted);
	margin-bottom: 4px;
}

.kosmo-price-inputs input {
	width: 100%;
	padding: 8px 10px;
	border-radius: var(--kosmo-radius-sm);
	border: 1px solid var(--kosmo-border-strong);
	background: var(--kosmo-cream);
	font-weight: 600;
}

.kosmo-sidebar-promo {
	background: var(--kosmo-cream);
	padding: 20px;
	border-radius: var(--kosmo-radius-md);
	border: 1px solid var(--kosmo-border);
}

.kosmo-sidebar-promo h4 {
	font-size: 1.1rem;
	margin-bottom: 6px;
}

.kosmo-sidebar-promo p {
	font-size: 0.85rem;
	color: var(--kosmo-muted);
	margin-bottom: 12px;
}

/* ==========================================================================
   3. Slide-Out Mini Cart Drawer & Quick View Modal
   ========================================================================== */
.kosmo-cart-drawer {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(430px, 92vw);
	background: var(--kosmo-cream);
	z-index: 1120;
	display: flex;
	flex-direction: column;
	transform: translateX(102%);
	transition: transform 0.35s var(--kosmo-ease);
	box-shadow: var(--kosmo-shadow-lg);
}

.kosmo-cart-drawer.is-open {
	transform: translateX(0);
}

.kosmo-cart-drawer__header {
	padding: 18px 22px;
	background: var(--kosmo-white);
	border-bottom: 1px solid var(--kosmo-border);
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.kosmo-cart-drawer__title {
	display: flex;
	align-items: center;
	gap: 10px;
}

.kosmo-cart-drawer__title h3 {
	font-size: 1.2rem;
	margin: 0;
}

.kosmo-cart-drawer__title .kosmo-cart-count {
	position: static;
}

.kosmo-mini-cart-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.kosmo-shipping-progress {
	padding: 14px 20px;
	background: var(--kosmo-white);
	border-bottom: 1px solid var(--kosmo-border);
}

.kosmo-shipping-progress__text {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 0.84rem;
	font-weight: 600;
	color: var(--kosmo-green-primary);
	margin: 0 0 8px;
}

.kosmo-shipping-progress__track {
	height: 7px;
	border-radius: var(--kosmo-radius-pill);
	background: rgba(53, 37, 30, 0.12);
	overflow: hidden;
}

.kosmo-shipping-progress__bar {
	height: 100%;
	background: linear-gradient(90deg, var(--kosmo-green-secondary), var(--kosmo-golden));
	border-radius: var(--kosmo-radius-pill);
	transition: width 0.4s var(--kosmo-ease);
}

.kosmo-mini-cart-empty {
	padding: 56px 28px;
	text-align: center;
	margin: auto 0;
}

.kosmo-mini-cart-empty__icon {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	background: var(--kosmo-white);
	color: var(--kosmo-green-secondary);
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 auto 16px;
}

.kosmo-mini-cart-list {
	list-style: none;
	margin: 0;
	padding: 18px 20px;
	overflow-y: auto;
	flex: 1;
	display: grid;
	gap: 14px;
	align-content: start;
}

.kosmo-mini-cart-item {
	display: grid;
	grid-template-columns: 64px 1fr 24px;
	gap: 12px;
	align-items: center;
	background: var(--kosmo-white);
	padding: 12px;
	border-radius: var(--kosmo-radius-md);
	border: 1px solid var(--kosmo-border);
}

.kosmo-mini-cart-item__thumb img {
	width: 58px;
	height: 68px;
	object-fit: contain;
	margin: 0 auto;
}

.kosmo-mini-cart-item__title {
	font-size: 0.92rem;
	margin: 0 0 2px;
}

.kosmo-mini-cart-item__meta {
	display: block;
	font-size: 0.76rem;
	color: var(--kosmo-muted);
	margin-bottom: 8px;
}

.kosmo-mini-cart-item__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.kosmo-mini-cart-item__price {
	font-weight: 700;
	color: var(--kosmo-green-primary);
}

.kosmo-mini-cart-item__remove {
	border: none;
	background: transparent;
	color: var(--kosmo-muted);
	cursor: pointer;
	padding: 4px;
}

.kosmo-mini-cart-footer {
	padding: 18px 22px;
	background: var(--kosmo-white);
	border-top: 1px solid var(--kosmo-border);
}

.kosmo-mini-cart-subtotal {
	display: flex;
	align-items: center;
	justify-content: space-between;
	font-size: 1.05rem;
	margin-bottom: 6px;
}

.kosmo-mini-cart-subtotal strong {
	font-family: var(--kosmo-font-heading);
	font-size: 1.35rem;
	color: var(--kosmo-green-primary);
}

.kosmo-mini-cart-note {
	font-size: 0.78rem;
	color: var(--kosmo-muted);
	margin-bottom: 14px;
}

.kosmo-mini-cart-actions {
	display: grid;
	grid-template-columns: 1fr 1.25fr;
	gap: 10px;
}

/* Quick View Modal */
.kosmo-quickview-modal {
	position: fixed;
	inset: 0;
	z-index: 1250;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.28s var(--kosmo-ease), visibility 0.28s;
}

.kosmo-quickview-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.kosmo-quickview-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(53, 37, 30, 0.65);
	backdrop-filter: blur(5px);
}

.kosmo-quickview-modal__dialog {
	position: relative;
	z-index: 2;
	width: min(880px, 95vw);
	max-height: 90vh;
	overflow-y: auto;
	background: var(--kosmo-white);
	border-radius: var(--kosmo-radius-lg);
	box-shadow: var(--kosmo-shadow-lg);
	padding: 32px;
}

.kosmo-quickview-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
}

.kosmo-quickview-grid {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 32px;
	align-items: center;
}

.kosmo-quickview-media {
	position: relative;
	background: var(--kosmo-cream);
	border-radius: var(--kosmo-radius-md);
	padding: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kosmo-quickview-img {
	max-height: 340px;
	width: auto;
}

.kosmo-quickview-title {
	font-size: 1.65rem;
	margin-bottom: 10px;
}

.kosmo-quickview-price {
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--kosmo-green-primary);
	margin-bottom: 14px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.kosmo-tax-pill {
	font-size: 0.75rem;
	background: var(--kosmo-cream);
	padding: 3px 10px;
	border-radius: var(--kosmo-radius-pill);
	color: var(--kosmo-muted);
}

.kosmo-quickview-actions {
	display: flex;
	gap: 12px;
	margin: 20px 0;
}

.kosmo-quickview-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	font-size: 0.82rem;
	color: var(--kosmo-muted);
	margin-bottom: 16px;
}

/* ==========================================================================
   4. WooCommerce Cart, Checkout & My Account Styling
   ========================================================================== */
.kosmo-cart-shipping-banner {
	background: var(--kosmo-white);
	padding: 18px 24px;
	border-radius: var(--kosmo-radius-md);
	border: 1px solid var(--kosmo-border);
	margin-bottom: 24px;
}

.kosmo-cart-shipping-banner__text {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--kosmo-green-primary);
	margin-bottom: 10px;
}

.kosmo-wc-content-box {
	background: var(--kosmo-white);
	padding: 36px;
	border-radius: var(--kosmo-radius-lg);
	border: 1px solid var(--kosmo-border);
	box-shadow: var(--kosmo-shadow-sm);
}

.woocommerce table.shop_table {
	border: 1px solid var(--kosmo-border);
	border-radius: var(--kosmo-radius-md);
	overflow: hidden;
}

.woocommerce table.shop_table th {
	background: var(--kosmo-cream);
	color: var(--kosmo-green-primary);
	font-weight: 700;
	padding: 14px 16px;
}

.woocommerce table.shop_table td {
	padding: 16px;
	border-top: 1px solid var(--kosmo-border);
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
	background-color: var(--kosmo-green-primary) !important;
	color: var(--kosmo-white) !important;
	border-radius: var(--kosmo-radius-pill) !important;
	padding: 13px 26px !important;
	font-family: var(--kosmo-font-body) !important;
	font-weight: 600 !important;
	border: none !important;
	transition: background-color 0.25s ease !important;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background-color: var(--kosmo-green-secondary) !important;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
	padding: 12px 15px;
	border-radius: var(--kosmo-radius-sm);
	border: 1px solid var(--kosmo-border-strong);
	background: var(--kosmo-cream);
	font-family: var(--kosmo-font-body);
	font-size: 0.95rem;
}

.woocommerce-checkout #payment {
	background: var(--kosmo-cream) !important;
	border-radius: var(--kosmo-radius-md) !important;
	border: 1px solid var(--kosmo-border) !important;
}


/* 1:1 Square Product Card Media Stage with Genuine Kosmo Studio Packshots */
.kosmo-product-card__media {
	background: #E9D3BA;
	padding: 18px;
	height: auto;
	aspect-ratio: 1 / 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.kosmo-product-card__img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	filter: drop-shadow(0 10px 18px rgba(53, 37, 30, 0.12));
	transition: transform 0.35s var(--kosmo-ease);
}

.kosmo-product-card:hover .kosmo-product-card__img {
	transform: scale(1.04);
}

.kosmo-product-card__title {
	min-height: 2.6em;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.kosmo-product-card__footer {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 10px;
}

.kosmo-product-card__footer .kosmo-product-card__pricing {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
}

.kosmo-btn--card {
	width: 100%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 18px;
	font-size: 0.88rem;
	font-weight: 600;
	background: var(--kosmo-terracotta);
	color: var(--kosmo-white);
	border-radius: var(--kosmo-radius-pill);
	white-space: nowrap;
}

.kosmo-btn--card:hover {
	background: var(--kosmo-cocoa);
	color: var(--kosmo-white);
}

/* ==========================================================================
   Add To Cart Success Modal ('Product added successfully!')
   ========================================================================== */
.kosmo-atc-modal {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s var(--kosmo-ease), visibility 0.3s;
}

.kosmo-atc-modal.is-open {
	opacity: 1;
	visibility: visible;
}

.kosmo-atc-modal__backdrop {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(53, 37, 30, 0.65);
	backdrop-filter: blur(4px);
}

.kosmo-atc-modal__card {
	position: relative;
	z-index: 2;
	background: #ffffff;
	border-radius: var(--kosmo-radius-lg);
	box-shadow: 0 24px 48px rgba(53, 37, 30, 0.22);
	width: 100%;
	max-width: 500px;
	padding: 30px;
	transform: translateY(20px) scale(0.96);
	transition: transform 0.3s var(--kosmo-ease);
}

.kosmo-atc-modal.is-open .kosmo-atc-modal__card {
	transform: translateY(0) scale(1);
}

.kosmo-atc-modal__close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	border: 1px solid var(--kosmo-border);
	background: #ffffff;
	color: var(--kosmo-dark);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.2s, color 0.2s;
}

.kosmo-atc-modal__close:hover {
	background: var(--kosmo-terracotta);
	color: #ffffff;
}

.kosmo-atc-modal__header {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 18px;
	border-bottom: 1px solid var(--kosmo-border);
	margin-bottom: 20px;
}

.kosmo-atc-modal__check-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #e8f5e9;
	color: #2e7d32;
	font-size: 1.4rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.kosmo-atc-modal__title {
	font-family: var(--kosmo-font-heading);
	font-size: 1.25rem;
	color: var(--kosmo-dark);
	margin: 0 0 2px;
}

.kosmo-atc-modal__subtitle {
	font-size: 0.84rem;
	color: var(--kosmo-muted);
	margin: 0;
}

.kosmo-atc-modal__product {
	margin-bottom: 24px;
}

.kosmo-atc-modal__item {
	display: flex;
	align-items: center;
	gap: 16px;
	background: #fbf9f5;
	border: 1px solid var(--kosmo-border);
	border-radius: var(--kosmo-radius-md);
	padding: 14px 16px;
}

.kosmo-atc-modal__thumb {
	width: 64px;
	height: 64px;
	object-fit: contain;
	background: #E9D3BA;
	border-radius: var(--kosmo-radius-sm);
	padding: 4px;
	flex-shrink: 0;
}

.kosmo-atc-modal__details {
	flex-grow: 1;
}

.kosmo-atc-modal__pname {
	font-size: 0.95rem;
	font-weight: 600;
	color: var(--kosmo-dark);
	margin: 0 0 4px;
	line-height: 1.25;
}

.kosmo-atc-modal__pack {
	display: inline-block;
	background: rgba(198, 154, 69, 0.18);
	color: var(--kosmo-dark);
	font-size: 0.75rem;
	font-weight: 700;
	padding: 2px 8px;
	border-radius: var(--kosmo-radius-pill);
	margin-bottom: 4px;
}

.kosmo-atc-modal__qty-price {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 0.85rem;
	color: var(--kosmo-muted);
}

.kosmo-atc-modal__price {
	font-weight: 700;
	color: var(--kosmo-terracotta);
}

.kosmo-atc-modal__actions {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 10px;
}

.kosmo-atc-modal__actions .kosmo-btn {
	padding: 10px 12px;
	font-size: 0.82rem;
	font-weight: 600;
	text-align: center;
	justify-content: center;
	white-space: nowrap;
}

@media (max-width: 520px) {
	.kosmo-atc-modal__actions {
		grid-template-columns: 1fr;
		gap: 8px;
	}
	.kosmo-atc-modal__card {
		padding: 20px;
	}
}

/* ==========================================================================
   Mini Cart Actions & Add More Button
   ========================================================================== */
.kosmo-mini-cart-add-more-btn {
	background: transparent;
	color: var(--kosmo-terracotta);
	border-color: var(--kosmo-terracotta);
	font-weight: 600;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.kosmo-mini-cart-add-more-btn:hover {
	background: var(--kosmo-terracotta);
	color: #ffffff;
}

.kosmo-mini-cart-action-group {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.kosmo-mini-cart-action-group .kosmo-btn {
	justify-content: center;
	padding: 12px 14px;
	font-weight: 600;
}

.woocommerce #respond input#submit.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
	background-color: var(--kosmo-terracotta) !important;
	color: var(--kosmo-white) !important;
}

.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
	background-color: var(--kosmo-cocoa) !important;
}