:root {
    --primary-color: #6C0733; /* Burgundy */
    --secondary-color: #005E5B; /* Dark Teal */
    --accent-color: #FFF46D; /* Yellow */
    --text-dark: #1f2326;
    --text-light: #666666;
    --bg-light: #f8f8f8;
    --white: #ffffff;
    --border-color: #eaeaea;
    --font-main: 'Outfit', sans-serif;
    --transition: all 0.3s ease;}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;}

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);}

ul {
    list-style: none;}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;}

@media (max-width: 991px) {
    .container {
        padding: 0 15px; /* Reduced padding on mobile to prevent overflow */}}

/* =========================================
   TOP BANNER
   ========================================= */
.top-banner {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--secondary-color);
    color: var(--white);
    font-size: 13px;
    position: relative;
    z-index: 100;
    height: 40px;
    overflow: hidden;}

@media (max-width: 991px) {
    .top-banner {
        display: none; /* Hide top banner on mobile */}}

.top-banner-center {
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;}

.top-banner-center a {
    color: var(--accent-color);
    text-decoration: underline;
    font-weight: 600;}

.top-banner-center strong {
    color: var(--accent-color);
    font-weight: 700;}

.top-banner-right {
    position: absolute;
    right: 20px;}

#close-banner {
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    font-size: 16px;
    opacity: 0.7;
    transition: var(--transition);}

#close-banner:hover {
    opacity: 1;}

/* =========================================
   HEADER SECTION
   ========================================= */
.header {
    background: var(--white);
    position: relative;
    z-index: 90;
    transition: var(--transition);}

.header.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    animation: slideDown 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);}

@keyframes slideDown {
    from { transform: translateY(-100%);}
    to { transform: translateY(0);}}

/* Info Header */
.info-header {
    background-color: #f9f9f9;
    border-bottom: 1px solid var(--border-color);
    font-size: 12px;
    color: var(--text-light);
    display: none;}

@media (min-width: 992px) {
    .info-header {
        display: block;}}

.info-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;}

.info-left {
    display: flex;
    align-items: center;
    gap: 20px;}

.info-right {
    display: flex;
    align-items: center;}

.info-item {
    position: relative;
    padding: 0 15px;
    border-right: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    height: 100%;}

.info-item:last-child {
    border-right: none;
    padding-right: 0;}

.app-links a {
    margin-right: 10px;
    font-size: 16px;
    color: var(--text-dark);}

.app-links a:hover {
    color: var(--primary-color);}

.contact-number i {
    margin-right: 5px;}

.info-link {
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;}

.info-link:hover {
    color: var(--primary-color);}

.lang-selector {
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 5px;}

/* Info Dropdown */
.info-dropdown {
    position: absolute;
    top: calc(100% + 20px);
    right: 0; 
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--border-color);}

.info-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 25px;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);}

.has-info-dropdown:hover .info-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);}

.info-dropdown ul {
    padding: 5px 0;}

.info-dropdown ul li {
    padding: 0 20px;}

.info-dropdown ul li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);}

.info-dropdown ul li a {
    display: flex;
    align-items: center;
    padding: 12px 0;
    font-weight: 600;
    font-size: 13px;
    color: var(--text-dark);}

.info-dropdown ul li a i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
    color: var(--text-light);
    display: flex;
    justify-content: center;}

.info-dropdown ul li a:hover {
    color: var(--primary-color);}

.info-dropdown ul li a:hover i {
    color: var(--primary-color);}

/* Main Navigation Header */
.main-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    height: 80px;}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-dark);
    cursor: pointer;}

@media (max-width: 991px) {
    .mobile-menu-btn {
        display: block;}
    .desktop-nav {
        display: none;}}

.logo img {
    height: 45px;
    object-fit: contain;}

/* Desktop Navigation */
.nav-menu {
    display: flex;
    gap: 30px;}

.nav-item {
    position: relative; /* important for mega menu */}

.nav-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.5px;
    position: relative;
    padding: 20px 0;
    text-transform: uppercase;}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 12px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);}

.nav-link:hover {
    color: var(--primary-color);}

.nav-link:hover::after {
    width: 100%;}

/* Mega Menu Hover Effect */
.mega-menu {
    position: absolute;
    top: 100%;
    left: -20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    min-width: 320px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    padding: 20px 0;
    border: 1px solid var(--border-color);}

.nav-item.has-dropdown:hover .mega-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);}

.mega-menu ul li a {
    display: flex;
    align-items: center;
    padding: 12px 30px;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.5px;}

.mega-menu ul li a:hover {
    background-color: #fcfcfc;}

.mega-menu .menu-icon {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    color: var(--secondary-color);
    font-size: 18px;
    transition: var(--transition);}

.mega-menu ul li a:hover .menu-icon {
    border-color: var(--secondary-color);}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    padding: 8px 15px;
    width: 250px;
    transition: var(--transition);}

.search-box:focus-within {
    border-color: var(--text-light);}

@media (max-width: 1200px) {
    .search-box {
        width: 200px;}}

@media (max-width: 991px) {
    .search-box {
        display: none;}}

.search-box input {
    border: none;
    background: transparent;
    outline: none;
    padding: 4px 8px;
    width: 100%;
    font-family: inherit;
    font-size: 14px;}

.search-box button {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 16px;}

.action-icons {
    display: flex;
    align-items: center;
    gap: 20px;}

.action-item {
    position: relative;
    padding: 25px 0; /* Increased padding to create a bridge for hover */}

@media (max-width: 991px) {
    .main-header-content {
        padding: 10px 0;
        height: 60px;}
    .logo img {
        max-height: 30px !important;}
    .header-actions {
        gap: 10px;}
    .action-icons {
        gap: 15px;}
    .action-btn {
        font-size: 20px;}
    .action-item {
        padding: 10px 0;}
    .basket-badge {
        width: 16px;
        height: 16px;
        font-size: 10px;
        top: -4px;
        right: -6px;}}

.action-btn {
    font-size: 22px;
    color: var(--text-dark);
    position: relative;
    display: flex;}

.action-btn:hover {
    color: var(--primary-color);}

.basket-badge {
    position: absolute;
    top: -5px;
    right: -8px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 11px;
    font-weight: bold;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;}

/* Action Dropdowns (User & Basket) */
.action-dropdown {
    position: absolute;
    top: calc(100%);
    right: -10px; 
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(15px);
    transition: all 0.3s ease;
    z-index: 100;
    border: 1px solid var(--border-color);
    cursor: default;}

.action-dropdown::before {
    content: '';
    position: absolute;
    top: -6px;
    right: 17px;
    width: 12px;
    height: 12px;
    background: var(--white);
    transform: rotate(45deg);
    border-top: 1px solid var(--border-color);
    border-left: 1px solid var(--border-color);}

.action-dropdown.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);}

@media (max-width: 991px) {
    .action-dropdown {
        position: fixed; /* Use fixed for mobile so it is not confined to the container */
        top: 80px; /* Below header */
        right: 10px;
        z-index: 1000;}
    
    .action-dropdown::before {
        display: none; /* Hide arrow on mobile for simplicity */}
    
    .basket-dropdown {
        width: 300px;}}

/* User Dropdown */
.user-dropdown {
    width: 200px;
    padding: 10px 0;}
.user-dropdown ul li a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 14px;
    color: var(--text-dark);
    transition: var(--transition);}
.user-dropdown ul li a:hover {
    background-color: #f9f9f9;
    color: var(--primary-color);}
.user-dropdown ul li:not(:last-child) {
    border-bottom: 1px solid var(--border-color);}

/* Basket Dropdown */
.basket-dropdown {
    width: 320px;
    padding: 0;
    overflow: hidden;}

.basket-header {
    background: #f9f9f9;
    padding: 15px 20px;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-color);}

.basket-items {
    max-height: 300px;
    overflow-y: auto;
    padding: 0 20px;}

.basket-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    gap: 15px;}

.basket-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);}

.basket-item-info h4 {
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-dark);}

.basket-item-info .price {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-color);}

.basket-total {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    background: #f9f9f9;}

.basket-total strong {
    font-size: 16px;
    color: var(--secondary-color);}

.basket-actions {
    display: flex;
    padding: 15px 20px;
    gap: 10px;}

.btn-outline {
    flex: 1;
    text-align: center;
    border: 1px solid var(--border-color);
    padding: 10px 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;}
.btn-outline:hover {
    background: #f9f9f9;}

.btn-primary-small {
    flex: 1;
    text-align: center;
    background: var(--primary-color);
    color: var(--white);
    padding: 10px 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;}
.btn-primary-small:hover {
    background: #8c0d45;}

/* =========================================
   HERO SECTION (OVAL CENTERED)
   ========================================= */
.hero-section {
    padding: 20px 0 40px 0;
    background-color: var(--white);}

.hero-swiper {
    border-radius: 20px;
    overflow: hidden;}

.hero-slide-bg {
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;}

.hero-content {
    color: var(--white);
    max-width: 600px;
    margin-left: 60px;
    padding-right: 20px;}

@media (max-width: 768px) {
    .hero-content {
        margin-left: 20px;}
    
    .hero-content h1 {
        font-size: 2.5rem;}}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;}

.btn-primary {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;}

.btn-primary:hover {
    background-color: #8c0d45;}

/* Swiper Pagination Overrides */
.hero-swiper .swiper-pagination-bullet {
    background: var(--white);
    opacity: 0.5;}
.hero-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--accent-color);}

/* =========================================
   CAROUSEL SECTIONS HEADER
   ========================================= */
.section-header-carousel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;}

.section-header-carousel h2 {
    font-size: 1.6rem;
    color: var(--text-dark);
    font-weight: 700;}

.carousel-nav {
    display: flex;
    gap: 10px;}

.carousel-nav button {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background-color: #f0f0f0;
    color: var(--text-dark);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;}

.carousel-nav button:hover {
    background-color: var(--text-light);
    color: var(--white);}

/* =========================================
   CATEGORIES SECTION
   ========================================= */
.categories-section {
    padding: 40px 20px 80px 20px;}

.cat-box {
    display: block;
    position: relative;
    border-radius: 12px;
    padding: 30px;
    height: 250px;
    overflow: hidden;
    text-decoration: none;
    transition: var(--transition);
    background-size: cover;
    background-position: center;}

.cat-box:hover {
    /* No visual movement on hover as requested */}

.cat-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
    position: relative;
    z-index: 3;
    max-width: 50%;}

.cat-img {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: transform 0.5s ease;}

.cat-box:hover .cat-img {
    transform: scale(1.05);}

.cat-btn {
    position: absolute;
    bottom: 30px;
    left: 30px;
    z-index: 3;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    border: 1px solid rgba(0,0,0,0.1);
    border-radius: 20px;
    padding: 6px 18px;
    background: var(--white);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;}

.cat-btn::after {
    content: '\f054'; /* FontAwesome chevron right */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    max-width: 0;
    opacity: 0;
    margin-left: 0;
    transition: all 0.3s ease;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;}

.cat-box:hover .cat-btn {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    padding-right: 15px; /* Adjust padding */}

.cat-box:hover .cat-btn::after {
    max-width: 15px;
    opacity: 1;
    margin-left: 8px;}

/* =========================================
   PRODUCT SECTION
   ========================================= */
.products-section {
    padding: 40px 20px 80px 20px;}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    background: var(--white);
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);}

.wishlist-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    color: #ccc;
    cursor: pointer;
    transition: var(--transition);}

.wishlist-btn:hover {
    color: var(--primary-color);}

.prod-img {
    width: 100%;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;}

.prod-img img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;}

.prod-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 15px;
    height: 40px; /* fixed height for alignment */
    overflow: hidden;}

.prod-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;}

.add-to-cart-btn {
    width: 100%;
    padding: 10px 0;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: var(--secondary-color);
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);}

.add-to-cart-btn:hover {
    background: var(--secondary-color);
    color: var(--white);}

/* =========================================
   SHOWCASE SECTION
   ========================================= */
.showcase-section {
    background-color: #f9f9f9;
    padding: 80px 0;}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;}

@media (max-width: 991px) {
    .showcase-grid {
        grid-template-columns: 1fr;}}

.showcase-subtitle {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 15px;}

.showcase-content h2 {
    font-size: 2.8rem;
    color: var(--secondary-color);
    margin-bottom: 25px;
    line-height: 1.2;}

.showcase-content p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 35px;}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 600;}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white);}

.showcase-image {
    height: 500px;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,94,91,0.15);}

/* =========================================
   FOOTER
   ========================================= */
.footer {
    background-color: var(--white);
    color: var(--text-dark);
    border-top: 1px solid #eee;
}

/* Newsletter */
.newsletter-section {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 40px 0;}

.newsletter-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;}

.newsletter-text h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;}

.newsletter-text p {
    opacity: 0.8;}

.newsletter-form {
    display: flex;
    width: 100%;
    max-width: 500px;}

.newsletter-form input {
    flex-grow: 1;
    padding: 15px 20px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;}

.newsletter-form button {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 15px 30px;
    border-radius: 0 30px 30px 0;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);}

.newsletter-form button:hover {
    background-color: #8c0d45;}

/* Main Footer */
.main-footer {
    padding: 70px 20px;}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;}

@media (max-width: 991px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;}}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;}}

.brand-col p {
    color: var(--text-light);
    margin-bottom: 25px;
    max-width: 300px;}

.social-links {
    display: flex;
    gap: 15px;}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: #f9f9f9;
    border-radius: 50%;
    color: var(--secondary-color);
    font-size: 18px;}

.social-links a:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);}

.footer-col h4 {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
    font-weight: 600;}

.footer-col ul li {
    margin-bottom: 12px;}

.footer-col ul li a {
    color: var(--text-light);}

.footer-col ul li a:hover {
    color: var(--primary-color);}

/* Bottom Footer */
.bottom-footer {
    border-top: 1px solid var(--border-color);
    padding: 20px 0;
    background-color: #f9f9f9;}

.bottom-footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;}

@media (max-width: 576px) {
    .bottom-footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;}}

.payment-methods {
    display: flex;
    gap: 10px;
    font-size: 24px;
    color: #ccc;}

/* =========================================
   PRODUCT PAGE STYLES
   ========================================= */

/* Breadcrumb */
.breadcrumb {
    padding: 20px;
    font-size: 13px;
    color: var(--text-light);}

.breadcrumb a {
    color: var(--text-light);
    text-decoration: none;}

.breadcrumb a:hover {
    color: var(--primary-color);}

.breadcrumb span {
    margin: 0 5px;}

.breadcrumb .current {
    color: var(--text-dark);
    font-weight: 500;}

/* Product Section */
.product-detail-section {
    padding-bottom: 80px;}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;}

@media (max-width: 991px) {
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;}}

/* Product Gallery */
.product-gallery {
    display: flex;
    flex-direction: column;
    gap: 15px;}

.main-image {
    width: 100%;
    height: 500px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--white);
    cursor: zoom-in;}

.main-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.1s ease-out;}

.main-image img.zoomed {
    transform: scale(2);
    cursor: zoom-out;}

.thumbnail-list {
    display: flex;
    gap: 15px;}

.thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    cursor: pointer;
    opacity: 0.6;
    transition: var(--transition);}

.thumbnail.active, .thumbnail:hover {
    opacity: 1;
    border-color: var(--primary-color);}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;}

/* Product Info */
.product-info {
    display: flex;
    flex-direction: column;}

.product-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.2;}

.product-reviews {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;}

.stars {
    color: #FFB800;
    font-size: 14px;}

.review-count {
    font-size: 13px;
    color: var(--text-light);
    text-decoration: underline;}

.product-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 20px;}

.product-short-desc {
    font-size: 15px;
    color: var(--text-light);
    margin-bottom: 30px;
    line-height: 1.6;}

/* Coffee Strength */
.coffee-strength {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    background: #f9f9f9;
    padding: 15px 20px;
    border-radius: 8px;}

.strength-label {
    font-weight: 600;
    font-size: 14px;}

.strength-icons {
    display: flex;
    gap: 5px;}

.css-bean {
    width: 14px;
    height: 20px;
    background-color: #4A332C;
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    position: relative;
    transform: rotate(15deg);
    margin: 0 4px;}

.css-bean::after {
    content: '';
    position: absolute;
    top: 5%;
    left: 45%;
    width: 2px;
    height: 90%;
    background-color: #f9f9f9;
    border-radius: 50%;
    transform: rotate(-10deg);}

.css-bean.empty {
    background-color: transparent;
    border: 2px solid #4A332C;}

.css-bean.empty::after {
    background-color: #4A332C;
    left: 40%;}

/* =========================================
   TOPBAR WP MENU STYLES
   ========================================= */
.topbar-wp-menu li {
    position: relative;}
.topbar-wp-menu a {
    color: var(--text-color);
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);}
.topbar-wp-menu a:hover {
    color: var(--primary-color);}
.topbar-wp-menu .menu-item-has-children > a::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 10px;
    margin-left: 5px;}
.topbar-wp-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 150px;
    box-shadow: var(--shadow);
    border-radius: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
    padding: 10px 0;}
.topbar-wp-menu li:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);}
.topbar-wp-menu .sub-menu a {
    display: block;
    padding: 8px 15px;
    color: var(--text-light);}
.topbar-wp-menu .sub-menu a:hover {
    background: #f9f9f9;
    color: var(--primary-color);}

/* =========================================
   STANDARD PAGE STYLES (page.php)
   ========================================= */
.page-content-wrap {
    padding: 60px 20px;
    margin: 0 auto;
    background-color: var(--bg-color);}

.page-header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 40px;}

.page-title {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--primary-color);
    margin-bottom: 20px;}

.page-body {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-color);}

.page-body p {
    margin-bottom: 20px;}

.page-body h2, .page-body h3 {
    font-family: var(--font-heading);
    color: var(--secondary-color);
    margin-top: 30px;
    margin-bottom: 15px;}

/* Attributes */
.product-attributes {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 30px;}

.attr-item {
    font-size: 14px;
    display: flex;}

.attr-title {
    font-weight: 600;
    width: 100px;}

.attr-val {
    color: var(--text-light);}

/* Product Actions */
.product-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: 30px;
    overflow: hidden;
    height: 50px;}

.qty-btn {
    background: none;
    border: none;
    width: 40px;
    height: 100%;
    font-size: 18px;
    color: var(--text-dark);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;}

.qty-btn:hover {
    background: #f9f9f9;}

.qty-input {
    width: 40px;
    height: 100%;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    pointer-events: none;}

.add-to-cart-large {
    flex-grow: 1;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 30px;
    height: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);}

.add-to-cart-large:hover {
    background: #8c0d45;}

.wishlist-large {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--white);
    color: var(--text-dark);
    font-size: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);}

.wishlist-large:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);}

/* Delivery Info */
.delivery-info {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid #e0f2f1;
    background-color: #f1fbfa;
    border-radius: 8px;
    color: var(--secondary-color);}

.delivery-info i {
    font-size: 24px;}

.delivery-info span {
    font-size: 13px;
    font-weight: 500;}

/* Product Tabs */
.product-tabs {
    border-top: 1px solid var(--border-color);
    padding-top: 40px;}

.tab-headers {
    display: flex;
    gap: 30px;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 30px;}

.tab-btn {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-light);
    padding: 0 0 15px 0;
    cursor: pointer;
    position: relative;}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);}

.tab-btn.active {
    color: var(--primary-color);}

.tab-btn.active::after, .tab-btn:hover::after {
    width: 100%;}

.tab-content {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;}

.tab-content strong {
    color: var(--text-dark);}

/* =========================================
   404 ERROR PAGE STYLES
   ========================================= */
.error-404-wrap {
    padding: 100px 20px;
    text-align: center;
    background-color: #f9f9f9;
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;}
.error-container {
    max-width: 600px;}
.error-code {
    font-size: 140px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-family: var(--font-heading);
    text-shadow: 2px 4px 10px rgba(184, 151, 59, 0.2);}
.error-title {
    font-size: 36px;
    color: var(--dark-color);
    margin-bottom: 20px;
    font-family: var(--font-heading);}
.error-desc {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 40px;
    line-height: 1.6;}
.error-actions {
    display: flex;
    gap: 15px;
    justify-content: center;}
.error-actions a.btn-secondary:hover {
    background: var(--primary-color) !important;
    color: white !important;}

/* =========================================
   MOBILE RESPONSIVENESS OVERRIDES
   ========================================= */
@media (max-width: 991px) {
    /* 1. Header & Topbar */
    .info-header-content {
        flex-direction: column;
        gap: 10px;
        padding: 10px 20px !important; box-sizing: border-box !important;
        height: auto !important;}
    .info-right {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;}
    .info-item {
        border-right: none !important;
        padding: 5px 10px !important;}
    .header-actions .search-box input {
        width: 140px;}
    .main-header-content {
        height: auto !important;
        padding: 15px 20px !important; box-sizing: border-box !important; overflow: hidden !important;}
    .logo img {
        height: 35px !important;}
    
    /* Mobile Menu Accordion Styles */
    .desktop-nav {
        display: none;}
    .desktop-nav.mobile-active {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 0 !important;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
        z-index: 99;}
    .nav-menu {
        flex-direction: column;
        gap: 0 !important;
        padding: 0 !important;
        margin: 0 !important;}
    .nav-link {
        padding: 15px 20px !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        border-bottom: 1px solid #eee;}
    .nav-link::after {
        display: none !important; /* Hide the hover underline */}
    .nav-item.has-dropdown > .nav-link::after {
        content: '\f078';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        display: block !important;
        position: static;
        width: auto;
        height: auto;
        background: none;}
    .mega-menu {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        box-shadow: none !important;
        display: none; /* Hidden by default, toggled via JS */
        padding: 0 !important;
        background: #f9f9f9 !important;}
    .mega-menu.active {
        display: block !important;}
    .mega-menu ul {
        flex-direction: column;
        padding: 10px 0;}
    .mega-menu ul li {
        width: 100% !important;}
    .mega-menu ul li a {
        padding: 10px 20px !important;
        justify-content: flex-start !important;}
    .mega-menu ul li a .menu-icon {
        margin-bottom: 0 !important;
        margin-right: 15px;
        font-size: 16px !important;}
    
    /* 2. Login/Register Forms (.hpl) */
    .helida-premium-login {
        flex-direction: column !important;}
    .hpl-image-pane {
        width: 100% !important;
        padding: 40px 20px !important;
        border-radius: 20px 20px 0 0 !important;
        height: 250px !important;}
    .hpl-form-pane {
        width: 100% !important;
        padding: 30px 20px !important;}
    .hpl-tab-btn {
        font-size: 20px !important;}
    .hpl-tabs {
        gap: 15px !important;}
    
    /* 3. Footer Newsletter */
    .newsletter-content {
        flex-direction: column;
        text-align: center;}
    .newsletter-form {
        flex-direction: column;
        width: 100% !important;
        max-width: 100% !important;}
    .newsletter-form input {
        border-radius: 30px !important;
        margin-bottom: 10px;
        text-align: center;
        width: 100% !important;}
    .newsletter-form button {
        border-radius: 30px !important;
        width: 100%;}}



/* MEGA MENU HOVER COLORS */
.mega-menu ul li a:hover {
    color: var(--primary-color) !important;
}
.mega-menu ul li a:hover span,
.mega-menu ul li a:hover i,
.mega-menu ul li a:hover .menu-icon {
    color: var(--primary-color) !important;
}

/* WOOCOMMERCE PRODUCTS MOBILE GRID */
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)) !important;
    gap: 30px !important;
}
ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
}
@media (max-width: 576px) {
    ul.products {
        grid-template-columns: 1fr !important;
    }
}

/* MODERN BREADCRUMB */
.woocommerce-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px !important;
    color: #8A7060 !important;
    margin-bottom: 25px !important;
    background: #FAFAF8;
    padding: 10px 18px;
    border-radius: 8px;
    border: 1px solid rgba(0,0,0,0.05);
}
.woocommerce-breadcrumb a {
    color: var(--dark-color) !important;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none !important;
}
.woocommerce-breadcrumb a:hover {
    color: var(--primary-color) !important;
}
.woocommerce-breadcrumb .sep {
    color: #bbb;
    font-size: 11px;
}

/* OVAL SALE BADGE IN SUMMARY */
.summary .onsale {
    display: inline-block !important;
    position: static !important;
    background-color: #e53935 !important;
    color: white !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 6px 14px !important;
    border-radius: 30px !important; /* Oval/Pill shape */
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(229, 57, 53, 0.25);
    min-height: auto !important;
    min-width: auto !important;
    line-height: normal !important;
}
/* Hide default floating badge if it still exists */
.woocommerce-product-gallery .onsale {
    display: none !important; 
}

/* Single Product Roast Bar */
.single-product .product-roast {
    background: #f9f9f9;
    padding: 18px 22px;
    border-radius: 10px;
    margin-bottom: 25px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
}
.single-product .product-roast .roast-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #666;
}
.single-product .product-roast .roast-beans {
    display: flex;
    gap: 4px;
    align-items: center;
}
.single-product .product-roast .roast-bean {
    display: flex;
    align-items: center;
    transition: transform 0.15s ease;
}
.single-product .product-roast .roast-bean--active {
    color: #8B4513;
    filter: drop-shadow(0 1px 2px rgba(139,69,19,0.3));
}
.single-product .product-roast .roast-bean--active svg {
    transform: scale(1.05);
}
.single-product .product-roast .roast-bean--inactive {
    color: #D4B896;
}
.single-product .product-roast .roast-text {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Roast â€” merged extra details (RakÄ±m, Ä°ÅŸleme, Ã‡eÅŸit) */
.single-product .product-roast .roast-extra-details {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 20px;
    width: 100%;
    padding-top: 12px;
    margin-top: 4px;
    border-top: 1px solid #e8e0d8;
}
.single-product .product-roast .roast-detail {
    font-size: 13px;
    color: #555;
}
.single-product .product-roast .roast-detail strong {
    color: #333;
    font-weight: 600;
    margin-right: 3px;
}

/* Product Brand Link â€” en Ã¼stte tÄ±klanabilir */
.single-product .product-brand-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: rgba(139, 69, 19, 0.07);
    border: 1px solid rgba(139, 69, 19, 0.2);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #8B4513;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    text-decoration: none;
    margin-bottom: 12px;
    transition: background 0.2s ease, color 0.2s ease;
}
.single-product .product-brand-link:hover {
    background: #8B4513;
    color: #fff;
    text-decoration: none;
}

/* BaÅŸlÄ±k iÃ§indeki marka kelimesi â€” tÄ±klanabilir link */
.single-product .product_title .product-title-brand {
    color: inherit;
    text-decoration: none;
    position: relative;
    transition: color 0.2s ease;
}
.single-product .product_title .product-title-brand::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #8B4513;
    transition: width 0.25s ease;
}
.single-product .product_title .product-title-brand:hover {
    color: #8B4513;
}
.single-product .product_title .product-title-brand:hover::after {
    display: none;
}


/* AJAX Button Animation */
.single_add_to_cart_button {
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}
.single_add_to_cart_button.loading-anim {
    background-color: #888 !important;
    pointer-events: none;
}
.single_add_to_cart_button.loading-anim::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: wc-spin 1s infinite linear;
}
@keyframes wc-spin { 100% { transform: rotate(360deg); } }

.single_add_to_cart_button.success-anim {
    background-color: #4CAF50 !important;
    color: white !important;
    transform: scale(1.02);
    pointer-events: none;
}

/* ========================================= */
/* MODERN CHECKOUT PAGE                      */
/* ========================================= */
.woocommerce-checkout form.checkout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-areas: 
        "details heading"
        "details review";
    gap: 0 50px;
    margin-top: 40px;
    margin-bottom: 60px;
    align-items: start;
}

.woocommerce-checkout #customer_details {
    grid-area: details;
}

.woocommerce-checkout h3#order_review_heading {
    grid-area: heading;
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--dark-color);
}

.woocommerce-checkout h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-color);
    color: var(--dark-color);
}

.woocommerce-checkout-review-order {
    grid-area: review;
    background: #f9f9f9;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.06);
    position: sticky;
    top: 100px; 
}

.woocommerce-checkout #customer_details .col-1, 
.woocommerce-checkout #customer_details .col-2 {
    float: none;
    width: 100%;
    max-width: 100%;
    margin-bottom: 40px;
}

/* Form Inputs */
.woocommerce-checkout .form-row {
    margin-bottom: 20px;
}
.woocommerce-checkout .form-row label {
    font-weight: 600;
    color: #444;
    margin-bottom: 8px;
    display: block;
    font-size: 14px;
}
.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row select,
.woocommerce-checkout .form-row textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    font-family: inherit;
    transition: all 0.3s;
    font-size: 15px;
}
.woocommerce-checkout .form-row input.input-text:focus,
.woocommerce-checkout .form-row select:focus,
.woocommerce-checkout .form-row textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(184, 151, 59, 0.15);
    outline: none;
}
.select2-container .select2-selection--single {
    height: 50px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
}

/* Order Review Table */
.woocommerce-checkout-review-order-table {
    border: none;
    margin-bottom: 30px;
    width: 100%;
}
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    padding: 15px 0;
    border-bottom: 1px solid #eaeaea;
    border-top: none;
}
.woocommerce-checkout-review-order-table thead th {
    font-weight: 700;
    color: var(--dark-color);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}
.woocommerce-checkout-review-order-table tbody td.product-name {
    color: #555;
    font-size: 15px;
}
.woocommerce-checkout-review-order-table tbody td.product-total {
    font-weight: 600;
    color: var(--dark-color);
    text-align: right;
}
.woocommerce-checkout-review-order-table tfoot th {
    font-weight: 600;
    color: #555;
}
.woocommerce-checkout-review-order-table tfoot td {
    font-weight: 600;
    color: var(--dark-color);
    text-align: right;
}
.woocommerce-checkout-review-order-table tr.order-total th,
.woocommerce-checkout-review-order-table tr.order-total td {
    font-size: 18px;
    border-bottom: none;
    padding-top: 20px;
    color: var(--primary-color);
}
.woocommerce-checkout-review-order-table tr.order-total th {
    color: var(--dark-color);
}

/* Payment Section */
#payment {
    background: transparent !important;
    border-radius: 0 !important;
}
#payment ul.payment_methods {
    border-bottom: 1px solid #eaeaea !important;
    padding: 0 0 25px 0 !important;
    margin-bottom: 25px !important;
}
#payment ul.payment_methods li {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
}
#payment ul.payment_methods li input {
    margin-right: 10px;
}
#payment div.payment_box {
    background: #f3f4f6 !important;
    color: #555 !important;
    border-radius: 8px !important;
    box-shadow: none !important;
    padding: 15px !important;
    margin-top: 15px !important;
    font-size: 14px;
}
#payment div.payment_box::before {
    display: none !important;
}
#payment .place-order {
    padding: 0 !important;
    margin-bottom: 0 !important;
}
#payment .button {
    width: 100%;
    padding: 22px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 10px;
    background: var(--primary-color) !important;
    color: #fff !important;
    border: none;
    transition: all 0.3s ease;
}
#payment .button:hover {
    background: var(--dark-color) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(184, 151, 59, 0.3);
}

/* Responsive checkout */
@media (max-width: 991px) {
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1fr;
        grid-template-areas: 
            "details"
            "heading"
            "review";
        gap: 30px;
    }
    .woocommerce-checkout-review-order {
        position: static;
        padding: 20px;
    }
}

/* Fix for Customer Details Columns Stacking */
.woocommerce-checkout #customer_details {
    display: block !important;
    width: 100% !important;
}
.woocommerce-checkout #customer_details .col-1, 
.woocommerce-checkout #customer_details .col-2 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin-bottom: 30px !important;
}

/* Fix "Ship to a different address" heading */
#ship-to-different-address {
    font-size: 20px !important;
    font-weight: 600 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    padding: 0 !important;
    border: none !important;
}
#ship-to-different-address label {
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
    font-weight: 600 !important;
    cursor: pointer !important;
}
#ship-to-different-address input[type="checkbox"] {
    margin: 0 10px 0 0 !important;
    transform: scale(1.2);
}

/* Ensure inputs are full width */
.woocommerce-checkout .form-row-first,
.woocommerce-checkout .form-row-last {
    float: none !important;
    width: 100% !important;
}

/* Make sure the form grid is perfectly spaced */
.woocommerce-checkout form.checkout {
    grid-template-columns: 1.4fr 1fr;
    gap: 0 40px;
}


/* Select2 Dropdown Match (Country & State) */
.select2-container--default .select2-selection--single {
    background-color: #fff !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    height: 50px !important;
    display: flex !important;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: #444 !important;
    line-height: 50px !important;
    padding-left: 18px !important;
    padding-right: 30px !important;
    font-size: 15px !important;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 48px !important;
    right: 10px !important;
}
.select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--primary-color) !important;
    box-shadow: 0 0 0 3px rgba(184, 151, 59, 0.15) !important;
}
.select2-dropdown {
    border: 1px solid var(--primary-color) !important;
    border-radius: 8px !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
    overflow: hidden;
    margin-top: 5px;
}
.select2-container--default .select2-results__option--highlighted[aria-selected],
.select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--primary-color) !important;
    color: white !important;
}

/* Ensure absolute full-width on mobile for all form rows */
@media (max-width: 768px) {
    .woocommerce-checkout .form-row,
    .woocommerce-checkout .form-row-first,
    .woocommerce-checkout .form-row-last,
    .woocommerce-checkout .form-row-wide {
        width: 100% !important;
        float: none !important;
        display: block !important;
    }
    .woocommerce-checkout form.checkout {
        display: flex;
        flex-direction: column;
        gap: 20px;
        margin-top: 20px;
        margin-bottom: 20px;
    }
    .woocommerce-checkout #customer_details,
    .woocommerce-checkout-review-order {
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px !important;
    }
    .woocommerce-checkout #customer_details .col-1, 
    .woocommerce-checkout #customer_details .col-2 {
        padding: 0 !important;
    }
    .woocommerce-checkout .form-row input.input-text,
    .woocommerce-checkout .form-row select,
    .woocommerce-checkout .form-row textarea {
        font-size: 16px !important; /* Prevents iOS auto-zoom and looks better */
        padding: 16px 15px !important;
    }
    .select2-container--default .select2-selection--single {
        height: 54px !important;
    }
    .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 54px !important;
        font-size: 16px !important;
    }
}

/* Modern Inline Coupon Form */
.woocommerce-form-coupon-toggle {
    margin-bottom: 20px;
}
.woocommerce-form-coupon-toggle .woocommerce-info {
    background: #f9f9f9;
    border-top: 3px solid var(--primary-color);
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
    color: #555;
}
.woocommerce-form-coupon-toggle .woocommerce-info a {
    color: var(--primary-color);
    font-weight: 600;
}
form.checkout_coupon {
    
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    border: 1px dashed #ddd;
    margin-bottom: 40px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.02);
}
form.checkout_coupon > p:first-child {
    width: 100%;
    margin-bottom: 15px;
    color: #666;
    font-size: 15px;
}
form.checkout_coupon .form-row-first {
    flex: 1;
    margin-bottom: 0 !important;
    width: auto !important;
    float: none !important;
}
form.checkout_coupon .form-row-last {
    margin-bottom: 0 !important;
    width: auto !important;
    float: none !important;
}
form.checkout_coupon input.input-text {
    width: 100%;
    height: 52px !important;
    border: 1px solid #ddd !important;
    border-right: none !important;
    border-radius: 8px 0 0 8px !important;
    padding: 0 20px !important;
    background: #fff !important;
    box-shadow: none !important;
}
form.checkout_coupon input.input-text:focus {
    border-color: var(--primary-color) !important;
}
form.checkout_coupon button.button {
    height: 52px;
    padding: 0 35px;
    background: var(--dark-color) !important;
    color: #fff !important;
    border: none;
    border-radius: 0 8px 8px 0;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
form.checkout_coupon button.button:hover {
    background: var(--primary-color) !important;
}
@media (max-width: 480px) {
    form.checkout_coupon {
        padding: 15px;
    }
    form.checkout_coupon .form-row-first {
        flex: unset;
        width: 100% !important;
    }
    form.checkout_coupon input.input-text {
        border-right: 1px solid #ddd !important;
        border-radius: 8px !important;
        margin-bottom: 10px;
    }
    form.checkout_coupon .form-row-last {
        width: 100% !important;
    }
    form.checkout_coupon button.button {
        width: 100%;
        border-radius: 8px;
    }
}


/* Proper Flex Override for Checkout Coupon */
form.checkout_coupon:not([style*="none"]) {
    display: flex !important;
    flex-wrap: wrap;
}

/* Make the checkout page wider and more spacious on desktop */
@media (min-width: 1025px) {
    body.woocommerce-checkout .container {
        max-width: 1450px !important; /* Wider container for checkout */
    }
    .woocommerce-checkout form.checkout {
        grid-template-columns: 1.5fr 1fr !important; /* Give billing details more breathing room */
        gap: 0 80px !important; /* Increase the gap between columns */
    }
}

/* Remove unnecessary top spacing when page header is hidden */
.page-content-wrap.no-breadcrumb {
    padding-top: 0 !important;
}
.myaccount-page-wrap.no-breadcrumb {
    padding-top: 0 !important;
}
/* Ensure the first element (like WooCommerce forms) doesn't have huge top margins */
.no-breadcrumb .page-body {
    padding-top: 0 !important;
    margin-top: 0 !important;
}


/* ================================================================
   BRAND (MARKA) ARCHIVE PAGE
   ================================================================ */

/* Hero */
.brand-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a0a02 0%, #3d1f08 50%, #6b3a1f 100%);
    overflow: hidden;
    text-align: center;
    color: #fff;
}
.brand-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(212,163,83,0.15) 0%, transparent 60%);
    pointer-events: none;
}
.brand-hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, rgba(248,245,240,0.08));
    pointer-events: none;
}
.brand-hero__inner {
    position: relative;
    z-index: 2;
    padding: 80px 20px 60px;
    max-width: 760px;
    margin: 0 auto;
}
.brand-hero__badge {
    display: inline-block;
    padding: 6px 18px;
    border: 1px solid rgba(212,163,83,0.5);
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary-color, #D4A35A);
    margin-bottom: 24px;
}
.brand-hero__title {
    font-family: var(--font-heading, 'Playfair Display', serif);
    font-size: clamp(42px, 8vw, 80px);
    font-weight: 700;
    color: #fff;
    letter-spacing: -1px;
    margin: 0 0 20px;
    line-height: 1.05;
}
.brand-hero__desc {
    font-size: 16px;
    line-height: 1.75;
    color: rgba(255,255,255,0.7);
    max-width: 540px;
    margin: 0 auto 40px;
}
.brand-hero__stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
}
.brand-stat {
    text-align: center;
    padding: 12px 32px;
}
.brand-stat--divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    padding: 0;
}
.brand-stat__num {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color, #D4A35A);
    font-family: var(--font-heading, 'Playfair Display', serif);
    line-height: 1;
    margin-bottom: 4px;
}
.brand-stat__label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255,255,255,0.55);
}
.brand-hero__scroll-hint {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.35);
    animation: brand-scroll-bounce 2s ease-in-out infinite;
    z-index: 2;
}
@keyframes brand-scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(7px); }
}

/* Breadcrumb */
.brand-breadcrumb {
    background: #fff;
    border-bottom: 1px solid #f0ebe3;
    padding: 12px 0;
}
.brand-breadcrumb nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #999;
}
.brand-breadcrumb nav a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}
.brand-breadcrumb nav a:hover { color: var(--primary-color, #D4A35A); }
.brand-breadcrumb nav .sep { color: #ccc; }
.brand-breadcrumb nav span:last-child { color: #333; font-weight: 500; }

/* Products section */
.brand-products {
    padding: 60px 0 80px;
    background: #faf8f5;
}
.brand-products__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 36px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e8e0d5;
}
.brand-products__title {
    font-size: 26px;
    font-weight: 700;
    color: #1a0a02;
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}
.brand-products__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 28px;
    padding: 0 10px;
    background: var(--primary-color, #D4A35A);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
}
.brand-products__sort .woocommerce-ordering {
    margin: 0;
}
.brand-products__sort select {
    padding: 8px 16px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 13px;
    background: #fff;
    color: #444;
    cursor: pointer;
}

/* Empty state */
.brand-empty {
    text-align: center;
    padding: 80px 20px;
}
.brand-empty__icon {
    font-size: 56px;
    margin-bottom: 20px;
}
.brand-empty h3 {
    font-size: 22px;
    color: #444;
    margin-bottom: 24px;
}

/* Responsive */
@media (max-width: 768px) {
    .brand-hero {
        min-height: 380px;
    }
    .brand-hero__inner {
        padding: 60px 20px 50px;
    }
    .brand-stat {
        padding: 10px 20px;
    }
    .brand-products__header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ================================================================
   HELIDA PRODUCT CAROUSEL (Swiper.js)
   ================================================================ */

.helida-carousel-section {
    padding: 60px 0;
}
.helida-carousel-header {
    text-align: center;
    margin-bottom: 40px;
}
.helida-swiper-wrapper {
    position: relative;
    padding: 0 48px;
}
.helida-product-swiper {
    overflow: hidden;
}
.helida-product-swiper .swiper-slide {
    height: auto;
    display: flex;
    padding: 20px 8px;
    box-sizing: border-box;
}

/* Product Card */
.hpc-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hpc-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.08);
}
.hpc-card__img-link {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background: #f5f2ee;
}
.hpc-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.hpc-card:hover .hpc-card__img {
    transform: scale(1.06);
}
.hpc-card__badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}
.hpc-card__badge--sale {
    background: #e53935;
    color: #fff;
}
.hpc-card__body {
    padding: 18px 20px 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 6px;
}
.hpc-card__origin {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--primary-color, #D4A35A);
}
.hpc-card__title {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    color: #1a0a02;
}
.hpc-card__title a {
    color: inherit;
    text-decoration: none;
}
.hpc-card__title a:hover { color: var(--primary-color, #D4A35A); }
.hpc-card__notes {
    font-size: 12px;
    color: #888;
    margin: 0;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.hpc-card__roast {
    margin-top: 2px;
}
.hpc-card__roast-label {
    display: inline-block;
    background: #f5f0e8;
    color: #7a4a1e;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 10px;
}
.hpc-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #f0ebe3;
}
.hpc-card__price {
    font-size: 18px;
    font-weight: 700;
    color: #1a0a02;
}
.hpc-card__price .woocommerce-Price-amount { font-size: inherit; }
.hpc-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--primary-color, #D4A35A);
    color: #fff;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    text-decoration: none;
    flex-shrink: 0;
}
.hpc-card__btn:hover {
    background: #b8892a;
    transform: scale(1.1);
    color: #fff;
}

/* Swiper navigation buttons */
.helida-swiper-prev,
.helida-swiper-next {
    width: 32px !important;
    height: 32px !important;
    background: transparent !important;
    border: 1px solid #e5dfd6 !important;
    border-radius: 50% !important;
    box-shadow: none !important;
    color: #999 !important;
    transition: all 0.2s ease !important;
}
.helida-swiper-prev::after,
.helida-swiper-next::after {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: inherit !important;
}
.helida-swiper-prev:hover,
.helida-swiper-next:hover {
    background: var(--primary-color, #D4A35A) !important;
    border-color: var(--primary-color, #D4A35A) !important;
    color: #fff !important;
}
.helida-swiper-prev { left: 0 !important; margin-top: -16px !important; }
.helida-swiper-next { right: 0 !important; margin-top: -16px !important; }

/* Pagination */
.helida-swiper-pagination {
    margin-top: 24px;
    position: relative;
    bottom: auto;
}
.helida-swiper-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d0c8bf;
    opacity: 1;
    transition: background 0.2s, transform 0.2s;
}
.helida-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color, #D4A35A);
    transform: scale(1.3);
}

/* ================================================================
   BRAND LIST SHORTCODE
   ================================================================ */
.helida-brand-list-section { padding: 40px 0; }
.helida-brand-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.helida-brand-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 28px;
    background: #fff;
    border: 1px solid #e8e0d8;
    border-radius: 12px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
    min-width: 140px;
}
.helida-brand-item img {
    max-height: 50px;
    max-width: 130px;
    object-fit: contain;
    filter: grayscale(0.3);
    transition: filter 0.2s;
}
.helida-brand-item:hover {
    border-color: var(--primary-color, #D4A35A);
    box-shadow: 0 4px 16px rgba(212,163,83,0.15);
    transform: translateY(-3px);
}
.helida-brand-item:hover img { filter: grayscale(0); }

/* ================================================================
   PAGE BUILDER FULL-WIDTH TEMPLATE
   ================================================================ */
.pb-fullwidth-main { min-height: 60vh; }
.pb-fullwidth-article { display: block; }

/* WP Bakery row tam genişlik */
.pb-fullwidth-article .vc_row-full-width,
.pb-fullwidth-article .vc_section {
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

/* ================================================================
   WP Bakery uyumluluk düzeltmeleri
   ================================================================ */
.vc_row { margin-left: 0 !important; margin-right: 0 !important; }
.wpb_content_element { margin-bottom: 30px; }
/* --- CUSTOM PRODUCT PAGE STYLING --- */
.single-product .product_title .product-title-brand {
    color: var(--primary-color, #D4A35A) !important;
    font-weight: 700 !important;
}
.single-product div.product p.price {
    font-size: 32px;
    font-weight: 700;
    color: #111;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
}
.single-product div.product p.price del {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
    font-weight: 500;
    opacity: 0.6;
}
.single-product div.product p.price ins {
    text-decoration: none;
    color: var(--primary-color, #D4A35A);
}
/* Variation Swatches */
.helida-variation-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}
.helida-variation-swatch {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    background: #fff;
    transition: all 0.2s ease;
    user-select: none;
}
.helida-variation-swatch:hover {
    border-color: var(--primary-color, #D4A35A);
    color: var(--primary-color, #D4A35A);
}
.helida-variation-swatch.selected {
    border-color: var(--primary-color, #D4A35A);
    background: var(--primary-color, #D4A35A);
    color: #fff;
}
.helida-variation-swatch.disabled {
    opacity: 0.4;
    cursor: not-allowed;
    text-decoration: line-through;
}
table.variations select {
    display: none !important;
}
table.variations { width: 100%; border: none; }
table.variations tr { display: block; margin-bottom: 20px; }
table.variations td { display: block; border: none; text-align: left; padding: 0; }
table.variations td.label {
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    vertical-align: top;
}
table.variations td.value {
    vertical-align: top;
}
/* Quantity & Button */
.single-product div.product form.cart {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
}
.single-product div.product form.cart .woocommerce-variation-add-to-cart,
.single-product div.product form.cart:not(.variations_form) {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}
.single-product div.product form.cart .quantity {
    width: 80px;
    border: none !important;
    padding: 0 !important;
    background: transparent !important;
}
.single-product div.product form.cart .quantity input.qty {
    width: 100%;
    height: 54px;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    box-sizing: border-box;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    box-shadow: none !important;
}
.single-product div.product form.cart button.single_add_to_cart_button {
    flex: 1;
    height: 54px;
    background-color: var(--primary-color, #D4A35A) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 8px !important;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
.single-product div.product form.cart button.single_add_to_cart_button:hover {
    background-color: #b88a44 !important;
}
.single-product div.product form.cart button.single_add_to_cart_button::before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2"><circle cx="9" cy="21" r="1"/><circle cx="20" cy="21" r="1"/><path d="M1 1h4l2.68 13.39a2 2 0 0 0 2 1.61h9.72a2 2 0 0 0 2-1.61L23 6H6"/></svg>') no-repeat center;
}
/* Countdown Timer */
.hpc-countdown {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    background: rgba(212, 163, 90, 0.95); /* Theme primary color */
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 5px;
    border-radius: 4px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 8px;
    backdrop-filter: blur(4px);
}
.hpc-countdown span {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
}
.hpc-countdown span small {
    font-size: 9px;
    font-weight: 500;
    text-transform: uppercase;
    opacity: 0.9;
}
/* Single Product Countdown */
.hpc-countdown--single {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    display: inline-flex;
    margin-bottom: 20px;
    padding: 10px 15px;
    font-size: 16px;
    gap: 15px;
    background: #ff5722; /* More punchy orange for single page */
    color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.2);
}
.hpc-countdown--single span small {
    font-size: 11px;
}
.hpc-countdown--single {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    background: #ff5722;
    color: #fff;
    padding: 12px 20px;
    border-radius: 8px;
}
.hpc-countdown-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.9;
    margin-bottom: 5px;
}
.hpc-countdown-timer {
    display: flex;
    gap: 15px;
}
.hpc-countdown, .hpc-countdown--single {
    font-family: var(--font-body), inherit !important;
}
/* --- Smart Slider Rounded Corners --- */
.n2-ss-align,
.n2-ss-slider,
div[data-type="slider"] {
    border-radius: 24px !important;
    overflow: hidden !important;
    /* Webkit/Safari mask fix for overflow clipping on hardware accelerated layers */
    -webkit-mask-image: -webkit-radial-gradient(white, black);
    mask-image: radial-gradient(white, black);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08); /* Optional elegant shadow */
}

/* --- WooCommerce Coffee Bean Rating --- */
.woocommerce p.stars,
.woocommerce p.stars span {
    display: flex;
    align-items: center;
    gap: 4px;
}
.woocommerce p.stars a {
    position: relative;
    display: inline-block;
    width: 20px;
    height: 20px;
    text-indent: -9999px;
    text-decoration: none;
    border: none;
}
.woocommerce p.stars a::before {
    content: "";
    display: block;
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #d3ccc5; /* Default gray-ish color */
    -webkit-mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExLjYsMmMtMy4xLDAuNS02LjYsMy40LTcuNCw2LjVjLTAuNiwyLjQsMC4zLDUuMSwxLjgsNy4zQzcuNCwxNy45LDEwLDIxLDEyLjQsMjJjMy4xLTAuNSw2LjYtMy40LDcuNC02LjVjMC42LTIuNC0wLjMtNS4xLTEuOC03LjNDMTYuNiw2LjEsMTQsMywxMS42LDJ6IE0xMi44LDE5LjJjLTEuMy0xLjYtMS41LTMuNi0wLjYtNS40YzAuOC0xLjUsMi40LTIuMiwzLjktMy4yYzEuMS0wLjgsMS44LTEuOSwyLTMuMUMxNi45LDksMTQuNiwxMS4zLDEzLjUsMTMuMmMtMS4xLDItMC45LDQuNCwwLjUsNkMxMy42LDE5LjMsMTMuMiwxOS4zLDEyLjgsMTkuMnoiLz48L3N2Zz4=');
    mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExLjYsMmMtMy4xLDAuNS02LjYsMy40LTcuNCw2LjVjLTAuNiwyLjQsMC4zLDUuMSwxLjgsNy4zQzcuNCwxNy45LDEwLDIxLDEyLjQsMjJjMy4xLTAuNSw2LjYtMy40LDcuNC02LjVjMC42LTIuNC0wLjMtNS4xLTEuOC03LjNDMTYuNiw2LjEsMTQsMywxMS42LDJ6IE0xMi44LDE5LjJjLTEuMy0xLjYtMS41LTMuNi0wLjYtNS40YzAuOC0xLjUsMi40LTIuMiwzLjktMy4yYzEuMS0wLjgsMS44LTEuOSwyLTMuMUMxNi45LDksMTQuNiwxMS4zLDEzLjUsMTMuMmMtMS4xLDItMC45LDQuNCwwLjUsNkMxMy42LDE5LjMsMTMuMiwxOS4zLDEyLjgsMTkuMnoiLz48L3N2Zz4=');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    transition: background-color 0.2s ease;
}

/* Coloring logic: If selected, all before it are colored */
.woocommerce p.stars.selected a::before {
    background-color: #6F4E37; /* Coffee brown */
}
/* Uncolor the ones AFTER the active one */
.woocommerce p.stars.selected a.active ~ a::before {
    background-color: #d3ccc5;
}

/* Hovering logic: color all */
.woocommerce p.stars:hover a::before {
    background-color: #6F4E37 !important;
}
/* Uncolor the ones AFTER the hovered one */
.woocommerce p.stars:hover a:hover ~ a::before {
    background-color: #d3ccc5 !important;
}

/* --- WooCommerce Coffee Bean Display (Loop & Single) --- */
.woocommerce .star-rating {
    overflow: hidden;
    position: relative;
    height: 20px;
    line-height: 1;
    width: 100px;
    font-size: 0;
    margin: 0 auto; /* center in grids if needed */
}
.woocommerce .star-rating::before {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0; left: 0;
    background-color: #d3ccc5;
    -webkit-mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExLjYsMmMtMy4xLDAuNS02LjYsMy40LTcuNCw2LjVjLTAuNiwyLjQsMC4zLDUuMSwxLjgsNy4zQzcuNCwxNy45LDEwLDIxLDEyLjQsMjJjMy4xLTAuNSw2LjYtMy40LDcuNC02LjVjMC42LTIuNC0wLjMtNS4xLTEuOC03LjNDMTYuNiw2LjEsMTQsMywxMS42LDJ6IE0xMi44LDE5LjJjLTEuMy0xLjYtMS41LTMuNi0wLjYtNS40YzAuOC0xLjUsMi40LTIuMiwzLjktMy4yYzEuMS0wLjgsMS44LTEuOSwyLTMuMUMxNi45LDksMTQuNiwxMS4zLDEzLjUsMTMuMmMtMS4xLDItMC45LDQuNCwwLjUsNkMxMy42LDE5LjMsMTMuMiwxOS4zLDEyLjgsMTkuMnoiLz48L3N2Zz4=');
    mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExLjYsMmMtMy4xLDAuNS02LjYsMy40LTcuNCw2LjVjLTAuNiwyLjQsMC4zLDUuMSwxLjgsNy4zQzcuNCwxNy45LDEwLDIxLDEyLjQsMjJjMy4xLTAuNSw2LjYtMy40LDcuNC02LjVjMC42LTIuNC0wLjMtNS4xLTEuOC03LjNDMTYuNiw2LjEsMTQsMywxMS42LDJ6IE0xMi44LDE5LjJjLTEuMy0xLjYtMS41LTMuNi0wLjYtNS40YzAuOC0xLjUsMi40LTIuMiwzLjktMy4yYzEuMS0wLjgsMS44LTEuOSwyLTMuMUMxNi45LDksMTQuNiwxMS4zLDEzLjUsMTMuMmMtMS4xLDItMC45LDQuNCwwLjUsNkMxMy42LDE5LjMsMTMuMiwxOS4zLDEyLjgsMTkuMnoiLz48L3N2Zz4=');
    -webkit-mask-size: 20px 20px;
    mask-size: 20px 20px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
}
.woocommerce .star-rating span {
    overflow: hidden;
    position: absolute;
    top: 0; left: 0;
    height: 100%;
    padding-top: 20px; /* Hides internal text */
}
.woocommerce .star-rating span::before {
    content: "";
    display: block;
    width: 100px;
    height: 20px;
    position: absolute;
    top: 0; left: 0;
    background-color: #6F4E37;
    -webkit-mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExLjYsMmMtMy4xLDAuNS02LjYsMy40LTcuNCw2LjVjLTAuNiwyLjQsMC4zLDUuMSwxLjgsNy4zQzcuNCwxNy45LDEwLDIxLDEyLjQsMjJjMy4xLTAuNSw2LjYtMy40LDcuNC02LjVjMC42LTIuNC0wLjMtNS4xLTEuOC03LjNDMTYuNiw2LjEsMTQsMywxMS42LDJ6IE0xMi44LDE5LjJjLTEuMy0xLjYtMS41LTMuNi0wLjYtNS40YzAuOC0xLjUsMi40LTIuMiwzLjktMy4yYzEuMS0wLjgsMS44LTEuOSwyLTMuMUMxNi45LDksMTQuNiwxMS4zLDEzLjUsMTMuMmMtMS4xLDItMC45LDQuNCwwLjUsNkMxMy42LDE5LjMsMTMuMiwxOS4zLDEyLjgsMTkuMnoiLz48L3N2Zz4=');
    mask-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PHBhdGggZD0iTTExLjYsMmMtMy4xLDAuNS02LjYsMy40LTcuNCw2LjVjLTAuNiwyLjQsMC4zLDUuMSwxLjgsNy4zQzcuNCwxNy45LDEwLDIxLDEyLjQsMjJjMy4xLTAuNSw2LjYtMy40LDcuNC02LjVjMC42LTIuNC0wLjMtNS4xLTEuOC03LjNDMTYuNiw2LjEsMTQsMywxMS42LDJ6IE0xMi44LDE5LjJjLTEuMy0xLjYtMS41LTMuNi0wLjYtNS40YzAuOC0xLjUsMi40LTIuMiwzLjktMy4yYzEuMS0wLjgsMS44LTEuOSwyLTMuMUMxNi45LDksMTQuNiwxMS4zLDEzLjUsMTMuMmMtMS4xLDItMC45LDQuNCwwLjUsNkMxMy42LDE5LjMsMTMuMiwxOS4zLDEyLjgsMTkuMnoiLz48L3N2Zz4=');
    -webkit-mask-size: 20px 20px;
    mask-size: 20px 20px;
    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;
}

/* Ensure text is hidden robustly */
.woocommerce p.stars a {
    font-size: 0 !important;
    color: transparent !important;
}

/* Fix for rating misalignment */
.woocommerce .star-rating {
    margin: 0 !important;
}
.woocommerce .woocommerce-product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1em;
}
.woocommerce .woocommerce-product-rating a {
    text-decoration: none;
    color: #666;
    font-size: 14px;
}

/* Reduce top spacing on single product page to bring breadcrumb closer to content */
.single-product .page-content-wrap {
    padding-top: 20px !important;
}
.woocommerce.single-product div.product {
    margin-top: 0 !important;
}
.woocommerce-breadcrumb {
    margin-bottom: 20px !important;
}

/* User Request: Breadcrumb separation and spacing */
.woocommerce-breadcrumb {
    border-top: 1px solid #eaeaea;
    padding-top: 20px !important;
    margin-top: 20px !important;
}

/* User Request: Header bottom border and soft shadow */
.header {
    border-bottom: 1px solid #eaeaea;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
}
.woocommerce-breadcrumb {
    border-top: none !important;
}

/* User Request: Limit product image size on mobile */
@media (max-width: 960px) {
    .woocommerce.single-product div.product > .woocommerce-product-gallery {
        max-width: 100% !important;
        margin: 0 auto 30px !important;
    }
    .woocommerce.single-product div.product > .woocommerce-product-gallery img {
        max-height: 50vh !important;
        width: 100% !important;
        object-fit: contain !important;
    }
}

/* --- SEARCH RESULTS PAGE ENHANCEMENT --- */
.search-results-page {
    margin: 60px auto 80px;
}
.search-page-header {
    background: linear-gradient(135deg, #FAF8F5 0%, #F4ECE1 100%);
    border-radius: 20px;
    padding: 70px 40px;
    text-align: center;
    margin-bottom: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}
.search-page-header::before {
    content: '';
    position: absolute;
    top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.6) 0%, transparent 60%);
    pointer-events: none;
}
.search-page-header .section-eyebrow {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--primary-color, #D4A35A);
    font-weight: 600;
    margin-bottom: 15px;
}
.search-page-header .section-title {
    font-size: 42px;
    font-weight: 700;
    color: #1A1209;
    margin-bottom: 25px;
    line-height: 1.2;
}
.search-page-header .search-count {
    display: inline-block;
    background: #fff;
    padding: 10px 25px;
    border-radius: 40px;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    margin-bottom: 40px;
}
.search-page-header .custom-search-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    background: #fff;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    border: 2px solid #FFF;
    transition: all 0.3s ease;
}
.search-page-header .custom-search-form:focus-within {
    box-shadow: 0 10px 30px rgba(212, 163, 90, 0.2);
    border-color: var(--primary-color, #D4A35A);
}
.search-page-header .custom-search-form input[type="search"],
.search-page-header .custom-search-form input[type="text"] {
    flex: 1;
    border: none !important;
    padding: 18px 30px !important;
    font-size: 17px !important;
    outline: none !important;
    background: transparent !important;
    color: #333 !important;
    box-shadow: none !important;
    font-family: inherit;
}
.search-page-header .custom-search-form button {
    background: var(--primary-color, #D4A35A);
    color: #fff;
    border: none;
    padding: 0 40px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}
.search-page-header .custom-search-form button:hover {
    background: #1A1209;
}
@media (max-width: 768px) {
    .search-page-header {
        padding: 50px 20px;
    }
    .search-page-header .section-title {
        font-size: 32px;
    }
    .search-page-header .custom-search-form button {
        padding: 0 20px;
    }
}

/* --- WOOCOMMERCE ARCHIVE HEADER STYLING --- */
.woocommerce-result-count {
    float: left;
    margin-bottom: 30px !important;
    font-size: 15px !important;
    font-weight: 500;
    color: #666 !important;
    padding-top: 10px;
}
.woocommerce-ordering {
    float: right;
    margin-bottom: 30px !important;
}
.woocommerce-ordering select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-color: #fff !important;
    border: 1px solid #e0e0e0 !important;
    padding: 12px 40px 12px 15px !important;
    font-size: 15px !important;
    color: #333 !important;
    border-radius: 8px !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03) !important;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23666" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') !important;
    background-repeat: no-repeat !important;
    background-position: right 10px center !important;
    background-size: 20px !important;
    transition: all 0.2s ease !important;
    width: auto !important;
    min-width: 200px;
}
.woocommerce-ordering select:hover, .woocommerce-ordering select:focus {
    border-color: var(--primary-color, #D4A35A) !important;
    box-shadow: 0 4px 12px rgba(212,163,90,0.1) !important;
    outline: none !important;
}
ul.products {
    clear: both;
    padding-top: 20px;
}
@media (max-width: 768px) {
    .woocommerce-result-count {
        float: none;
        display: block;
        text-align: center;
        margin-bottom: 10px !important;
    }
    .woocommerce-ordering {
        float: none;
        display: flex;
        justify-content: center;
    }
}

/* --- WOOCOMMERCE ARCHIVE PRODUCT CARD STYLING --- */
ul.products li.product {
    border: 1px solid var(--border-color, #eaeaea) !important;
    border-radius: 12px !important;
    padding: 20px !important;
    position: relative;
    background: var(--white, #fff) !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition, all 0.3s ease) !important;
    box-shadow: none;
}
ul.products li.product:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05) !important;
    transform: translateY(-5px);
}
ul.products li.product img {
    max-width: 100% !important;
    height: auto !important;
    margin-bottom: 20px !important;
    border-radius: 8px;
    object-fit: contain;
    max-height: 250px; /* keep product images uniform and small */
}
ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1A1209 !important;
    margin-bottom: 10px !important;
    line-height: 1.4;
}
ul.products li.product .price {
    font-size: 16px !important;
    color: var(--primary-color, #D4A35A) !important;
    font-weight: 700 !important;
    margin-bottom: 20px !important;
}
ul.products li.product .add_to_cart_button {
    margin-top: auto !important; /* Forces button to the bottom if cards are equal height */
    background: var(--primary-color, #D4A35A) !important;
    color: #fff !important;
    border-radius: 30px !important;
    padding: 10px 25px !important;
    font-size: 13px !important;
    text-transform: uppercase;
    font-weight: 600 !important;
    transition: background 0.3s ease !important;
    width: 100% !important;
    border: none !important;
    text-align: center;
    display: block;
}
ul.products li.product .add_to_cart_button:hover {
    background: #1A1209 !important;
}
ul.products li.product .star-rating {
    margin: 0 auto 10px auto !important;
}

/* --- WOOCOMMERCE PRODUCT BADGES --- */
ul.products li.product .product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #e74c3c !important;
    color: #fff !important;
    padding: 6px 14px !important;
    border-radius: 20px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    z-index: 10;
    box-shadow: 0 4px 10px rgba(231, 76, 60, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}
ul.products li.product .product-badge.new {
    background: #2ecc71 !important;
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.3);
}
ul.products li.product .product-badge.featured {
    background: #f39c12 !important;
    box-shadow: 0 4px 10px rgba(243, 156, 18, 0.3);
}

/* =============================================
   RELATED PRODUCTS CAROUSEL - SINGLE PRODUCT
   ============================================= */
.helida-related-carousel {
    padding: 60px 0 80px;
    background: #FAF8F5;
    margin-top: 60px;
    border-top: 1px solid rgba(0,0,0,0.06);
}
.helida-related-header {
    text-align: center;
    margin-bottom: 40px;
}
.helida-related-header .section-eyebrow {
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--primary-color, #D4A35A);
    font-weight: 600;
    margin-bottom: 10px;
}
.helida-related-header .section-title {
    font-family: 'Playfair Display', serif;
    font-size: 32px;
    font-weight: 700;
    color: #1A1209;
    margin: 0;
}
.helida-related-swiper {
    padding: 10px 5px 50px !important;
    overflow: visible;
}
.related-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.1);
}
.related-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #e74c3c;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    z-index: 5;
    box-shadow: 0 3px 8px rgba(231,76,60,0.3);
    text-transform: uppercase;
}
.related-card-img-link {
    display: block;
    background: #F7F4EE;
    padding: 20px;
    text-align: center;
}
.related-card-img-link img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.related-card:hover .related-card-img-link img {
    transform: scale(1.04);
}
.related-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.related-card-origin {
    font-size: 12px;
    color: var(--primary-color, #D4A35A);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    display: block;
}
.related-card-title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 15px 0;
    flex: 1;
}
.related-card-title a {
    color: #1A1209;
    text-decoration: none;
    transition: color 0.2s;
}
.related-card-title a:hover {
    color: var(--primary-color, #D4A35A);
}
.related-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: auto;
}
.related-card-price {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-color, #D4A35A);
}
.related-card-price del {
    color: #aaa;
    font-size: 13px;
    font-weight: 400;
    margin-right: 5px;
}
.related-card-btn {
    background: #1A1209;
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 9px 18px;
    border-radius: 30px;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.related-card-btn:hover {
    background: var(--primary-color, #D4A35A);
    color: #fff;
}

/* Swiper navigation overrides */
.helida-related-swiper .swiper-button-prev,
.helida-related-swiper .swiper-button-next {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
    color: #1A1209;
    top: 40%;
}
.helida-related-swiper .swiper-button-prev::after,
.helida-related-swiper .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
}
.helida-related-swiper .swiper-button-prev:hover,
.helida-related-swiper .swiper-button-next:hover {
    background: var(--primary-color, #D4A35A);
    color: #fff;
}
.helida-related-swiper .swiper-pagination-bullet {
    background: var(--primary-color, #D4A35A);
    opacity: 0.3;
    width: 8px;
    height: 8px;
}
.helida-related-swiper .swiper-pagination-bullet-active {
    opacity: 1;
    width: 24px;
    border-radius: 4px;
}

/* =============================================
   HELIDA BANNER CAROUSEL WIDGET
   ============================================= */
.helida-banner-carousel-section {
    width: 100%;
}
.helida-banner-carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 16px;
    flex-wrap: wrap;
}
.helida-banner-carousel-title {
    font-size: 22px;
    font-weight: 700;
    color: #1A1209;
    margin: 0;
}
.helida-banner-carousel-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}
.helida-banner-all-link {
    font-size: 14px;
    font-weight: 600;
    color: #555;
    text-decoration: none;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 30px;
    transition: all 0.2s ease;
}
.helida-banner-all-link:hover {
    border-color: var(--primary-color, #D4A35A);
    color: var(--primary-color, #D4A35A);
}
.helida-banner-nav {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    flex-shrink: 0;
    color: #333;
}
.helida-banner-nav:hover {
    background: var(--primary-color, #D4A35A);
    border-color: var(--primary-color, #D4A35A);
    color: #fff;
}
.helida-banner-swiper {
    overflow: hidden;
    border-radius: 12px;
}
.helida-banner-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.helida-banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.helida-banner-item:hover img {
    transform: scale(1.03);
}

/* =============================================
   FOOTER RESPONSIVE & SOCIAL ICONS
   ============================================= */
.footer-logo-link { display: inline-block; margin-bottom: 20px; }
.footer-logo { max-height: 50px; width: auto; display: block; }

.footer-desc {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-light, #666);
    margin-bottom: 24px;
    max-width: 280px;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f4f0ea;
    color: #4a3728;
    font-size: 15px;
    text-decoration: none;
    transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: 1px solid #e8e0d5;
}
.footer-social-link:hover {
    background: var(--primary-color, #D4A35A);
    color: #fff;
    transform: translateY(-3px);
    border-color: var(--primary-color, #D4A35A);
}

/* Footer grid responsive */
.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding: 60px 0 50px;
}
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1.2fr 1fr 1fr;
        gap: 35px;
    }
    .footer-col.brand-col {
        grid-column: 1 / -1;
    }
    .footer-desc { max-width: 100%; }
}
@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 40px 0 30px;
    }
    .footer-col.brand-col {
        grid-column: 1 / -1;
    }
}
@media (max-width: 480px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
}

/* =============================================
   WHATSAPP CHAT BALONU
   ============================================= */
.helida-wa-bubble {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
    pointer-events: none;
}

/* Popup Card */
.helida-wa-popup {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    width: 300px;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform-origin: bottom right;
}
.helida-wa-popup--open {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}
.helida-wa-popup-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    color: rgba(255,255,255,0.8);
    cursor: pointer;
    line-height: 1;
    padding: 0;
    transition: color 0.2s;
}
.helida-wa-popup-close:hover { color: #fff; }

.helida-wa-popup-header {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    padding: 22px 20px 22px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    position: relative;
}
.helida-wa-popup-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.helida-wa-popup-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.helida-wa-popup-info strong {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}
.helida-wa-popup-info span {
    color: rgba(255,255,255,0.85);
    font-size: 12px;
}

.helida-wa-popup-body {
    padding: 18px 20px 12px;
    background: #f0f4f8;
}
.helida-wa-popup-body p {
    background: #fff;
    border-radius: 0 12px 12px 12px;
    padding: 12px 14px;
    font-size: 13px;
    color: #333;
    margin: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    line-height: 1.5;
    position: relative;
}
.helida-wa-popup-body p::before {
    content: '';
    position: absolute;
    top: 0;
    left: -8px;
    border-width: 0 8px 8px 0;
    border-style: solid;
    border-color: transparent #fff transparent transparent;
}

.helida-wa-popup-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin: 14px 20px 18px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 700;
    transition: opacity 0.2s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(37,211,102,0.35);
}
.helida-wa-popup-btn:hover {
    opacity: 0.92;
    transform: translateY(-1px);
    color: #fff;
}

/* Trigger Button */
.helida-wa-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 6px 25px rgba(37,211,102,0.45);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex-shrink: 0;
    pointer-events: auto;
}
.helida-wa-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.55);
}
.helida-wa-btn-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ping animation */
.helida-wa-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(37,211,102,0.4);
    animation: wa-ping 2s ease-out infinite;
}
@keyframes wa-ping {
    0%   { transform: scale(1); opacity: 0.6; }
    70%  { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* Notification badge */
.helida-wa-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #e74c3c;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: wa-badge-bounce 1.5s ease infinite;
}
@keyframes wa-badge-bounce {
    0%, 100% { transform: scale(1); }
    50%       { transform: scale(1.2); }
}

@media (max-width: 480px) {
    .helida-wa-bubble {
        bottom: 16px;
        right: 16px;
    }
    .helida-wa-popup {
        width: calc(100vw - 32px);
    }
    .helida-wa-btn {
        width: 54px;
        height: 54px;
    }
}

/* =============================================
   INSTAGRAM FEED ELEMENTOR WIDGET
   ============================================= */
.helida-ig-feed-wrapper {
    margin: 80px 0;
    position: relative;
}
.helida-ig-header {
    text-align: center;
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}
.helida-ig-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.helida-ig-title i {
    font-size: 36px;
    background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}
.helida-ig-title h3 {
    margin: 0;
    font-size: 32px;
    font-family: 'Cormorant Garamond', var(--font-heading, serif);
    font-weight: 600;
    color: var(--text-dark, #1A1209);
    letter-spacing: 1px;
}
.helida-ig-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 30px;
    background: var(--dark-color, #1A1209);
    color: #fff !important;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-decoration: none;
    transition: all 0.4s ease;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.helida-ig-btn i {
    font-size: 14px;
    transition: transform 0.3s ease;
}
.helida-ig-btn:hover {
    background: var(--primary-color, #B8973B);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(184, 151, 59, 0.3);
}
.helida-ig-btn:hover i {
    transform: translateX(4px);
}

.helida-ig-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}
.helida-ig-item {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
}
.helida-ig-img-wrap {
    width: 100%;
    height: 100%;
    position: relative;
}
.helida-ig-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.helida-ig-video-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    color: #fff;
    font-size: 18px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
    z-index: 2;
}
.helida-ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}
.helida-ig-overlay i {
    color: #fff;
    font-size: 32px;
    transform: scale(0.5);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.helida-ig-item:hover .helida-ig-img-wrap img {
    transform: scale(1.05);
}
.helida-ig-item:hover .helida-ig-overlay {
    opacity: 1;
}
.helida-ig-item:hover .helida-ig-overlay i {
    transform: scale(1);
}

@media (max-width: 1200px) {
    .helida-ig-grid { grid-template-columns: repeat(5, 1fr); }
}
@media (max-width: 991px) {
    .helida-ig-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 768px) {
    .helida-ig-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 480px) {
    .helida-ig-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

/* =========================================
   SCROLL TO TOP BUTTON
   ========================================= */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 45px;
    height: 45px;
    background-color: var(--primary-color, #B8973B);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    text-decoration: none;
}
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-to-top:hover {
    background-color: var(--dark-color, #1A1209);
    color: var(--primary-color, #B8973B);
}

/* =========================================
   SCROLL TO TOP BUTTON (REWRITE)
   ========================================= */
.helida-scroll-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    width: 48px;
    height: 48px;
    background-color: var(--primary-color, #B8973B);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}
.helida-scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.helida-scroll-top:hover {
    background-color: var(--dark-color, #1A1209);
    color: var(--primary-color, #B8973B);
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}
