/*
Theme Name: Ecommify Theme
Theme URI:  https://getyourstore.online/themes/ecommify-theme-for-wordpress/
Author:      Getyourstore
Author URI:  https://Getyourstore.online
Description: Professional e-commerce theme with a modern, clean design.
Version:     1.2
License:     GNU General Public License v2 or later
Text Domain: ecom-pro
*/
@charset "utf-8";

/* ========================================================================
* CSS Reset
* ======================================================================== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;
}
body {
	line-height: 1;
}
ol, ul {
	list-style: none;
}
blockquote, q {
	quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
	content: '';
	content: none;
}
table {
	border-collapse: collapse;
	border-spacing: 0;
}
*, *:before, *:after {
	box-sizing: border-box;
}

/* ========================================================================
* Variables & Base (NEW STYLE)
* ======================================================================== */
:root {
	/* Typography System */
	--font-family-body: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-family-heading: "Helvetica Neue", Helvetica, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	--font-size-xs: 0.75rem;    /* 12px */
	--font-size-sm: 0.875rem;   /* 14px */
	--font-size-base: 1rem;     /* 16px */
	--font-size-lg: 1.125rem;   /* 18px */
	--font-size-xl: 1.25rem;    /* 20px */
	--font-size-2xl: 1.5rem;    /* 24px */
	--font-size-3xl: 1.875rem;  /* 30px */
	--line-height-tight: 1.2;
	--line-height-normal: 1.5;
	--line-height-relaxed: 1.75;

	/* Layout & Spacing */
	--max-width: 1440px;
	--container-padding: 1.5rem;
	--grid-gap: 1.5rem;
	--header-height: 80px; /* Taller header */

	/* Colors - Soft, Pastel Palette */
	--accent: #333;         /* Muted pink */
	--accent-hover: #C68E8E;
	--price-color: #333;
	--sale-color: #333;
	--success-color: #059669;
	--star-color: #F59E0B;

	/* Text Colors */
	--text-dark: #333;
	--text-medium: #555;
	--text-light: #777;
	--text-lighter: #999;

	/* Background Colors */
	--body-bg: #FFFFFF;
	--bg-soft-pink: #FDF1F1;
	--bg-soft-beige: #F9F7F3;
	--bg-soft-green: #EEFBF6;
	--footer-bg: #F9F7F3;
	--footer-text: #555;
	--footer-heading: #333;

	/* Borders & Shadows */
	--border-color: #EEEEEE;
	--shadow-sm: 0 1px 2px rgba(0,0,0,0.02);
	--shadow: 0 4px 12px rgba(0,0,0,0.03);
	--shadow-md: 0 8px 16px rgba(0,0,0,0.03);
	--shadow-lg: 0 12px 24px rgba(0,0,0,0.03);
	--radius-sm: 4px;
	--radius-md: 8px;
	--radius-lg: 16px;
	--radius-full: 9999px; /* For buttons */
}
html {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	scroll-behavior: smooth;
}
body {
	margin: 0;
	padding: 0;
	font-family: var(--font-family-body);
	line-height: 1.6;
	color: var(--text-dark);
	background: var(--body-bg);
}
body.cart-is-open,
body.menu-is-open,
body.quick-view-is-open,
body.search-is-open {
	overflow: hidden;
}
.site {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: var(--container-padding);
	width: 100%;
}

@media (min-width: 768px) {
	.site {
		padding: calc(var(--container-padding) * 1.5);
	}
}

a {
	color: var(--accent);
	text-decoration: none;
	transition: all 0.2s ease;
}

a:hover {
	color: var(--accent-hover);
	text-decoration: none;
}

/* Modern Typography Scale */
h1, h2, h3, h4, h5, h6 {
	margin-top: 1.5em;
	margin-bottom: 0.75em;
	font-family: var(--font-family-heading);
	line-height: var(--line-height-tight);
	color: var(--text-dark);
	font-weight: normal;
}

h1 { 
	font-size: var(--font-size-3xl);
}
h2 { 
	font-size: var(--font-size-2xl);
	color: var(--text-medium);
}
h3 { 
	font-size: var(--font-size-xl);
	color: var(--text-medium);
}

@media (min-width: 768px) {
	h1 { font-size: calc(var(--font-size-3xl) * 1.2); }
	h2 { font-size: calc(var(--font-size-2xl) * 1.1); }
	h3 { font-size: calc(var(--font-size-xl) * 1.1); }
}

img {
	max-width: 100%;
	height: auto;
}
main {
	min-height: 60vh;
}
.site-content {
	padding: 0;
}
.button,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: var(--accent);
	color: #fff !important;
	padding: 0.75rem 1.5rem;
	border: none;
	border-radius: var(--radius-full); /* Rounded buttons */
	font-size: var(--font-size-sm);
	font-family: var(--font-family-heading);
	cursor: pointer;
	text-decoration: none;
	text-align: center;
	transition: all 0.2s ease;
	line-height: var(--line-height-tight);
	height: 2.75rem;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	box-shadow: var(--shadow-sm);
}

.button:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	background: var(--accent-hover);
	color: #fff;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
}

.button:disabled,
button[type="submit"]:disabled {
	background: var(--text-lighter);
	cursor: not-allowed;
	opacity: 0.7;
	transform: none;
	box-shadow: none;
}

/* ========================================================================
* Text Content Styling
* ======================================================================== */
.entry-content > *:first-child {
	margin-top: 0;
}
.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
	color: var(--text-dark);
	font-weight: normal;
}
.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote {
	margin-bottom: 1.5em;
	line-height: 1.7;
	font-size: 1.05rem;
	color: var(--text-light);
}
.entry-content > p:first-of-type {
	font-size: 1.15rem;
	color: var(--text-dark);
}
.entry-content a {
	text-decoration: underline;
	text-decoration-color: var(--accent);
	text-underline-offset: 3px;
}
.entry-content a:hover {
	text-decoration-color: var(--accent-hover);
}
.entry-content ul,
.entry-content ol {
	padding-left: 1.5em;
}
.entry-content ul {
	list-style: disc;
}
.entry-content ol {
	list-style: decimal;
}
.entry-content li {
	margin-bottom: 0.5em;
}
.entry-content blockquote {
	border-left: 3px solid var(--accent);
	padding-left: 1.5em;
	font-style: italic;
	color: var(--text-dark);
}

/* ========================================================================
* Product Short Description Styling
* ======================================================================== */
.product-short-description {
	font-size: var(--font-size-base);
	color: var(--text-medium);
	line-height: var(--line-height-relaxed);
	margin-top: 1rem;
	margin-bottom: 2rem;
}

.product-short-description p {
	margin-bottom: 1em;
}

.product-short-description strong,
.product-short-description b {
	color: var(--text-dark);
	font-weight: 600;
}

.product-short-description em,
.product-short-description i {
	color: var(--text-medium);
	font-style: italic;
}

.product-short-description del,
.product-short-description s {
	color: var(--text-lighter);
	text-decoration: line-through;
}

.product-short-description ul,
.product-short-description ol {
	margin: 1em 0;
	padding-left: 1.5em;
}

.product-short-description ul {
	list-style: disc;
}

.product-short-description ol {
	list-style: decimal;
}

.product-short-description li {
	margin-bottom: 0.4em;
	line-height: 1.6;
}

.product-short-description a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.product-short-description a:hover {
	color: var(--accent-hover);
	text-decoration-color: var(--accent-hover);
}


/* ========================================================================
* Sticky Top Bar (Notice + Header)
* ======================================================================== */
.site-top {
	position: sticky;
	top: 0;
	z-index: 999;
	background: #fff;
	box-shadow: 0 2px 10px rgba(0,0,0,0.03); /* Softer shadow */
}
body.admin-bar .site-top {
	top: 32px;
}

/* ========================================================================
 * Site Notice Bar (CSS Animation Marquee) - v4 (FIXED)
 * ======================================================================== */
        
.notice-bar-container {
    padding: 0;
    height: 36px;
    overflow: hidden; /* Necessary for animation overflow */
    position: relative;
    font-family: var(--font-family-heading);
    box-sizing: border-box;
    display: block;
}

/* Premium Color Themes for Different Notice Types */
.free-shipping-notice-bar {
    background: #ecfdf5; /* soft emerald */
    color: #065f46;
    border-bottom: 1px solid #d1fae5;
}

.free-shipping-notice-bar .notice-message-scroll {
    color: #065f46;
}

.site-wide-notice-bar {
    background: #ffe3ec; /* soft pink */
    color: #9d174d;
    border-bottom: 1px solid #fbcfe8;
}

.site-wide-notice-bar .notice-message-scroll {
    color: #9d174d;
}

.notice-marquee-wrapper {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    height: 36px;
    will-change: transform;
    animation: marquee-scroll 18s linear infinite; /* Smoother pace */
    transition: animation-play-state 0.2s ease;
}

.notice-marquee-wrapper:hover {
    animation-play-state: paused;
    cursor: pointer;
}

.notice-message-scroll {
    flex: 0 0 auto;
    white-space: nowrap;
    line-height: 35px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding-right: 80px;
}

/* translates full width of both copies */
@keyframes marquee-scroll {
    0%   { transform: translate3d(0,0,0); }
    100% { transform: translate3d(-100%,0,0); }
}



/* Hide old flipper elements */
.notice-bar-flipper,
.notice-message {
    display: none !important;
}

/* Hide old marquee tag if it's still there */
.notice-message-marquee {
    display: none !important;
}

/* ========================================================================
* Header (NEW STYLE)
* ======================================================================== */
.header-container {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem; /* Use container padding */
	height: var(--header-height);
	display: grid; /* CHANGED */
	grid-template-columns: 1fr auto 1fr; /* NEW 3-col layout */
	align-items: center;
}
@media (min-width: 768px) {
	.header-container {
		padding: 0 2rem;
	}
}

/* MODIFIED for 3-col layout */
.header-left, .header-right {
	display: flex;
	align-items: center;
}
.header-left {
	gap: 1rem;
	justify-content: flex-start; /* NEW */
}
.header-right {
	gap: 0.5rem; /* Tighter icon gap */
	justify-content: flex-end; /* NEW */
}
.site-branding {
	text-align: center; /* CHANGED */
}
.site-branding .site-title {
	font-size: 1.8rem;
	color: var(--text-dark);
	text-decoration: none;
}
.site-branding .site-desc {
	display: none;
}
.site-branding .site-description {
	font-size: 0.85rem;
	color: var(--text-light);
	margin-top: 4px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
}
/* NEW: Site Logo */
.site-branding .site-logo {
	display: block;
	max-height: calc(var(--header-height) - 30px); /* 80px - 30px = 50px */
	width: auto;
}
@media (min-width: 768px) {
	.site-branding .site-title {
		font-size: 2.2rem;
	}
	.site-branding .site-logo {
		max-height: calc(var(--header-height) - 20px); /* 80px - 20px = 60px */
	}
}

.header-cart-button,
.header-wishlist-btn,
.header-menu-btn,
.header-icon-btn { /* New class for all icons */
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 8px;
	position: relative;
	color: var(--text-dark);
	line-height: 1;
	border-radius: 50%;
	transition: all 0.2s ease;
}
.header-cart-button:hover,
.header-wishlist-btn:hover,
.header-menu-btn:hover,
.header-icon-btn:hover {
	background: var(--bg-soft-beige);
	color: var(--text-dark);
}

.header-cart-button .cart-icon,
.header-wishlist-btn .heart-icon,
.header-menu-btn svg,
.header-icon-btn svg {
	width: 26px;
	height: 26px;
	stroke: currentColor;
	stroke-width: 1.5; /* Thinner stroke */
	transition: all 0.2s ease;
}
.header-wishlist-btn .heart-icon {
	fill: none;
}

/* Reposition menu button on desktop */
/*
@media (min-width: 992px) {
.header-menu-btn {
display: none; // REMOVED to show button on desktop
}
}
*/

/* Show menu button on mobile */
@media (max-width: 991px) {
	.header-left {
		gap: 0.5rem;
	}
	.header-right .header-wishlist-btn { /* MODIFIED: Only hide wishlist btn */
		display: none; /* Hide extra icons on mobile */
	}
}


.cart-count-bubble {
	position: absolute;
	top: -2px;
	right: -4px;
	background: var(--accent);
	color: #fff;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 11px;
	transform: scale(0);
	transition: transform 0.2s ease;
}
.cart-count-bubble.is-active {
	transform: scale(1);
}

/* ========================================================================
* Footer (NEW STYLE)
* ======================================================================== */
footer.site-footer {
	padding: 60px 20px 0;
	margin-top: 60px;
	background: var(--footer-bg); /* Soft beige */
	color: var(--footer-text);
	font-size: 0.95rem;
	line-height: 1.7;
	border-top: 1px solid var(--border-color);
}

.footer-container {
	max-width: 1200px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

@media (min-width: 768px) {
	.footer-container {
		grid-template-columns: 2fr 1fr 1fr; /* 3 columns */
		gap: 50px;
	}
}
@media (min-width: 992px) {
	.footer-container {
		grid-template-columns: 2fr 1fr 1fr 1fr; /* 4 columns */
	}
}

.footer-column h2 {
	font-size: 1.1rem; /* Smaller footer heading */
	color: var(--footer-heading);
	margin-top: 0;
	margin-bottom: 20px;
	text-transform: uppercase;
	letter-spacing: 0.6px;
}

.footer-column p {
	margin: 0 0 15px;
	color: var(--footer-text);
}

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

.footer-menu li {
	margin-bottom: 10px;
}

.footer-menu a {
	color: var(--footer-text);
	text-decoration: none;
	transition: all 0.2s ease;
}

.footer-menu a:hover,
.footer-menu a:focus {
	color: var(--accent);
	padding-left: 6px;
	outline: none;
}

.footer-socials {
	margin: 0;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
}

.footer-socials a {
	color: var(--footer-text);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: transform 0.2s ease, color 0.2s ease;
}

.footer-socials a:hover,
.footer-socials a:focus {
	color: var(--accent);
	transform: scale(1.15);
	outline: none;
}

.footer-socials svg {
	width: 24px;
	height: 24px;
}

.footer-bottom {
	border-top: 1px solid var(--border-color);
	margin-top: 40px;
	padding: 25px 0;
	text-align: center;
	color: var(--text-lighter); /* Lighter text */
	font-size: 0.9rem;
}

.footer-bottom a {
	color: var(--text-light);
	text-decoration: underline;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
	color: var(--accent);
	text-decoration: none;
}

/* ============================================================
High Contrast & Accessibility Support
============================================================ */
@media (prefers-contrast: more) {
	footer.site-footer {
		background: #fff;
		color: #000;
	}
	.footer-menu a,
	.footer-socials a,
	.footer-bottom {
		color: #000;
	}
	.footer-bottom {
		border-color: #000;
	}
}

/* ========================================================================
* Product Grid (Homepage) (UPDATED)
* ======================================================================== */
.product-grid {
	display: grid;
	grid-template-columns: repeat(1, 1fr); /* 1 column on mobile */
	gap: var(--grid-gap);
	margin-bottom: 2rem;
}

@media (min-width: 480px) {
	.product-grid {
		grid-template-columns: repeat(2, 1fr); /* 2 columns on small screens */
	}
}

@media (min-width: 768px) {
	.product-grid {
		grid-template-columns: repeat(3, 1fr); /* 3 columns on tablet */
	}
}

@media (min-width: 1024px) {
	.product-grid {
		grid-template-columns: repeat(4, 1fr); /* 4 columns on desktop */
	}
}

@media (min-width: 1280px) {
	.product-grid {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* ========================================================================
* Product Card (NEW STYLE) (UPDATED)
* ======================================================================== */
.product-card {
	background: transparent; /* No background */
	border-radius: 0;
	display: flex;
	flex-direction: column;
	transition: all 0.3s ease;
	overflow: hidden;
	position: relative;
	border: none;
	box-shadow: none;
}
.product-card:hover .product-image img {
	transform: scale(1.03);
}
a.product-card-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}
.product-card-top {
	position: relative;
}
.product-card .product-image {
	aspect-ratio: 9 / 16;
	overflow: hidden;
}

.product-card .product-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;      /* fills the frame */
	object-position: center; /* stays centered */
	display: block;
}
.product-card-content {
	padding: 16px 4px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	text-align: center; /* Center text */
}

.product-category {
	font-size: 0.8rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 6px;
}

.product-card h2 {
	font-size: 1.05rem;
	margin: 0 0 8px 0;
	line-height: 1.4;
	color: var(--text-dark);
	font-weight: bold;
}
.product-card:hover h2 {
	color: var(--text-dark); /* No color change */
}
.product-card .product-rating-summary {
	display: none; /* REMOVED as requested */
}

.product-card .product-attributes {
	margin-bottom: 10px;
}
.product-card .product-attributes ul {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px 10px;
	font-size: 0.85rem;
	color: var(--text-light);
}
.product-card .product-attributes li {
	margin: 0;
}
.product-card .product-attributes li strong {
	color: var(--text-dark);
	margin-right: 4px;
}

.product-card .price {
	font-size: 1.1rem;
	color: var(--text-dark);
	margin-bottom: 12px;
	margin-top: auto;
	/* --- NEW: Added flex properties --- */
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: center;
	gap: 8px;
}
.product-card .price .regular-price {
	text-decoration: line-through;
	color: var(--text-light);
	font-size: 0.9rem;
	margin-right: 0; /* Let gap handle spacing */
}
.product-card .price .sale-price {
	color: var(--sale-color);
}
.product-card-actions {
	padding: 0 4px;
	position: static; /* No longer absolute */
	opacity: 1;
	transform: none;
	transition: none;
	background: none;
}

.product-card-actions .button {
	width: 100%;
	padding: 10px;
	font-size: 0.9rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	box-shadow: none;
	background: var(--bg-soft-beige); /* Soft background */
	color: var(--text-dark) !important;
	border: 1px solid var(--border-color);
	text-transform: none;
}
.product-card-actions .button:hover {
	background: var(--accent);
	color: #fff !important;
	border-color: var(--accent);
	transform: none;
}
.product-card-actions .button svg {
	width: 18px;
	height: 18px;
}

/* ========================================================================
* Wishlist & Quick View Buttons (REMOVED from card)
* ======================================================================== */
.wishlist-btn, .quick-view-btn {
	display: none; /* Hide from product card */
}

/* Keep buttons on single product page */
.single-product-page .product-info .wishlist-btn {
	position: static;
	display: inline-flex;
	width: auto;
	height: auto;
	padding: 10px 15px;
	border-radius: var(--radius-full);
	gap: 8px;
	margin-top: 15px;
	background: #fff;
	border: 1px solid var(--border-color);
	color: var(--text-dark);
	font-family: var(--font-family-heading);
}
.single-product-page .product-info .wishlist-btn:hover {
	background: var(--bg-soft-beige);
	border-color: var(--text-dark);
	transform: none;
	box-shadow: none;
}
.single-product-page .product-info .wishlist-btn span {
	font-size: 0.9rem;
}
.single-product-page .product-info .wishlist-btn .heart-icon {
	stroke: currentColor;
}
.single-product-page .product-info .wishlist-btn.is-active {
	background: var(--bg-soft-pink);
	border-color: var(--sale-color);
	color: var(--sale-color);
}
.single-product-page .product-info .wishlist-btn.is-active .heart-icon {
	stroke: var(--sale-color);
	fill: var(--sale-color);
}

.wishlist-page h1 {
	text-align: center;
	margin-top: 0;
}
.loading-spinner {
	border: 4px solid #f3f3f3;
	border-top: 4px solid var(--accent);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	animation: spin 1s linear infinite;
	margin: 50px auto;
}
@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

/* ========================================================================
* Single Product Page
* ======================================================================== */
.single-product-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	background: #fff;
	padding: 15px;
	border-radius: var(--radius-lg);
	box-shadow: none;
	border: none;
}
@media (min-width: 768px) {
	.single-product-layout {
		grid-template-columns: 1fr 1fr;
		gap: 40px;
		padding: 30px;
	}
}
@media (min-width: 1024px) {
	.single-product-layout {
		gap: 50px;
		padding: 40px;
	}
}
.product-gallery .main-image {
	margin-bottom: 15px;
	overflow: hidden;
}
.product-gallery .main-image img {
	width: 100%;
	height: auto; /* Show full portrait image */
	object-fit: contain; /* Show full portrait image */
}
.product-gallery-thumbnails {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
}
.product-gallery-thumbnails img {
	width: 100%;
	aspect-ratio: 1/1;
	object-fit: cover;
	cursor: pointer;
	transition: all 0.2s ease;
	opacity: 0.7;
}
.product-gallery-thumbnails img:hover {
	opacity: 1;
	border-color: var(--accent-hover);
}
.product-gallery-thumbnails img.active {
	border-color: var(--accent);
	opacity: 1;
}
.product-info h1 {
	margin-top: 0;
	margin-bottom: 10px;
	font-family: var(--font-family-heading);
	font-weight: normal;
}
.product-rating-summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 16px;
	padding-bottom: 8px;
	font-family: var(--font-family-body);
	line-height: 1.5;
}
.product-rating-summary .review-count-stars {
	display: inline-flex;
	align-items: center;
}
.product-rating-summary .review-count-stars svg {
	fill: var(--star-color);
	stroke: var(--star-color);
	width: 20px;
	height: 20px;
	vertical-align: middle;
}
.product-rating-summary .review-count-number {
	font-size: 0.95rem;
	color: var(--text-dark);
}
.product-rating-summary .review-count-number a {
	color: var(--text-dark);
	text-decoration: none;
	transition: color 0.2s ease;
}
.product-rating-summary .review-count-number a:hover {
	color: var(--accent);
}
.product-rating-summary .review-count-number.no-reviews a {
	font-style: normal;
	color: var(--text-light);
}

.product-info .price {
	font-size: var(--font-size-xl);
	margin-bottom: 1rem;
	color: var(--price-color);
	display: flex;
	align-items: baseline;
	flex-wrap: wrap; /* --- ADDED: Allow wrap --- */
	gap: 0.75rem;
	letter-spacing: -0.02em;
}

.product-info .price .regular-price {
	text-decoration: line-through;
	color: var(--text-lighter);
	font-size: var(--font-size-xl);
}

.product-info .price .sale-price {
	color: var(--sale-color);
}

.product-info .stock-status {
	margin-bottom: 1.25rem;
	font-size: var(--font-size-sm);
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
}

.product-info .stock-status.in-stock {
	color: var(--success-color);
}

.product-info .stock-status::before {
	content: "";
	display: inline-block;
	width: 0.5rem;
	height: 0.5rem;
	border-radius: 50%;
	background: currentColor;
}

/* --- REMOVED: .out-of-stock style --- */

.product-short-description {
	font-size: 1rem;
	color: var(--text-light);
	border-top: 1px solid var(--border-color);
	padding-top: 20px;
	margin-top: 20px;
	line-height: 1.7;
}
.product-short-description p {
	margin-bottom: 0;
}

/* --- REMOVED: .product-info .product-attributes --- */

.add-to-cart-form {
	display: flex;
	flex-wrap: wrap; /* --- ADDED: Allow wrap --- */
	gap: 10px;
	margin-top: 25px;
}
.add-to-cart-form .button {
	flex-grow: 1;
}

/* ========================================================================
* Product Tabs
* ======================================================================== */
.product-tabs {
	margin-top: 40px;
}

.tabs-nav {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
	border-bottom: 2px solid var(--border-color);
}

.tabs-nav a {
	display: inline-block;
	padding: 12px 22px;
	color: var(--text-light);
	border-bottom: 2px solid transparent;
	margin-right: 10px;
	text-decoration: none;
	position: relative;
	bottom: -2px;
	font-family: var(--font-family-heading);
	font-size: 1.05rem;
	transition: all 0.2s ease;
}

.tabs-nav a:hover {
	color: var(--text-dark);
}

.tabs-nav a.active {
	color: var(--accent);
	border-bottom-color: var(--accent);
}

.tabs-content-container {
	background-color: #fff;
	border: none;
	border-top: 1px solid var(--border-color);
	border-radius: 0 0 var(--radius-lg) var(--radius-lg);
	padding: 28px;
	box-shadow: none;
}

.tab-pane {
	display: none;
	animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
	from { opacity: 0; }
	to { opacity: 1; }
}

.tab-pane.active {
	display: block;
}

/* Responsive */
@media (max-width: 768px) {
	.tabs-nav a {
		font-size: 14px;
		padding: 10px 16px;
	}

	.tabs-content-container {
		padding: 20px;
	}
}

@media (max-width: 480px) {
	.tabs-nav {
		flex-direction: column;
		border-bottom: none;
		gap: 5px;
	}
	.tabs-nav a {
		border: 1px solid var(--border-color);
		border-radius: var(--radius-full); /* Rounded tabs */
		margin-right: 0;
		bottom: 0;
		border-bottom: 1px solid var(--border-color);
	}
	.tabs-nav a.active {
		background: var(--accent);
		color: #fff;
		border-color: var(--accent);
	}
	.tabs-content-container {
		border: 1px solid var(--border-color);
		border-radius: var(--radius-lg);
		margin-top: 10px;
	}
}

/* ========================================================================
* Reviews (Comments)
* ======================================================================== */
.comments-area {
	margin: 0;
}
.comments-title, .reviews-title {
	font-size: 1.5rem;
	margin-top: 0;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px solid var(--border-color);
}
.comment-list, .review-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.comment {
	padding: 25px 0;
	border-bottom: 1px solid var(--border-color);
}
.comment:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}
.comment-body {
	display: flex;
	gap: 20px;
}
.comment-author img, .comment-author.vcard img {
	border-radius: 50%;
	width: 48px;
	height: 48px;
}
.comment-content, .comment-content-wrapper {
	flex: 1;
}
.comment-meta {
	margin-bottom: 10px;
}
.comment-author .fn, .review-author-meta .fn {
	color: var(--text-dark);
	font-size: 1.05rem;
}
.comment-metadata, .review-author-meta time {
	font-size: 0.85rem;
	color: var(--text-light);
}
.comment-metadata a {
	color: var(--text-light);
}
.comment-content p:last-child {
	margin-bottom: 0;
}
.reply {
	margin-top: 10px;
}
.comment-reply-link {
	font-size: 0.9rem;
	text-decoration: none;
}
.comment-respond {
	margin-top: 30px;
	padding: 22px;
	border: 1px solid var(--border-color); /* Add border */
	background: #fff;
	border-radius: var(--radius-lg);
}
.comment-reply-title {
	font-size: 1.3rem;
	margin-top: 0;
}
.comment-form p {
	margin-bottom: 15px;
}
.comment-form label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 5px;
}
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 12px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	background: var(--bg-soft-beige);
	transition: all 0.2s ease;
}
.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form input[type="url"]:focus,
.comment-form textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(212, 163, 163, 0.2);
	background: #fff;
}
.form-submit .submit {
	margin-top: 10px;
}
.review-rating-wrapper {
	margin-top: 5px;
}
/* Review Image */
.review-image-wrapper {
	margin-top: 15px;
}
.review-image-wrapper img {
	max-width: 100px;
	height: auto;
	border-radius: var(--radius-md);
	border: 1px solid var(--border-color);
}

/* ========================================================================
* Cart Sidebar
* ======================================================================== */
.cart-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 999;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.cart-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.cart-sidebar {
	position: fixed;
	top: 0;
	right: 0;
	width: 100%;
	max-width: 420px;
	height: 100%;
	background: #fff;
	z-index: 1000;
	transform: translateX(100%);
	transition: transform 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
	box-shadow: -5px 0 25px rgba(0,0,0,0.1);
}
.cart-sidebar.is-open {
	transform: translateX(0);
}
.cart-sidebar-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
	flex-shrink: 0;
}
.cart-sidebar-header h3 {
	margin: 0;
	font-size: 1.3rem;
}
.cart-sidebar-close {
	background: none;
	border: none;
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
	padding: 5px;
	color: var(--text-light);
	transition: all 0.2s ease;
}
.cart-sidebar-close:hover {
	color: var(--text-dark);
	transform: rotate(90deg);
}
.cart-sidebar-content {
	flex-grow: 1;
	overflow-y: auto;
	position: relative;
}
.cart-sidebar-content.is-loading:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,0.7);
	z-index: 1;
}
.cart-sidebar-empty-message {
	text-align: center;
	padding: 40px 20px;
	color: var(--text-light);
}
.cart-sidebar-items {
	padding: 10px 20px;
}
.cart-sidebar-item {
	display: flex;
	gap: 15px;
	padding: 20px 0;
	border-bottom: 1px solid var(--border-color);
}
.cart-item-image {
	flex-shrink: 0;
	width: 70px;
	height: 70px;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	overflow: hidden;
}
.cart-item-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.cart-item-details {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}
.cart-item-title {
	color: var(--text-dark);
	text-decoration: none;
	font-size: 1rem;
	line-height: 1.3;
}
.cart-item-title:hover {
	color: var(--accent);
}
.cart-item-price {
	font-size: 0.9rem;
	color: var(--text-light);
	margin-top: 4px;
}
.cart-item-quantity {
	margin-top: auto;
}
.cart-item-qty {
	width: 50px;
	padding: 4px;
	font-size: 0.9rem;
	border: 1px solid var(--border-color);
	border-radius: 4px;
}
.cart-item-remove {
	background: none;
	border: none;
	font-size: 1.5rem;
	color: var(--text-light);
	cursor: pointer;
	line-height: 1;
	padding: 5px;
	margin-left: auto;
	transition: all 0.2s ease;
}
.cart-item-remove:hover {
	color: var(--sale-color);
	transform: scale(1.1);
}
.cart-sidebar-footer {
	padding: 20px;
	border-top: 1px solid var(--border-color);
	background: var(--bg-soft-beige);
	flex-shrink: 0;
}
.cart-subtotal {
	display: flex;
	justify-content: space-between;
	font-size: 1.1rem;
	margin-bottom: 15px;
}
.cart-sidebar-footer .button {
	width: 100%;
	text-align: center;
}

/* ========================================================================
* Side Menu
* ======================================================================== */
.side-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.5);
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.side-menu-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.side-menu {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	max-width: 320px;
	height: 100%;
	background: #fff;
	z-index: 1002;
	transform: translateX(-100%);
	transition: transform 0.3s ease-in-out;
	display: flex;
	flex-direction: column;
	box-shadow: 5px 0 25px rgba(0,0,0,0.1);
}
.side-menu.is-open {
	transform: translateX(0);
}
.side-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 16px 20px;
	border-bottom: 1px solid var(--border-color);
	flex-shrink: 0;
}
.side-menu-header h3 {
	margin: 0;
	font-size: 1.3rem;
}
.side-menu-close {
	background: none;
	border: none;
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
	padding: 5px;
	color: var(--text-light);
	transition: all 0.2s ease;
}
.side-menu-close:hover {
	color: var(--text-dark);
	transform: rotate(90deg);
}
.side-menu-content {
	flex-grow: 1;
	overflow-y: auto;
	padding: 20px;
}
.side-menu-nav ul,
.side-menu-categories ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.side-menu-nav ul li a {
	display: block;
	padding: 14px 10px;
	text-decoration: none;
	color: var(--text-dark);
	border-radius: var(--radius-md);
	transition: all 0.2s ease;
}
.side-menu-nav ul li a:hover {
	color: var(--accent);
	background: var(--bg-soft-beige);
}
.side-menu-categories {
	margin-top: 30px;
}
.side-menu-categories h4 {
	margin-top: 0;
	font-size: 1.1rem;
	padding: 0 10px;
}
.side-menu-categories ul li a {
	display: block;
	padding: 10px;
	text-decoration: none;
	color: var(--text-light);
	font-size: 0.95rem;
	border-radius: var(--radius-md);
	transition: all 0.2s ease;
}
.side-menu-categories ul li a:hover {
	color: var(--accent);
	background: var(--bg-soft-beige);
}

/* ========================================================================
* Quantity Input
* ======================================================================== */
.quantity-input-wrapper {
	display: flex;
	align-items: center;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	overflow: hidden;
}
.quantity-input-wrapper .quantity-btn {
	background-color: var(--bg-soft-beige);
	border: none;
	cursor: pointer;
	width: 44px;
	height: 44px;
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1;
	text-align: center;
	transition: background-color 0.2s ease;
	color: var(--text-light);
}
.quantity-input-wrapper .quantity-btn:hover {
	background-color: #F3F4F6;
	color: var(--text-dark);
}
.quantity-input-wrapper .quantity-input,
.quantity-input-wrapper .cart-item-qty {
	width: 60px;
	height: 44px;
	text-align: center;
	border: none;
	border-left: 1px solid var(--border-color);
	border-right: 1px solid var(--border-color);
	appearance: textfield;
	-webkit-appearance: textfield;
	-moz-appearance: textfield;
	font-size: 1rem;
	padding: 5px;
	color: var(--text-dark);
	background: #fff;
}
.quantity-input-wrapper .quantity-input:focus,
.quantity-input-wrapper .cart-item-qty:focus {
	outline: none;
}
.quantity-input-wrapper .quantity-input::-webkit-outer-spin-button,
.quantity-input-wrapper .quantity-input::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}
/* Cart sidebar quantity - responsive tweak */
.cart-sidebar .quantity-input-wrapper {
	height: 36px;
	border-radius: var(--radius-full);
	display: flex;
	max-width: 100%; /* Ensure it doesn't overflow */
}

.cart-sidebar .quantity-input-wrapper .quantity-btn {
	flex: 0 0 36px; /* Fixed size for buttons */
	height: 36px;
	font-size: 1.2rem;
}

.cart-sidebar .quantity-input-wrapper .cart-item-qty {
	flex: 1; /* Takes remaining space */
	height: 36px;
	min-width: 40px; /* Optional, prevents it from being too small */
	font-size: 0.9rem;
}


/* ========================================================================
* Cart & Checkout Page
* ======================================================================== */
.cart-checkout-page h1 {
	text-align: center;
	margin-bottom: 30px;
	margin-top: 10px;
	font-weight: normal;
}
.checkout-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}
@media (min-width: 992px) {
	.checkout-layout {
		grid-template-columns: 1fr 0.8fr;
		gap: 40px;
	}
	.cart-details {
		order: 2;
	}
	.checkout-form-container {
		order: 1;
	}
}
.cart-details, .checkout-form-container {
	background: #fff;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-lg);
	padding: 20px;
	box-shadow: none;
}
@media (min-width: 768px) {
	.cart-details, .checkout-form-container {
		padding: 30px;
	}
}
.cart-details h2, .checkout-form-container h2 {
	margin-top: 0;
	font-size: 1.5rem;
}
.cart-table {
	width: 100%;
	margin-bottom: 20px;
}
.cart-table th,
.cart-table td {
	padding: 12px 0;
	text-align: left;
	vertical-align: middle;
	border-bottom: 1px solid var(--border-color);
}
.cart-table th {
	font-size: 0.9rem;
	color: var(--text-dark);
}
.cart-table tfoot th,
.cart-table tfoot td {
	border-bottom: none;
}
.cart-table .product-thumbnail { width: 60px; padding-right: 15px;}
.cart-table .product-thumbnail img {
	width: 60px;
	height: 60px;
	object-fit: cover;
	border-radius: var(--radius-md);
}
.cart-table .product-name a {
	color: var(--text-dark);
}
.cart-table .product-quantity {
	font-size: 0.9rem;
	color: var(--text-light);
}
.cart-table .product-subtotal {
	text-align: right;
}
.cart-table tfoot tr th {
}
.cart-table tfoot tr td {
	text-align: right;
}
.cart-table tfoot .cart-total-row th,
.cart-table tfoot .cart-total-row td {
	font-size: 1.2rem;
	color: var(--text-dark);
}

.cart-notice {
	font-size: 0.9rem;
	color: var(--text-light);
}
.inline-link {
	background: none;
	border: none;
	color: var(--accent);
	text-decoration: underline;
	cursor: pointer;
	padding: 0;
	font-size: inherit;
}
.inline-link:hover {
	color: var(--accent-hover);
}

.checkout-form .form-row {
	margin-bottom: 20px;
}
.checkout-form label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.9rem;
}
.checkout-form label .required {
	color: var(--sale-color);
	margin-left: 2px;
}
.checkout-form input[type="text"],
.checkout-form input[type="email"],
.checkout-form input[type="tel"],
.checkout-form textarea {
	width: 100%;
	padding: 12px;
	font-size: 1rem;
	border: 1px solid var(--border-color);
	border-radius: var(--radius-md);
	box-sizing: border-box;
	background: #fff;
	transition: all 0.2s ease;
}
.checkout-form input[type="text"]:focus,
.checkout-form input[type="email"]:focus,
.checkout-form input[type="tel"]:focus,
.checkout-form textarea:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(212, 163, 163, 0.2);
}
.payment-method {
    margin: 30px 0;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
	margin-bottom: 20px;
}

.payment-method h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.payment-method-option {
    background: #fffaf4;
    border: 1px solid #e6d5c3;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.payment-method-header {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
}

.payment-method-header input[type="radio"] {
    accent-color: #c68a4b;
    transform: scale(1.2);
    cursor: pointer;
}

.payment-method-header label {
    cursor: pointer;
    font-weight: 600;
    color: #4a2c16;
    font-size: 1.05rem;
}

.payment-description {
    font-size: 0.95rem;
    color: #6a4a2f;
    margin: 5px 0 15px 28px;
}

.bank-details {
    background: #fff;
    border: 1px solid #e8e2d6;
    border-radius: 10px;
    padding: 15px 20px;
}

.bank-details h4 {
    margin-bottom: 10px;
    font-size: 1rem;
    color: #3a2a1a;
}

.bank-details ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bank-details li {
    margin: 5px 0;
    font-size: 0.95rem;
    color: #444;
}

.bank-details li strong {
    color: #2e1b0e;
}

.payment-note {
    margin-top: 12px;
    background: #fff8ef;
    border-left: 4px solid #d19c62;
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #6a4a2f;
    border-radius: 6px;
}

.place-order-button {
	width: 100%;
}
.checkout-error-message {
	background: #FEF2F2;
	color: #991B1B;
	border: 1px solid #FCA5A5;
	border-radius: var(--radius-md);
	padding: 10px 15px;
	margin-bottom: 15px;
	font-size: 0.9rem;
}

.order-done-message,
.cart-empty-message {
    padding: 40px;
    text-align: center;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}
.order-done-message h1,
.cart-empty-message h1 {
    margin-top: 0;
    font-weight: normal;
}
.order-done-message p,
.cart-empty-message p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 25px;
}

/* --- New Button Styles --- */

.order-confirmation-notice {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 15px;
    margin-bottom: 25px;
}
.order-confirmation-notice p {
    margin: 0;
    color: var(--text);
}

.order-done-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
}

.order-done-actions .button {
    width: 100%;
    text-align: center;
    padding: 12px;
    box-sizing: border-box; /* Ensures padding doesn't break width */
}

.order-done-actions .whatsapp-confirm-button {
    background-color: #25D366; /* WhatsApp Green */
    border-color: #25D366;
    color: #fff;
}
.order-done-actions .whatsapp-confirm-button:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    color: #fff;
}

.order-done-actions .continue-shopping-button a {
    background-color: #f0f0f0;
    border-color: #ccc;
	color: #bbb;
}
.order-done-actions .continue-shopping-button:hover {
    background-color: #e0e0e0;
    border-color: #aaa;
    color: #000;
}

.homepage-section {
	margin-bottom: 3rem;
	position: relative;
}

.section-title {
	text-align: center;
	margin: 2rem 0;
	font-size: var(--font-size-2xl);
	color: var(--text-dark);
	letter-spacing: -0.02em;
	line-height: var(--line-height-tight);
}

.section-title::after {
	display: none; /* Remove underline */
}

@media (min-width: 768px) {
	.homepage-section {
		margin-bottom: 5rem;
	}
	.section-title {
		font-size: var(--font-size-3xl);
		margin: 3rem 0;
	}
}

/* ========================================================================
* Category Cloud (NEW STYLE)
* ======================================================================== */
.category-cloud {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
	padding: 0;
	list-style: none;
}
@media (min-width: 640px) {
	.category-cloud {
		grid-template-columns: repeat(4, 1fr);
	}
}
@media (min-width: 992px) {
	.category-cloud {
		grid-template-columns: repeat(6, 1fr);
	}
}
.category-cloud-item a {
	display: flex;
	flex-direction: column; /* Stack image and text */
	align-items: center;
	gap: 12px;
	background: transparent;
	border: none;
	border-radius: 0;
	padding: 0;
	text-decoration: none;
	color: var(--text-dark);
	transition: all 0.2s ease;
	box-shadow: none;
}
.category-cloud-item a:hover {
	transform: translateY(-3px);
	box-shadow: none;
	color: var(--accent);
}
.category-cloud-item .category-image {
	width: 100%;
	height: auto;
	aspect-ratio: 1 / 1;
	border-radius: 50%; /* Circular image */
	object-fit: cover;
	border: 2px solid var(--accent);
	padding: 4px;
}
.category-cloud-item .category-name {
	font-size: 1rem;
}


.related-products-section {
	margin-top: 60px;
	padding-top: 40px;
	border-top: 1px solid var(--border-color);
}

/* Featured Product Section Update */
.featured-product-layout.single-product-layout {
	border: 1px solid var(--border-color);
	background: var(--bg-soft-beige);
}
.featured-product-layout .product-info h1 {
	font-size: 1.8rem;
	font-weight: normal;
}
.featured-product-layout .product-info h1 a {
	color: inherit;
	text-decoration: none;
}
.featured-product-layout .product-info {
	text-align: left;
}
.featured-product-layout .add-to-cart-form {
	justify-content: flex-start;
}
@media (max-width: 767px) {
	.featured-product-layout {
		padding: 15px;
	}
	.featured-product-layout .product-gallery {
		max-width: 300px;
		margin-left: auto;
		margin-right: auto;
	}
	.featured-product-layout .product-info h1 {
		font-size: 1.5rem;
	}
	.featured-product-layout .product-info .price {
		font-size: 1.5rem;
	}
	.featured-product-layout .add-to-cart-form {
		flex-direction: column;
		align-items: stretch;
	}
}

/* Featured Product Wishlist Button Fix */
.featured-product-layout .product-info .wishlist-btn {
	position: static;
	display: inline-flex;
	width: auto;
	height: auto;
	padding: 10px 15px;
	border-radius: var(--radius-full);
	gap: 8px;
	margin-top: 15px;
	background: #fff;
	border: 1px solid var(--border-color);
	color: var(--text-dark);
}
.featured-product-layout .product-info .wishlist-btn:hover {
	background: var(--bg-soft-beige);
	border-color: var(--text-dark);
	transform: none;
	box-shadow: none;
}
.featured-product-layout .product-info .wishlist-btn span {
	font-size: 0.9rem;
}
.featured-product-layout .product-info .wishlist-btn .heart-icon {
	stroke: currentColor;
}
.featured-product-layout .product-info .wishlist-btn.is-active {
	background: var(--bg-soft-pink);
	border-color: var(--sale-color);
	color: var(--sale-color);
}
.featured-product-layout .product-info .wishlist-btn.is-active .heart-icon {
	stroke: var(--sale-color);
}

/* ========================================================================
* Search Modal
* ======================================================================== */
.search-overlay {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.6);
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.3s ease, visibility 0.3s ease;
}
.search-overlay.is-open {
	opacity: 1;
	visibility: visible;
}
.search-modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: auto;
	background: #fff;
	z-index: 1002;
	transform: translateY(-100%);
	transition: transform 0.3s ease-in-out;
	box-shadow: var(--shadow-md);
	padding: 2rem;
}
.search-modal.is-open {
	transform: translateY(0);
}
.search-modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	background: var(--bg-soft-beige);
	border: 1px solid var(--border-color);
	border-radius: 50%;
	width: 40px;
	height: 40px;
	font-size: 2.2rem;
	line-height: 1;
	cursor: pointer;
	padding: 0;
	color: var(--text-light);
	z-index: 10;
	transition: all 0.2s ease;
}
.search-modal-close:hover {
	color: var(--text-dark);
	transform: rotate(90deg);
}
.search-form-container {
	max-width: 700px;
	margin: 0 auto;
	padding-top: 1rem;
}
.search-form {
	position: relative;
	width: 100%;
}
.search-form .search-field {
	width: 100%;
	padding: 1rem;
	padding-right: 4rem;
	font-size: 1.2rem;
	border: 2px solid var(--border-color);
	border-radius: var(--radius-full);
	background: var(--bg-soft-beige);
	transition: all 0.2s ease;
}
.search-form .search-field:focus {
	border-color: var(--accent);
	outline: none;
	box-shadow: 0 0 0 3px rgba(212, 163, 163, 0.2);
	background: #fff;
}
.search-form .search-submit {
	position: absolute;
	top: 5px;
	right: 6px;
	width: auto;
	height: calc(100% - 10px);
	padding: 0 2rem;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	box-shadow: none;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	-webkit-clip-path: inset(50%);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
@media (max-width: 767px) {
	.search-modal {
		padding: 1.5rem;
	}
	.search-form-container {
		padding-top: 2rem;
	}
	.search-form .search-field {
		font-size: 1rem;
	}
	.search-form .search-submit {
		padding: 0 1.5rem;
	}
}

/* ========================================================================
* Archive Page
* ======================================================================== */
.archive-header {
	text-align: center;
	padding: 2rem 0;
	margin-bottom: 2rem;
	border-bottom: 1px solid var(--border-color);
}
.archive-header h1 {
	margin: 0;
	font-weight: normal;
}
.archive-description {
	font-size: 1.1rem;
	color: var(--text-light);
	max-width: 600px;
	margin: 1rem auto 0;
}

/* ========================================================================
* 404 Page
* ======================================================================== */
.error-404-page {
	text-align: center;
	padding: 4rem 1rem;
}
.error-404-page h1 {
	font-size: 6rem;
	color: var(--accent);
	margin: 0;
	line-height: 1;
}
.error-404-page p {
	font-size: 1.2rem;
	color: var(--text-light);
	margin: 1rem 0 2rem;
}

/* ========================================================================
* Pagination
* ======================================================================== */
.navigation.pagination {
	margin: 2rem 0;
	font-family: var(--font-family-heading);
}
.nav-links {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
}
.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	padding: 0;
	min-width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--bg-soft-beige);
	color: var(--text-dark);
	transition: all 0.2s ease;
}
.nav-links .page-numbers:hover {
	background: var(--accent);
	color: #fff;
}
.nav-links .page-numbers.current {
	background: var(--accent);
	color: #fff;
}
.nav-links .prev,
.nav-links .next {
	background: transparent;
}
.nav-links .prev:hover,
.nav-links .next:hover {
	background: transparent;
	color: var(--accent);
}
.nav-links .dots {
	background: transparent;
}
.nav-links .dots:hover {
	background: transparent;
	color: var(--text-dark);
}

/* ========================================================================
* WP Admin Conflict Fix
* ======================================================================== */
body.wp-admin .site {
	padding: 0;
	max-width: none;
}

/* ========================================================================
* WhatsApp Floating Button
* ======================================================================== */
.whatsapp-fab {
	position: fixed;
	bottom: 20px;
	left: 20px;
	z-index: 990;
	background-color: #25D366;
	color: #fff;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	/* --- NEW: Hide by default for performance --- */
	opacity: 0;
	transform: scale(0.8);
	transition: all 0.4s ease;
	visibility: hidden;
}
.whatsapp-fab.is-visible {
	/* --- NEW: Class to show button --- */
	opacity: 1;
	transform: scale(1);
	visibility: visible;
}
.whatsapp-fab:hover {
	transform: scale(1.1);
	box-shadow: 0 6px 16px rgba(0,0,0,0.2);
	color: #fff;
}
.whatsapp-fab.is-visible:hover {
	transform: scale(1.1);
}
.whatsapp-fab svg {
	width: 32px;
	height: 32px;
	fill: currentColor;
}

/* ========================================================================
* Order on WhatsApp Button
* ======================================================================== */
.button.whatsapp-order-btn {
	background-color: #25D366;
	margin-top: 10px;
	display: flex; /* Ensure it's a flex container */
	align-items: center;
	justify-content: center;
	gap: 8px; /* Space between icon and text */
}
.button.whatsapp-order-btn:hover {
	background-color: #128C7E;
}
.button.whatsapp-order-btn svg {
	width: 20px;
	height: 20px;
	fill: currentColor;
}

/* ========================================================================
* NEW: Sale Badge (Percentage)
* ======================================================================== */
.sale-badge {
	background: var(--sale-color);
	color: #fff;
	font-size: 0.75rem;
	padding: 4px 8px;
	border-radius: var(--radius-sm);
	line-height: 1;
}
.product-card .price .sale-badge {
	font-size: 0.7rem;
	padding: 3px 6px;
}

/* ========================================================================
* NEW: Size Cloud Options (Single Product)
* ======================================================================== */
.product-size-options {
	margin-top: 20px;
	margin-bottom: 20px;
	padding-top: 20px;
	border-top: 1px solid var(--border-color);
	width: 100%; /* Ensure it spans the form width */
}
.size-guide-label {
	display: block;
	font-size: 0.9rem;
	margin-bottom: 12px;
	color: var(--text-dark);
}
.product-size-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.size-option {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 18px;
	font-size: 0.9rem;
	font-family: var(--font-family-heading);
	color: var(--text-dark);
	background: var(--bg-soft-beige);
	border: 1px solid var(--border-color);
	border-radius: var(--radius-full);
	cursor: pointer;
	transition: all 0.2s ease;
	line-height: 1;
}
.size-option:hover {
	background: var(--bg-soft-pink);
	border-color: var(--accent-hover);
	color: var(--accent-hover);
}
.size-option.active {
	background: var(--accent);
	border-color: var(--accent);
	color: #fff;
	box-shadow: var(--shadow-sm);
}

/* hide description tab + its content */
.tabs-nav a[href="#tab-description"],
#tab-description {
    display: none !important;
}

/* tab visibility */
.tab-pane { display: none; }
.tab-pane.active { display: block; }

/* ========================================================================
 * NEW JS-BASED HERO SLIDER (V2) - MODIFIED
 * ======================================================================== */

.js-hero-slider {
    position: relative;
    width: 100%;
    margin: 0 0 2rem 0;
    overflow: hidden;
}

.slider-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
    /* Added transition for smooth adaptive height changes */
    transition: height 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.slider-track {
    display: flex;
    /* Aligns slides to the top, useful for varying heights */
    align-items: flex-start; 
    transition: transform 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

.slider-slide {
    width: 100%;
    flex-shrink: 0;
    position: relative;
    
    /* * REMOVED fixed heights to allow for adaptive height.
     * The height will now be determined by the content (image) inside.
     */
    /* height: 70vh; */
    /* min-height: 500px; */
    /* max-height: 650px; */
}

/* * NOTE: The styles below (like .slide-container, .product-image) 
 * are for a complex slide structure. Your current PHP only outputs
 * a simple image. These styles are kept for future use if you
 * expand your PHP template.
*/

.slide-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-gradient-1 { background: linear-gradient(180deg, #f8f9ff 0%, #e8eaf6 100%); }
.bg-gradient-2 { background: linear-gradient(180deg, #fff8f8 0%, #ffe8ec 100%); }
.bg-gradient-3 { background: linear-gradient(180deg, #f0f9ff 0%, #e0f2fe 100%); }
.bg-gradient-4 { background: linear-gradient(180deg, #f0fdf4 0%, #dcfce7 100%); }
.bg-gradient-5 { background: linear-gradient(180deg, #fef3f2 0%, #fee2e2 100%); }

.slide-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 2rem 1.5rem;
    gap: 1rem;
    text-align: center;
}

.slide-image-wrapper {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 320px;
    max-height: 55%;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.1));
}

/* This class is from your PHP. Added to make images responsive. */
.hero-slide-image {
    display: block;
    width: 100%;
    height: auto; /* Ensures correct aspect ratio */
}

.slide-content {
    flex-shrink: 0;
    width: 100%;
}

.fashion-quote {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #555;
    font-style: italic;
    margin: 0 0 1rem 0;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.promo-badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: #1a1a1a;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    margin-bottom: 1rem;
    color: #ffffff;
}

.product-title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 1.5rem 0;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2.25rem;
    background: #1a1a1a;
    color: #ffffff !important;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.cta-button:active {
    transform: scale(0.96);
}

/* --- NEW: Dot Navigation --- */
.slider-dots {
    position: absolute;
    bottom: 1.25rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 0.6rem;
}

.slider-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: none;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background: #1a1a1a;
    transform: scale(1.2);
}

.slider-dot:hover {
    background: rgba(0, 0, 0, 0.5);
}


/* Tablet & Desktop */
@media (min-width: 768px) {
    /* Re-adding a min-height for desktop if desired, but still
       allowing it to grow larger for tall images */
    .slider-slide {
        min-height: 400px; 
    }
    
    .slide-container {
        flex-direction: row;
        padding: 3rem 4rem;
        gap: 3rem;
        max-width: 1200px;
        margin: 0 auto;
        text-align: left;
    }

    .slide-image-wrapper {
        order: 2;
        flex: 1;
        max-width: 450px;
        max-height: none;
    }

    .slide-content {
        order: 1;
        flex: 1;
        max-width: 500px;
    }

    .fashion-quote {
        margin-left: 0;
    }

    .product-title {
        font-size: 3rem;
    }

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    }
    
    /* Removed .slider-nav desktop styles */

    .slider-dots {
        bottom: 1.5rem;
        gap: 0.75rem;
    }

    .slider-dot {
        width: 11px;
        height: 11px;
    }

    .slider-slide:nth-child(even) .slide-container {
        flex-direction: row-reverse;
    }

    .slider-slide:nth-child(even) .slide-content {
        text-align: right;
    }
    
    .slider-slide:nth-child(even) .fashion-quote {
        margin-left: auto;
        margin-right: 0;
    }
}

/* ========================================================================
 * UPDATED: Size Chart Button & Modal (v4 - No Button)
 * ======================================================================== */

/* Button on single product page */
.size-guide-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 12px;
}

.size-guide-label {
    margin-bottom: 0;
}

.size-chart-btn {
    background: none;
    border: none;
    padding: 0;
    color: var(--text-light);
    cursor: pointer;
    font-size: 0.9rem;
    font-family: var(--font-family-heading);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.size-chart-btn:hover {
    color: var(--accent);
}

.size-chart-btn svg {
    width: 16px;
    height: 16px;
    stroke: currentColor;
}

/* Modal Overlay */
.size-chart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.75); /* Darker background */
    z-index: 1001;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    cursor: pointer; /* Add cursor pointer to indicate it's clickable */
}

/* Modal Container */
.size-chart-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    z-index: 1002;
    width: auto;
    min-width: 300px;
    max-width: 90vw;
    max-height: 90vh;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
}

/* Modal Content */
.size-chart-modal-content {
    position: relative;
    width: 100%;
}

.size-chart-modal-image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 800px;
    max-height: calc(90vh - 40px);
    object-fit: contain;
    margin: 0 auto;
}

/* --- REMOVED: .size-chart-modal-close styles --- */

/* Open States */
.size-chart-overlay.is-open,
.size-chart-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.size-chart-modal.is-open {
    transform: translate(-50%, -50%) scale(1);
}

/* Prevent body scroll when modal is open */
body.size-chart-is-open {
    overflow: hidden;
}
