/*
Theme Name: Aura Minimal
Theme URI: http://theaurabd.com/
Author: Aura
Author URI: http://theaurabd.com
Description: A minimalist e-commerce theme built for WooCommerce.
Version: 1.0
Text Domain: theaurabd
*/

:root {
    --black: #111111;
    --gray: #777777;
    --light-bg: #f9f9f9;
    --border: #ececec;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Jost', sans-serif;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gray);
}

/* --- Header (Sticky & Shrinking) --- */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 35px 5%;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    color: #fff;
    transition: all 0.4s ease;
}

.site-header.scrolled {
    padding: 15px 5%;
    background: #ffffff;
    color: var(--black);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.logo a {
    font-size: 28px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: inherit;
}

.main-nav a:hover {
    opacity: 0.6;
}

.header-icons {
    display: flex;
    gap: 24px;
    align-items: center;
}

.header-icons span, .header-icons a {
    cursor: pointer;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    position: relative;
    color: inherit;
}

.header-icons span:hover, .header-icons a:hover {
    opacity: 0.6;
}

.header-icons svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-count {
    position: absolute;
    top: -6px;
    right: -8px;
    background: #ff4747;
    color: white;
    font-size: 10px;
    font-weight: 600;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* --- Single Hero Section --- */
.hero-section {
    position: relative;
    height: 100vh;
    background-image: url('https://images.unsplash.com/photo-1483985988355-763728e1935b?auto=format&fit=crop&w=1920&q=80');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 600px;
}

.hero-content .tag {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    display: block;
}

.hero-content h2 {
    font-size: 56px;
    font-weight: 300;
    margin: 0 0 30px 0;
    line-height: 1.1;
    letter-spacing: 1px;
}

.shop-btn-underline {
    font-size: 13px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    border-bottom: 2px solid #fff;
    padding-bottom: 6px;
    display: inline-block;
}

.shop-btn-underline:hover {
    color: #ddd;
    border-bottom-color: #ddd;
}

/* --- 3 Categories Section --- */
.categories-section {
    padding: 100px 5% 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.category-card {
    position: relative;
    aspect-ratio: 3/4;
    overflow: hidden;
    cursor: pointer;
}

.category-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.category-card:hover img {
    transform: scale(1.05);
}

.category-title {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 12px 30px;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    white-space: nowrap;
    transition: background 0.3s, color 0.3s;
}

.category-card:hover .category-title {
    background: var(--black);
    color: #fff;
}

/* --- Flagship Product Section --- */
.flagship-section {
    margin-top: 100px;
    width: 100%;
    height: 85vh;
    overflow: hidden;
}

.flagship-section img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Testimonials Slider Section --- */
.testimonials-section {
    background-color: var(--light-bg);
    padding: 80px 5%;
    text-align: center;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.slide {
    display: none;
    padding: 20px;
    animation: fadeIn 0.8s ease;
}

.slide.active {
    display: block;
}

.slide p {
    font-size: 24px;
    font-weight: 300;
    line-height: 1.4;
    color: var(--black);
    margin-bottom: 20px;
    font-style: italic;
}

.slide .author {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gray);
    font-weight: 500;
}

.slider-dots {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #ccc;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background-color: var(--black);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Footer --- */
.site-footer {
    padding: 80px 5% 30px;
    background-color: var(--black);
    color: #fff;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 15px;
    color: #a0a0a0;
    font-size: 14px;
}

.footer-col li a {
    transition: color 0.3s ease;
}

.footer-col li a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
    color: #777;
    font-size: 13px;
}


/* ========================================================
   Force Override WooCommerce Default Shortcode Styles 
   ======================================================== */

/* 1. Force the 4-column grid and disable WooCommerce's default clearfixes */
.woocommerce ul.products, 
.woocommerce-page ul.products {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 40px !important;
}
.woocommerce ul.products::before,
.woocommerce ul.products::after {
    display: none !important;
}

/* 2. Remove default floating and width limits from the individual product cards */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
    width: 100% !important;
    margin: 0 !important;
    float: none !important;
    text-align: center !important;
}

/* 3. Force images to take up the full column and crop elegantly */
.woocommerce ul.products li.product a img {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 3/4 !important;
    object-fit: cover !important;
    margin-bottom: 20px !important;
    box-shadow: none !important;
}

/* 4. Style the Title and Price */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 16px !important;
    font-weight: 400 !important;
    color: var(--gray) !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
}
.woocommerce ul.products li.product .price {
    font-size: 16px !important;
    font-weight: 500 !important;
    color: var(--black) !important;
    margin-bottom: 15px !important;
}

/* 5. Fix the squished Add to Cart button */
.woocommerce ul.products li.product .button {
    display: inline-block !important;
    width: 100% !important; 
    background-color: var(--black) !important;
    color: #fff !important;
    padding: 12px 0 !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    border-radius: 0 !important;
    border: none !important;
    white-space: nowrap !important;
    margin-top: 10px !important;
    transition: background 0.3s ease !important;
}
.woocommerce ul.products li.product .button:hover {
    background-color: var(--gray) !important;
    color: #fff !important;
}

/* --- Mobile Responsiveness --- */
@media (max-width: 992px) {
    .categories-section { gap: 15px; }
    .flagship-section { height: 60vh; }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .hero-content h2 { font-size: 40px; }
    .slide p { font-size: 18px; }
    
    .woocommerce ul.products, .woocommerce-page ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 768px) {
    .main-nav { display: none; }
    .categories-section { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    
    .woocommerce ul.products, .woocommerce-page ul.products {
        grid-template-columns: 1fr !important;
    }
}