/*--------------------------------------------------------------
1.  :root / Custom Properties
--------------------------------------------------------------*/
:root {
    --serif: 'Cormorant Garamond', serif;
    --sans: 'Outfit', sans-serif;
}

/*--------------------------------------------------------------
2.  Reset & Global Base
--------------------------------------------------------------*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--sans);
    line-height: 1.7;
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}


input, textarea {
    padding: 10px;
    margin-top: 6px;
    border: 1px solid #ccc;
    outline:0;
    margin-bottom: 10px;
    border-radius: 0;
}

/*--------------------------------------------------------------
3. Header & Navigation
--------------------------------------------------------------*/
        .header {
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            padding: 1.5rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .header.scrolled {
            backdrop-filter: blur(10px);
            padding: 1rem 5%;
            box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
            position: fixed;
        }
        
		.site-branding img{
			height:auto;
		}
		
        .logo {
            font-family: var(--serif);
            font-size: 1.6rem;
            font-weight: 500;
            color: var(--halka-primary-color);
            letter-spacing: 0.5px;
            text-decoration: none;
            transition: opacity 0.3s;
        }
        
        .logo:hover {
            opacity: 0.7;
        }
        
        .nav {
            display: flex;
            gap: 3.5rem;
            align-items: center;
        }
        .nav li{list-style-type:none;}
        .nav a {
            color: var(--halka-main-text-color);
            text-decoration: none;
            font-size: 0.95rem;
            font-weight: 400;
            letter-spacing: 0.3px;
            position: relative;
            transition: color 0.3s;
        }
        
        .nav a::after {
            content: '';
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 1px;
            background: var(--halka-accent-color);
            transition: width 0.3s ease;
        }
        
        #header a:hover, .nav a:hover {
            color: var(--halka-accent-color);
        }
        
        .nav a:hover::after {
            width: 100%;
        }
        
        .header-icons {
            display: flex;
            gap: 1.8rem;
            align-items: center;
        }
        
      .icon-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

 .icon-btn svg {width:16px;height:16px;}

/* Cart Count Badge */
.cart-count {
    position: absolute;
    top: 2px;
    right: 0px;
    background-color: var(--halka-accent-color);
    color: var(--halka-light-color);
    font-size: 10px;
    font-weight: bold;
    min-width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2px;
    line-height: 1;
}

/* Hide badge if cart is empty (optional) */
.cart-count:empty {
    display: none;
}
        
        .icon-btn:hover {
            color: var(--halka-accent-color);
        }
		
		/* Hamburger */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--halka-primary-color);
    transition: all 0.3s ease;
}

.menu-overlay {
    display: none;
}

@media (max-width: 992px) {

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 2000;
    }

    .menu-toggle span {
        width: 24px;
        height: 2px;
        background: var(--halka-primary-color);
    }

    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--halka-light-color);
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
        padding: 6rem 2rem;
        transition: right 0.3s ease;
        z-index: 1800;
    }

    .nav.active {
        right: 0;
    }
	
	.menu-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 1500;
	display:block;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

    /* Hide desktop menu layout */
    .header {
        justify-content: space-between;
    }

}
        
        /* Hero Section */
        .hero-section {
            height: 100vh;
            position: relative;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;

        }
		
        
        .hero-content {
            text-align: center;
            padding: 0 2rem;
            animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
			position:relative;
			z-index: 2;
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .hero-section h1 {
            font-family: var(--serif);
            font-size: 4.5rem;
            font-weight: 400;
            color: var(--halka-primary-color);
            margin-bottom: 1.5rem;
            letter-spacing: -0.5px;
            line-height: 1.2;
        }
        
        .hero-subtitle {
            font-size: 1.3rem;
            color: var(--halka-main-text-color);
            margin-bottom: 3rem;
            font-weight: 300;
            letter-spacing: 0.3px;
        }
        
        .cta-group {
            display: flex;
            gap: 1.5rem;
            justify-content: center;
            flex-wrap: wrap;
        }

      /* Slider Container Height */
.hero-item {
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}


#halka-hero-slider .splide__arrow{
    opacity: 0;
    visibility: hidden;    
}

#halka-hero-slider:hover .splide__arrow{
opacity: 1;
visibility: visible;   
transition: all 0.3s ease;
}    
        
        .btn {
            padding: 1rem 2.5rem;
            text-decoration: none;
            font-family: var(--sans);
            font-size: 0.95rem;
            font-weight: 500;
            letter-spacing: 0.5px;
            border: none;
            cursor: pointer;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: inline-block;
        }

        .halka-btn-primary {
            background: var(--halka-primary-color);
            color: var(--halka-button-text-color);
        }
        
        .halka-btn-primary:hover {
            background: var(--halka-accent-color);
            transform: translateY(-2px);
            box-shadow: 0 8px 20px rgba(26, 77, 46, 0.2);
        }
        
        .halka-btn-secondary {
            background: transparent;
            color: var(--halka-primary-color);
            border: 1px solid var(--halka-primary-color);
        }
        
        .halka-btn-secondary:hover {
            background: var(--halka-primary-color);
			color:var(--halka-button-text-color);
            transform: translateY(-2px);
        }
        
        /* Section Base */
        .section {
            padding: 6rem 5%;
            opacity: 0;
            transform: translateY(30px);
            transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .section.visible {
            opacity: 1;
            transform: translateY(0);
        }
        
        .section-title {
            font-family: var(--serif);
            font-size: 3rem;
            font-weight: 400;
            color: var(--halka-primary-color);
            text-align: center;
            letter-spacing: -0.3px;
        }
        
        .section-subtitle {
            text-align: center;
            color: var(--halka-grey-color);
            font-size: 1.1rem;
            margin-bottom: 5rem;
            max-width: 600px;
            margin-left: auto;
            margin-right: auto;
            font-weight: 300;
        }
        
		
.collections-grid, .products-grid, .process-grid, .counters-grid, .blog-grid, .footer-grid {
            display: grid;
		    justify-content: center;
            gap: 2rem;
            max-width: 1400px;
            margin: 0 auto;
            grid-template-columns: repeat(auto-fit, minmax(350px, min(100%, 350px)));
        }
        
        .collection-card {
            position: relative;
            height: 350px;
            overflow: hidden;
            cursor: pointer;
            transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .collection-card:hover {
            transform: translateY(-8px);
        }
        
        .collection-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .collection-card:hover .collection-image {
            transform: scale(1.05);
        }
        
        .collection-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            padding: 2.5rem;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
            color: white;
        }
        
        .collection-title {
            font-family: var(--serif);
            font-size: 1.8rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
        }
        
        .collection-description {
            font-size: 0.9rem;
            opacity: 0.9;
            font-weight: 300;
        }
        
        /* Products */
        
        .product-card {
            text-decoration: none;
            color: inherit;
            transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            display: block;
			 background: var(--halka-light-color);
        }
        
        .product-card:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
        }
        
        .product-image-wrapper {
            position: relative;
            overflow: hidden;
            aspect-ratio: 4 / 3;
        }
        
        .product-image {
            width: 100% !important;
            height: 100% !important;
            object-fit: cover;
            transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        }
        
        .product-card:hover .product-image {
            transform: scale(1.08);
        }
        
        .product-info {
            padding: 1.8rem;
        }
        
        .product-title {
            font-family: var(--serif);
            font-size: 1.3rem;
            font-weight: 500;
            margin-bottom: 0.5rem;
            color: var(--halka-main-text-color);
        }
        
        .product-price {
            font-size: 1.1rem;
            color: var(--halka-accent-color);
            font-weight: 500;
        }
        
        /* Brand Story */
        
        .story-container {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 6rem;
            align-items: center;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .story-image {
            width: 100%;
            height: 600px;
            object-fit: cover;
        }
        
        .story-content h3 {
            font-family: var(--serif);
            font-size: 2.5rem;
            font-weight: 400;
            color: var(--halka-primary-color);
            margin-bottom: 1.5rem;
            line-height: 1.3;
        }
        
        .story-content p {
            font-size: 1.1rem;
            line-height: 1.9;
            margin-bottom: 1.5rem;
            font-weight: 300;
			color: var(--halka-grey-color);
        }
        
        .story-content .btn {
            margin-top: 1rem;
        }
        
        /* Process Signals */
		
	.process-grid, .counters-grid {
			grid-template-columns: repeat(auto-fit, minmax(250px, min(100%, 250px)));
		}
		
        .process-item {
            text-align: center;
        }
        
        .process-icon svg{
            width: 50px; 
            height: 50px;
            margin: 0 auto 1rem;
			color: var(--halka-accent-color);
			font-size: 2rem;
        }
		
		
		
        
        .process-title {
            font-family: var(--serif);
            font-size: 1.3rem;
            font-weight: 500;
            color: var(--halka-primary-color);
            margin-bottom: 0.5rem;
        }
        
        .process-description {
            font-size: 0.95rem;
            color: var(--halka-grey-color);
            line-height: 1.6;
            font-weight: 300;
        }
        
		.counters-section {
    color: var(--halka-main-text-color);
    text-align: center;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}



.counter-number {
	font-family: var(--sans);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
	color: var(--halka-grey-color);
}

.counter-title {
    font-size: 1rem;
    color: var(--text-light);
    font-weight: 400;
	font-family: var(--serif);
}

        
        .testimonials-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 3rem;
            max-width: 1400px;
            margin: 0 auto;
        }
        
        .testimonial-card {
            padding: 3rem;
            background: var(--halka-light-color);
            border-left: 3px solid var(--halka-accent-color);
        }
		

		.quote-icon svg{
			color:#e5e5e5;
			width:40px;
			height:40px;
		}
        
        .testimonial-text {
            font-size: 1.1rem;
            line-height: 1.8;
            color: var(--halka-main-text-color);
            margin-bottom: 2rem;
            font-style: italic;
            font-weight: 300;
        }
        
        .testimonial-author {
            font-family: var(--serif);
            font-size: 1.1rem;
            color: var(--halka-primary-color);
            font-weight: 600;
        }
 

.blog-card {
    background: var(--halka-light-color);
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.05);
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.08);
}

.blog-card-image img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
}

.blog-card-content {
    padding: 1.5rem;
	font-family:var(--sans);
}

.blog-card-category, .single-post-category {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--halka-grey-color);
    display: inline-block;
    margin-bottom: .5rem;
	text-decoration:none;
}

.blog-card-title {
    font-size: 1.5rem;
    margin: .5rem 0;
}

.blog-card-title a {
    text-decoration: none;
    color: var(--halka-primary-color);
}

.blog-card-title a:hover, .blog-card-category:hover, .blog-card-readmore:hover, .single-post-category:hover {
    color: var(--halka-accent-color);
}

.blog-card-excerpt {
    font-size: 0.95rem;
    color: var(--halka-grey-color);
    margin-bottom: 1rem;
}

.blog-card-readmore {
    font-weight: 600;
    text-decoration: none;
    color: var(--halka-main-text-color);
}
 

        
        .newsletter-form {
            display: flex;
            gap: 1rem;
            max-width: 500px;
            margin: 0 auto;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .newsletter-input {
            flex: 1;
            min-width: 250px;
            padding: 1rem 1.5rem;
            border: 1px solid #aaaaaa;
            background: transparent;
            color: var(--halka-main-text-color);
            font-family: var(--sans);
            font-size: 1rem;
            transition: all 0.3s;
        }
        

        .newsletter-input:focus {
            outline: none;
            border-color: var(--halka-primary-color);
            background: transparent;
        }
        
        .newsletter .btn-primary:hover {
            transform: translateY(-2px);
        }
        
        /* Footer */
        .footer-section {
            padding: 5rem 5% 3rem;
			color: var(--halka-light-color);
        }
        
        .footer-grid {
          grid-template-columns: repeat(auto-fit, minmax(275px, min(100%, 275px)));
        }
		
		.footer-column{
			padding: 0 2rem;
			margin-bottom: 3rem;
		}
        
        .footer-brand h3 {
            font-family: var(--serif);
            font-size: 1.8rem;
            font-weight: 500;
           margin-bottom: 10px;
			color: var(--halka-accent-color);
        }
        
        .footer-brand p {
            line-height: 1.8;
            opacity: 0.8;
            font-weight: 300;
        }
        
        .footer-column h4 {
            font-family: var(--serif);
            font-size: 1.4rem;
            font-weight: 500;
            margin-bottom: 10px;
			color: var(--halka-accent-color);
        }
        
        .footer-column ul {
            list-style: none;
        }
        
        .footer-column ul li {
            margin-bottom: 0.8rem;
        }
        
        .footer-column ul a {
            text-decoration: none;
            opacity: 0.8;
            transition: all 0.3s;
            font-size: 0.95rem;
            font-weight: 300;
			color: var(--halka-light-color);
        }
        
        .footer-column ul a:hover {
            opacity: 1;
            padding-left: 5px;
			color: var(--halka-accent-color);
        }
        
        .social-icons {
            display: flex;
            gap: 10px;
            margin-top: 10px;
			flex-wrap: wrap;
        }

        .social-icons a{
            color:inherit
        }
        
        .social-icon {
           padding: 7px;
            border: 1px solid #666666;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s;
			/* color: var(--halka-light-color); */
        }

        .social-icon svg{
             width: 20px;
            height: 20px;
        }
       
	   .social-icon:hover{
		   color: var(--halka-accent-color);
		   border-color: var(--halka-accent-color);
		   
	   }
        
        .footer-bottom {
            text-align: center;
            padding-top: 3rem;
            border-top: 1px solid rgba(255, 255, 255, 0.1);
            opacity: 0.6;
            font-size: 0.9rem;
            font-weight: 300;
        }
        
        /* Mobile Responsiveness */
        @media (max-width: 968px) {
            
            .hero h1 {
                font-size: 3rem;
            }
            
            .hero-subtitle {
                font-size: 1.1rem;
            }
            
            .section {
                padding: 5rem 5%;
            }
            
            .section-title {
                font-size: 2.5rem;
            }
            
            .story-container {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .footer-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .collections-grid,
            .products-grid {
                grid-template-columns: 1fr;
            }
        }
        
        @media (max-width: 640px) {
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .cta-group {
                flex-direction: column;
            }
            
            .btn {
                width: 100%;
                text-align: center;
            }
			
			.footer-section{
				width:100%;
			}
        }
		
.newsletter-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.newsletter-modal-content {
    background: var(--halka-light-color);
    padding: 30px;
    border-radius: 10px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    position: relative;
}

.newsletter-close {
    position: absolute;
    right: 15px;
    top: 10px;
    cursor: pointer;
    font-size: 22px;
}

.success { color: green; }
.error { color: red; }
		
/*Replace Woocommerce Styles */

.woocommerce-breadcrumb{
    color: var(--halka-grey-color) !important;
	font-size: 1.2rem !important;
}

.woocommerce *{
    font-family: inherit;
}

.archive-container{
	padding:3rem 5rem;
}


.breadcrumb-container {
    padding: 70px 0 20px;
}


.woocommerce-breadcrumb a {
    text-decoration: none;
    color: var(--halka-primary-color) !important;
    transition: color 0.3s ease;
}

.woocommerce-breadcrumb a:hover {
    color: var(--halka-accent-color) !important; /* Gold/Accent hover color */
}

.woocommerce-breadcrumb .sep {
    margin: 0 10px;
    color: var(--halka-main-text-color);
}

/* --- 1. Layout & Fixed Header Offset --- */

.single-product-wrapper, .archive-product-wrapper {
   padding: 80px;
}

/* Two-column grid for Gallery and Info */
.single-product-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
    margin-bottom: 80px;
    align-items: start;
}

@media (min-width: 992px) {
    .single-product-layout {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* --- 2. Product Gallery Column --- */
.product-gallery-column .woocommerce-product-gallery {
    position: relative;
}

.product-gallery-column img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Simple Thumbnails Grid */
.flex-control-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin-top: 15px;
    list-style: none;
    padding: 0;
}

.flex-control-thumbs li img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.flex-control-thumbs li img:hover {
    opacity: 0.7;
}

/* --- 3. Product Info Column --- */
.product-info-column .product_title {
    font-size: 2rem;
    margin-bottom: 10px;
    color: var(--halka-primary-color); /* Brand Green */
    line-height: 1.2;
}

.product-info-column .price {
    font-size: 1.2rem;
    color: var(--halka-accent-color); /* Gold Accent */
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.product-info-column del, .product-price del{
	color:var(--halka-grey-color);
}
.product-info-column ins, .product-price ins{
	text-decoration:none;
}

.woocommerce-product-details__short-description {
    margin-bottom: 30px;
    line-height: 1.6;
    color: var(--halka-main-text-color);
}

/* Quantity and Add to Cart Wrapper */
form.cart {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    align-items: start;
	flex-direction:column;
}

.quantity input {
    width: 60px !important;
    height: 48px;
    padding: 0 10px;
    border: 1px solid var(--halka-grey-color);
    border-radius: 4px;
    text-align: center;
}

.single_add_to_cart_button {
    background-color: var(--halka-primary-color) !important;
    color: var(--halka-light-color) !important;
    padding: 0 35px !important;
    height: 48px;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.woocommerce-variation-add-to-cart{
	display:flex;
	gap:1rem;
}

.single_add_to_cart_button:hover {
    background-color: var(--halka-accent-color) !important;
}

/* Product Meta (SKU, Categories) */
.product_meta {
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #888;
}

.product_meta span {
    display: flex;
    margin-bottom: 5px;
}

.product_meta a {
    color: var(--halka-primary-color);
    text-decoration: none;
}

/* --- 4. Description Section (Full Width) --- */
.product-details-section {
    padding: 20px 0;
    border-top: 1px solid #eee;
}


.description-heading {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--halka-primary-color);
}

.entry-content {
    line-height: 1.8;
    font-size: 1.1rem;
    color: var(--halka-grey-color);
}

/* --- 5. Related Products --- */
.related-products-section {
    padding: 80px 0;
}

.related-products-section h2 {
    margin-bottom: 40px;
    font-size: 2rem;
    color: var(--halka-primary-color);
}

/* Use your existing products-grid logic here */
.related-grid{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, min(100%, 350px)));
    gap: 30px;
	justify-content:start;
}

/* Sale Badge */
.onsale {
	top: 10px !important;
    right: 20px !important;
	left: unset !important;
    background: var(--halka-accent-color) !important;
}

/* Hide the original select box */
.variations select {
    display: none !important;
}

/* Container for the swatches */

/* The Swatch Button */
.swatch-btn {
    padding: 8px 16px;
    border: 2px solid #ddd;
    background: var(--halka-light-color);
    color: var(--halka-grey-color);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.swatch-btn:hover {
    border-color: var(--halka-primary-color); /* Your Brand Green */
}

/* Active State */
.swatch-btn.active {
    border-color: var(--halka-primary-color);
    background-color: var(--halka-primary-color);
    color: var(--halka-light-color);
}

/* Styling the Variations Table Label */
.variations label {
    font-weight: 600;
    color: var(--halka-primary-color);
    margin-bottom: 5px;
    display: block;
}

.variations tr {
    margin-bottom: 20px;
    display: block;
}

/* Ensure the table cell can contain the absolute reset link */
.variations td {
    position: relative;
    display: block;
}

/* Hide the original select box completely */
.variations select {
    display: none !important;
}

/* Swatch container spacing */
.swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

/* --- Cart Page Layout --- */
.woocommerce-cart-form {
    flex: 1;
	background: var(--halka-light-color);
    padding: 20px;
    border-radius: 5px;
}


@media (min-width: 992px) {
    .woocommerce-cart .container {
        display: flex;
        gap: 50px;
        align-items: flex-start;
        padding-top: 100px; /* Header Offset */
    }
}

/* Cart Table Styling */
.shop_table.cart {
    border-collapse: collapse !important;
}

.shop_table.cart th {
    border-bottom: 2px solid #eee;
    color: var(--halka-primary-color);
}

.shop_table.cart td {
    border-bottom: 1px solid #eee;
}

.product-thumbnail img {
    width: 80px !important;
    height: auto;
    border-radius: 4px;
}

.product-name a {
    color: #333;
    font-weight: 600;
    text-decoration: none;
}

.product-remove a {
    color: #cc0000;
    font-size: 20px;
    text-decoration: none;
}

/* Cart Totals Box */
.cart_totals {
	margin-right: 20px;
    padding: 20px;
	border-radius:10px;
	background:var(--halka-light-color);
	margin-top: 20px;
}

.cart_totals h2 {
    margin-bottom: 10px;
    color: var(--halka-primary-color);
}


.order-total {
    border-top: 1px solid #ddd;
    font-weight: bold;
    font-size: 1.2rem;
}

.checkout-button{
    background: var(--halka-primary-color) !important;
}



.woocommerce-message {
	outline:0;
	border-top-color: var(--halka-primary-color) !important;
}
.woocommerce-message::before {
    color:  var(--halka-primary-color) !important;
}

.woocommerce-form .form-row{
	margin-bottom:20px;
}

.woocommerce form .form-row-wide, .woocommerce-page form .form-row-wide {
    padding: 10px 0;
}

.woocommerce-Input, .woocommerce-Input--text, .input-text, .select2-selection{
    border:1px solid #ccc !important;
    outline: 0;
}

.input-text{padding:10px !important;}

.coupon{
	display: flex;
    justify-content: space-between;
}
.coupon input{
	padding:10px !important;
	width:60% !important;
}

/* Ensure the gallery container allows absolute positioning */
.woocommerce-product-gallery {
    position: relative;
    display: block;
}

/* Style the Trigger Button */
.woocommerce-product-gallery__trigger {
    position: absolute;
    top: 15px;
    right: 40px;
    z-index: 10; 
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--halka-light-color);
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.woocommerce-product-gallery__trigger:hover {
    background-color: var(--halka-primary-color); 
    transform: scale(1.1);
}

.woocommerce-product-gallery__trigger span {
    font-size: 18px;
    line-height: 1;
}


/* Layout Structure */
.salehmart-checkout {
    margin: 40px auto;
}

.checkout-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

@media (min-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1.4fr 1fr;
        align-items: start;
    }
    .sticky-sidebar {
        position: sticky;
        top: 120px; /* Adjust based on your fixed header height */
    }
}

/* Section Boxes */
.checkout-section-box {
    background: var(--halka-light-color);
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.sec-title {
    font-size: 1.3rem;
    color: var(--halka-primary-color); /* Brand Green */
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #f9f9f9;
}

/* Table Clean Up */
.woocommerce-checkout-review-order-table {
    width: 100%;
    border-collapse: collapse;
}

.woocommerce-checkout-review-order-table th, 
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
    border-bottom: 1px solid #f4f4f4;
}

.order-total {
    font-size: 1.4rem;
    color: var(--halka-primary-color);
}

/* Payment Section Customization */
#payment {
    background: #fdfdfd !important;
    border-radius: 6px;
    padding: 0 !important;
    margin-top: 20px;
}

.wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
}

.wc_payment_method {
    border: 1px solid #eee;
    margin-bottom: 10px;
    padding: 15px;
    border-radius: 6px;
}

/* The Button */
#place_order {
    width: 100%;
    background: var(--halka-accent-color) !important; 
    color: white !important;
    padding: 18px !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    border-radius: 6px !important;
    border: none !important;
    margin-top: 20px !important;
    transition: 0.3s ease;
}

#place_order:hover {
    background: var(--halka-primary-color) !important; /* Hover to Green */
}

.salehmart-thankyou-wrapper {
    max-width: 1000px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: inherit;
}

/* Success Card */
.thankyou-card {
    background: var(--halka-light-color);
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
   
}

.status-icon {
    width: 60px;
    height: 60px;
    background: var(--halka-primary-color); /* Brand Green */
    color: var(--halka-light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 20px;
}
.status-success, .status-failed{text-align:center !important;}
.status-success h1 {
    color: var(--halka-primary-color);
    margin-bottom: 15px;
	
}

/* Meta Grid */
.order-meta-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #f4f4f4;
}

.meta-item span {
    display: block;
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
}

/* Details Grid */
.thankyou-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: left;
}

@media (min-width: 768px) {
    .thankyou-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.card-title {
    font-size: 1.2rem;
    color: var(--halka-primary-color);
    margin-bottom: 20px;
    border-bottom: 2px solid #f9f9f9;
    padding-bottom: 10px;
}

/* Buttons */
.btn-continue {
    text-align: center;
    background: var(--halka-primary-color);
    color: var(--halka-light-color);
    padding: 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s;
}

.btn-continue:hover {
    background: var(--halka-accent-color);;
}

.thankyou-card .shop_table.order_details {
    width: 100%;
    border-collapse: collapse;
}

.thankyou-card .shop_table.order_details th,
.thankyou-card .shop_table.order_details td {
    padding: 12px 0;
    border-bottom: 1px solid #f4f4f4;
    text-align: left;
}

.thankyou-card .shop_table.order_details tfoot th {
    font-weight: normal;
    color: #888;
}

.thankyou-card .shop_table.order_details tfoot td {
    font-weight: bold;
    text-align: right;
}

.single-post-container {
    max-width: 960px;
    margin: 0 auto;
}

.single-post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.single-post-meta {
    font-size: 0.9rem;
    color: var(--halka-grey-color);
    margin-bottom: 1.5rem;
	
}
.single-post-meta a{
text-decoration:none;
color: var(--halka-grey-color);
}

.single-post-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.single-post-content {
    line-height: 1.7;
}

.post-navigation {
    margin-top: 3rem;
}

.post-navigation a{
    color:var(--halka-primary-color);
}


.woocommerce-button, .woocommerce-Button, .button{
    background: var(--halka-primary-color) !important;
    color: var(--halka-button-text-color) !important;
    padding: 10px 20px;
    font-size: 1rem;
    border: 0;
	margin-top: 20px;
}

.woocommerce-button:hover{
	 background: var(--halka-accent-color);
	 cursor:pointer;
}

.woocommerce-orders .view{
	background:none !important;
	 color: var(--halka-primary-color) !important;
}

/* My Account Wrapper */
.woocommerce-account .woocommerce {
        overflow: hidden;
}

/* Navigation Card */
.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--halka-light-color);
    padding: 25px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Remove default list styling */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Navigation items */
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    display: block;
    padding: 10px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    color: #333;
    transition: 0.3s ease;
}

/* Hover + Active */
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f3f4f6;
    color: #111;
}

/* Content Card */
.woocommerce-account .woocommerce-MyAccount-content {
    background: var(--halka-light-color);
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

/* Forms inside content */
.woocommerce-account form {
    padding: 20px;
    border-radius: 10px;
}


h1.page-title{
	color:var(--halka-primary-color);
}

/* Orders table wrapper */
.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 15px;
}

/* Remove default borders */
.woocommerce-account table.woocommerce-orders-table th,
.woocommerce-account table.woocommerce-orders-table td {
    border: none;
}

/* Table header */
.woocommerce-account table.woocommerce-orders-table thead th {
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    color: #777;
    padding: 10px 15px;
}

/* Each order row as a card */
.woocommerce-account table.woocommerce-orders-table tbody tr {
    background: var(--halka-light-color);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
    border-radius: 12px;
    overflow: hidden;
}

/* Cells inside card */
.woocommerce-account table.woocommerce-orders-table tbody td {
    padding: 18px 15px;
    font-size: 14px;
    vertical-align: middle;
}

/* First & last cell rounded corners */
.woocommerce-account table.woocommerce-orders-table tbody tr td:first-child {
    border-radius: 12px 0 0 12px;
}

.woocommerce-account table.woocommerce-orders-table tbody tr td:last-child {
    border-radius: 0 12px 12px 0;
}

/* Order number link */
.woocommerce-account table.woocommerce-orders-table a {
    font-weight: 600;
    color: #111;
    text-decoration: none;
}

/* Status badge style */
.woocommerce-orders-table__cell-order-status {
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 50px;
    display: inline-block;
    font-size: 13px;
}

/* Different status colors */
.woocommerce-orders-table__cell-order-status:contains("Completed") {
    background: #e6f7ed;
    color: #1a7f37;
}

/* Buttons */
.woocommerce-account .woocommerce-orders-table .button {
    background: #111;
    color: var(--halka-light-color);
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 13px;
    transition: 0.3s ease;
}

.woocommerce-account .woocommerce-orders-table .button:hover {
    background: #333;
}

/* Main order wrapper */
.woocommerce-account .woocommerce-order {
    display: grid;
    gap: 25px;
}

/* Top order summary box */
.woocommerce-account .woocommerce-order-overview {
    background: var(--halka-light-color);
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
}

/* Overview list items */
.woocommerce-account .woocommerce-order-overview li {
    border-right: 1px solid #f1f1f1;
    padding-right: 15px;
    font-size: 14px;
}

.woocommerce-account .woocommerce-order-overview li:last-child {
    border-right: none;
}

/* Order details table card */
.woocommerce-account .woocommerce-table--order-details {
    background: var(--halka-light-color);
    padding: 25px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    border-collapse: collapse;
    width: 100%;
}

/* Remove default borders */
.woocommerce-account .woocommerce-table--order-details th,
.woocommerce-account .woocommerce-table--order-details td {
    border: none;
    padding: 12px 0;
}

/* Table header */
.woocommerce-account .woocommerce-table--order-details thead th {
    font-weight: 600;
    font-size: 14px;
    color: #777;
    text-transform: uppercase;
}

/* Totals section */
.woocommerce-account .woocommerce-table--order-details tfoot th,
.woocommerce-account .woocommerce-table--order-details tfoot td {
    padding-top: 15px;
    font-weight: 600;
}

/* Address boxes */
.woocommerce-account .woocommerce-customer-details address {
    background: var(--halka-light-color);
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
    font-style: normal;
    line-height: 1.6;
}

/* Section headings */
.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
    font-size: 18px;
    margin-bottom: 15px;
}

/* Status badge styling */
.woocommerce-order-overview__status strong {
    background: #f3f4f6;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 13px;
}
.woocommerce-MyAccount-content em{
	color: var(--halka-grey-color);
}
.edit-account fieldset{
	    padding: 0 20px;
}
#preloader {
    position: fixed;
    inset: 0;
    background: #fff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.preloader-spinner {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.spinner-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 4px solid var(--halka-primary-color);
    border-top: 4px solid var(--halka-accent-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-percentage {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    position: relative;
    z-index: 2;
}

.preloader-logo {
    margin-top: 20px;
}

.preloader-logo img {
    max-width: 180px;
    height: auto;
    object-fit: contain;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}


.contact-form,
.contact-info {
  background:var(--halka-light-color);
  padding: 25px;
  border-radius: 8px;
}

.contact-form h2,
.contact-info h2{
	  color: var(--halka-primary-color);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
}



.contact-map iframe {
  border-radius: 8px;
}

.contact-success {
    background: #e6ffed;
    border: 1px solid #b7f5c6;
    color: #1f7a31;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

.contact-error {
    background: #ffe6e6;
    border: 1px solid #f5b7b7;
    color: #b30000;
    padding: 12px 15px;
    border-radius: 4px;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}