.woocommerce-error {
    display: none !important;
}

/* Base styles for the page */

.container {
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
}
.shop-content-grid {
	display:flex;
	gap: 30px;
	flex-wrap: wrap;
}

/* Left Column - Filters */
.left-column {
    flex: 0 0 280px; /* Fixed width for filters */
    background-color: #fff;
    border-radius: 12px;
    border:1px solid black;
    padding: 25px;
    box-sizing: border-box;
    align-self: flex-start; /* Stick to the top */
}

.filter-section {
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
}

.filter-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-section h3 {
    font-size: 1.3em;
    color: #222;
    margin-top: 0;
    margin-bottom: 15px;
    font-weight: 600;
}

.filter-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.filter-section ul li {
    margin-bottom: 10px;
}

.filter-section ul li a,
.filter-section label {
    text-decoration: none;
    color: #555;
    font-size: 0.95em;
    transition: color 0.3s ease;
    cursor: pointer;
    display: block;
    padding: 3px 0;
}

.filter-section ul li a:hover,
.filter-section label:hover {
    color: #007bff; /* Primary color for hover */
}

.filter-section input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1);
}
.filter-sections ul {
	margin:0;
}
.filter-sections ul li {
	list-style:none;
}
#pagination-wrapper {
	text-align:center;
}

/* Price Range Slider Styles */
.price-slider-container {
    padding: 15px 10px;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    border: 1px solid #eee;
}

.price-slider-display {
    font-size: 1.1em;
    font-weight: 600;
    color: var(--color-orange);
    margin-bottom: 20px;
    min-height: 20px; /* Prevent layout shift if prices are empty */
}

.price-slider {
    position: relative;
    height: 6px; /* Height of the slider track */
    background-color: #e0e0e0;
    border-radius: 3px;
    margin: 0 15px 30px; /* Space for thumbs */
    cursor: pointer;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}

.slider-track {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: transparent; /* Main track background handled by .price-slider */
    border-radius: inherit;
}

.slider-range {
    position: absolute;
    height: 100%;
    background-color: var(--color-orange); /* Color of the active range */
    border-radius: inherit;
    transition: left 0.1s linear, width 0.1s linear; /* Smooth movement */
}

.slider-thumb {
    position: absolute;
    top: 50%;
    width: 20px;
    height: 20px;
    background-color: #fff;
    border: 2px solid var(--color-orange);
    border-radius: 50%;
    transform: translate(-50%, -50%); /* Center the thumb */
    cursor: grab;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    z-index: 2; /* Ensure thumbs are above the range */
}

.slider-thumb:active {
    cursor: grabbing;
    transform: translate(-50%, -50%) scale(1.1); /* Slight enlarge on active */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.left-thumb {
    left: 0%;
}

.right-thumb {
    left: 100%;
}

#apply-price-filter {
    background-color: var(--color-orange);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

#apply-price-filter:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}
/* --- Category Dropdown Styles (Toggle) --- */

.category-dropdown-container {
    position: relative;
}

.category-dropdown-toggle {
    width: 100%;
    padding: 12px 15px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 8px;
    text-align: left;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.category-dropdown-toggle:hover {
    background-color: #e5e5e5;
}

.category-dropdown-content {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    z-index: 5;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: max-height 0.4s ease-out;
}

.category-dropdown-content.active {
    max-height: 300px; /* Max height large enough to show content */
    border-top: 1px solid #ddd;
    padding: 10px;
}

.category-filter-item {
    padding: 8px 15px;
    display: flex !important;
    align-items: center;
    margin-bottom: 0 !important;
    transition: background-color 0.2s ease;
}

.category-filter-item:hover {
    background-color: #f9f9f9;
}

/* Right Column - Products */
.right-column {
    flex: 1; /* Takes remaining space */
    background-color: #fff;
    border-radius: 12px;
    border:1px solid black;
    padding: 30px;
    box-sizing: border-box;
}
li.product {
	padding:1rem !important;
	border:1px solid black;
	border-radius:20px;
	display:flex;
	flex-direction:column;
}
.product-meta-badges {
	display:flex;
	gap:2rem;
}
.product-meta-badges > article {
	padding:5px 10px;
	border-radius:20px;
	border:1px solid black;
	font-size:0.8rem;
}
.woocommerce ul.products li.product .button {
	background: var(--color-yellow);
	font-family: 'Cormorant Garamond', serif;
	font-size: 1.3rem;
	border: 1px solid;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 2.5em;
    color: #222;
    margin: 0;
    font-weight: 700;
}

.sort-options {
    display: flex;
    justify-content: flex-end; /* Align sorting to the right */
    align-items: center;
    margin-bottom: 25px;
}

.sort-options label {
    font-size: 0.95em;
    color: #555;
    margin-right: 10px;
}

.sort-options select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    color: #333;
    background-color: #fdfdfd;
    appearance: none; /* Remove default select arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%20viewBox%3D%220%200%20292.4%20292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%20197.6c-4.6%204.6-10.7%206.9-16.9%206.9s-12.3-2.3-16.9-6.9L146.2%20108.3%2039.2%20215.3c-4.6%204.6-10.7%206.9-16.9%206.9s-12.3-2.3-16.9-6.9c-9.3-9.3-9.3-24.5%200-33.8L129.3%2060.1c9.3-9.3%2024.5-9.3%2033.8%200L287%20163.8c9.3%209.3%209.3%2024.5%200%2033.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.sort-options select:focus {
    border-color: #007bff;
}

.read-ai-button {
	padding:12px 24px;
	background:var(--color-yellow);
	color:white;
	border-radius:10px;
	border:none;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns */
    gap: 25px;
}


/* Ensure max 4 columns when space allows */
@media (min-width: 900px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
/* Add this to your custom-shop.css file */
.short-description-wrapper {
    position: relative;
    max-height: 100px; /* Initial max height for truncation */
    overflow: hidden;
    transition: max-height 0.5s ease-in-out;
}

.short-description-wrapper.expanded {
    max-height: none !important;
}

.short-description-wrapper::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px; /* Gradient overlay height */
    background: linear-gradient(to top, rgba(255,255,255,1) 0%, rgba(255,255,255,0) 100%);
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.short-description-wrapper.expanded::before {
    opacity: 0;
}
.custom-buy-now-btn {
	border-radius:10px !important;
	margin-left:10px; !important;
}
.read-more-button {
    display: block;
    margin-top: 10px;
    padding: 8px 15px;
    background-color: transparent;
    color: var(--color-red);
    border: 1px solid var(--color-red);
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.read-more-button:hover {
    background-color: var(--color-red);
    color: #fff;
}

/* Product Card */


.product-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    padding-bottom: 15px; /* Space for button */
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.product-image {
    width: 100%;
    height: 180px; /* Fixed height for consistent images */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the area, crop if necessary */
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-title {
    font-size: 3rem;
    font-weight: 500;
    color: #333;
    margin: 0 15px 10px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-price {
    font-size: 1.25em;
    font-weight: 600;
    color: #007bff; /* Price color */
    margin-bottom: 15px;
}
#product-price-display span.price {
	color:var(--color-yellow);
}

.add-to-cart-btn {
    background-color: #28a745; /* Green for add to cart */
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: 500;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.add-to-cart-btn:hover {
    background-color: #218838;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.pagination button {
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    padding: 10px 15px;
    margin: 0 5px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.pagination button:hover:not(.active):not(:disabled) {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ccc;
}

.pagination button.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: 600;
    cursor: default;
}

.pagination button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .container {
        flex-direction: column;
    }
    .left-column {
        flex: 0 0 auto; /* Allow filters to take full width */
        width: 100%;
    }
    .right-column {
        width: 100%;
        padding-top: 0; /* Remove top padding if header is already above */
    }
    .sort-options {
        justify-content: flex-start; /* Align sorting to left on small screens */
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); /* Adjust min product width */
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
        margin: 15px auto;
    }
    .left-column, .right-column {
        padding: 20px;
    }
    .page-header h1 {
        font-size: 2em;
    }
    .sort-options {
        flex-direction: column;
        align-items: flex-start;
    }
    .sort-options label {
        margin-bottom: 8px;
        margin-right: 0;
    }
    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Even smaller products */
        gap: 15px;
    }
    .product-image {
        height: 140px;
    }
    .product-title {
        font-size: 1em;
    }
    .product-price {
        font-size: 1.1em;
    }
    .add-to-cart-btn {
        padding: 8px 15px;
        font-size: 0.85em;
    }
}

/* --- Single Product Page Styles --- */

/* New container for single product page */
.single-product-container {
    max-width: 1200px; /* Adjust as needed */
    margin: 20px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.custom-single-product-layout {
    background-color: #fff;
    border-radius: 15px; /* Slightly larger radius for elegance */
    border:1px solid black;
    padding: 40px; /* Increased padding */
    margin-bottom: 20px;
}

.product-columns-wrapper {
    display: flex;
    gap: 50px; /* Increased gap for more breathing room */
    flex-wrap: wrap; /* Allows columns to stack on smaller screens */
    align-items: flex-start; /* Align columns to the top */
}

.product-images-column {
    flex: 1 1 45%; /* Flexible width, but can grow/shrink */
    max-width: 45%; /* Max width for larger screens */
    min-width: 300px; /* Minimum width before wrapping */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.main-product-image-wrapper {
    width: 100%;
    background-color: #f0f0f0;
    border-radius: 12px; /* Consistent rounded corners */
    overflow: hidden;
    position: relative;
    /*padding-top: 75%; /* 4:3 Aspect Ratio (200/300 = 0.666 -> 66.6%) or 100% for 1:1 */
    box-shadow: 0 5px 15px rgba(0,0,0,0.1); /* Elegant shadow for image */
}

.main-product-image-wrapper img {
 /*   position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%; */
    object-fit: contain; /* Ensures the whole image is visible */
    transition: opacity 0.3s ease-in-out; /* Smooth transition for image change */
}

.product-details-column {
    flex: 1 1 50%; /* Flexible width, takes remaining space */
    max-width: 50%; /* Max width for larger screens */
    min-width: 300px; /* Minimum width before wrapping */
    box-sizing: border-box;
}

.product_title {
    font-size: 2.7rem; /* Slightly larger title */
    color: #222;
    margin-top: 0;
    margin-bottom: 20px; /* More space */
    font-weight: 700;
    line-height: 1.2;
}

.product-rating-and-meta {
    margin-bottom: 30px; /* More space */
    font-size: 0.95em;
    color: #777;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 15px; /* Space between elements */
}

.product-rating-and-meta .star-rating {
    display: inline-block;
    vertical-align: middle;
    margin-right: 5px; /* Reduced margin if gap is used */
}
.product-rating-and-meta .woocommerce-product-rating {
    display: flex;
    align-items: center;
}
.product-rating-and-meta .star-rating span {
    color: #ffc107; /* Star color */
}
.product-rating-and-meta .woocommerce-review-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}
.product-rating-and-meta .woocommerce-review-link:hover {
    color: #0056b3;
}
.product-rating-and-meta .posted_in,
.product-rating-and-meta .tagged_as,
.product-rating-and-meta .sku_wrapper {
    display: inline-block; /* Inline display for meta */
    margin-top: 0;
    margin-right: 15px;
    color: #666;
    font-size: 0.9em;
}

.product-details-column .price {
    font-size: 2.2em; /* Larger price */
    font-weight: 700;
    color: var(--color-orange);
    min-height: 1.5em; /* Prevent layout shift if price changes */
}
.product-details-column .price ins {
    text-decoration: none; /* No underline for sale price */
    color: var(--color-orange); /* Green for sale price */
}
.product-details-column .price del {
    color: #aaa;
    margin-left: 10px;
    font-size: 0.7em;
    font-weight: 400;
}


.product-short-description {
    font-size: 1.05em; /* Slightly larger text */
    color: #444;
    margin-bottom: 40px; /* More space before variations */
}
.price-addToCart {
	display:flex;
	gap:1rem;
	flex-wrap:wrap;
	align-items:center;
	padding:1rem;
	background:#283440;
	border-radius:15px;
}
.price-addToCart .variations_form .quantity {
	display:none;
}
.price-addToCart #product-price-display {
	margin:0;
}
.price-addToCart .variations_form.cart {
	margin-bottom:0 !important;
}


/* Variation Tabs */
.product-variations-tabs h3 {
    font-size: 1.3em; /* Slightly larger for emphasis */
    color: #333;
    margin-bottom: 20px;
    font-weight: 600;
}

.variation-tabs-container {
    display: flex;
    flex-wrap: wrap; /* Allow tabs to wrap if too many */
    gap: 12px; /* Increased gap between tabs */
    margin-bottom: 40px; /* More space before add to cart */
}

.variation-tab {
    padding: 14px 22px; /* Larger padding for a more substantial feel */
    border: 1px solid #e0e0e0; /* Lighter border */
    border-radius: 10px; /* Slightly more rounded */
    cursor: pointer;
    font-size: 1em; /* Clearer font size */
    color: #555;
    background-color: #fdfdfd;
    transition: all 0.3s ease-in-out; /* Smooth transition for all properties */
    user-select: none;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03); /* Very subtle shadow */
}

.variation-tab:hover {
    background-color: #f0f0f0;
    border-color: #c0c0c0;
    transform: translateY(-2px); /* Subtle lift on hover */
    box-shadow: 0 5px 10px rgba(0,0,0,0.08);
}

.variation-tab.active {
    background-color: var(--color-orange);
    color: #fff;
    border-color: var(--color-yellow);
    font-weight: 600;
    transform: translateY(-1px); /* Slight lift */
}

/* Add to Cart Button Wrapper (for quantity and button positioning) */
.single_add_to_cart_button {
	font-size:0.8rem !important;
	margin-right:5px !important;
}
.single_add_to_cart_button_wrapper .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 10px; /* Consistent rounded corners */
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
}

.single_add_to_cart_button_wrapper .quantity .qty {
    border: none;
    padding: 12px; /* Larger padding */
    text-align: center;
    width: 70px; /* Adjusted width */
    font-size: 1.1em; /* Larger font */
    color: #333;
    -moz-appearance: textfield;
}

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

.single_add_to_cart_button_wrapper .quantity .plus,
.single_add_to_cart_button_wrapper .quantity .minus {
    background-color: #f0f0f0;
    border: none;
    padding: 12px 18px; /* Larger padding */
    cursor: pointer;
    font-size: 1.3em; /* Larger font */
    font-weight: bold;
    color: #555;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.single_add_to_cart_button_wrapper .quantity .plus:hover,
.single_add_to_cart_button_wrapper .quantity .minus:hover {
    background-color: #e5e5e5;
    color: #222;
}

.single_add_to_cart_button_wrapper .single_add_to_cart_button {
    background-color: #28a745; /* Green for add to cart */
    color: #fff;
    border: none;
    padding: 15px 30px; /* More substantial button */
    border-radius: 10px; /* Consistent rounded corners */
    cursor: pointer;
    font-size: 1.1em; /* Larger font */
    font-weight: 600; /* Bolder text */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px; /* Increased letter spacing */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Deeper shadow */
}

.single_add_to_cart_button_wrapper .single_add_to_cart_button:hover {
    background-color: #218838;
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}



.single_add_to_cart_button_wrapper .quantity {
    /* Removed border and shadow from wrapper to give to individual parts */
    display: flex;
    align-items: center;
    border-radius: 10px; /* Overall rounded corners for the counter group */
    overflow: hidden; /* Ensures contents respect border-radius */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow for the whole group */
    height: 48px; /* Fixed height for consistent look with button */
}

.single_add_to_cart_button_wrapper .quantity .qty {
    border: none;
    border-left: 5px solid #eee; /* Separator from minus button */
    border-right: 5px solid #eee; /* Separator from plus button */
    padding: 12px 0; /* Vertical padding, horizontal handled by width */
    text-align: center;
    width: 70px; /* Adjusted width */
    font-size: 1.1em; /* Larger font */
    color: #333;
    -moz-appearance: textfield;
    height: 100%; /* Fill parent height */
    box-sizing: border-box; /* Include padding/border in width/height */
    margin: 0; /* Remove default margin */
}

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

.single_add_to_cart_button_wrapper .quantity .plus,
.single_add_to_cart_button_wrapper .quantity .minus {
    background-color: #f8f8f8; /* Lighter background for buttons */
    border: none;
    padding: 12px 18px; /* Larger padding */
    cursor: pointer;
    font-size: 1.3em; /* Larger font */
    font-weight: bold;
    color: #555;
    transition: background-color 0.3s ease, color 0.3s ease;
    height: 100%; /* Fill parent height */
    box-sizing: border-box; /* Include padding/border in width/height */
    display: flex; /* Use flex to center content */
    align-items: center;
    justify-content: center;
}

.single_add_to_cart_button_wrapper .quantity .minus {
    border-top-left-radius: 10px; /* Rounded left side */
    border-bottom-left-radius: 10px;
}

.single_add_to_cart_button_wrapper .quantity .plus {
    border-top-right-radius: 10px; /* Rounded right side */
    border-bottom-right-radius: 10px;
}

.single_add_to_cart_button_wrapper .quantity .plus:hover,
.single_add_to_cart_button_wrapper .quantity .minus:hover {
    background-color: #e0e0e0;
    color: #222;
}

.single_add_to_cart_button_wrapper .single_add_to_cart_button {
    background-color: #28a745; /* Green for add to cart */
    color: #fff;
    border: none;
    padding: 15px 30px; /* More substantial button */
    border-radius: 10px; /* Consistent rounded corners */
    cursor: pointer;
    font-size: 1.1em; /* Larger font */
    font-weight: 600; /* Bolder text */
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.8px; /* Increased letter spacing */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15); /* Deeper shadow */
}

.single_add_to_cart_button_wrapper .single_add_to_cart_button:hover {
    background-color: #218838;
    transform: translateY(-3px); /* More pronounced lift */
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.single_add_to_cart_button.button.alt {
    padding:15px 30px;
    background:var(--color-red) !important;
    text-transform:capitalize;
    font-size:1.2rem;
}

/* Responsive adjustments for Single Product Page */
@media (max-width: 900px) {
    .single-product-container {
        padding: 0 15px; /* Adjust container padding */
        margin: 15px auto;
    }
    .custom-single-product-layout {
        padding: 30px; /* Reduced padding on smaller screens */
    }
    .product-columns-wrapper {
        flex-direction: column; /* Stack columns on tablets/mobiles */
        gap: 30px; /* Adjust gap when stacked */
    }
    .product-images-column,
    .product-details-column {
        max-width: 100%; /* Take full width */
        min-width: unset; /* Remove min-width constraint */
        width: 100%; /* Ensure they take full width */
    }
    .product-images-column {
        order: -1; /* Place image column above details on mobile */
    }

    .product_title {
        font-size: 2em;
        margin-bottom: 15px;
    }
    .product-rating-and-meta {
        margin-bottom: 20px;
        gap: 10px;
    }
    .product-details-column .price {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
    .product-short-description {
        font-size: 1em;
        margin-bottom: 30px;
    }
    .product-variations-tabs h3 {
        font-size: 1.2em;
        margin-bottom: 15px;
    }
    .variation-tabs-container {
        gap: 10px;
        margin-bottom: 30px;
    }
    .variation-tab {
        padding: 12px 18px;
        font-size: 0.95em;
    }
    .single_add_to_cart_button_wrapper {
        flex-direction: column; /* Stack quantity and button */
        align-items: flex-start;
        gap: 15px;
        margin-bottom: 30px;
    }
    .single_add_to_cart_button_wrapper .quantity {
        width: 100%;
        max-width: 160px; /* Limit width */
        margin-bottom: 0;
    }
    .single_add_to_cart_button_wrapper .single_add_to_cart_button {
        width: 100%;
        padding: 12px 25px;
        font-size: 1em;
    }
}

@media (max-width: 600px) {
    .custom-single-product-layout {
        padding: 20px;
        border-radius: 10px;
    }
    .product_title {
        font-size: 1.6em;
    }
    .product-details-column .price {
        font-size: 1.4em;
    }
}

.custom-cart-notification.success {
    background-color: #28a745; /* Green for success */
}

.custom-cart-notification.error {
    background-color: #dc3545; /* Red for error */
}

.custom-cart-notification.show {
    transform: translateX(-50%) translateY(0); /* Slide up to final position */
    opacity: 1;
}

.custom-cart-notification.hide {
    transform: translateX(-50%) translateY(100px); /* Slide down off-screen */
    opacity: 0;
}

.notification-message {
    flex-grow: 1;
}

.notification-close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    margin-left: 10px;
    transition: transform 0.2s ease;
}

.notification-close-btn:hover {
    transform: rotate(90deg);
}

/* Responsive adjustments for popup */
@media (max-width: 600px) {
    .custom-cart-notification {
        width: calc(100% - 40px); /* Full width minus padding */
        left: 20px; /* Align to left with padding */
        transform: translateX(0) translateY(100px);
        font-size: 1em;
        text-align: center;
        bottom: 15px;
        padding: 12px 20px;
    }

    .custom-cart-notification.show {
        transform: translateX(0) translateY(0);
    }
     .custom-cart-notification.hide {
        transform: translateX(0) translateY(100px);
    }
}

/* --- My Account Page Styles --- */

.my-account-page-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.my-account-wrapper {
    display: flex;
    gap: 40px;
    background-color: #fff;
    border-radius: 15px;
    border:1px solid black;
    overflow: hidden; /* Ensures rounded corners are respected */
}

/* Left Column: Profile & Navigation */
.my-account-navigation-column {
    flex: 0 0 280px; /* Fixed width for navigation */
    padding: 30px;
    background-color: #f8f8f8; /* Slightly different background for distinction */
    border-right: 1px solid #eee; /* Subtle separator */
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.profile-summary {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
    width: 100%; /* Ensure it spans the column width */
}

.profile-photo-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--color-orange); /* Elegant border */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.profile-photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Dark overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.profile-photo-wrapper:hover .profile-photo-overlay {
    opacity: 1;
}

.profile-photo-overlay::before {
    content: '\2022'; /* Unicode for a simple dot, replace with icon like '\f030' for Font Awesome camera */
    font-size: 3em; /* Larger dot or icon */
    color: #fff;
    font-weight: bold;
    line-height: 1;
    opacity: 0.8;
}


.profile-name {
    font-size: 1.6em;
    font-weight: 700;
    color: #222;
    margin: 0;
}

.profile-email {
    font-size: 0.95em;
    color: #777;
    margin-top: 5px;
}

/* My Account Navigation Links */
.woocommerce-MyAccount-navigation {
    width: 100% !important;
}

.woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px; /* Space between nav items */
}

.woocommerce-MyAccount-navigation ul li {
    margin: 0;
    width: 100%;
}

.woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 12px 15px;
    text-decoration: none;
    color: #555;
    font-size: 1em;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    font-weight: 500;
}

.woocommerce-MyAccount-navigation ul li a:hover {
    background-color: #e9ecef;
    color: #007bff;
    transform: translateX(5px); /* Slide right on hover */
}

/* Active navigation item */
.woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-MyAccount-navigation ul li.woocommerce-MyAccount-navigation-link--<?php echo esc_attr( WC()->query->get_current_endpoint() ); ?> a {
    background-color: #007bff; /* Primary active color */
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
    transform: translateX(0); /* Remove hover transform if active */
}


/* Right Column: Account Content */
.my-account-content-column {
    flex: 1; /* Takes remaining space */
    padding: 30px;
    box-sizing: border-box;
}

.my-account-content-column h2:first-child,
.my-account-content-column h3:first-child {
    font-size: 2em;
    color: #222;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 700;
}

/* General WooCommerce form styles (adjust as needed for elegance) */
.woocommerce-form-row {
    margin-bottom: 20px;
}
.woocommerce-form-row label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
}
.woocommerce-form-row input[type="text"],
.woocommerce-form-row input[type="email"],
.woocommerce-form-row input[type="password"],
.woocommerce-form-row select,
.woocommerce-form-row textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1em;
    color: #333;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.woocommerce-form-row input:focus,
.woocommerce-form-row select:focus,
.woocommerce-form-row textarea:focus {
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.2);
    outline: none;
}

.woocommerce button.button {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1em;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 3px 8px rgba(0, 123, 255, 0.2);
}
.woocommerce button.button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 123, 255, 0.3);
}

/* Responsive adjustments for My Account page */
@media (max-width: 900px) {
    .my-account-wrapper {
        flex-direction: column; /* Stack columns on smaller screens */
        gap: 0; /* Remove gap when stacked */
        border-radius: 10px; /* Slightly less rounded */
    }
    .my-account-navigation-column {
        flex: 1 1 auto; /* Allow nav column to take full width */
        width: 100%;
        padding: 20px;
        border-right: none; /* No vertical border when stacked */
        border-bottom: 1px solid #eee; /* Add horizontal separator */
    }
    .my-account-content-column {
        flex: 1 1 auto; /* Allow content column to take full width */
        width: 100%;
        padding: 20px;
    }
    .profile-summary {
        margin-bottom: 20px;
        padding-bottom: 15px;
    }
    .woocommerce-MyAccount-navigation ul {
        flex-direction: row; /* Make navigation horizontal */
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px; /* Adjust gap for horizontal nav */
    }
    .woocommerce-MyAccount-navigation ul li {
        width: auto; /* Allow list items to size naturally */
        flex-grow: 1; /* Allow items to grow to fill space */
    }
    .woocommerce-MyAccount-navigation ul li a {
        padding: 10px 12px;
        font-size: 0.9em;
        text-align: center;
        transform: translateX(0); /* Remove transform on small screens */
    }
    .woocommerce-MyAccount-navigation ul li a:hover {
        transform: translateX(0);
    }
    .my-account-content-column h2:first-child,
    .my-account-content-column h3:first-child {
        font-size: 1.8em;
        margin-bottom: 20px;
    }
}

@media (max-width: 600px) {
    .my-account-page-container {
        margin: 20px auto;
        padding: 0 15px;
    }
    .my-account-wrapper {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    }
    .my-account-navigation-column,
    .my-account-content-column {
        padding: 15px;
    }
    .profile-name {
        font-size: 1.4em;
    }
    .woocommerce-MyAccount-navigation ul {
        gap: 8px;
    }
    .woocommerce-MyAccount-navigation ul li a {
        padding: 8px 10px;
        font-size: 0.85em;
    }
    .my-account-content-column h2:first-child,
    .my-account-content-column h3:first-child {
        font-size: 1.6em;
    }
    .woocommerce-form-row label {
        font-size: 0.9em;
    }
    .woocommerce-form-row input,
    .woocommerce-form-row select,
    .woocommerce-form-row textarea {
        padding: 10px 12px;
        font-size: 0.9em;
    }
    .woocommerce button.button {
        padding: 10px 20px;
        font-size: 0.9em;
    }
}

/* --- Blog Archive Page Styles --- */

.blog-archive-container {
    max-width: 1200px;
    margin: 60px auto;
    padding: 0 20px;
    color: #333;
}

.blog-archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.blog-archive-header h1 {
    font-size: 6rem;
    color: #222;
    margin-bottom: 15px;
    line-height: 1.2;
	font-family:'Cormorant Garamond', serif;
}

.blog-archive-header p {
    font-size: 1.2em;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.6;
}

.blog-sort-options {
    display: flex;
    justify-content: flex-end; /* Align sorting to the right */
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.blog-sort-options label {
    font-size: 1em;
    color: #555;
    margin-right: 10px;
    font-weight: 500;
}

.blog-sort-options select {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 0.95em;
    color: #333;
    background-color: #fdfdfd;
    appearance: none; /* Remove default select arrow */
    background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%20viewBox%3D%220%200%20292.4%20292.4%22%3E%3Cpath%20fill%3D%22%23666%22%20d%3D%22M287%20197.6c-4.6%204.6-10.7%206.9-16.9%206.9s-12.3-2.3-16.9-6.9L146.2%20108.3%2039.2%20215.3c-4.6%204.6-10.7%206.9-16.9%206.9s-12.3-2.3-16.9-6.9c-9.3-9.3-9.3-24.5%200-33.8L129.3%2060.1c9.3-9.3%2024.5-9.3%2033.8%200L287%20163.8c9.3%209.3%209.3%2024.5%200%2033.8z%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 12px;
    cursor: pointer;
    outline: none;
    transition: border-color 0.3s ease;
}

.blog-sort-options select:focus {
    border-color: #007bff;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.blog-post-card {
    background-color: #fff;
    border-radius: 12px;
	border:1px solid black;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-post-card:hover {
    transform: translateY(-8px);
}

.blog-post-card .post-image-link {
    display: block;
    overflow: hidden;
    height: 220px; /* Fixed height for consistent images */
    flex-shrink: 0; /* Prevent image from shrinking */
}

.blog-post-card .post-featured-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-post-card:hover .post-featured-image {
    transform: scale(1.05);
}

.blog-post-card .post-content-wrapper {
    padding: 25px;
    flex-grow: 1; /* Allow content to take remaining space */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Push meta to bottom */
}

.blog-post-card .post-title {
    font-size: 3rem;
    font-weight: 600;
    color: #222;
    margin-top: 0;
    margin-bottom: 15px;
    line-height: 1.3;
}

.blog-post-card .post-title a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.blog-post-card .post-title a:hover {
    color: #007bff;
}

.blog-post-card .post-meta {
    font-size: 0.9em;
    color: #777;
    margin-top: 20px; /* Space from title */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.blog-post-card .post-author,
.blog-post-card .post-date {
    margin: 0;
}

.no-posts-found {
    text-align: center;
    font-size: 1.2em;
    color: #666;
    margin: 80px 0;
}

/* Blog Pagination Styles (Similar to WooCommerce pagination) */
.blog-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.blog-pagination ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
}

.blog-pagination li {
    margin: 0;
}

.blog-pagination li a,
.blog-pagination li span {
    background-color: #f0f0f0;
    color: #555;
    border: 1px solid #ddd;
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95em;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
    display: block;
}

.blog-pagination li a:hover:not(.current) {
    background-color: #e0e0e0;
    color: #333;
    border-color: #ccc;
}

.blog-pagination li span.current {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    font-weight: 600;
    cursor: default;
}

.blog-pagination .prev.disabled,
.blog-pagination .next.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .blog-archive-container {
        margin: 40px auto;
    }
    .blog-archive-header h1 {
        font-size: 2.5em;
    }
    .blog-archive-header p {
        font-size: 1.1em;
    }
    .blog-sort-options {
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 10px;
    }
    .blog-sort-options label {
        width: 100%;
        margin-bottom: 5px;
    }
    .blog-posts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    .blog-post-card .post-image-link {
        height: 200px;
    }
    .blog-post-card .post-title {
        font-size: 1.3em;
    }
    .blog-post-card .post-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        margin-top: 15px;
    }
    .blog-pagination ul {
        gap: 3px;
    }
    .blog-pagination li a,
    .blog-pagination li span {
        padding: 8px 12px;
        font-size: 0.9em;
    }
}

@media (max-width: 600px) {
    .blog-archive-container {
        padding: 0 15px;
        margin: 30px auto;
    }
    .blog-archive-header h1 {
        font-size: 2em;
    }
    .blog-archive-header p {
        font-size: 1em;
    }
    .blog-posts-grid {
        grid-template-columns: 1fr; /* Single column on very small screens */
        gap: 25px;
    }
    .blog-post-card .post-image-link {
        height: 180px;
    }
    .blog-post-card .post-title {
        font-size: 1.2em;
    }
}

/* --- Multiple Variation Meta Display Styles --- */
.variation-meta-display {
    margin-bottom: 2rem;
    padding: 15px 20px;
    background-color: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 10px;
    font-size: 0.95em;
    color: #555;
    line-height: 1.6;
    display: none; /* Hidden by default, shown by JS if content exists */
    transition: all 0.3s ease-in-out;
	font-size:0.8rem;
}

.variation-meta-display .variation-meta-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid; /* Use grid for a neat layout */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); /* Responsive columns for meta items */
    gap: 10px;
}

.variation-meta-display .variation-meta-list li {
    margin-bottom: 0; /* Remove default list item margin */
    padding: 5px 0;
    border-bottom: 1px dashed #e0e0e0; /* Subtle separator */
}

.variation-meta-display .variation-meta-list li:last-child {
    border-bottom: none;
}

.variation-meta-display .variation-meta-list li strong {
    color: #333;
    font-weight: 600;
    margin-right: 5px;
}

/* --- Category Dropdown Filter Styles --- */

.category-dropdown-wrapper {
    position: relative;
    width: 100%;
    z-index: 10;
}

.category-dropdown-toggle {
    width: 100%;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-family: inherit;
    transition: all 0.3s ease;
}

.category-dropdown-toggle h3 {
    margin: 0;
    font-size: 1.1em;
    font-weight: 600;
    color: #222;
}

.category-dropdown-toggle:hover {
    border-color: #007bff;
    box-shadow: 0 4px 10px rgba(0, 123, 255, 0.1);
}

.category-dropdown-toggle .dropdown-icon {
    font-size: 0.8em;
    color: #888;
    transition: transform 0.3s ease;
}

.category-dropdown-wrapper.active .dropdown-icon {
    transform: rotate(180deg);
}

.category-dropdown-menu {
    position: absolute;
    top: 100%; /* Position right below the toggle button */
    left: 0;
    width: 100%;
    max-height: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    overflow: scroll;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease, visibility 0.4s ease;
}

.category-dropdown-wrapper.active .category-dropdown-menu {
    max-height: 300px; /* Adjust as needed */
    opacity: 1;
    visibility: visible;
}

.category-dropdown-item {
    display: block;
    padding: 12px 20px;
    text-decoration: none;
    color: #555;
    font-size: 1em;
    transition: all 0.2s ease;
}

.category-dropdown-item:hover,
.category-dropdown-item.active {
    background-color: #f0f0f0;
    color: #007bff;
}

/* Hide the original category list */
.filter-section ul {
    display: none;
}

/* Responsive adjustments for meta display */
@media (max-width: 600px) {
    .variation-meta-display .variation-meta-list {
        grid-template-columns: 1fr; /* Single column on small screens */
    }
}
