/*
Theme Name:        Anchalik
Theme URI:         https://anchalik.com
Author:            Rhythm
Author URI:        https://anchalik.com
Description:       A modern, ultra-fast WooCommerce theme built with Tailwind CSS. Shopify-style conversion UX with full admin control — no page builders required.
Version:           1.0.1
Requires at least: 6.2
Tested up to:      6.7
Requires PHP:      8.1
License:           GNU General Public License v2 or later
License URI:       https://www.gnu.org/licenses/gpl-2.0.html
Text Domain:       anchalik
Tags:              woocommerce, e-commerce, tailwind, conversion, responsive, custom-colors, custom-logo, custom-menu

WooCommerce: true
*/

/* Tailwind base styles are loaded via compiled main.min.css */

/* ════════════════════════════════════════════════════
   PREMIUM UI ENHANCEMENTS (Home Page & Loops)
   ════════════════════════════════════════════════════ */

/* Backgrounds */
.bg-neutral-cool { background-color: #FEFAF3 !important; }

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid #fdf8ee;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 4px 10px rgba(139, 105, 20, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px -5px rgba(139, 105, 20, 0.12), 0 8px 15px -5px rgba(0, 0, 0, 0.05);
    border-color: #e5d8be;
}
.product-card__image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    background: #fdf8ee;
    border-bottom: 1px solid #fdf8ee;
}
.product-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}
.product-card:hover .product-card__image {
    transform: scale(1.06);
}
.product-card__body {
    padding: 1.25rem 1rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    gap: 0.5rem;
}
.product-card__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: #3D2B0E;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.product-card:hover .product-card__title {
    color: #8B6914;
}
.product-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #8B6914;
    margin-top: auto;
}
/* Premium Product Card Add To Cart Button */
.product-card__body .button.add_to_cart_button {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    height: 48px !important;
    background: linear-gradient(135deg, #d97706, #b45309) !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 0.875rem !important;
    border-radius: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    border: none !important;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
    margin-top: 0.75rem !important;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.25) !important;
}
.product-card__body .button.add_to_cart_button:hover {
    background: linear-gradient(135deg, #b45309, #92400e) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(217, 119, 6, 0.35) !important;
}

/* Category Icon Cards */
.category-icon-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.category-icon-card:hover {
    border-color: #d97706;
    box-shadow: 0 4px 14px rgba(217, 119, 6, 0.12);
    transform: translateY(-2px);
}
.category-icon-card__title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #4b5563;
    transition: color 0.3s ease;
    line-height: 1.2;
}
.category-icon-card:hover .category-icon-card__title {
    color: #d97706;
}
.category-icon-card__icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.05));
}
.category-icon-card:hover .category-icon-card__icon {
    transform: scale(1.15) rotate(-3deg);
}

/* Hero Section Enhancements */
.hero-section {
    background: #1C1917 !important;
}
@keyframes fadeInUpPremium {
    from { opacity: 0; transform: translateY(35px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate-fade-in-up {
    animation: fadeInUpPremium 0.9s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}
.hero-btn-premium {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    background: rgba(28, 25, 23, 0.7) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #fff !important;
    border-radius: 9999px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1) !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2) !important;
}
.hero-btn-premium:hover {
    background: rgba(28, 25, 23, 0.9) !important;
    border-color: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px) scale(1.02) !important;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3) !important;
}

/* Luxury Typography Utilities */
.font-luxury-heading {
    font-family: 'Cormorant', serif !important;
}
.font-luxury-body {
    font-family: 'Montserrat', sans-serif !important;
}

/* Base Image Aspect Ratio Fix */
img {
    max-width: 100%;
    height: auto;
}

/* Premium Top Bar Enhancements */
.topbar-premium {
    position: relative;
    z-index: 50;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}
.topbar-slide {
    grid-area: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: all 0.7s ease-in-out;
    will-change: transform, opacity;
}
.topbar-slide-active {
    opacity: 1;
    transform: translateY(0);
    z-index: 10;
}
.topbar-slide-hidden {
    opacity: 0;
    transform: translateY(16px);
    z-index: 0;
}
.topbar-slide-bottom {
    opacity: 0;
    transform: translateY(-16px);
    z-index: 0;
}

/* Top bar inner wrap responsive structure */
.topbar-inner-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 44px;
}

/* Top bar side modules (Contact & Spacer) */
.topbar-side-module {
    width: 180px;
}
.topbar-slides-container {
    flex: 1;
    display: grid;
    text-align: center;
    overflow: hidden;
    position: relative;
    height: 44px;
    width: 100%;
}

/* Mobile Layout */
@media (max-width: 767px) {
    .topbar-inner-wrap {
        height: auto;
        flex-direction: column;
        justify-content: center;
        padding: 6px 16px;
        gap: 6px;
    }
    .topbar-side-module {
        width: 100%;
    }
    .topbar-side-module.topbar-contact-module {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 6px;
        font-size: 11px;
    }
    .topbar-side-module.topbar-spacer-module {
        display: none;
    }
    .topbar-slides-container {
        flex: none;
        height: auto;
        min-height: 32px;
        padding: 4px 0;
    }
}

/* Desktop Layout */
@media (min-width: 768px) {
    .topbar-side-module.topbar-contact-module {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
    }
    .topbar-side-module.topbar-spacer-module {
        display: block;
    }
}
