/*
* WooCommerce Styles for Brami Inspired Theme 2
* This file contains all WooCommerce specific styles
* Integrated with general theme styles from style.css
*/

/* ===== CSS RESET & BASE STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
    font-family: 'Jost', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background-color: #ffffff;
    font-size: 16px;
    overflow-x: hidden;
}

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    color: #4a4a4a;
}

a {
    color: #1a1a1a;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #666;
}

/* ===== LAYOUT UTILITIES ===== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.container-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.flex {
    display: flex;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.grid {
    display: grid;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.gap-20 { gap: 20px; }
.gap-30 { gap: 30px; }
.gap-40 { gap: 40px; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-primary {
    background: #1a1a1a;
    color: #fff;
}

.btn-primary:hover {
    background: #333;
    color: #fff;
}

.btn-secondary {
    background: transparent;
    color: #1a1a1a;
    border: 2px solid #1a1a1a;
}

.btn-secondary:hover {
    background: #1a1a1a;
    color: #fff;
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Mobile Navigation Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #1a1a1a;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
}

.mobile-menu-toggle:focus {
    outline: none;
}

.hamburger-line {
    width: 20px;
    height: 2px;
    background: #1a1a1a;
    margin: 2px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(-45deg) translate(-4px, 4px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(45deg) translate(-4px, -4px);
}

/* Navigation Responsive Styles */
@media (max-width: 991px) {
    .main-navigation {
        position: fixed;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        transition: transform 0.3s ease;
        z-index: 999;
        opacity: 0;
        visibility: hidden;
    }
    
    .main-navigation.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-navigation .nav-menu {
        flex-direction: column;
        gap: 0;
        padding: 20px 0;
    }
    
    .main-navigation .nav-menu li {
        border-bottom: 1px solid #f0f0f0;
        width: 100%;
        text-align: center;
    }
    
    .main-navigation .nav-menu li:last-child {
        border-bottom: none;
    }
    
    .main-navigation .nav-menu a {
        display: block;
        padding: 15px 20px;
        text-align: center;
        font-size: 16px;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* Header Complete Responsive Design */
@media (max-width: 991px) {
    .header-content {
        flex-wrap: nowrap !important;
        justify-content: space-between !important;
    }
    
    .header-left {
        order: 1;
        flex: 0 0 auto;
    }
    
    .header-center {
        order: 2;
        flex: 1 1 auto;
        justify-content: center;
    }
    
    .header-right {
        order: 3;
        flex: 0 0 auto;
        gap: 15px;
    }
}

@media (max-width: 767px) {
    .site-header {
        padding: 10px 0;
    }
    
    .header-right a span {
        display: none;
    }
    
    .header-right {
        gap: 10px;
    }
    
    .site-logo {
        font-size: 22px !important;
    }
    
    .logo-dots .dot {
        width: 3px;
        height: 3px;
    }
    
    .search-field {
        width: 80px;
    }
    
    .search-field:focus {
        width: 120px;
    }
}

@media (max-width: 575px) {
    .header-right {
        gap: 8px;
    }
    
    .site-logo {
        font-size: 18px !important;
    }
    
    .search-field {
        width: 60px;
    }
    
    .search-field:focus {
        width: 100px;
    }
}

@media (max-width: 479px) {
    .header-content {
        gap: 5px;
    }
    
    .site-logo {
        font-size: 16px !important;
    }
    
    .header-right {
        gap: 5px;
    }
    
    .search-field {
        width: 50px;
    }
    
    .search-field:focus {
        width: 80px;
    }
}

/* ===== WOOCOMMERCE SHOP PAGE STYLES ===== */

/* Shop Header */
.shop-header {
    padding: 40px 0 20px;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 40px;
}

.shop-title {
    font-size: 2.5rem;
    font-weight: 600;
    text-align: center;
    margin: 20px 0 10px;
    color: #1a1a1a;
}

/* Breadcrumbs */
.woocommerce-breadcrumb {
    text-align: center;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
    display:flex;
}

.woocommerce-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.woocommerce-breadcrumb a:hover {
    color: #1a1a1a;
}

/* Pagination Inline */
.woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    padding-left: 0;
    list-style: none;
}

.woocommerce-pagination ul li {
    margin: 0 5px;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span {
    display: inline-block;
    padding: 8px 12px;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background-color: #f8f8f8;
    border: 1px solid #ddd;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current {
    background-color: #ccc;
    color: #000;
}
.swiper-button-prev:after, .swiper-rtl .swiper-button-next:after{
	color:#ccc !important;
}
/* Shop Layout */
.shop-main {
    display: flex;
    gap: 40px;
    margin-bottom: 60px;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

/* Sidebar */
.shop-sidebar {
    min-width: 220px;
    max-width: 250px;
    flex-shrink: 0;
}

.shop-sidebar h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #1a1a1a;
    border-bottom: 2px solid #1a1a1a;
    padding-bottom: 10px;
}

.product-categories-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.category-item {
    margin-bottom: 8px;
}

.category-item > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    color: #4a4a4a;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.category-item > a:hover {
    color: #1a1a1a;
}

.expand-arrow {
    font-size: 0.8rem;
    color: #999;
    transition: transform 0.3s ease;
}

.category-item:hover .expand-arrow {
    transform: rotate(180deg);
}

.subcategories {
    list-style: none;
    margin: 0 0 0 15px;
    padding: 0;
    display: none;
}

.category-item:hover .subcategories {
    display: block;
}

.subcategories li {
    margin-bottom: 5px;
}

.subcategories a {
    color: #666;
    text-decoration: none;
    font-size: 0.9rem;
    padding: 4px 0;
    display: block;
    transition: color 0.3s ease;
}

.subcategories a:hover {
    color: #1a1a1a;
}

/* Shop Content */
.shop-content {
    flex: 1;
    min-width: 0;
}

/* Toolbar */
.shop-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
}

.shop-toolbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.woocommerce-result-count {
    font-size: 0.9rem;
    color: #666;
}

.woocommerce-ordering select {
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    background: #fff;
    cursor: pointer;
}

/* Product Grid */
/*.woocommerce .products {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(4, 1fr);*/
/*    gap: 0px;*/
/*    width: 100%;*/
/*    padding: 0;*/
/*    list-style: none;*/
/*    margin: 0 0 40px 0;*/
/*}*/

.woocommerce ul.products,
.woocommerce-page ul.products {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 30px;
    list-style: none;
    margin: 0 0 40px 0;
    padding: 0;
    justify-content: start;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce .product {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
}

.product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 483px;
    padding: 18px 14px 20px 14px;
    /*width: 100%;*/
    /*max-width: 100% !important;*/
    /*min-width: 0 !important;*/
    margin-bottom: 0;
}

.product-card:hover {
    box-shadow: none;
    transform: translateY(-4px) scale(1.02);
    border-color: none;
}

.product-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    border-radius: 0px !important;
    margin-bottom: 15px;
    background: transparent;
    box-shadow: none;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
    display: block;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

/* Fixed product card dimensions */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 280px;
    max-width: 280px;
    min-width: 280px;
}

.product-card {
    width: 400px !important;
    max-width: 350px !important;
    height: 450px !important;
    display: flex !important;
    flex-direction: column !important;
}

.product-image {
    height: 300px !important;
    flex-shrink: 0;
}

.product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 15px 0 0 0;
}

/* Responsive design */
@media (max-width: 1024px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
       grid-template-columns: repeat(3,1fr);
        gap: 25px;
    }
    
    
    .product-card {
        
        max-width: 320px !important;
        
    }
}

@media (max-width: 768px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        grid-template-columns: repeat(2,1fr);
        gap: 20px;
    }
    
    .product-card {
        max-width: 330px !important ;
        height: 380px ;
    }
    
    .product-image {
        height: 250px;
    }
}

@media only screen and (max-width: 480px) {
    .woocommerce ul.products,
    .woocommerce-page ul.products {
        display:grid;
        grid-template-columns: 1fr;
        gap: 20px;
        place-items: center;
    }
    
    .product-card {
        width:100% !important;
        height: 400px ;
    }
    
    .product-image {
        height: 280px ;
    }
}

.product-content {
    padding: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.product-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.product-price {
    font-size: 1.2rem;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 1rem;
}

.product-price .old-price {
    text-decoration: line-through;
    color: #999;
    font-weight: 400;
    margin-right: 0.5rem;
}

.add-to-cart-btn {
    width: 100%;
    background: #1a1a1a;
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.3s ease;
}

.add-to-cart-btn:hover {
    background: #333;
}

.product-categories {
    font-size: 14px;
    color: #ccc;
    font-weight: 400;
    margin-bottom: 0;
}
.product-summary .product-title{

    font-size: 22px;
    font-weight: 400;
    margin-top: 25px;
}
.product-title {
    font-size: 22px;
    font-weight: 400;
    margin-bottom: 0;
    line-height: 1.3;
    color: #222;
    flex: 1;
    max-width: 100%;
}

/* Responsive styles for product title on mobile and tablet */
@media (max-width: 1024px) {
    .product-title {
        white-space: normal;
        overflow: visible;
        text-overflow: initial;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
        max-height: calc(1.4em * 2); /* Fallback for 2 lines */
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 20px;
        line-height: 1.3;
        max-height: calc(1.3em * 2);
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
        line-height: 1.3;
        max-height: calc(1.3em * 2);
        margin-bottom: 0.8rem;
    }
}

.product-title a {
    color: #222;
    text-decoration: none;
    transition: color 0.2s;
    /* Ensure link also respects single line */
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title a:hover {
    color: #333;
}

.product-price {
    font-size: 16px;
    font-weight: 500;
    color: #000;
    margin-top: auto;
    letter-spacing: 0.2px;
}

.product-price del {
    color: #bbb;
    font-weight: 400;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
    color: #333;
}


/* ===== CART PAGE BANNER STYLING ===== */
.cart-page-banner {
    background: #f8f9fa;
    padding: 60px 0 40px;
    margin: 0 -20px 0 -20px; /* Negative margins to break out of container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    border-bottom: 1px solid #e9ecef;
}

.cart-banner-container {
    max-width: 100% !important;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.cart-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.cart-breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.cart-breadcrumbs a:hover {
    color: #333;
}

.cart-breadcrumbs .current-page {
    color: #333;
    font-weight: 500;
}

.breadcrumb-separator {
    margin: 0 5px;
    color: #999;
}

.cart-page-title {
    font-size: 48px;
    font-weight: 400;
    color: #333;
    margin: 0;
    letter-spacing: -0.5px;
    font-family: 'Jost', sans-serif;
}

/* Responsive Design for Banner */
@media (max-width: 768px) {
    .cart-page-banner {
        padding: 40px 0 30px;
    }
    
    .cart-banner-container {
        padding: 0 15px;
    }
    
    .cart-breadcrumbs {
        flex-wrap: wrap;
        font-size: 13px;
    }
    
    .cart-page-title {
        font-size: 36px;
    }
}

@media (max-width: 480px) {
    .cart-page-banner {
        padding: 30px 0 25px;
    }
    
    .cart-page-title {
        font-size: 28px;
    }
    
    .cart-breadcrumbs {
        font-size: 12px;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: #1a1a1a;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
    color: #ccc;
    margin-bottom: 10px;
    display: block;
}

.footer-section a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 20px;
    text-align: center;
    color: #999;
}

/* Footer Responsive Styles */
@media (max-width: 991px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Swiper Wrapper Fix */
.swiper-wrapper {
    height: auto !important;
}

@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        text-align: center;
    }
    
    .site-footer {
        padding: 40px 0 15px;
    }
    
    .newsletter-section {
        padding: 30px 0;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}

@media (max-width: 479px) {
    .site-footer {
        padding: 30px 0 10px;
    }
    
    .footer-section h3 {
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 15px;
    }
}

/* ===== PIXEL-PERFECT CART PAGE STYLING ===== */
.woocommerce-cart {
    padding: 0 0 60px;
    font-family: 'Jost', sans-serif;
}

/* Standard WooCommerce Cart Table */
.woocommerce-cart-form {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.shop_table.cart {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.shop_table.cart th {
    padding: 15px 10px;
    border-bottom: 2px solid #e9ecef;
    font-weight: 700;
    color: #333;
    text-transform: uppercase;
    text-align: left;
}

.shop_table.cart td {
    padding: 15px 10px;
    border-bottom: 1px solid #e9ecef;
    vertical-align: middle;
}

/* Cart Items */
.woocommerce-cart-form__cart-item {
    position: relative;
}

.woocommerce-cart-form__cart-item td {
    padding: 15px 10px;
}

/* Product Thumbnail */
.product-thumbnail img {
    width: 60px;
    height: auto;
    display: block;
}

/* Product Name */
.product-name a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.product-name a:hover {
    color: #000;
}

/* Remove Button */
.product-remove a {
    display: block;
    font-size: 1.5em;
    height: 1em;
    width: 1em;
    text-align: center;
    line-height: 1;
    border-radius: 100%;
    color: #dc3545;
    text-decoration: none;
    font-weight: 700;
    border: 0;
}

.product-remove a:hover {
    color: #fff;
    background: #dc3545;
}

/* Price, Quantity, Subtotal */
.product-price,
.product-quantity,
.product-subtotal {
    text-align: center;
    font-weight: 600;
}

/* Quantity Input */
.quantity input.qty {
    width: 3.631em;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

/* Actions Section */
.actions {
    padding: 15px 0;
}

.actions .coupon {
    float: left;
    display: flex;
    align-items: center;
    gap: 10px;
}

.actions .coupon label {
    display: none;
}

.actions .coupon .input-text {
    width: 200px;
    padding: 8px 12px;
    margin-right: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.actions .button {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.actions .button:hover {
    background-color: #e9ecef;
}

.actions button[name="update_cart"] {
    float: right;
}

/* Cart Collaterals */
.cart-collaterals {
    max-width: 1200px;
    margin: 30px auto 0;
    padding: 0;
}

.cart_totals {
    float: right;
    width: 48%;
    clear: right;
}

.cart_totals h2 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.cart_totals table {
    width: 100%;
    margin-top: 10px;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 20px;
}

.cart_totals table th,
.cart_totals table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
    text-align: left;
    vertical-align: top;
}

.cart_totals table th {
    font-weight: 600;
    width: 40%;
}

.cart_totals table .order-total th,
.cart_totals table .order-total td {
    font-weight: 700;
    font-size: 1.1em;
    border-bottom: none;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button {
    display: block;
    text-align: center;
    padding: 12px 20px;
    background-color: #333;
    color: #fff;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background-color: #000;
}

.cart_totals th,
.cart_totals td {
    padding: 8px 0;
    font-weight: 600;
}

.wc-proceed-to-checkout .checkout-button {
    background: #333;
    color: #fff;
    text-transform: uppercase;
    padding: 15px;
    border-radius: 4px;
    font-weight: 600;
    text-align: center;
    display: block;
    margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #000;
}

.coupon-wrapper {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.coupon-button {
    background: #333;
    color: #fff;
    border-radius: 4px;
    padding: 10px 15px;
    cursor: pointer;
}

.coupon-button:hover {
    background: #000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .cart-container {
        flex-direction: column;
    }

    .cart-header,
    .cart-item {
        flex-direction: column;
    }

    .product-col {
        flex-direction: row;
        gap: 10px;
    }

    .coupon-wrapper {
        flex-direction: column;
        gap: 5px;
    }
}

.cart-container {
    display: flex;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.cart-main-content {
    flex: 2;
}

.cart-table-wrapper {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    margin-bottom: 20px;
}

/* Cart Table Styling */
.woocommerce-cart-form{
    margin-top: 4.5rem;
}
.woocommerce-cart-form__contents {
    width: 100%;
    border-collapse: collapse;
    margin: 0;
}

.woocommerce-cart-form__contents thead th {
    background: #f8f9fa;
    color: #333;
    font-weight: 600;
    padding: 20px 15px;
    text-align: left;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.woocommerce-cart-form__contents tbody td {
    padding: 20px 15px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.woocommerce-cart-form__contents tbody tr:last-child td {
    border-bottom: none;
}

/* Product Image */
.product-thumbnail {
    width: 80px;
    text-align: center;
}

.product-thumbnail img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
}

/* Product Name */
.product-name {
    min-width: 200px;
}

.product-name a {
    color: #333;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
}

.product-name a:hover {
    color: #000;
}

/* Price */
.product-price {
    text-align: center;
    font-weight: 500;
    font-size:16px;
    color: #333;
}

/* Quantity */
.product-quantity {
    text-align: center;
    width: 120px;
}

.product-quantity .quantity {
    display: flex;
    justify-content: center;
}

.product-quantity input {
    width: 60px;
    text-align: center;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Subtotal */
.product-subtotal {
    text-align: right;
    font-weight: 600;
    color: #333;
    font-size: 16px;
}

/* Remove Button */
.product-remove {
    width: 30px;
    text-align: center;
}

.product-remove .remove {
    color: #dc3545;
    text-decoration: none;
    font-size: 20px;
    font-weight: bold;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.product-remove .remove:hover {
    background: #dc3545;
    color: #fff;
}

/* Actions Row */
.actions {
    background: #f8f9fa;
    padding: 20px !important;
}

.actions .coupon {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.actions .coupon label {
    font-weight: 500;
    margin: 0;
    white-space: nowrap;
}

.actions .coupon input {
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

.actions .button {
    background: #333;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.actions .button:hover {
    background: #000;
}

/* Cart Sidebar */
.cart-sidebar {
    flex: 1;
    max-width: 350px;
}

.cart-collaterals {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
}

/* Cart Totals Styling */
.cart_totals h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
    color: #333;
    border-bottom: 2px solid #f0f0f0;
    padding-bottom: 10px;
}

.cart_totals table {
    width: 100%;
    border-collapse: collapse;
}

.cart_totals th,
.cart_totals td {
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.cart_totals th {
    text-align: left;
    font-weight: 500;
    color: #666;
    font-size: 14px;
}

.cart_totals td {
    text-align: right;
    font-weight: 600;
    color: #333;
}

.cart_totals .order-total th,
.cart_totals .order-total td {
    border-top: 2px solid #333;
    border-bottom: none;
    padding-top: 15px;
    font-size: 18px;
    font-weight: 700;
}

.wc-proceed-to-checkout {
    margin-top: 20px;
}

.wc-proceed-to-checkout .checkout-button {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.wc-proceed-to-checkout .checkout-button:hover {
    background: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .cart-container {
        gap: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    /* Standard WooCommerce responsive cart */
    .woocommerce-cart-form__contents thead {
        display: none;
    }
    
    .woocommerce-cart-form__contents tbody tr {
        display: block;
        margin-bottom: 1.5em;
    }
    
    .woocommerce-cart-form__contents tbody td {
        display: block;
        text-align: right !important;
        border-top: 0;
        padding: 0.5em 0;
    }
    
    .woocommerce-cart-form__contents tbody td:before {
        content: attr(data-title) ": ";
        font-weight: 600;
        float: left;
    }
    
    .woocommerce-cart-form__contents tbody td.product-remove,
    .woocommerce-cart-form__contents tbody td.product-thumbnail {
        text-align: center !important;
    }
    
    .woocommerce-cart-form__contents tbody td.product-remove:before,
    .woocommerce-cart-form__contents tbody td.product-thumbnail:before {
        display: none;
    }
    
    .woocommerce-cart-form__contents .actions {
        text-align: center;
    }
    
    .woocommerce-cart-form__contents .actions .coupon {
        float: none;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 1em;
    }
    
    .woocommerce-cart-form__contents .actions .coupon .input-text {
        width: 100%;
        margin-bottom: 0.5em;
        margin-right: 0;
    }
    
    .woocommerce-cart-form__contents .actions button[name="update_cart"] {
        float: none;
        width: 100%;
        margin-top: 0.5em;
    }
    
    /* Cart totals responsive */
    .cart_totals {
        width: 100%;
        float: none;
    }
    
    .product-thumbnail {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .product-thumbnail:before {
        display: none;
    }
    
    .product-remove {
        text-align: center;
        padding: 10px 0;
    }
    
    .product-remove:before {
        display: none;
    }
    
    .actions .coupon {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }
    
    .actions .coupon input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .woocommerce-cart-form {
        padding: 0 10px;
    }
    
    .woocommerce-cart-form__contents,
    .cart-collaterals {
        padding: 15px;
    }
    
    .woocommerce-cart-form__contents tbody td:before {
        width: 80px;
        font-size: 12px;
    }
}
/* Product overlay - appears only on hover */
.product-card {
    position: relative;
}

.product-image {
    position: relative;
}

/* Ensure shop page product cards work with hover functionality */
.woocommerce .product-card .product-image {
    position: relative;
    overflow: hidden;
}

.woocommerce .product-card .product-image img {
    transition: transform 0.3s;
}

.woocommerce .product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
}

.product-image:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

/* Hide add to cart button on archive page */
body.archive .product-card .add-to-cart-btn,
body.post-type-archive-product .product-card .add-to-cart-btn,
body.tax-product_cat .product-card .add-to-cart-btn,
body.tax-product_tag .product-card .add-to-cart-btn {
    display: none !important;
}

/* Action buttons */
.product-actions {
    display: flex;
    gap: 10px;
}

.quick-view-btn,
.add-to-cart-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
}

.quick-view-btn:hover,
.add-to-cart-btn:hover {
    background: #fff;
    transform: scale(1.1);
    color: #000;
}

.quick-view-btn svg,
.add-to-cart-btn svg {
    stroke: currentColor;
    width: 18px;
    height: 18px;
}

/* Slider specific styles - bottom positioning */
    .product-slider .product-overlay {
        background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
        align-items: flex-end;
        padding: 15px;
    }
    .product-image-container:hover .product-actions {
        opacity: 1;
    }


.product-slider .product-actions {
    width: 100%;
        justify-content: center;
        gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-slider .quick-view-btn,
.product-slider .add-to-cart-btn {
    width: 35px;
    height: 35px;
}



.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.quantity-wrapper label {
    font-weight: 500;
    color: #333;
}

.quantity-wrapper input {
    width: 70px;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-align: center;
}

.single_add_to_cart_button {
    background: #000;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.single_add_to_cart_button:hover {
    background: rgba(27, 27, 27, 0.647);
}

.product-meta {
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.product-meta span {
    display: block;
    margin-bottom: 8px;
    font-size: 0.9rem;
    color: #666;
}

.product-meta .sku {
    font-weight: 600;
    color: #333;
}

.out-of-stock {
    padding: 15px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
}



/* ===== PRODUCT GALLERY WITH WOOCOMMERCE ZOOM ===== */
.woocommerce-product-gallery {
    opacity: 1 !important;
    position: relative;
}

.woocommerce-product-gallery__wrapper {
    position: relative;
}

.woocommerce-product-gallery__image {
    position: relative;
    overflow: hidden;
    cursor: zoom-in;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Enable WooCommerce zoom functionality */
.woocommerce-product-gallery__image .zoomImg {
    cursor: zoom-out;
}

/* Thumbnail styles */
.flex-control-thumbs {
    margin: 0;
    padding: 0;
    list-style: none;
}

.flex-control-thumbs li {
    cursor: pointer;
    float: left;
    margin-right: 10px;
    margin-bottom: 10px;
}

.flex-control-thumbs li img {
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    border: 2px solid transparent;
}

.flex-control-thumbs li img:hover {
    opacity: 1;
}

.flex-control-thumbs li.flex-active-slide img {
    opacity: 1;
    border-color: #333;
}

/* Lightbox trigger */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 99;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-product-gallery__trigger::before {
    content: "\1f50d";
    font-size: 16px;
}

/* ===== ENHANCED RESPONSIVE DESIGN ===== */

/* Large tablets and small desktops */
@media (max-width: 1200px) {
    .shop-main {
        max-width: 95%;
        gap: 30px;
    }
    
    /*.woocommerce .products {*/
    /*    grid-template-columns: repeat(3, 1fr);*/
    /*    gap: 25px;*/
    /*}*/
    
    .product-card {
        padding: 15px 12px 18px 12px;
    }
}

/* Standard tablets */
@media (max-width: 1024px) {
    /*.woocommerce .products {*/
    /*    grid-template-columns: repeat(2, 1fr);*/
    /*    gap: 20px;*/
    /*}*/
    
    .product-title {
        font-size: 22px;
    }
    
    .product-price {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .shop-main {
        flex-direction: column;
        gap: 30px;
        padding: 0 15px;
    }

    .shop-sidebar {
        min-width: auto;
        max-width: none;
    }

    /*.woocommerce .products {*/
    /*    grid-template-columns: repeat(2, 1fr);*/
    /*}*/

    /* Adjusting product image gallery for tablet view */
    .woocommerce-product-gallery {
        width: 100%;
        margin: 0 auto;
    }
    .woocommerce-product-gallery__image {
        width: 100%;
        text-align: center;
    }

    .shop-toolbar {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* Small Tablets and Large Mobile (576px - 767px) */
@media (max-width: 767px) and (min-width: 576px) {
    .shop-main {
        flex-direction: column;
        gap: 25px;
        padding: 0 15px;
    }
    
    
    .shop-content {
        order: 1;
    }
    
    /*.woocommerce .products {*/
    /*    grid-template-columns: repeat(2, 1fr);*/
    /*    gap: 18px;*/
    /*}*/
    
    .product-card {
        padding: 12px 10px 15px 10px;
    }
    
    .product-title {
        font-size: 20px;
        margin-bottom: 8px;
    }
    
    .product-price {
        font-size: 16px;
    }
    
    .shop-toolbar {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
        padding: 12px 0;
    }
    
    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
    }
    
    .shop-title {
        font-size: 2.2rem;
    }
    
    .woocommerce-breadcrumb {
        font-size: 0.85rem;
        justify-content: center;
    }
}

/* Large Mobile Landscape (480px - 575px) */
@media (max-width: 575px) and (min-width: 480px) {
    .shop-main {
        flex-direction: column;
        gap: 20px;
        padding: 0 12px;
    }
    
    .shop-sidebar {
        min-width: auto;
        max-width: none;
        order: 2;
    }
    
    .shop-content {
        order: 1;
    }
    
    /*.woocommerce .products {*/
    /*    grid-template-columns: repeat(2, 1fr);*/
    /*    gap: 15px;*/
    /*}*/
    
    .product-card {
        padding: 10px 8px 12px 8px;
    }
    
    .product-title {
        font-size: 20px;
        margin-bottom: 6px;
        line-height: 1.2;
    }
    
    .product-price {
        font-size: 0.9rem;
    }
    
    .product-categories {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }
    
    .shop-title {
        font-size: 2rem;
        margin: 15px 0 8px;
    }
    
    .shop-header {
        padding: 30px 0 15px;
        margin-bottom: 30px;
    }
    
    .shop-toolbar {
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
        padding: 10px 0;
    }
    
    .shop-toolbar-right {
        width: 100%;
        justify-content: space-between;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .woocommerce-result-count {
        font-size: 0.85rem;
    }
    
    .woocommerce-ordering select {
        padding: 6px 10px;
        font-size: 0.85rem;
    }
}

/* Standard Mobile Portrait (320px - 479px) */
@media (max-width: 479px) {
    .shop-main {
        flex-direction: column;
        gap: 15px;
        padding: 0 10px;
    }
    
    .shop-sidebar {
        min-width: auto;
        max-width: none;
        order: 2;
    }
    
    .shop-content {
        order: 1;
    }
    
    /*.woocommerce .products {*/
    /*    grid-template-columns: 1fr;*/
    /*    gap: 15px;*/
    /*}*/
    
    .product-card {
        padding: 12px 10px 15px 10px;
        max-width: 100%;
    }
    
    .product-image {
        height: 250px;
        margin-bottom: 12px;
    }
    
    .product-title {
        font-size: 20px;
        margin-bottom: 8px;
        line-height: 1.3;
        text-align: center;
    }
    
    .product-price {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .product-categories {
        font-size: 0.7rem;
        margin-bottom: 6px;
        text-align: center;
    }
    
    .shop-title {
        font-size: 1.8rem;
        margin: 12px 0 6px;
    }
    
    .shop-header {
        padding: 25px 0 12px;
        margin-bottom: 25px;
    }
    
    .shop-toolbar {
        flex-direction: column;
        gap: 8px;
        align-items: stretch;
        padding: 8px 0;
    }
    
    .shop-toolbar-right {
        width: 100%;
        flex-direction: column;
        gap: 8px;
    }
    
    .woocommerce-result-count {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .woocommerce-ordering {
        width: 100%;
    }
    
    .woocommerce-ordering select {
        width: 100%;
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .woocommerce-breadcrumb {
        font-size: 0.8rem;
        justify-content: center;
        flex-wrap: wrap;
        gap: 5px;
    }
    
    /* Sidebar Responsive */
    .shop-sidebar h3 {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .category-item > a {
        font-size: 0.9rem;
        padding: 6px 0;
    }
    
    .subcategories a {
        font-size: 0.85rem;
    }
}

/* Extra Small Mobile (below 320px) */
@media (max-width: 319px) {
    .shop-main {
        padding: 0 8px;
    }
    
    .shop-title {
        font-size: 1.6rem;
    }
    
    .product-card {
        padding: 8px 6px 10px 6px;
    }
    
    .product-title {
        font-size: 16px;
    }
    
    .product-price {
        font-size: 0.85rem;
    }
    
    .quick-view-content {
        width: 98%;
    }
    
    .quick-view-product {
        padding: 10px;
    }
}
.quantity input{
    width: 60px;
    padding: 8px 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    margin: 0 20px;
}

/* single product page css */
 .single-product-layout {
    max-width: 100%;
    margin: auto;
}

.product-wrapper {
    display: flex;
    gap: 3rem;
    flex-wrap: wrap;
    padding:0 4rem;
    align-items: stretch;
}

.product-gallery {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
}

/* Custom Product Gallery Layout - Thumbnails on Left */
.woocommerce-product-gallery {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    height: 100%;
}

.woocommerce-product-gallery__wrapper {
    flex: 1;
    order: 2;
    height: 100%;
}

.flex-viewport {
    order: 2;
    height: 100%;
    display: flex;
    align-items: center;
}

.flexslider {
    height: 100%;
    display: flex;
    align-items: center;
}

.slides {
    height: 100%;
}

.slides li {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.woocommerce-product-gallery ol.flex-control-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    order: 1;
    width: 80px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-product-gallery ol.flex-control-thumbs li {
    width: 80px;
    height: 80px;
    margin: 0;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}


.woocommerce-product-gallery ol.flex-control-thumbs li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ensure main image container has proper sizing */
.woocommerce-product-gallery__image {
    margin: 0;
    position: relative;
}

.woocommerce-product-gallery__image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Hide WooCommerce default zoom trigger */
.woocommerce-product-gallery__trigger,
.woocommerce-product-gallery .woocommerce-product-gallery__trigger {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Fullscreen zoom icon */
.product-image-zoom {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 10;
}

.product-image-zoom:hover {
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.product-image-zoom svg {
    width: 20px;
    height: 20px;
    color: #333;
}

.product-summary {
    flex: 1;
    min-width: 300px;
}

/* Mobile and Tablet Product Title Styling */
.product-title {
    font-size: 20px;
    margin-bottom: 1rem;
    line-height: 1.3;
}

/* Responsive Product Title - Allow 2 lines on mobile and tablet */
@media (max-width: 1024px) {
    .product-title {
        white-space: normal !important;
        overflow: visible !important;
        text-overflow: initial !important;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        line-height: 1.4;
        max-height: calc(1.4em * 2); /* Fallback for 2 lines */
    }
}

@media (max-width: 768px) {
    .product-title {
        font-size: 20px;
        line-height: 1.3;
        max-height: calc(1.3em * 2);
    }
}

@media (max-width: 480px) {
    .product-title {
        font-size: 20px;
        line-height: 1.3;
        max-height: calc(1.3em * 2);
        margin-bottom: 0.8rem;
    }
}

.buy-it-now-button {
    margin-top: 10px;
    padding: 12px 6.2rem;
    background: #d1d1d1;
    border: none;
    cursor: pointer;
    font-size:18px;
    font-weight:600;
}
.buy-it-now-button:hover{
    background:#000;
    color:#fff;
}

.safe-checkout-box {
    background: #f5f5f5;
    padding: 0.5rem;
    margin-top: 1.75rem;
    text-align: center;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    max-width: 80%;
}

.safe-checkout-box h4 {
    margin: 0 0 0.25rem 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.safe-checkout-box img {
    max-width: 100%;
    height: auto;
    max-height: 35px;
    object-fit: contain;
    margin: 0;
}

.product-description {
    margin-top: 4rem;
    padding: 2rem 4rem;
    border-top: 1px solid #ddd;
}
.product-description h2{
    text-align:center;
    color:#000;
    font-size:22px;
    font-weight:500;
    text-decoration: none;
}

.related-products-slider {
    margin-top: 4rem;
    padding: 2rem 4rem;
    background: #fff;
    color: #000;
}

.related-products-slider h2 {
    font-size: 33px;
    margin-bottom: 1.5rem;
    text-align: left;
    margin-left: 18px;
    font-weight:500;
}

.related-products-wrapper {
    padding: 0px;
}

.related-products-wrapper .product-card {
    background: transparent;
    color: #000;
    padding: 1rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
}

.related-products-wrapper .product-card:hover {
    transform: scale(1.03);
}

.related-products-wrapper img {
    width: 100%;
    max-height: 390px;
    object-fit: cover;
}

/* Product Image Container for Related Products */
.product-image-container {
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
}

/* Product Overlay - Only covers the image area */
.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    border-radius: 8px;
}

/* Show overlay only on image container hover */
.product-image-container:hover .product-overlay {
    opacity: 1;
    visibility: visible;
}

/* Action buttons styling */
.product-actions {
    display: flex;
    gap: 12px;
}

.quick-view-btn,
.add-to-cart-btn {
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.quick-view-btn:hover,
.add-to-cart-btn:hover {
    background: #fff;
    transform: scale(1.1);
    color: #000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.quick-view-btn svg,
.add-to-cart-btn svg {
    stroke: currentColor;
    width: 18px;
    height: 18px;
}

/* Product Share Styling */
.product-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.product-share span {
    font-weight: 600;
    color: #333;
    margin-right: 8px;
}

.product-share a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-decoration: none;
}

.product-share a:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.product-share a svg,
.product-share a img {
    width: 24px;
    height: 24px;
}

/* Platform-specific hover colors */
.share-facebook:hover {
    background: #1877F2;
}

.share-facebook:hover svg path {
    fill: #fff;
}

.share-twitter_x:hover {
    background: #000;
}

.share-twitter_x:hover svg path {
    fill: #fff;
}

.share-instagram:hover {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.share-instagram:hover svg path {
    fill: #fff;
}

/* Breadcrumb Navigation Wrapper */
.breadcrumb-navigation-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb {
    flex: 1;
}

/* Product Navigation Styles */
.product-navigation {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.nav-link:hover {
    background: #ccc;
    color: #fff;
    border-color: #ccc;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 124, 186, 0.15);
}

.nav-link svg {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    fill: none;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-link.prev-product svg {
    order: -1;
    margin-right: 0.25rem;
}

.nav-link.next-product svg {
    order: 1;
    margin-left: 0.25rem;
}

/* Ensure SVGs are visible with fallback */
.nav-link svg path {
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Fallback for browsers that don't support SVG */
/* .nav-link:not(.svg-supported)::before {
    content: '←';
    font-size: 18px;
    margin-right: 0.25rem;
}

.nav-link.next-product:not(.svg-supported)::before {
    content: '→';
    margin-right: 0;
    margin-left: 0.25rem;
} */

/* Responsive styles for navigation */
@media (max-width: 1200px) {
    .breadcrumb-navigation-wrapper {
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .breadcrumb-navigation-wrapper {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
        text-align: center;
    }
    
    .breadcrumb {
        order: 1;
    }
    
    .product-navigation {
        order: 2;
        justify-content: center;
    }
    
    .nav-link {
        padding: 10px 12px;
        font-size: 13px;
    }
    
    .nav-link svg {
        width: 24px;
        height: 24px;
    }
}

@media (max-width: 480px) {
    .nav-link span {
        display: none;
    }
    
    .nav-link {
        padding: 8px;
        min-width: 40px;
        justify-content: center;
    }
}

/* Complete Responsive Design for Single Product Page */
@media (max-width: 1200px) {
    .product-wrapper {
        padding: 0 2rem;
        gap: 2rem;
    }
    .product-description {
        padding: 2rem 2rem;
    }
    .related-products-slider {
        padding: 2rem 2rem;
    }
}

@media (max-width: 900px) {
    .product-wrapper {
        flex-direction: column;
        padding: 0 1.5rem;
        gap: 1.5rem;
    }
    .product-gallery {
        min-width: auto;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }
    .product-summary {
        min-width: auto;
    }
    
    /* Mobile gallery adjustments */
    .woocommerce-product-gallery {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        margin: 0 auto;
    }
    
    .woocommerce-product-gallery__wrapper {
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .woocommerce-product-gallery ol.flex-control-thumbs {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        order: 2;
    }
    
    .flex-viewport {
        order: 1;
        width: 100%;
        text-align: center;
    }
    
    .woocommerce-product-gallery ol.flex-control-thumbs li {
        width: 60px;
        height: 60px;
    }
}
    .product-description {
        padding: 1.5rem 9.5rem;
        margin-top: 2rem;
    }
    .related-products-slider {
        padding: 1.5rem 1.5rem;
        margin-top: 2rem;
    }
    .related-products-slider h2 {
        font-size: 27px;
    }
    .buy-it-now-button {
        padding: 12px 6.4rem;
        font-size: 16px;
    }
    .safe-checkout-box {
        max-width: 100%;
    }

@media (max-width: 768px) {
    .product-wrapper {
        flex-direction: column;
        padding: 0 1rem;
        gap: 1rem;
    }
    .product-description {
        padding: 1rem 1rem;
        margin-top: 1.5rem;
    }
    .related-products-slider {
        padding: 1rem 1rem;
        margin-top: 1.5rem;
    }
    .related-products-slider h2 {
        font-size: 26px;
        margin-bottom: 1rem;
    }
    .product-share {
        flex-wrap: wrap;
        justify-content: center;
        padding: 0.75rem;
        gap: 8px;
    }
    .product-share a {
        width: 36px;
        height: 36px;
    }
    .product-share a svg,
    .product-share a img {
        width: 20px;
        height: 20px;
    }
    .buy-it-now-button {
        padding: 12px 5.2rem;
        font-size: 16px;
    }
    .safe-checkout-box {
        padding: 0.5rem;
        margin-top: 1rem;
    }
    .safe-checkout-box h4 {
        font-size: 13px;
    }
    .safe-checkout-box img {
        max-height: 30px;
    }
}

@media (max-width: 600px) {
    .product-wrapper {
        padding: 0 0.5rem;
    }
    .product-description {
        padding: 0.75rem 0.5rem;
    }
    .related-products-slider {
        padding: 0.75rem 0.5rem;
    }
    .related-products-slider h2 {
        font-size: 26px;
    }
    .product-share {
        padding: 0.5rem;
        gap: 6px;
    }
    .product-share a {
        width: 32px;
        height: 32px;
    }
    .product-share a svg,
    .product-share a img {
        width: 18px;
        height: 18px;
    }
    .buy-it-now-button {
        padding: 12px 4.5rem;
        font-size: 15px;
    }
    .product-actions {
        gap: 8px;
    }
    .quick-view-btn,
    .add-to-cart-btn {
        width: 38px;
        height: 38px;
    }
    .quick-view-btn svg,
    .add-to-cart-btn svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .product-wrapper {
        padding: 0 0.25rem;
    }
    .product-description {
        padding: 0.5rem 0.25rem;
    }
    .related-products-slider {
        padding: 0.5rem 0.25rem;
    }
    .related-products-slider h2 {
        font-size: 24px;
    }
    .product-share {
        padding: 0.25rem;
        gap: 4px;
    }
    .product-share span {
        font-size: 14px;
        margin-right: 4px;
    }
    .product-share a {
        width: 30px;
        height: 30px;
    }
    .product-share a svg,
    .product-share a img {
        width: 16px;
        height: 16px;
    }
    .buy-it-now-button {
        padding: 12px 4.5rem;
        font-size: 14px;
    }
    .safe-checkout-box {
        padding: 0.25rem;
    }
    .safe-checkout-box h4 {
        font-size: 12px;
    }
    .safe-checkout-box img {
        max-height: 25px;
    }
    .product-actions {
        gap: 6px;
    }
    .quick-view-btn,
    .add-to-cart-btn {
        width: 34px;
        height: 34px;
    }
    .quick-view-btn svg,
    .add-to-cart-btn svg {
        width: 14px;
        height: 14px;
    }
    .related-products-wrapper .product-card {
        padding: 0.75rem;
    }
}

/* Ensure add-to-cart button is always visible */
.single_add_to_cart_button {
    display: block !important;
    visibility: visible !important;
}

/* Ensure variations wrapper is visible */
.single_variation_wrap {
    display: flex !important;
    visibility: visible !important;
}

/* Show WooCommerce variations form properly */
.variations_form {
    display: block !important;
    visibility: visible !important;
}

/* Make sure variation data container is visible */
.woocommerce-variation {
    display: block !important;
    visibility: visible !important;
}

/* Hide the default WooCommerce variations table */
.variations_form .variations {
    display: none !important;
}

/* Hide the default WooCommerce variation reset link */
.variations_form .reset_variations {
    display: none !important;
}

/* Custom Variations Dropdown Styles */
.custom-variations-dropdown {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e9ecef;
    max-width: 400px;
}

.variation-option {
    margin-bottom: 0.75rem;
}

.variation-option:last-child {
    margin-bottom: 0;
}

.variation-option label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.25rem;
    color: #333;
    font-size: 13px;
}

.variation-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    font-size: 14px;
    color: #333;
    appearance: none;
    background-image: url('data:image/svg+xml;charset=US-ASCII,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 4 5"><path fill="%23666" d="M2 0L0 2h4zm0 5L0 3h4z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.variation-select:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 2px rgba(0, 124, 186, 0.1);
}

.variation-select:hover {
    border-color: #999;
}

.variation-info {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e9ecef;
}

.variation-price {
    font-size: 18px;
    font-weight: 600;
    color: #000;
    margin-bottom: 0.5rem;
}

.variation-availability {
    font-size: 14px;
    color: #28a745;
}

.variation-availability.out-of-stock {
    color: #dc3545;
}

/* Responsive styles for custom variations */
@media (max-width: 768px) {
    .custom-variations-dropdown {
        margin: 1rem 0;
        padding: 1rem;
    }
    
    .variation-select {
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .custom-variations-dropdown {
        margin: 0.75rem 0;
        padding: 0.75rem;
    }
    
    .variation-option label {
        font-size: 13px;
    }
    
    .variation-select {
        padding: 8px 10px;
        font-size: 13px;
    }
}

/* Add to Cart and Quantity Inline Styling */
.single_variation_wrap {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: flex-start;
    align-content: flex-start;
}

.single_variation_wrap .woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    flex-direction:row;
    gap: 10px;
}

.single_variation_wrap .quantity {
    display: flex;
    align-items: center;
    margin: 0;
}

.single_variation_wrap .quantity input[type="number"] {
    width: 60px;
    padding: 8px 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    margin: 0;
}

.single_variation_wrap .single_add_to_cart_button {
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    flex: 0 0 auto;
}

.single_variation_wrap .single_add_to_cart_button:hover {
    background: #2c2c2ca2;
}

.single_variation_wrap .single_add_to_cart_button:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Standard add to cart form (non-variable products) inline styling */
.cart:not(.variations_form) {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart:not(.variations_form) .quantity {
    display: flex;
    align-items: center;
    margin: 0;
}

.cart:not(.variations_form) .quantity input[type="number"] {
    width: 60px;
    padding: 8px 10px;
    border: 2px solid #ddd;
    border-radius: 4px;
    text-align: center;
    font-size: 16px;
    margin: 0;
}

.cart:not(.variations_form) .single_add_to_cart_button {
    padding: 10px 20px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.3s ease;
    flex: 0 0 auto;
}

.cart:not(.variations_form) .single_add_to_cart_button:hover {
    background: #000;
}

/* Responsive adjustments for inline cart */
@media (max-width: 480px) {
    .single_variation_wrap,
    .cart:not(.variations_form) {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding:10px 20px;
    }
    
    .single_variation_wrap .woocommerce-variation-add-to-cart {
        flex-direction: row;
        align-items: stretch;
    }
    
    .single_variation_wrap .quantity,
    .cart:not(.variations_form) .quantity {
        justify-content: center;
    }
    
    .single_variation_wrap .single_add_to_cart_button,
    .cart:not(.variations_form) .single_add_to_cart_button {
        /* width: 100%; */
        padding: 12px;
    }
}
 /* Updated CSS for sticky gallery without scrollbar */
 .product-wrapper {
    display: flex;
    position: relative;
    margin-top:25px;
    gap: 30px; /* This replaces padding-left on product-summary */
}

.product-gallery-wrapper {
    position: sticky;
    top: 20px;
    align-self: flex-start;
    width: 50%; /* Adjust this to match your original width */
    flex: 0 0 auto; /* Prevents the gallery from growing/shrinking */
}

.product-gallery {
    width: 100%;
    overflow: hidden; /* Removes any potential scrollbars */
}

.product-summary {
    flex: 1;
    width: 50%; /* Adjust this to match your original width */
}

/* Optional: Add this if you want the gallery to stop sticking at some point */
@media (max-width: 768px) {
    .product-wrapper {
        flex-direction: column;
    }
    .product-gallery-wrapper,
    .product-summary {
        width: 100%;
        position: static;
    }
}
/* hero section */
.hero-3col-grid {
    width: 100%;
    margin: 0 auto 40px auto;
    padding: 0 0 0 0;
}
.hero-3col-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
    min-height: 350px;
}
.hero-3col-item {
    display: block;
    position: relative;
    min-height: 350px;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
}
.hero-3col-img {
    width: 100%;
    height: 100%;
    min-height: 350px;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s;
}
.hero-3col-item:hover .hero-3col-img {
    transform: scale(1.04);
}
.hero-3col-overlay {
    position: absolute;
    left: 0; right: 0; bottom: 0; top: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    padding: 30px 30px 30px 30px;
    background: linear-gradient(0deg, rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.05) 100%);
}
.hero-3col-title {
    color: #fff;
    font-size: 2.1rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
    margin-bottom: 0;
}
.hero-3col-title b {
    font-weight: 900;
}
.hero-3col-subtitle {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 400;
    margin-bottom: 10px;
    opacity: 0.85;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}
/* Complete Responsive Design for Hero Section */
@media (max-width: 991px) {
    .hero-3col-wrapper { 
        grid-template-columns: 1fr; 
        gap: 0;
    }
    .hero-3col-item { 
        min-height: 280px; 
    }
    .hero-3col-img { 
        min-height: 280px; 
    }
    .hero-3col-overlay { 
        padding: 25px; 
    }
    .hero-3col-title { 
        font-size: 1.8rem; 
    }
    .hero-3col-subtitle {
        font-size: 1rem;
    }
}

@media (max-width: 767px) {
    .hero-3col-wrapper { 
        grid-template-columns: 1fr; 
    }
    .hero-3col-item { 
        min-height: 250px; 
    }
    .hero-3col-img { 
        min-height: 250px; 
    }
    .hero-3col-overlay { 
        padding: 20px; 
    }
    .hero-3col-title { 
        font-size: 1.5rem; 
    }
    .hero-3col-subtitle {
        font-size: 0.9rem;
    }
}

@media (max-width: 575px) {
    .hero-3col-item { 
        min-height: 220px; 
    }
    .hero-3col-img { 
        min-height: 220px; 
    }
    .hero-3col-overlay { 
        padding: 18px; 
    }
    .hero-3col-title { 
        font-size: 1.3rem; 
    }
    .hero-3col-subtitle {
        font-size: 0.85rem;
    }
}

@media (max-width: 479px) {
    .hero-3col-item { 
        min-height: 200px; 
    }
    .hero-3col-img { 
        min-height: 200px; 
    }
    .hero-3col-overlay { 
        padding: 15px; 
    }
    .hero-3col-title { 
        font-size: 1.1rem; 
    }
    .hero-3col-subtitle {
        font-size: 0.8rem;
    }
}

/* category circle section */
.featured-categories-section {
    width: 100%;
    padding: 0 4.5rem;
    background: #fff;
}

.featured-categories-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 24px;
}

.featured-category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
}

.category-circle-link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-circle-img {
    width: 183px;
    height: 183px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    margin-bottom: 10px;
    background: #fff;
    transition: box-shadow 0.2s, transform 0.2s;
    position: relative;
}

.category-circle-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.category-circle-link-wrapper:hover .category-circle-img {
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
    transform: scale(1.07);
}

.category-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 50%;
}

.category-circle-link-wrapper:hover .category-overlay {
    opacity: 1;
}

.category-overlay-content {
    text-align: center;
    color: #fff;
    padding: 20px;
}

.category-overlay-text {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 15px 0;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.category-overlay-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #fff;
    color: #000;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    border-radius: 4px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.category-overlay-btn:hover {
    background: #000;
    color: #fff;
    transform: translateY(-2px);
}

.category-circle-name {
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    text-align: center;
    margin-top: 2px;
    max-width: 100px;
    white-space: normal;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .featured-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .featured-categories-section {
        padding: 0 2rem;
    }
}

@media (max-width: 768px) {
    .featured-categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .featured-categories-section {
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .featured-categories-grid {
        grid-template-columns: 1fr;
    }
}

/* category banner section */

.category-banner-section{
    padding:60px 4.5rem;
}
@media(max-width:768px){
    .category-banner-section{
    padding:0;
}
}
.category-banner-section{
    width: 100%;
    margin: 0 auto 40px auto;
}
.category-banner-bg  {
    position: relative;
    width: 100%;
    min-height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
    overflow: hidden;
}


.category-banner-bg:hover{
    transform: scale(1.05);
}
.category-banner-content {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: center;
    margin-top:45px;
}
.banner-heading { 
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.banner-text{
    font-size: 1.15rem;
    margin-bottom: 24px;
}
.banner-btn {
    display: inline-block;
    padding: 14px 38px;
    background:transparent;
    color: #000;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}
@media (max-width: 900px) {
    .category-banner-content { padding: 24px 10px; }
    .banner-heading  { font-size: 1.3rem; }
    .category-banner-bg  { min-height: 180px; }
}

.category-banner-section2{
    width: 100%;
    margin: 0 auto 40px auto;
}
.category-banner-bg2  {
    position: relative;
    width: 100%;
    min-height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: center;
    transition: transform 0.5s;
    overflow: hidden;
    padding:6rem;
}
.category-banner-section1{
    width: 100%;
    margin: 0 auto 40px auto;
    padding: 60px 4.5rem;
    }
    @media(max-width:468px){
        .category-banner-section1{
            padding:30px 0.5rem;
        }
    }
    .category-banner-bg1{
    position: relative;
    background-color:#e1f2fc;
    width: 100%;
    min-height: auto;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s;
    overflow: hidden;
    }
    .category-banner-content1{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        text-align: center;
        color: #fff;
        padding: 15px;
        max-width: 90vw;
        color:#000;
        gap:40px;
    }
    .banner-heading1{
        font-size:26px;
        font-weight:300;
        margin-top:15px;        
    }
    .banner-btn1{
        border:1px dashed black;
        font-size:16px;
        font-weight:500;
        padding:4px 30px;
    }
    .banner-btn1:hover{
        background-color:black;
        color:white;
    }


.category-banner-content2 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
    margin-top:45px;
    color:#fff;
}
.banner-heading2 { 
    font-size: 28px;
    font-weight: 400;
    font-family: 'Jost', sans-serif;

}
.banner-text2{
    font-size: 28px;
    color:#fff;
}
.banner-text2 h2{
    font-size:18px;
    font-weight:300;

}
.banner-btn2 {
    display: inline-block;
    padding: 14px 38px;
    background:transparent;
    color: #000;
    font-weight: 400;
    font-size: 1rem;
    text-decoration: none;
    transition: background 0.2s;
}
@media (max-width: 900px) {
    .category-banner-content2 { padding: 24px 10px; }
    .banner-heading2  { font-size: 1.3rem; }
    .category-banner-bg2  { min-height: 180px; }
}

/* front page section */
.hero-slider, .category-slider, .testimonials-slider { 
    width: 100%; 
    margin-bottom: 40px; 
}
.hero-slider .swiper-slide img {
     width: 100%; 
     height: 400px; 
     object-fit: cover; 
     border-radius: 12px; 
    }
.hero-caption { 
    position: absolute; 
    bottom: 40px; 
    left: 40px; 
    color: #fff; 
    background: rgba(0,0,0,0.4); 
    padding: 20px 30px; 
    border-radius: 8px; 
}
.category-slider .category-slide { 
    text-align: center; 
}
.category-slider img { 
    width: 80px; 
    height: 80px; 
    object-fit: cover; 
    border-radius: 50%; 
    margin-bottom: 10px;
 }
.category-slider span { 
    display: block; 
    font-weight: 600; 
    font-size: 1rem; 
}
.front-search-bar { 
    display: flex; 
    justify-content: center; 
    margin: 40px 0; 
}
.front-search-bar .search-form { 
    display: flex; 
    max-width: 500px; 
    width: 100%; 
}
.front-search-bar .search-field { 
    flex: 1; 
    padding: 14px; 
    border: 1px solid #ddd; 
    border-radius: 6px 0 0 6px; 
    font-size: 1rem; 
}
.front-search-bar .search-submit { 
    padding: 14px 24px; 
    border: none; 
    background: #1a1a1a; 
    color: #fff; 
    border-radius: 0 6px 6px 0; 
    font-weight: 600; 
    cursor: pointer; 
}
.section-title { 
    text-align: center; 
    font-size: 38px; 
    margin: 20px 0 30px; 
    font-weight: normal; 
}
.products-grid { 
    display: grid; 
    grid-template-columns: repeat(4, 1fr); 
    gap: 30px; 
}
.category-products-section .products-grid { 
    grid-template-columns: repeat(4, 1fr); 
}
@media (max-width: 1024px) { 
    .products-grid, .category-products-section .products-grid {
         grid-template-columns: repeat(2, 1fr); 
        } 
    }
@media (max-width: 600px) { 
    .products-grid, .category-products-section .products-grid { 
        grid-template-columns: 1fr; } 
    }
.testimonials-section { 
    background: #f8f8f8; padding: 40px 0; 
}
.testimonial-slide blockquote { 
    font-size: 1.1rem; 
    font-style: italic; 
    margin-bottom: 10px;
 }
.testimonial-author { 
    font-weight: 700; 
    color: #1a1a1a; 
}
.why-choose-section { 
    background: #f8f8f8; 
    padding: 40px 0; 
    text-align: center; 
}
.gallery-section { 
    padding: 40px 0; 
}
.gallery-grid { 
    display: grid; 
    grid-template-columns: repeat(6, 1fr); 
    gap: 10px; justify-items: center; 
}
.gallery-grid img { 
    width: 100%; 
    border-radius: 8px; 
}
@media (max-width: 900px) { 
    .gallery-grid { 
        grid-template-columns: repeat(3, 1fr); 
    }
 }
@media (max-width: 600px) { 
    .gallery-grid { 
        grid-template-columns: 1fr; 
    } 
}
.blog-grid { 
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 0px; 
}
@media (max-width: 900px) { 
    .blog-grid { grid-template-columns: 1fr; } 
}
.blog-card { 
    background: #fff; 
    border-radius: 8px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.07); 
    padding: 20px; }
.blog-card h3 { 
    font-size: 24px; 
    margin: 10px 0; }

    /* blog section front page  */
    .blog-section {
        padding: 60px 4.5rem;
        background: #fff;
        text-align: center;
    }
    
    .blog-section h2 {
        font-size: 38px;
        font-weight: normal;
    }
    
    .blog-subtitle {
        font-size: 18px;
        color: #777;
    }
    
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 2rem;
    }
    
    .blog-card {
        text-align: left;
        background: transparent;
    }
    
    .blog-image-wrapper {
        position: relative;
        overflow: hidden;
    }
    
    .blog-image-wrapper img {
        width: 100%;
        height: 330px;
        display: block;
        object-fit:cover;
    }
    
    .blog-category {
        position: absolute;
        top: 15px;
        left: 15px;
        background: #000;
        color: #fff;
        font-size: 0.75rem;
        padding: 6px 12px;
        border-radius: 4px;
        font-weight: bold;
    }
    
    .blog-meta {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 13px;
        color: #888;
        margin-top: 1rem;
        text-transform: uppercase;
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    .blog-meta span {
        font-weight: 500;
        font-size:13px;
        color: #222;
    }
    
    .blog-title {
        font-size: 1.2rem;
        font-weight: 600;
        margin: 0.5rem 0 0.25rem;
        color: #111;
    }
    
    .blog-excerpt {
        color: #777;
        font-size:16px;
        font-weight:normal;
        margin-bottom: 1.2rem;
    }
    
    .read-more {
        font-weight: normal;
        font-size:16px;
        text-decoration: none;
        border-bottom: 2px solid #000;
        padding-bottom: 2px;
        transition: all 0.3s ease;
        display: inline-block;
    }
    
    .read-more:hover {
        color: #000;
        border-color: #000;
    }
    /* ============================================= */
/* Bracelet Section - Updated Overlay Styling */
/* ============================================= */

.bracelet-section {
    padding: 60px 2rem;
    background: #fff;
}

.bracelet-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: #333;
}

.bracelet-category-slider {
    margin-bottom: 50px;
}

.bracelet-category-title {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: #222;
}

.bracelet-section-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 20px;
}

.bracelet-category-image {
    flex: 0 0 30%;
    width: 30%;
    position: relative;
    overflow: hidden;
}

.bracelet-category-image img {
    width: 100%;
    height: 483px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

/* Updated Bracelet Product Overlay (Matches Category Tabs) */
.bracelet-section .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.bracelet-section .product-card:hover .product-overlay {
    opacity: 1;
}

.bracelet-section .product-actions {
    display: flex;
    gap: 10px;
}

.bracelet-section .quick-view-btn,
.bracelet-section .add-to-cart-btn {
    background: #fff;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.bracelet-section .quick-view-btn:hover,
.bracelet-section .add-to-cart-btn:hover {
    background: #000;
}

.bracelet-section .quick-view-btn svg,
.bracelet-section .add-to-cart-btn svg {
    width: 20px;
    height: 20px;
    color: #000;
    transition: color 0.3s ease;
}

.bracelet-section .quick-view-btn:hover svg,
.bracelet-section .add-to-cart-btn:hover svg {
    color: #fff;
}

.bracelet-product-slider {
    flex: 1;
    width: 68%;
}

/* ============================================= */
/* Category Tabs - Matching Overlay Styling */
/* ============================================= */

.category-tabs-section .product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.category-tabs-section .product-card:hover .product-overlay {
    opacity: 1;
}

.category-tabs-section .product-actions {
    display: flex;
    gap: 10px;
}

.category-tabs-section .quick-view-btn,
.category-tabs-section .add-to-cart-btn {
    background: #fff;
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
}

.category-tabs-section .quick-view-btn:hover,
.category-tabs-section .add-to-cart-btn:hover {
    background: #000;
}

.category-tabs-section .quick-view-btn svg,
.category-tabs-section .add-to-cart-btn svg {
    width: 20px;
    height: 20px;
    color: #000;
    transition: color 0.3s ease;
}

.category-tabs-section .quick-view-btn:hover svg,
.category-tabs-section .add-to-cart-btn:hover svg {
    color: #fff;
}

/* ============================================= */
/* Shared Product Card Styles */
/* ============================================= */

/* Applies to both sections */
.product-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 483px;
    padding: 18px 14px 20px 14px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-bottom: 0;
}

.product-image {
    position: relative;
    width: 100%;
    height: 320px;
    overflow: hidden;
    margin-bottom: 15px;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 17px;
    font-weight: 400;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.product-title a {
    color: #222;
    text-decoration: none;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-title a:hover {
    color: #333;
}

.product-price {
    font-size: 15px;
    font-weight: 500;
    color: #000;
    margin-top: auto;
}

/* ============================================= */
/* Responsive Styles (Applies to both sections) */
/* ============================================= */

@media (max-width: 1024px) {
    .bracelet-section-container {
        flex-direction: column;
    }
    .bracelet-category-image {
        width: 100%;
        margin-bottom: 20px;
    }
    .bracelet-product-slider {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .bracelet-section {
        padding: 30px 1rem;
    }
    .bracelet-title {
        font-size: 1.8rem;
    }
    .product-card {
        height: auto;
        padding: 0;
    }
    .product-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .bracelet-section {
        padding: 20px 0.5rem;
    }
    .bracelet-title {
        font-size: 1.5rem;
    }
    .product-image {
        height: 200px;
    }
}

/* canvas css */
#mini-cart {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 8px rgba(0,0,0,0.1);
    z-index: 10000;
    transition: right 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

#mini-cart.open {
    right: 0;
}

#mini-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    z-index: 9999;
    transition: opacity 0.3s ease-in-out;
}

#mini-cart-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-size: 18px;
    font-weight: bold;
}

.mini-cart-content {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
}

#close-mini-cart {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
}
