/*
Theme Name: Romanova Makeup Theme
Theme URI: https://romanovamakeup.us
Description: Clone theme for Romanova Makeup store
Version: 1.0
Author: NWSR
Text Domain: romanova
WooCommerce: 9.0+
*/

/* ===== FONTS ===== */
@font-face {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 400;
    src: url('https://cdn.shopify.com/s/files/1/0641/5876/1187/files/Circe-Regular.woff2') format('woff2');
}

@font-face {
    font-family: 'Circe';
    font-style: normal;
    font-weight: 700;
    src: url('https://cdn.shopify.com/s/files/1/0641/5876/1187/files/Circe-Bold.woff2') format('woff2');
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-primary: #151515;
    --color-secondary: #ffffff;
    --color-text: #151515;
    --color-text-light: #666666;
    --color-border: #e5e5e5;
    --color-background: #ffffff;
    --color-accent: #000000;
    --font-family: 'Circe', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --container-max: 1400px;
    --header-height: 120px;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    font-size: 14px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a:hover {
    color: var(--color-text-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

ul,
ol {
    list-style: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ===== CONTAINER ===== */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== ANNOUNCEMENT BAR ===== */
.announcement-bar {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    padding: 10px 0;
    text-align: center;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.announcement-bar__slider {
    overflow: hidden;
    position: relative;
}

.announcement-bar__item {
    animation: slideText 10s infinite;
}

@keyframes slideText {

    0%,
    33% {
        opacity: 1;
        transform: translateY(0);
    }

    38%,
    100% {
        opacity: 0;
        transform: translateY(-100%);
    }
}

/* ===== HEADER ===== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    gap: 40px;
}

.header__logo {
    flex-shrink: 0;
}

.header__logo a {
    display: block;
}

.header__logo-img {
    height: 50px;
    width: auto;
    max-width: 200px;
}

@media (max-width: 768px) {
    .header__logo-img {
        height: 36px;
        max-width: 140px;
    }
}

/* ===== NAVIGATION ===== */
.main-nav {
    flex: 1;
}

.main-nav__list {
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav__item {
    position: relative;
}

.main-nav__link {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: rgb(21, 21, 21);
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    display: block;
}

.main-nav__link:hover {
    opacity: 0.7;
}

/* Dropdown */
.main-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: var(--color-background);
    border: 1px solid var(--color-border);
    padding: 15px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.main-nav__item:hover .main-nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.main-nav__dropdown a {
    display: block;
    padding: 8px 20px;
    font-size: 12px;
    text-transform: none;
    letter-spacing: 0;
}

/* ===== HEADER ICONS ===== */
.header__icons {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header__icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.header__icon svg {
    width: 22px;
    height: 22px;
}

.header__cart-count {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--color-primary);
    color: var(--color-secondary);
    font-size: 10px;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ===== HERO SLIDER ===== */
.hero-slider {
    position: relative;
    overflow: hidden;
    height: 50vh;
    min-height: 250px;
    max-height: 500px;
}

.hero-swiper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-wrapper {
    width: 100%;
    height: 100%;
}

.hero-swiper .swiper-slide {
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

.hero-slide__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    color: var(--color-secondary);
    max-width: 800px;
    width: 90%;
    padding: 40px;
}

.hero-slide__title {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 64px;
    line-height: 70px;
    color: rgb(255, 255, 255);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 8px;
}

.hero-slide__subtitle {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    color: rgb(255, 255, 255);
    margin-bottom: 40px;
    opacity: 0.9;
    letter-spacing: 2px;
}

/* Hero slider navigation */
.hero-swiper .swiper-pagination {
    bottom: 40px;
}

.hero-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
}

.hero-swiper .swiper-pagination-bullet-active {
    background: #ffffff;
}



@media (max-width: 768px) {
    .hero-slider {
        height: 50svh;
    }

    .hero-slide__title {
        font-size: 36px;
        letter-spacing: 4px;
    }

    .hero-slide__subtitle {
        font-size: 16px;
    }
}

/* ===== BUTTONS - YOUtoo miniapp style ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0;
    padding: 10px 20px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
}

/* Primary Button (Black Fill) - For Light Backgrounds */
.btn--primary {
    background-color: rgb(21, 21, 21);
    color: rgb(255, 255, 255);
    border-color: rgb(21, 21, 21);
}

.btn--primary:hover {
    background-color: transparent;
    color: rgb(21, 21, 21);
}

/* Secondary Button (Black Outline) - For Light Backgrounds */
.btn--secondary {
    background-color: transparent;
    color: rgb(21, 21, 21);
    border-color: rgb(21, 21, 21);
}

.btn--secondary:hover {
    background-color: rgb(21, 21, 21);
    color: rgb(255, 255, 255);
}

/* Primary White Button (White Fill) - For Dark Backgrounds */
.btn--primary-white {
    background-color: rgb(255, 255, 255);
    color: rgb(21, 21, 21);
    border-color: rgb(255, 255, 255);
}

.btn--primary-white:hover {
    background-color: transparent;
    color: rgb(255, 255, 255);
}

/* Secondary White Button (White Outline) - For Dark Backgrounds */
.btn--secondary-white {
    background-color: transparent;
    color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
}

.btn--secondary-white:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(21, 21, 21);
}

/* Legacy support - map outline to secondary-white if needed, or just remove */
.btn--outline {
    background-color: transparent;
    color: rgb(255, 255, 255);
    border-color: rgb(255, 255, 255);
}

.btn--outline:hover {
    background-color: rgb(255, 255, 255);
    color: rgb(21, 21, 21);
}

/* ===== HEADINGS - Circe 700 ===== */
h1,
.h1 {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 53px;
    color: rgb(21, 21, 21);
}

h2,
.h2 {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 36px;
    line-height: 42px;
    color: rgb(21, 21, 21);
}

h3,
.h3 {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: rgb(21, 21, 21);
}

h4,
.h4 {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: rgb(21, 21, 21);
}

h5,
.h5,
h6,
.h6 {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: rgb(21, 21, 21);
}

/* ===== SECTION TITLES (romanovamakeup style) ===== */
.section-title {
    text-align: left;
    margin-bottom: 30px;
}

.section-title h2 {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 32px;
    line-height: 38px;
    color: rgb(21, 21, 21);
    text-transform: uppercase;
    letter-spacing: 0;
}

/* ===== PRODUCTS GRID ===== */
.products-section {
    padding: 60px 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* 5 columns for bestsellers */
.products-grid--5 {
    grid-template-columns: repeat(5, 1fr);
}

/* 4 columns */
.products-grid--4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1200px) {
    .products-grid--5 {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1024px) {

    .products-grid,
    .products-grid--5,
    .products-grid--4 {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {

    .products-grid,
    .products-grid--5,
    .products-grid--4 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/* ===== PRODUCT CARD (romanovamakeup.us exact style) ===== */
.product-card {
    position: relative;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card__image {
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
    aspect-ratio: 0.8;
    background: #f5f5f5;
}

.product-card__image a {
    display: block;
    width: 100%;
    height: 100%;
}

.product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-card__image img {
    opacity: 0.95;
}

/* Badge - romanovamakeup exact style */
.product-card__badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffffff;
    color: #151515;
    font-size: 13px;
    font-weight: 400;
    padding: 5px 10px;
    border-radius: 0;
    z-index: 2;
    font-family: 'Circe', sans-serif;
    line-height: 1.4;
    border-radius: 6px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.product-card__badge--sale {
    background: #ffffff;
    color: #151515;
}

/* Product Info */
.product-card__info {
    text-align: left;
    padding: 0;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Title - Circe 700, 18px/27px (romanovamakeup exact) */
.product-card__title {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 27px;
    color: rgb(21, 21, 21);
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 0;
}

.product-card__title a {
    color: rgb(21, 21, 21);
    text-decoration: none;
}

.product-card__title a:hover {
    text-decoration: none;
    opacity: 0.7;
}

/* Subtitle/Description - Circe 400, 13px/20px (romanovamakeup exact) */
.product-card__subtitle {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 13px;
    line-height: 20px;
    color: rgb(21, 21, 21);
    text-transform: uppercase;
    letter-spacing: 0;
    margin-bottom: 4px;
}

/* Rating - outline stars exactly like romanovamakeup (judge.me style) */
.product-card__rating {
    display: flex;
    align-items: center;
    gap: 2px;
    margin-bottom: 4px;
}

/* Ozon Style Rating */
.ozon-rating {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 8px;
    font-family: 'Circe', sans-serif;
}

.rating-value {
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 700;
    font-size: 14px;
    color: #151515;
}

.rating-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #888888;
    /* textSecondary color */
}

.rating-value svg {
    color: #FFA800;
    /* graphicRating color */
}

.rating-count svg {
    color: #A2A2A2;
    /* graphicTertiary color */
}

/* Price - romanovamakeup exact */
.product-card__price {
    font-size: 17px !important;
    font-weight: 700 !important;
    color: #151515 !important;
    font-family: 'Circe', sans-serif !important;
    line-height: 1.2 !important;
}

.product-card__price del {
    color: #888888;
    font-weight: 700 !important;
    margin-right: 6px;
    font-size: 14px;
    text-decoration: line-through;
}

.product-card__price ins {
    text-decoration: none;
    font-weight: 400;
}

/* Price Row with Bonus */
.product-card__price-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.product-card__bonus {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F2F2F2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #151515;
    font-family: 'Circe', sans-serif;
}

.bonus-icon {
    font-size: 0;
    line-height: 1;
    display: flex;
    align-items: center;
}

.bonus-icon svg {
    width: 16px;
    height: 16px;
}

/* Add to Cart Button - YOUtoo miniapp style */
.product-card__add-to-cart {
    width: auto;
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 1.4;
    color: rgb(255, 255, 255);
    background: #151515;
    border: none;
    padding: 10px 20px;
    text-transform: uppercase;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px;
    margin-top: auto;
}

.product-card__add-to-cart:hover {
    background: #333333;
    color: rgb(255, 255, 255);
}

/* ===== VIEW ALL LINK ===== */
.section-view-all {
    text-align: center;
    margin-top: 40px;
}

.view-all-link {
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #151515;
    text-decoration: none;
    border-bottom: 1px solid #151515;
    padding-bottom: 4px;
    transition: opacity 0.3s ease;
}

.view-all-link:hover {
    opacity: 0.6;
}

/* ===== COLOR SWATCHES ===== */
.product-card__swatches {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.color-swatch {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--color-border);
    cursor: pointer;
    transition: transform 0.2s ease;
}

.color-swatch:hover {
    transform: scale(1.2);
}

/* ===== CATEGORIES TABS ===== */
.categories-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 20px;
    border: 1px solid var(--color-border);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-tab:hover,
.category-tab.active {
    background: var(--color-primary);
    color: var(--color-secondary);
    border-color: var(--color-primary);
}

/* ===== CAROUSEL ===== */
.carousel-section {
    padding: 60px 0;
    overflow: hidden;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding-bottom: 20px;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel__item {
    flex: 0 0 280px;
    scroll-snap-align: start;
}

/* ===== ABOUT SECTION ===== */
.about-section {
    padding: 80px 0;
    background: #f9f9f9;
}

.about-section__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-section__inner {
        grid-template-columns: 1fr;
    }
}

.about-section__image img {
    width: 100%;
}

.about-section__content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.about-section__content p {
    margin-bottom: 15px;
    color: var(--color-text-light);
    line-height: 1.8;
}

/* ===== NEWSLETTER ===== */
.newsletter-section {
    padding: 60px 0;
    background: var(--color-primary);
    color: var(--color-secondary);
    text-align: center;
}

.newsletter-section h2 {
    font-size: 24px;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
}

.newsletter-section p {
    margin-bottom: 30px;
    opacity: 0.8;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 10px;
}

.newsletter-form input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    font-family: inherit;
    font-size: 14px;
}

.newsletter-form button {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.4;
    padding: 12px 24px;
    background: rgb(255, 255, 255);
    color: rgb(21, 21, 21);
    text-transform: uppercase;
    letter-spacing: 0;
    transition: all 0.2s ease;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.newsletter-form button:hover {
    background: rgb(230, 230, 230);
}

/* Privileges Club Button */
.privileges-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    /* padding: 16px 32px; */
    /* background: var(--color-secondary); */
    /* color: var(--color-primary); */
    /* font-family: 'Circe', sans-serif; */
    /* font-weight: 700; */
    /* font-size: 14px; */
    /* text-transform: uppercase; */
    /* text-decoration: none; */
    /* border-radius: 8px; */
    /* transition: all 0.3s ease; */
}

.privileges-btn:hover {
    /* background: rgb(230, 230, 230); */
    transform: translateY(-2px);
}

.privileges-btn svg {
    flex-shrink: 0;
}

.privileges-club {
    background-color: #F5F5F7;
    padding: 80px 0;
    text-align: center;
}

.privileges-club h2 {
    color: #151515;
    font-size: 36px;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0;
}

.privileges-description {
    font-size: 18px;
    opacity: 1;
    margin: 0 auto 40px;
    color: #666666;
    line-height: 1.6;
    max-width: 600px;
}

/* AI Consultant Section - Split Layout */
.ai-consultant-section {
    background: #ffffff;
    padding: 60px 0;
    overflow: hidden;
}

.ai-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.ai-content {
    padding: 20px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Left align text */
    text-align: left;
}

.ai-image {
    position: relative;
    width: 100%;
}

.ai-image-hover-container {
    position: relative;
    width: 100%;
    /* Aspect ratio hack or fixed height might be needed if images differ,
       but assuming they are same size or we let the main one dictate height */
    overflow: hidden;
    border-radius: 12px;
}

.ai-image-hover-container img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    transition: opacity 0.5s ease;
}

.ai-img-main {
    position: relative;
    z-index: 1;
}

.ai-img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 2;
    object-fit: cover;
}

.ai-image-hover-container:hover .ai-img-hover {
    opacity: 1;
}

.ai-consultant-section h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 30px;
    text-transform: uppercase;
    color: #151515;
    line-height: 1.2;
    max-width: 500px;
}

.ai-text-wrapper {
    margin-bottom: 40px;
    max-width: 500px;
}

.ai-description {
    font-size: 16px;
    color: #171717;
    line-height: 1.5;
    margin-bottom: 12px;
}

.ai-description:last-child {
    margin-bottom: 0;
}

.ai-consultant-btn {
    /* Styles inherited from btn--primary or user custom styles */
}

.ai-consultant-btn:hover {
    /* background: #151515; */
    /* color: #ffffff; */
}

@media (max-width: 992px) {
    .ai-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .ai-content {
        padding: 0;
        align-items: center;
        text-align: center;
    }

    .ai-consultant-section h2,
    .ai-text-wrapper {
        max-width: 100%;
    }

    .ai-image {
        order: -1;
    }
}

@media (max-width: 576px) {
    .ai-consultant-section h2 {
        font-size: 28px;
    }

    .ai-description {
        font-size: 15px;
    }

    .ai-consultant-btn {
        padding: 12px 30px;
    }
}

/* ===== FOOTER ===== */
.site-footer {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 60px 0 30px;
}

.footer__grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 768px) {
    .footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 480px) {
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.footer__logo {
    margin-bottom: 20px;
}

.footer__logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer__company-info {
    font-size: 13px;
    opacity: 0.7;
    line-height: 1.8;
}

.footer__column h4 {
    font-family: 'Circe', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 20px;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.footer__column ul li {
    margin-bottom: 10px;
}

.footer__column a {
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer__column a:hover {
    opacity: 1;
}

.footer__contacts li {
    margin-bottom: 15px;
}

.footer__contacts a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer__contacts svg {
    flex-shrink: 0;
    opacity: 0.7;
}

.footer__social {
    display: flex;
    gap: 12px;
    margin-top: 25px;
}

.footer__social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.footer__social a:hover {
    background: var(--color-secondary);
    color: var(--color-primary);
    border-color: var(--color-secondary);
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 12px;
    opacity: 0.6;
}

.footer__bottom p {
    margin: 0;
}

.footer__legal {
    display: flex;
    gap: 30px;
}

.footer__legal a {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.footer__legal a:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .footer__bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .footer__legal {
        flex-direction: column;
        gap: 10px;
    }
}

/* ===== WOOCOMMERCE OVERRIDES ===== */
.woocommerce ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.woocommerce ul.products li.product {
    text-align: center;
    margin: 0;
    padding: 0;
    width: 100%;
    float: none;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    font-weight: 400;
    padding: 0;
    margin: 15px 0 8px;
}

.woocommerce ul.products li.product .price {
    color: var(--color-primary);
    font-size: 14px;
}

.woocommerce ul.products li.product .button {
    background: var(--color-primary);
    color: var(--color-secondary);
    border-radius: 0;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 25px;
    margin-top: 15px;
}

.woocommerce ul.products li.product .button:hover {
    background: #333;
}

.woocommerce .star-rating {
    color: var(--color-primary);
}

/* ===== MOBILE MENU ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: all 0.3s ease;
}

@media (max-width: 992px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .main-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-background);
        border-top: 1px solid var(--color-border);
        padding: 20px;
    }

    .main-nav.active {
        display: block;
    }

    .main-nav__list {
        flex-direction: column;
        gap: 0;
    }

    .main-nav__link {
        padding: 15px 0;
        border-bottom: 1px solid var(--color-border);
    }
}

/* ===== PRODUCTS SWIPER (romanovamakeup.us exact style) ===== */
.products-swiper {
    position: relative;
    overflow: visible;
    padding: 0;
}

.products-swiper .swiper-wrapper {
    display: flex;
    gap: 0;
}

.products-swiper .swiper-slide {
    width: auto;
    flex-shrink: 0;
}

/* Desktop: 24px gap, Mobile: 12px gap - exact romanovamakeup values */
.products-swiper .swiper-slide {
    margin-right: 24px;
}

@media (max-width: 900px) {
    .products-swiper .swiper-slide {
        margin-right: 12px;
    }
}

/* Swiper Navigation - exact romanovamakeup style */
.products-swiper .swiper-button-next,
.products-swiper .swiper-button-prev {
    width: 48px;
    height: 48px;
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 0;
    color: #151515;
    top: 35%;
    transform: translateY(-50%);
}

.products-swiper .swiper-button-next::after,
.products-swiper .swiper-button-prev::after {
    font-size: 14px;
    font-weight: 700;
}

.products-swiper .swiper-button-next {
    right: -24px;
}

.products-swiper .swiper-button-prev {
    left: -24px;
}

.products-swiper .swiper-button-next:hover,
.products-swiper .swiper-button-prev:hover {
    background: #151515;
    color: #ffffff;
    border-color: #151515;
}

@media (max-width: 1200px) {
    .products-swiper .swiper-button-next {
        right: 0;
    }

    .products-swiper .swiper-button-prev {
        left: 0;
    }
}

@media (max-width: 900px) {

    .products-swiper .swiper-button-next,
    .products-swiper .swiper-button-prev {
        display: none;
    }
}

/* ===== BESTSELLERS SECTION ===== */
.bestsellers-section {
    padding: 60px 0 40px;
}

.bestsellers-section .section-title {
    margin-bottom: 30px;
}

.bestsellers-section .section-title h2 {
    font-size: 36px;
}

/* ===== UTILITIES ===== */
.text-center {
    text-align: center;
}

.text-uppercase {
    text-transform: uppercase;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.py-60 {
    padding-top: 60px;
    padding-bottom: 60px;
}

/* ===== ABOUT ACCORDION ===== */
.about-accordion {
    margin-bottom: 30px;
}

.accordion-item {
    border-bottom: 1px solid var(--color-border);
}

.accordion-item:first-child {
    border-top: 1px solid var(--color-border);
}

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.4;
    color: var(--color-text);
    transition: color 0.3s ease;
}

.accordion-header:hover {
    color: var(--color-text-light);
}

.accordion-icon {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
    max-height: 200px;
}

.accordion-content p {
    padding: 0 0 20px 0;
    margin: 0;
    color: var(--color-text-light);
    font-size: 15px;
    line-height: 1.7;
}

/* ===== SIDE CART ===== */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 9998;
}

.cart-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-cart {
    position: fixed;
    top: 0;
    right: -500px;
    width: 100%;
    max-width: 500px;
    height: 100%;
    background: #fff;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    z-index: 9999;
    display: flex;
    flex-direction: column;
}

.side-cart.active {
    right: 0;
}

body.cart-open {
    overflow: hidden;
}

.side-cart__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
}

.side-cart__header h3 {
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
}

.cart-close {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.cart-close:hover {
    opacity: 0.6;
}

.side-cart__body {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.cart-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
}

.cart-empty svg {
    width: 80px;
    height: 80px;
    stroke: #ccc;
    margin-bottom: 20px;
}

.cart-empty p {
    font-size: 16px;
    color: var(--color-text-light);
}

.cart-item {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.cart-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.cart-item-image {
    width: 100px;
    height: 100px;
    flex-shrink: 0;
}

.cart-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 8px;
}

.cart-item-price {
    font-size: 15px;
    margin-bottom: 12px;
    color: var(--color-text);
}

.cart-item-qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.cart-item-qty button {
    width: 32px;
    height: 32px;
    border: 1px solid var(--color-border);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cart-item-qty button:hover {
    background: #f5f5f5;
    border-color: var(--color-text);
}

.cart-item-qty span {
    min-width: 30px;
    text-align: center;
    font-weight: 500;
}

.cart-item-remove {
    position: absolute;
    top: 0;
    right: 0;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.cart-item-remove:hover {
    opacity: 0.6;
}

.side-cart__footer {
    padding: 24px;
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.cart-total-amount {
    font-size: 20px;
}

.checkout-btn {
    width: 100%;
}

/* Cart count badge */
.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: var(--color-text);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6px;
}

.header__cart {
    position: relative;
}

/* Checkout Form Slide */
.checkout-form-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    background: #fff;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
}

.checkout-form-slide.active {
    left: 0;
}

.checkout-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid var(--color-border);
}

.checkout-back {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
}

.checkout-back:hover {
    opacity: 0.6;
}

.checkout-header h3 {
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 24px;
    margin: 0;
}

.checkout-form-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--color-border);
    border-radius: 8px;
    font-family: 'Circe', sans-serif;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-text);
}

.form-group textarea {
    resize: vertical;
}

.checkout-footer {
    padding: 24px;
    border-top: 1px solid var(--color-border);
    background: #fff;
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
}

.order-total-amount {
    font-size: 20px;
}

.place-order-btn {
    width: 100%;
}

.order-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 20px;
}

.order-success svg {
    width: 80px;
    height: 80px;
    stroke: #4caf50;
    margin-bottom: 24px;
}

.order-success h3 {
    font-size: 24px;
    margin-bottom: 16px;
}

.order-success p {
    font-size: 15px;
    color: var(--color-text-light);
    line-height: 1.6;
    margin-bottom: 24px;
}

.loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ===== BONUS POINTS SYSTEM ===== */

/* Base bonus badge style (like in product card) */
.product-bonus-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #F2F2F2;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #151515;
    font-family: 'Circe', sans-serif;
}

/* Single Product Page Bonus */
.single-product-bonus {
    margin-top: 10px;
    margin-bottom: 20px;
}

/* Cart Item Bonus (in side cart) */
.cart-item-bonus {
    margin-top: 6px;
    font-size: 12px;
    padding: 4px 10px;
}

/* ===== WOOCOMMERCE BUTTONS STYLING ===== */

/* Single Product Add to Cart Button */
.single_add_to_cart_button {
    font-family: 'Circe', sans-serif !important;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.4;
    color: rgb(255, 255, 255) !important;
    background: #151515 !important;
    border: none !important;
    padding: 10px 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px !important;
}

.single_add_to_cart_button:hover {
    background: #333333 !important;
    color: rgb(255, 255, 255) !important;
}

/* Cart & Checkout Buttons */
.wc-proceed-to-checkout .checkout-button,
.woocommerce-cart-form button[type="submit"],
.woocommerce-checkout button[type="submit"],
.woocommerce-Button,
.woocommerce button.button {
    font-family: 'Circe', sans-serif !important;
    font-style: normal;
    font-weight: 700 !important;
    font-size: 14px !important;
    line-height: 1.4;
    color: rgb(255, 255, 255) !important;
    background: #151515 !important;
    border: none !important;
    padding: 10px 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 6px !important;
}

.wc-proceed-to-checkout .checkout-button:hover,
.woocommerce-cart-form button[type="submit"]:hover,
.woocommerce-checkout button[type="submit"]:hover,
.woocommerce-Button:hover,
.woocommerce button.button:hover {
    background: #333333 !important;
    color: rgb(255, 255, 255) !important;
}

/* ===== PAGE LAYOUTS - UNIFIED WIDTH ===== */

/* Shop/Archive Pages - same width as homepage */
.woocommerce-page .site-main,
.archive.woocommerce .site-main,
.post-type-archive-product .site-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Single Product Page - same width as homepage */
.single-product .site-main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Content Container */
.single-product .product {
    max-width: 100%;
}

/* ===== SHOP/ARCHIVE PAGE STYLES ===== */

/* Page Header */
.page-header {
    margin-bottom: 40px;
    text-align: center;
}

.page-title {
    font-family: 'Circe', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #151515;
    margin-bottom: 15px;
}

.category-description {
    font-family: 'Circe', sans-serif;
    font-size: 16px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

/* No Products Found */
.no-products-found {
    text-align: center;
    padding: 60px 20px;
}

.no-products-found p {
    font-family: 'Circe', sans-serif;
    font-size: 18px;
    color: #666;
}

/* Hide default WooCommerce elements */
.woocommerce-result-count,
.woocommerce-ordering {
    display: none;
}

/* ===== 404 ERROR PAGE ===== */
.error-404-page {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
}

.error-404-content {
    text-align: center;
    max-width: 600px;
}

.error-404-title {
    font-size: 120px;
    font-weight: 700;
    color: #151515;
    line-height: 1;
    margin-bottom: 20px;
    font-family: 'Circe', sans-serif;
}

.error-404-subtitle {
    font-size: 32px;
    font-weight: 600;
    color: #151515;
    margin-bottom: 20px;
    font-family: 'Circe', sans-serif;
}

.error-404-text {
    font-size: 16px;
    color: #666;
    margin-bottom: 40px;
    font-family: 'Circe', sans-serif;
}

.error-404-btn {
    display: inline-block;
    font-family: 'Circe', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #fff;
    background: #151515;
    padding: 12px 30px;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.error-404-btn:hover {
    background: #333;
    color: #fff;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .side-cart {
        max-width: 100%;
    }
}