/*
Theme Name: Bohemino
Theme URI: https://bohemino.com
Author: Bohemino
Author URI: https://bohemino.com
Description: Bohemino - Moda ve giyim e-ticaret WordPress teması. Mori Bodrum benzeri modern, şık tasarım.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bohemino
Tags: e-commerce, fashion, woocommerce, custom-menu, featured-images, threaded-comments, translation-ready
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
    --color-primary: #1a1a1a;
    --color-secondary: #8B7355;
    --color-accent: #C4A882;
    --color-white: #ffffff;
    --color-light: #f8f6f3;
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-text-light: #777777;
    --color-border: #e8e8e8;
    --color-sale: #d4451a;
    --color-success: #4a7c59;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-nav: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --container-width: 1340px;
    --header-height: 140px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.6;
    font-size: 15px;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

.section-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 50px;
    color: var(--color-primary);
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background: var(--color-secondary);
    margin: 15px auto 0;
}

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

/* ============================================
   TOP BAR - ÜST BİLDİRİM ÇUBUĞU
   ============================================ */
.top-bar {
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.top-bar p {
    margin: 0;
    color: var(--color-white);
}

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

.site-header.scrolled {
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 80px;
}

/* Logo */
.site-logo {
    flex-shrink: 0;
}

.site-logo img {
    max-height: 70px;
    width: auto;
}

.site-logo a {
    display: flex;
    align-items: center;
}

.site-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Header Icons */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text);
    cursor: pointer;
    position: relative;
    padding: 5px;
}

.header-action-btn:hover {
    color: var(--color-secondary);
}

.header-action-btn svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.5;
}

.header-action-btn .count {
    position: absolute;
    top: -2px;
    right: -6px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 10px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* ============================================
   NAVIGATION
   ============================================ */
.main-navigation {
    background: var(--color-white);
    border-top: 1px solid var(--color-border);
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.nav-menu li {
    position: relative;
}

.nav-menu > li > a {
    display: block;
    padding: 15px 22px;
    font-family: var(--font-nav);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    transition: var(--transition);
    position: relative;
}

.nav-menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-secondary);
    transition: width 0.3s ease;
}

.nav-menu > li > a:hover::after,
.nav-menu > li.current-menu-item > a::after {
    width: 100%;
}

.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    color: var(--color-secondary);
}

/* Dropdown */
.nav-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--color-white);
    box-shadow: 0 5px 30px rgba(0,0,0,0.1);
    border-top: 2px solid var(--color-secondary);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

.nav-menu li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-menu .sub-menu a {
    display: block;
    padding: 12px 20px;
    font-size: 14px;
    color: var(--color-text);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition);
}

.nav-menu .sub-menu a:hover {
    background: var(--color-light);
    color: var(--color-secondary);
    padding-left: 25px;
}

/* ============================================
   HAMBURGER MENU (MOBILE)
   ============================================ */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--color-primary);
    transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SLIDER
   ============================================ */
.hero-slider {
    position: relative;
    overflow: hidden;
}

.hero-slider .swiper-slide {
    position: relative;
    height: 85vh;
    min-height: 500px;
    max-height: 800px;
}

.hero-slide-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.3) 0%, transparent 60%);
}

.hero-slide-content {
    position: absolute;
    bottom: 15%;
    left: 8%;
    color: var(--color-white);
    max-width: 550px;
}

.hero-slide-content h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    color: var(--color-white);
    margin-bottom: 15px;
    line-height: 1.1;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-slide-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.hero-btn {
    display: inline-block;
    background: var(--color-white);
    color: var(--color-primary);
    padding: 14px 45px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
    border: 2px solid var(--color-white);
}

.hero-btn:hover {
    background: transparent;
    color: var(--color-white);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    right: 8%;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.slider-nav-btn {
    width: 50px;
    height: 50px;
    border: 1px solid rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-white);
    transition: var(--transition);
    cursor: pointer;
    background: transparent;
}

.slider-nav-btn:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

.slider-nav-btn svg {
    width: 20px;
    height: 20px;
}

/* Pagination */
.slider-pagination {
    position: absolute;
    bottom: 20px !important;
    left: 50% !important;
    transform: translateX(-50%);
}

.slider-pagination .swiper-pagination-bullet {
    width: 30px;
    height: 3px;
    border-radius: 0;
    background: rgba(255,255,255,0.5);
    opacity: 1;
}

.slider-pagination .swiper-pagination-bullet-active {
    background: var(--color-white);
}

/* ============================================
   PRODUCT GRID
   ============================================ */
.products-section {
    padding: 80px 0;
}

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

/* Product Card */
.product-card {
    position: relative;
    transition: var(--transition);
    cursor: pointer;
}

.product-card:hover {
    transform: translateY(-5px);
}

.product-card-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--color-light);
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.product-card-image .secondary-image {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.product-card:hover .product-card-image .secondary-image {
    opacity: 1;
}

/* Product Badges */
.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.product-badge.new {
    background: var(--color-primary);
    color: var(--color-white);
}

.product-badge.sale {
    background: var(--color-sale);
    color: var(--color-white);
}

/* Product Quick Actions */
.product-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.6));
    display: flex;
    justify-content: center;
    gap: 10px;
    transform: translateY(100%);
    transition: var(--transition);
    opacity: 0;
}

.product-card:hover .product-actions {
    transform: translateY(0);
    opacity: 1;
}

.product-action-btn {
    width: 42px;
    height: 42px;
    background: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.product-action-btn:hover {
    background: var(--color-primary);
    color: var(--color-white);
}

.product-action-btn svg {
    width: 18px;
    height: 18px;
}

/* Product Info */
.product-card-info {
    padding: 18px 5px;
    text-align: center;
}

.product-card-info h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    line-height: 1.4;
    color: var(--color-text);
}

.product-card-info h3 a:hover {
    color: var(--color-secondary);
}

.product-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
}

.product-price del {
    color: var(--color-text-light);
    font-weight: 400;
    font-size: 13px;
    margin-right: 8px;
}

.product-price ins {
    text-decoration: none;
    color: var(--color-sale);
}

/* ============================================
   BANNER SECTION
   ============================================ */
.banner-section {
    padding: 60px 0;
}

.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.banner-card {
    position: relative;
    overflow: hidden;
    height: 400px;
}

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

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

.banner-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

.banner-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--color-white);
    margin-bottom: 10px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.banner-card-overlay p {
    color: var(--color-white);
    margin-bottom: 20px;
    opacity: 0.9;
}

.banner-card-btn {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--color-white);
    color: var(--color-white);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: var(--transition);
}

.banner-card-btn:hover {
    background: var(--color-white);
    color: var(--color-primary);
}

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

.newsletter-section h2 {
    margin-bottom: 15px;
}

.newsletter-section p {
    color: var(--color-text-light);
    margin-bottom: 30px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

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

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 20px;
    border: 1px solid var(--color-border);
    font-size: 14px;
    background: var(--color-white);
}

.newsletter-form button {
    padding: 14px 30px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background: var(--color-secondary);
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    background: var(--color-primary);
    color: rgba(255,255,255,0.7);
}

.footer-main {
    padding: 70px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
}

.footer-about .footer-logo {
    margin-bottom: 20px;
}

.footer-about .footer-logo img {
    max-height: 60px;
    filter: brightness(0) invert(1);
}

.footer-about .footer-logo .logo-text {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--color-white);
    letter-spacing: 3px;
    text-transform: uppercase;
}

.footer-about p {
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--color-secondary);
    border-color: var(--color-secondary);
    color: var(--color-white);
}

.footer-social a svg {
    width: 18px;
    height: 18px;
}

.footer-column h4 {
    color: var(--color-white);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 12px;
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-secondary);
}

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

.footer-column ul li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-column ul li a:hover {
    color: var(--color-white);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 3px;
    color: var(--color-secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.footer-bottom p {
    margin: 0;
}

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-white);
    padding: 20px 30px;
    box-shadow: 0 -5px 30px rgba(0,0,0,0.1);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-banner p {
    font-size: 14px;
    color: var(--color-text-light);
    flex: 1;
}

.cookie-banner p a {
    text-decoration: underline;
    color: var(--color-secondary);
}

.cookie-buttons {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 25px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn.accept {
    background: var(--color-primary);
    color: var(--color-white);
}

.cookie-btn.accept:hover {
    background: var(--color-secondary);
}

.cookie-btn.reject {
    border: 1px solid var(--color-border);
    color: var(--color-text);
}

.cookie-btn.reject:hover {
    background: var(--color-light);
}

/* ============================================
   WOOCOMMERCE OVERRIDES
   ============================================ */
/* Shop Archive */
.woocommerce-archive {
    padding: 60px 0;
}

.archive-header {
    text-align: center;
    margin-bottom: 50px;
}

.archive-header h1 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.woocommerce-breadcrumb {
    font-size: 13px;
    color: var(--color-text-light);
}

.woocommerce-breadcrumb a {
    color: var(--color-secondary);
}

.woocommerce-breadcrumb .sep {
    margin: 0 8px;
}

.woocommerce-ordering {
    margin-bottom: 30px;
    text-align: right;
}

.woocommerce-ordering select {
    padding: 10px 15px;
    border: 1px solid var(--color-border);
    font-size: 14px;
    background: var(--color-white);
    cursor: pointer;
}

.woocommerce-result-count {
    font-size: 14px;
    color: var(--color-text-light);
    margin-bottom: 15px;
}

/* Single Product */
.single-product-section {
    padding: 60px 0;
}

.single-product-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: start;
}

.product-gallery {
    position: relative;
}

.product-gallery-main img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
}

.product-gallery-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.product-gallery-thumbs img {
    width: 80px;
    height: 100px;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
}

.product-gallery-thumbs img:hover,
.product-gallery-thumbs img.active {
    border-color: var(--color-secondary);
}

.product-summary h1 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 15px;
}

.product-summary .price {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 20px;
}

.product-summary .price del {
    font-size: 1.1rem;
    color: var(--color-text-light);
    margin-right: 10px;
}

.product-summary .price ins {
    text-decoration: none;
    color: var(--color-sale);
}

.product-summary .woocommerce-product-details__short-description {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--color-text-light);
}

/* Quantity & Add to Cart */
.quantity-cart-row {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 25px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    border: 1px solid var(--color-border);
}

.quantity-selector button {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.quantity-selector button:hover {
    background: var(--color-light);
}

.quantity-selector input {
    width: 50px;
    height: 45px;
    text-align: center;
    font-weight: 600;
    font-size: 15px;
    border-left: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
}

.single-add-to-cart-btn {
    flex: 1;
    height: 45px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.single-add-to-cart-btn:hover {
    background: var(--color-secondary);
}

.product-meta {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--color-border);
    font-size: 14px;
    color: var(--color-text-light);
}

.product-meta span {
    display: block;
    margin-bottom: 8px;
}

.product-meta a {
    color: var(--color-secondary);
}

/* Cart */
.woocommerce-cart {
    padding: 60px 0;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table th {
    padding: 15px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 2px solid var(--color-border);
}

.cart-table td {
    padding: 20px 15px;
    border-bottom: 1px solid var(--color-border);
    vertical-align: middle;
}

.cart-item-image {
    width: 80px;
    height: 100px;
    object-fit: cover;
}

.cart-item-name a {
    font-weight: 500;
    color: var(--color-primary);
}

.cart-item-name a:hover {
    color: var(--color-secondary);
}

.cart-actions {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 30px;
    gap: 30px;
}

.cart-totals {
    background: var(--color-light);
    padding: 30px;
    max-width: 400px;
    width: 100%;
}

.cart-totals h2 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--color-border);
}

.cart-totals .total-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 15px;
}

.cart-totals .total-row.grand-total {
    font-weight: 700;
    font-size: 18px;
    border-top: 2px solid var(--color-border);
    padding-top: 15px;
    margin-top: 10px;
}

.checkout-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background: var(--color-primary);
    color: var(--color-white);
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 20px;
    transition: var(--transition);
}

.checkout-btn:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* ============================================
   BLOG / CONTENT
   ============================================ */
.content-area {
    padding: 60px 0;
}

.content-layout {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 50px;
}

.post-card {
    margin-bottom: 40px;
}

.post-card-image {
    aspect-ratio: 16/9;
    overflow: hidden;
    margin-bottom: 20px;
}

.post-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

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

.post-card-meta {
    font-size: 13px;
    color: var(--color-text-light);
    margin-bottom: 10px;
}

.post-card-meta span {
    margin-right: 15px;
}

.post-card h2 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.post-card h2 a:hover {
    color: var(--color-secondary);
}

.post-card .excerpt {
    color: var(--color-text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.read-more {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.read-more:hover {
    color: var(--color-primary);
}

/* Sidebar */
.sidebar-widget {
    margin-bottom: 35px;
    padding-bottom: 35px;
    border-bottom: 1px solid var(--color-border);
}

.sidebar-widget h3 {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--color-secondary);
    display: inline-block;
}

/* Search Widget */
.search-form {
    display: flex;
}

.search-form input[type="search"] {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid var(--color-border);
    font-size: 14px;
}

.search-form button {
    padding: 12px 18px;
    background: var(--color-primary);
    color: var(--color-white);
    transition: var(--transition);
}

.search-form button:hover {
    background: var(--color-secondary);
}

/* ============================================
   404 PAGE
   ============================================ */
.error-404 {
    text-align: center;
    padding: 120px 20px;
}

.error-404 h1 {
    font-size: 8rem;
    color: var(--color-border);
    line-height: 1;
}

.error-404 h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.error-404 p {
    color: var(--color-text-light);
    margin-bottom: 30px;
}

.error-404 .btn {
    display: inline-block;
    padding: 14px 40px;
    background: var(--color-primary);
    color: var(--color-white);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: var(--transition);
}

.error-404 .btn:hover {
    background: var(--color-secondary);
    color: var(--color-white);
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 50px;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--color-border);
    font-size: 14px;
    transition: var(--transition);
}

.pagination a:hover,
.pagination .current {
    background: var(--color-primary);
    border-color: var(--color-primary);
    color: var(--color-white);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */
@media (max-width: 1200px) {
    .products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .main-navigation {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px;
        height: 100vh;
        background: var(--color-white);
        z-index: 1000;
        transition: left 0.3s ease;
        overflow-y: auto;
        box-shadow: 2px 0 20px rgba(0,0,0,0.1);
    }

    .main-navigation.active {
        left: 0;
    }

    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .nav-menu > li > a {
        padding: 12px 0;
        border-bottom: 1px solid var(--color-border);
        width: 100%;
    }

    .nav-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border-top: none;
        padding-left: 15px;
        display: none;
    }

    .nav-menu li:hover > .sub-menu {
        display: block;
    }

    .single-product-layout {
        grid-template-columns: 1fr;
    }

    .content-layout {
        grid-template-columns: 1fr;
    }

    .hero-slide-content h2 {
        font-size: 2.5rem;
    }

    .banner-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: auto;
    }

    .top-bar {
        font-size: 11px;
        padding: 8px 15px;
    }

    .header-main {
        padding: 12px 0;
    }

    .site-logo img {
        max-height: 50px;
    }

    .site-logo .logo-text {
        font-size: 1.5rem;
    }

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

    .products-section {
        padding: 50px 0;
    }

    .section-title {
        font-size: 1.5rem;
        margin-bottom: 30px;
    }

    .hero-slider .swiper-slide {
        height: 60vh;
        min-height: 350px;
    }

    .hero-slide-content {
        bottom: 10%;
        left: 5%;
        max-width: 90%;
    }

    .hero-slide-content h2 {
        font-size: 1.8rem;
    }

    .hero-slide-content p {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    .hero-btn {
        padding: 12px 30px;
        font-size: 12px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .newsletter-form button {
        width: 100%;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-banner p {
        font-size: 13px;
    }

    .cart-table {
        font-size: 13px;
    }

    .cart-actions {
        flex-direction: column;
    }

    .cart-totals {
        max-width: 100%;
    }

    .error-404 h1 {
        font-size: 5rem;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .product-card-info {
        padding: 12px 3px;
    }

    .product-card-info h3 {
        font-size: 12px;
    }

    .product-price {
        font-size: 13px;
    }

    .header-action-btn span:not(.count) {
        display: none;
    }

    .header-actions {
        gap: 12px;
    }

    .banner-card {
        height: 280px;
    }
}

/* ============================================
   MOBILE MENU OVERLAY
   ============================================ */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

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

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--color-primary);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 100;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--color-secondary);
}

.back-to-top svg {
    width: 20px;
    height: 20px;
}

/* ============================================
   LOADING / ANIMATIONS
   ============================================ */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skeleton Loading */
.skeleton {
    background: linear-gradient(90deg, var(--color-light) 25%, #eee 50%, var(--color-light) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 4px;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================
   WOOCOMMERCE SPECIFIC
   ============================================ */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 15px 20px;
    margin-bottom: 25px;
    border-left: 4px solid;
    font-size: 14px;
}

.woocommerce-message {
    border-color: var(--color-success);
    background: #f0f7f2;
    color: var(--color-success);
}

.woocommerce-info {
    border-color: var(--color-secondary);
    background: var(--color-light);
    color: var(--color-secondary);
}

.woocommerce-error {
    border-color: var(--color-sale);
    background: #fdf0ec;
    color: var(--color-sale);
}

/* Star Rating */
.star-rating {
    color: #f5a623;
    font-size: 14px;
}

/* Tabs */
.wc-tabs {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--color-border);
    margin-top: 40px;
}

.wc-tabs li {
    list-style: none;
}

.wc-tabs li a {
    display: block;
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-light);
    border-bottom: 2px solid transparent;
    transition: var(--transition);
}

.wc-tabs li.active a,
.wc-tabs li a:hover {
    color: var(--color-primary);
    border-bottom-color: var(--color-secondary);
}

/* ============================================
   PAGE LOADER
   ============================================ */
.page-loader {
    position: fixed;
    inset: 0;
    background: var(--color-white);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--color-border);
    border-top-color: var(--color-secondary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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