/*--------------------------------------------------------------
1. Custom Properties
--------------------------------------------------------------*/
:root {
    --serif: 'Cormorant Garamond', serif;
    --sans: 'Outfit', sans-serif;
}

/*--------------------------------------------------------------
2. Reset & Global Base
--------------------------------------------------------------*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    font-family: var(--sans);
    line-height: 1.7;
    overflow-x: hidden;
}

input,
textarea {
    border: 1px solid #ccc;
    border-radius: 0;
    margin-bottom: 10px;
    margin-top: 6px;
    outline: 0;
    padding: 10px;
}

/*--------------------------------------------------------------
3. Header & Navigation
--------------------------------------------------------------*/
.header-container {
    left: 0;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
}

.header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    padding: .7rem 5%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.scrolled {
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.05);
    position: fixed;
}

.site-branding img {
    height: auto;
}

.logo {
    color: var(--halka-primary-color);
    font-family: var(--serif);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.7;
}

.nav {
    align-items: center;
    display: flex;
    gap: 3.5rem;
}

.nav li {
    list-style-type: none;
}

.nav a {
    color: var(--halka-main-text-color);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.3px;
    position: relative;
    text-decoration: none;
    transition: color 0.3s;
}

.nav a::after {
    background: var(--halka-accent-color);
    bottom: -4px;
    content: '';
    height: 1px;
    left: 0;
    position: absolute;
    transition: width 0.3s ease;
    width: 0;
}

#header a:hover,
.nav a:hover {
    color: var(--halka-accent-color);
}

.nav a:hover::after {
    width: 100%;
}

.header-icons {
    align-items: center;
    display: flex;
}

.icon-btn {
    align-items: center;
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    display: inline-flex;
    justify-content: center;
    padding: 8px;
    text-decoration: none;
    position: relative;
}

.icon-btn svg {
    height: 16px;
    width: 16px;
}

.icon-btn:hover {
    color: var(--halka-accent-color);
}

.cart-count {
    align-items: center;
    background-color: var(--halka-accent-color);
    border-radius: 50%;
    color: var(--halka-light-color);
    display: flex;
    font-size: 10px;
    font-weight: bold;
    height: 16px;
    justify-content: center;
    line-height: 1;
    min-width: 16px;
    padding: 2px;
    position: absolute;
    right: 0px;
    top: 2px;
}

.cart-count:empty {
    display: none;
}

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
}

.menu-toggle span {
    background: var(--halka-primary-color);
    height: 2px;
    transition: all 0.3s ease;
    width: 24px;
}

.menu-overlay {
    background: rgba(0, 0, 0, 0.4);
    display: none;
    inset: 0;
    opacity: 0;
    position: fixed;
    transition: 0.3s ease;
    visibility: hidden;
    z-index: 1500;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.topbar {
    align-items: center;
    display: flex;
    gap: 5rem;
    justify-content: space-between;
    max-height: 200px;
    opacity: 1;
    overflow: hidden;
    padding: .3rem 5%;
    transition: opacity 0.3s ease, max-height 0.3s ease, padding 0.3s ease;
}

.topbar-hidden {
    max-height: 0;
    opacity: 0;
    padding-bottom: 0;
    padding-top: 0;
}

.topbar ul {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.topbar ul li {
    list-style-type: none;
}

.topbar ul li a {
    color: var(--halka-grey-color);
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.topbar ul li a:hover {
    color: var(--halka-primary-color);
}

.topbar a{
    text-decoration: none;
}

/* Mobile Navigation */
@media (max-width: 992px) {
    .topbar {
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .menu-toggle {
        display: flex;
        flex-direction: column;
        gap: 6px;
    }

    .nav {
        background: var(--halka-light-color);
        flex-direction: column;
        gap: 2rem;
        height: 100vh;
        padding: 6rem 2rem;
        position: fixed;
        right: -100%;
        top: 0;
        transition: right 0.3s ease;
        width: 280px;
        z-index: 1800;
    }

    .nav.active {
        right: 0;
    }

    .menu-overlay {
        display: block;
    }

    .header {
        justify-content: space-between;
    }
}

/*--------------------------------------------------------------
4. Hero Section
--------------------------------------------------------------*/
.hero-section {
    align-items: center;
    display: flex;
    height: 100vh;
    justify-content: center;
    overflow: hidden;
    position: relative;
}

.hero-content {
    animation: fadeInUp 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
    position: relative;
    text-align: center;
    z-index: 2;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section h1 {
    color: var(--halka-primary-color);
    font-family: var(--serif);
    font-size: 4.5rem;
    font-weight: 400;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero-subtitle {
    color: var(--halka-main-text-color);
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.3px;
    margin-bottom: 3rem;
}

.cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.hero-item {
    align-items: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    display: flex;
    position: relative;
}

#halka-hero-slider .splide__arrow {
    background: var(--halka-primary-color) !important;
    height: 3rem !important;
    opacity: 0;
    visibility: hidden;
    width: 3rem !important;
}

#halka-hero-slider .splide__arrow:hover {
    background: var(--halka-accent-color) !important;
}

#halka-hero-slider .splide__arrow svg,
#halka-hero-slider .splide__arrow:hover svg {
    fill: var(--halka-light-color);
}

#halka-hero-slider:hover .splide__arrow {
    opacity: 1;
    transition: all 0.3s ease;
    visibility: visible;
}

#halka-hero-slider .splide__arrow--prev {
    left: 2rem;
}

#halka-hero-slider .splide__arrow--next {
    right: 2rem;
}

/*--------------------------------------------------------------
5. Buttons
--------------------------------------------------------------*/
.btn {
    border: none;
    cursor: pointer;
    display: inline-block;
    font-family: var(--sans);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 1rem 2.5rem;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.halka-btn-primary {
    background: var(--halka-primary-color);
    color: var(--halka-button-text-color);
}

.halka-btn-primary:hover {
    background: var(--halka-accent-color);
    box-shadow: 0 8px 20px rgba(26, 77, 46, 0.2);
    transform: translateY(-2px);
}

.halka-btn-secondary {
    background: transparent;
    border: 1px solid var(--halka-primary-color);
    color: var(--halka-primary-color);
}

.halka-btn-secondary:hover {
    background: var(--halka-primary-color);
    color: var(--halka-button-text-color);
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
6. Sections
--------------------------------------------------------------*/
.section {
    opacity: 0;
    padding: 6rem 5%;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.section.visible {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-title {
    color: var(--halka-primary-color);
    font-family: var(--serif);
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.section-subtitle {
    color: var(--halka-grey-color);
    font-size: 1.1rem;
    font-weight: 300;
}

.collections-grid,
.halka-products-grid,
.custom-content-grid,
.counters-grid,
.blog-grid,
.footer-grid {
    display: grid;
    gap: 2rem;
    grid-template-columns: repeat(auto-fit, minmax(350px, min(100%, 350px)));
    justify-content: center;
    margin: 0 auto;
    max-width: 1400px;
}

.collection-card,
.product-card,
.testimonial-card,
.blog-card {
    border-radius: 10px;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.collection-card {
    cursor: pointer;
    height: 400px;
    overflow: hidden;
    position: relative;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.collection-card:hover {
    transform: translateY(-8px);
}

.collection-image {
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100%;
}

.collection-card:hover .collection-image {
    transform: scale(1.05);
}

.collection-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    bottom: 0;
    color: white;
    left: 0;
    padding: 2.5rem;
    position: absolute;
    right: 0;
}

.collection-title {
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.collection-description {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.9;
}

/* Products */
.halka-product-card {
    background: var(--halka-light-color);
    color: inherit;
    display: block;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.halka-product-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.halka-product-image-wrapper {
    aspect-ratio: 4 / 3;
    overflow: hidden;
    position: relative;
}

.halka-product-image {
    display: block;
    height: 100% !important;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    width: 100% !important;
}

.halka-product-card:hover .product-image {
    transform: scale(1.08);
}

.halka-product-info {
    padding: 1.8rem;
}

.halka-product-title {
    color: var(--halka-main-text-color);
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.halka-product-price {
    color: var(--halka-accent-color);
    font-size: 1.1rem;
    font-weight: 500;
}

.halka-product-price del{
    color:var(--halka-grey-color)
}
.halka-product-price ins{
    text-decoration: none;
}

/* Brand Story */
.story-container {
    align-items: center;
    display: grid;
    gap: 6rem;
    grid-template-columns: 1fr 1fr;
    margin: 0 auto;
    max-width: 1400px;
}

.story-image {
    height: 600px;
    object-fit: cover;
    width: 100%;
}

.story-content h3 {
    color: var(--halka-primary-color);
    font-family: var(--serif);
    font-size: 2.5rem;
    font-weight: 400;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

.story-content p {
    color: var(--halka-grey-color);
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 1.9;
    margin-bottom: 1.5rem;
}

.story-content .btn {
    margin-top: 1rem;
}

/* Custom Content */
.custom-content-grid,
.counters-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, min(100%, 250px)));
}

.custom-content-item {
    text-align: center;
}

.halka-svg-icon svg {
    color: var(--halka-accent-color);
    font-size: 2rem;
    height: 50px;
    margin: 0 auto 1rem;
    width: 50px;
}

.custom-content-title {
    color: var(--halka-primary-color);
    font-family: var(--serif);
    font-size: 1.3rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.custom-content-description {
    color: var(--halka-grey-color);
    font-size: 0.95rem;
    font-weight: 300;
    line-height: 1.6;
}

/* Counters */
.counters-section {
    color: var(--halka-main-text-color);
    text-align: center;
}

.counter-item {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.counter-number {
    color: var(--halka-grey-color);
    font-family: var(--sans);
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.counter-title {
    color: var(--text-light);
    font-family: var(--serif);
    font-size: 1rem;
    font-weight: 400;
}

/* Testimonials */
.testimonials-grid {
    display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    margin: 0 auto;
    max-width: 1400px;
}

.testimonial-card {
    background: var(--halka-light-color);
    border-left: 3px solid var(--halka-accent-color);
    padding: 3rem;
}

.quote-icon svg {
    color: #e5e5e5;
    height: 40px;
    width: 40px;
}

.testimonial-text {
    color: var(--halka-main-text-color);
    font-size: 1.1rem;
    font-style: italic;
    font-weight: 300;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.testimonial-author {
    color: var(--halka-primary-color);
    font-family: var(--serif);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Blog */
.blog-card {
    background: var(--halka-light-color);
    transition: transform .3s ease, box-shadow .3s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
}

.blog-card-image img {
    display: block;
    height: 240px;
    object-fit: cover;
    width: 100%;
}

.blog-card-content {
    font-family: var(--sans);
    padding: 1.5rem;
}

.blog-card-category,
.single-post-category {
    color: var(--halka-grey-color);
    display: inline-block;
    font-size: 0.8rem;
    letter-spacing: 1px;
    margin-bottom: .5rem;
    text-decoration: none;
    text-transform: uppercase;
}

.blog-card-title {
    margin: .5rem 0;
}

.blog-card-title a {
    color: var(--halka-primary-color);
    text-decoration: none;
}

.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 {
    color: var(--halka-grey-color);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.blog-card-readmore {
    color: var(--halka-main-text-color);
    font-weight: 600;
    text-decoration: none;
}

/* Newsletter */
.newsletter-form {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
}

.newsletter-input {
    background: transparent;
    border: 1px solid #aaaaaa;
    color: var(--halka-main-text-color);
    flex: 1;
    font-family: var(--sans);
    font-size: 1rem;
    margin: 0;
    min-width: 250px;
    padding: 1rem 1.5rem;
    transition: all 0.3s;
}

.newsletter-input:focus {
    background: transparent;
    border-color: var(--halka-primary-color);
    outline: none;
}

.newsletter .btn-primary:hover {
    transform: translateY(-2px);
}

/*--------------------------------------------------------------
7. Footer
--------------------------------------------------------------*/
.footer-section {
    color: var(--halka-light-color);
    padding: 2rem 5%;
}

.footer-grid {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    grid-template-columns: repeat(auto-fit, minmax(275px, min(100%, 275px)));
    margin-bottom: 20px;
}

.footer-column {
    margin-bottom: 3rem;
    padding: 0 2rem;
}

.footer-brand h3 {
    color: var(--halka-accent-color);
    font-family: var(--serif);
    font-size: 1.8rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-brand p {
    font-weight: 300;
    line-height: 1.8;
    opacity: 0.8;
}

.footer-column h4 {
    color: var(--halka-accent-color);
    font-family: var(--serif);
    font-size: 1.4rem;
    font-weight: 500;
    margin-bottom: 10px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 0.8rem;
}

.footer-column ul a {
    color: var(--halka-light-color);
    font-size: 0.95rem;
    font-weight: 300;
    opacity: 0.8;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-column ul a:hover {
    color: var(--halka-accent-color);
    opacity: 1;
    padding-left: 5px;
}

.social-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icons a {
    color: inherit;
}

.social-icon {
    align-items: center;
    border: var(--halka-social-icon-border);
    display: flex;
    justify-content: center;
    padding: 7px;
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon svg {
    fill: currentColor;
    height: var(--halka-social-icon-size);
    width: var(--halka-social-icon-size);
}

.social-icon:hover {
    border-color: var(--halka-accent-color);
    color: var(--halka-accent-color);
}

.footer-bottom {
    font-size: 0.9rem;
    font-weight: 300;
    opacity: 0.6;
    text-align: center;
}

/*--------------------------------------------------------------
8. Modals
--------------------------------------------------------------*/
.newsletter-modal {
    align-items: center;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 9999;
}

.newsletter-modal-content {
    background: var(--halka-light-color);
    border-radius: 10px;
    max-width: 420px;
    padding: 30px;
    position: relative;
    text-align: center;
    width: 90%;
}

.newsletter-close {
    cursor: pointer;
    font-size: 22px;
    position: absolute;
    right: 15px;
    top: 10px;
}

.success {
    color: green;
}

.error {
    color: red;
}

/*--------------------------------------------------------------
9. WooCommerce Overrides
--------------------------------------------------------------*/
.woocommerce-breadcrumb,
.breadcrumb-container nav {
    color: var(--halka-grey-color) !important;
    font-size: 1.2rem !important;
}

.woocommerce * {
    font-family: inherit;
}

.woocommerce-error {
    border: 0;
    color: #f00;
    outline: 0;
    padding: 10px 0;
}

.archive-container {
    padding: 3rem 5rem;
}

.term-description {
    color: var(--halka-grey-color);
    text-align: center;
}

.woocommerce-breadcrumb a,
.breadcrumb-container nav a {
    color: var(--halka-primary-color) !important;
    text-decoration: none;
    transition: color 0.3s ease;
}

.woocommerce-breadcrumb a:hover,
.breadcrumb-container nav a:hover {
    color: var(--halka-accent-color) !important;
}

.woocommerce-breadcrumb .sep,
.breadcrumb-container nav .sep {
    color: var(--halka-main-text-color);
    margin: 0 10px;
}

.lost_reset_password {
    display: flex;
    flex-direction: column;
}

/* Layout */
.single-product-wrapper,
.archive-product-wrapper,
.contact-page-wrapper,
.page-container,
.blog-section {
    padding: 0 5% 3rem;
}

.single-product-layout {
    align-items: start;
    display: grid;
    gap: 50px;
    grid-template-columns: 1fr;
    margin-bottom: 80px;
}

@media (min-width: 992px) {
    .single-product-layout {
        grid-template-columns: 1.2fr 1fr;
    }
}

/* Product Gallery */
.product-gallery-column .woocommerce-product-gallery {
    position: relative;
}

.product-gallery-column img {
    border-radius: 8px;
    display: block;
    height: auto;
    max-width: 100%;
}

.flex-control-thumbs {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(6, 1fr);
    list-style: none;
    margin-top: 15px;
    padding: 0;
}

.flex-control-thumbs li img {
    cursor: pointer;
    transition: opacity 0.3s;
}

.flex-control-thumbs li img:hover {
    opacity: 0.7;
}

/* Product Info */
.product-info-column .product_title {
    color: var(--halka-primary-color);
    font-size: 2rem;
    line-height: 1.2;
    margin-bottom: 10px;
}

.product-info-column .price {
    color: var(--halka-accent-color);
    display: block;
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.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 {
    color: var(--halka-main-text-color);
    line-height: 1.6;
    margin-bottom: 30px;
}

form.cart {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.quantity input {
    border: 1px solid var(--halka-grey-color);
    border-radius: 4px;
    height: 48px;
    padding: 0 10px;
    text-align: center;
    width: 60px !important;
}

.single_add_to_cart_button {
    background-color: var(--halka-primary-color) !important;
    border: none;
    border-radius: 4px;
    color: var(--halka-light-color) !important;
    cursor: pointer;
    font-weight: 600;
    height: 48px;
    padding: 0 35px !important;
    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 */
.product_meta {
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.9rem;
    padding-top: 20px;
}

.product_meta span {
    display: flex;
    margin-bottom: 5px;
}

.product_meta a {
    color: var(--halka-primary-color);
    text-decoration: none;
}

/* Description Section */
.product-details-section {
    border-top: 1px solid #eee;
    padding: 20px 0;
}

.description-heading {
    color: var(--halka-primary-color);
    font-size: 2rem;
    margin-bottom: 30px;
}

.entry-content {
    color: var(--halka-grey-color);
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Related Products */
.related-products-section {
    padding: 80px 0;
}

.related-products-section h2 {
    color: var(--halka-primary-color);
    font-size: 2rem;
    margin-bottom: 40px;
}

.related-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(350px, min(100%, 350px)));
    justify-content: start;
}

/* Sale Badge */
.onsale {
    background: var(--halka-accent-color) !important;
    border-radius: 100%;
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    left: unset !important;
    line-height: 3.236;
    margin: 0;
    min-height: 3.236em;
    min-width: 3.236em;
    padding: 0 !important;
    position: absolute;
    right: 20px !important;
    text-align: center;
    top: 10px !important;
    z-index: 9;
}

/* Variations */
.variations select {
    display: none !important;
}

.swatch-btn {
    background: var(--halka-light-color);
    border: 2px solid #ddd;
    border-radius: 4px;
    color: var(--halka-grey-color);
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    transition: all 0.3s ease;
}

.swatch-btn:hover {
    border-color: var(--halka-primary-color);
}

.swatch-btn.active {
    background-color: var(--halka-primary-color);
    border-color: var(--halka-primary-color);
    color: var(--halka-light-color);
}

.variations label {
    color: var(--halka-primary-color);
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
}

.variations tr {
    display: block;
    margin-bottom: 20px;
}

.variations td {
    display: block;
    position: relative;
}

.swatch-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

/* Cart Page */
.woocommerce-cart-form {
    background: var(--halka-light-color);
    flex: 1;
    padding: 20px;
}

@media (min-width: 992px) {
    .woocommerce-cart .container {
        align-items: flex-start;
        display: flex;
        gap: 50px;
        padding-top: 100px;
    }
}

.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 {
    border-radius: 4px;
    height: auto;
    width: 80px !important;
}

.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 {
    background: var(--halka-light-color);
    border-radius: 10px;
    margin-right: 20px;
    margin-top: 20px;
    padding: 20px;
}

.cart_totals h2 {
    color: var(--halka-primary-color);
    margin-bottom: 10px;
}

.order-total {
    border-top: 1px solid #ddd;
    font-size: 1.2rem;
    font-weight: bold;
}

.checkout-button {
    background: var(--halka-primary-color) !important;
}

/* Messages */
.woocommerce-message {
    border-top-color: var(--halka-primary-color) !important;
    outline: 0;
}

.woocommerce-message::before {
    color: var(--halka-primary-color) !important;
}

.woocommerce-form .form-row {
    margin-bottom: 10px;
}

.woocommerce-Input,
.woocommerce-Input--text,
.input-text,
.select2-selection {
    border: 1px solid #ccc !important;
    outline: 0;
}

.input-text {
    border-radius: unset !important;
    padding: 10px !important;
}

.select2-selection {
    border-radius: unset !important;
}

.coupon input {
    min-width: 200px !important;
    padding: 10px !important;
}

/* Gallery Trigger */
.woocommerce-product-gallery {
    display: block;
    position: relative;
}

.woocommerce-product-gallery__trigger {
    align-items: center;
    background-color: var(--halka-light-color);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    height: 40px;
    justify-content: center;
    position: absolute;
    right: 40px;
    text-decoration: none;
    top: 15px;
    transition: all 0.3s ease;
    width: 40px;
    z-index: 10;
}

.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;
}

/* Checkout */
.salehmart-checkout {
    margin: 40px auto;
}

.checkout-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .checkout-grid {
        align-items: start;
        grid-template-columns: 1.4fr 1fr;
    }
    .sticky-sidebar {
        position: sticky;
        top: 120px;
    }
}

.checkout-section-box {
    background: var(--halka-light-color);
    border: 1px solid #eee;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    margin-bottom: 30px;
    padding: 30px;
}

.sec-title {
    border-bottom: 2px solid #f9f9f9;
    color: var(--halka-primary-color);
    font-size: 1.3rem;
    margin-bottom: 25px;
    padding-bottom: 10px;
}

.woocommerce-checkout-review-order-table {
    border-collapse: collapse;
    width: 100%;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 12px 0;
}

.order-total {
    color: var(--halka-primary-color);
    font-size: 1.4rem;
}

/* Payment Section Customization */
#payment {
    background: #fdfdfd !important;
    border-radius: 6px;
    margin-top: 20px;
    padding: 0 !important;
}

.wc_payment_methods {
    list-style: none !important;
    padding: 0 !important;
}

.wc_payment_method {
    border: 1px solid #eee;
    border-radius: 6px;
    margin-bottom: 10px;
    padding: 15px;
}

#place_order {
    background: var(--halka-accent-color) !important;
    border: none !important;
    border-radius: 6px !important;
    color: white !important;
    font-size: 1.2rem !important;
    font-weight: bold !important;
    margin-top: 20px !important;
    padding: 18px !important;
    transition: 0.3s ease;
    width: 100%;
}

#place_order:hover {
    background: var(--halka-primary-color) !important;
}

/* Thank You */
.salehmart-thankyou-wrapper {
    font-family: inherit;
    margin: 60px auto;
    max-width: 1000px;
    padding: 0 20px;
}

.thankyou-card {
    background: var(--halka-light-color);
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    margin-bottom: 30px;
    padding: 40px;
}

.status-icon {
    align-items: center;
    background: var(--halka-primary-color);
    border-radius: 50%;
    color: var(--halka-light-color);
    display: flex;
    font-size: 30px;
    height: 60px;
    justify-content: center;
    margin: 0 auto 20px;
    width: 60px;
}

.status-success,
.status-failed {
    text-align: center !important;
}

.status-success h1 {
    color: var(--halka-primary-color);
    margin-bottom: 15px;
}

.order-meta-grid {
    border-top: 1px solid #f4f4f4;
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 30px;
    padding-top: 20px;
}

.meta-item span {
    color: #888;
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
}

.thankyou-grid {
    display: grid;
    gap: 30px;
    grid-template-columns: 1fr;
    text-align: left;
}

@media (min-width: 768px) {
    .thankyou-grid {
        grid-template-columns: 1.5fr 1fr;
    }
}

.card-title {
    border-bottom: 2px solid #f9f9f9;
    color: var(--halka-primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
}

.btn-continue {
    background: var(--halka-primary-color);
    border-radius: 6px;
    color: var(--halka-light-color);
    font-weight: bold;
    margin-top: 20px;
    padding: 15px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
}

.btn-continue:hover {
    background: var(--halka-accent-color);
}

.thankyou-card .shop_table.order_details {
    border-collapse: collapse;
    width: 100%;
}

.thankyou-card .shop_table.order_details th,
.thankyou-card .shop_table.order_details td {
    border-bottom: 1px solid #f4f4f4;
    padding: 12px 0;
    text-align: left;
}

.thankyou-card .shop_table.order_details tfoot th {
    color: #888;
    font-weight: normal;
}

.thankyou-card .shop_table.order_details tfoot td {
    font-weight: bold;
    text-align: right;
}

/* My Account */
.woocommerce-account .woocommerce {
    overflow: hidden;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
    background: var(--halka-light-color);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 25px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 12px;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
    border-radius: 8px;
    color: #333;
    display: block;
    font-weight: 500;
    padding: 10px 14px;
    text-decoration: none;
    transition: 0.3s ease;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
    background: #f3f4f6;
    color: #111;
}

.woocommerce-account .woocommerce-MyAccount-content {
    background: var(--halka-light-color);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    padding: 30px;
}

.woocommerce-account form {
    border-radius: 10px;
    padding: 20px;
}

.page-header {
    padding: 2rem 0;
}

h1.page-title {
    color: var(--halka-primary-color);
}

.shipping-calculator-button {
    color: var(--halka-accent-color) !important;
}

.woocommerce-account .woocommerce-MyAccount-content table.woocommerce-orders-table {
    border-collapse: separate;
    border-spacing: 0 15px;
    width: 100%;
}

.woocommerce-account table.woocommerce-orders-table th,
.woocommerce-account table.woocommerce-orders-table td {
    border: none;
}

.woocommerce-account table.woocommerce-orders-table thead th {
    color: #777;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 15px;
    text-transform: uppercase;
}

.woocommerce-account table.woocommerce-orders-table tbody tr {
    background: var(--halka-light-color);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

.woocommerce-account table.woocommerce-orders-table tbody td {
    font-size: 14px;
    padding: 18px 15px;
    vertical-align: middle;
}

.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;
}

.woocommerce-account table.woocommerce-orders-table a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
}

.woocommerce-orders-table__cell-order-status {
    border-radius: 50px;
    display: inline-block;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 12px;
}

.woocommerce-account .woocommerce-orders-table .button {
    background: #111;
    border-radius: 8px;
    color: var(--halka-light-color);
    font-size: 13px;
    padding: 6px 14px;
    transition: 0.3s ease;
}

.woocommerce-account .woocommerce-orders-table .button:hover {
    background: #333;
}

.woocommerce-account .woocommerce-order {
    display: grid;
    gap: 25px;
}

.woocommerce-account .woocommerce-order-overview {
    background: var(--halka-light-color);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    list-style: none;
    padding: 25px;
}

.woocommerce-account .woocommerce-order-overview li {
    border-right: 1px solid #f1f1f1;
    font-size: 14px;
    padding-right: 15px;
}

.woocommerce-account .woocommerce-order-overview li:last-child {
    border-right: none;
}

.woocommerce-account .woocommerce-table--order-details {
    background: var(--halka-light-color);
    border-collapse: collapse;
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    padding: 25px;
    width: 100%;
}

.woocommerce-account .woocommerce-table--order-details th,
.woocommerce-account .woocommerce-table--order-details td {
    border: none;
    padding: 12px 0;
}

.woocommerce-account .woocommerce-table--order-details thead th {
    color: #777;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

.woocommerce-account .woocommerce-table--order-details tfoot th,
.woocommerce-account .woocommerce-table--order-details tfoot td {
    font-weight: 600;
    padding-top: 15px;
}

.woocommerce-account .woocommerce-customer-details address {
    background: var(--halka-light-color);
    border-radius: 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    font-style: normal;
    line-height: 1.6;
    padding: 20px;
}

.woocommerce-account .woocommerce-order-details__title,
.woocommerce-account .woocommerce-column__title {
    font-size: 18px;
    margin-bottom: 15px;
}

.woocommerce-order-overview__status strong {
    background: #f3f4f6;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    padding: 6px 14px;
}

.woocommerce-MyAccount-content em {
    color: var(--halka-grey-color);
}

.edit-account fieldset {
    padding: 0 20px;
}

/* Buttons */
.woocommerce-button,
.woocommerce-Button,
.button {
    background: var(--halka-primary-color) !important;
    border: 0;
    color: var(--halka-button-text-color) !important;
    font-size: 1rem;
    margin-top: 20px;
    padding: 10px 20px;
}

.woocommerce-button:hover {
    background: var(--halka-accent-color);
    cursor: pointer;
}

.woocommerce-orders .view {
    background: none !important;
    color: var(--halka-primary-color) !important;
}

/* Blog */
.single-post-container {
    margin: 0 auto;
    max-width: 960px;
    padding-bottom: 3rem;
}

.single-post-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.single-post-meta {
    color: var(--halka-grey-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.single-post-meta a {
    color: var(--halka-grey-color);
    text-decoration: none;
}

.single-post-thumbnail img {
    border-radius: 12px;
    height: auto;
    margin-bottom: 2rem;
    width: 100%;
}

.single-post-content {
    line-height: 1.7;
}

.post-navigation {
    margin-top: 3rem;
}

.post-navigation a {
    color: var(--halka-primary-color);
}

/*--------------------------------------------------------------
10. Preloader
--------------------------------------------------------------*/
#preloader {
    align-items: center;
    background: #fff;
    display: flex;
    flex-direction: column;
    inset: 0;
    justify-content: center;
    position: fixed;
    z-index: 999999;
}

.preloader-spinner {
    align-items: center;
    display: flex;
    height: 80px;
    justify-content: center;
    position: relative;
    width: 80px;
}

.spinner-ring {
    animation: spin 1s linear infinite;
    border: 4px solid var(--halka-primary-color);
    border-radius: 50%;
    border-top: 4px solid var(--halka-accent-color);
    inset: 0;
    position: absolute;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.preloader-percentage {
    color: #666;
    font-size: 16px;
    font-weight: 500;
    position: relative;
    z-index: 2;
}

.preloader-logo {
    margin-top: 20px;
}

.preloader-logo img {
    height: auto;
    max-width: 180px;
    object-fit: contain;
}

/*--------------------------------------------------------------
11. Contact Page
--------------------------------------------------------------*/
.contact-header {
    padding: 3rem;
    text-align: center;
}

.contact-grid {
    display: grid;
    gap: 40px;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 40px;
}

.contact-form,
.contact-info {
    background: var(--halka-light-color);
    border-radius: 8px;
    padding: 25px;
}

.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;
    border-radius: 4px;
    color: #1f7a31;
    margin-bottom: 20px;
    padding: 12px 15px;
}

.contact-error {
    background: #ffe6e6;
    border: 1px solid #f5b7b7;
    border-radius: 4px;
    color: #b30000;
    margin-bottom: 20px;
    padding: 12px 15px;
}


.error-404 {
    text-align: center;
    padding: 40px 20px;
}

.error-title {
    font-size: 72px;
    margin: 0;
    font-weight: 700;
    color:#f00;
}

.error-subtitle {
    font-size: 28px;
    margin: 10px 0 20px;
    color:#f00;
}

.error-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 30px;
}

.btn-home {
    display: inline-block;
    padding: 10px 20px;
    background: var(--halka-primary-color);
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
}

.btn-home:hover {
    opacity: 0.85;
}


/* Order info text */
.order-info{
    font-size:16px;
    background:#f6f7fb;
    padding:15px;
    border-radius:6px;
    margin-bottom:25px;
}

/* Order status highlight */
.order-status{
    color:#16a34a;
    font-weight:600;
}

/* Section titles */
.woocommerce-order-details__title,
.woocommerce-column__title{
    font-size:20px;
    margin-bottom:15px;
}

/* Order table */
.shop_table.order_details{
    width:100%;
    border-collapse:collapse;
    margin-bottom:25px;
}

/* Table header */
.shop_table.order_details thead th{
    background:#f3f4f6;
    padding:12px;
    text-align:left;
    border-bottom:2px solid #e5e7eb;
}

/* Table cells */
.shop_table.order_details td{
    padding:12px;
    border-bottom:1px solid #eee;
}

/* Total row */
.shop_table.order_details tfoot tr:last-child th,
.shop_table.order_details tfoot tr:last-child td{
    font-size:18px;
    font-weight:700;
}

/* Billing address box */
.woocommerce-customer-details address{
    background:#f9fafb;
    padding:15px;
    border-radius:6px;
    font-style:normal;
}


/*--------------------------------------------------------------
12. Media Queries
--------------------------------------------------------------*/
@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 {
        gap: 3rem;
        grid-template-columns: 1fr;
    }

    .footer-grid {
        gap: 3rem;
        grid-template-columns: 1fr;
    }

    .collections-grid,
    .halka-products-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .cta-group {
        flex-direction: column;
    }

    .btn {
        text-align: center;
        width: 100%;
    }

    .footer-section {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}