/*
Theme Name: BikeFelgenHeld Custom Theme
Author: BikeFelgenHeld Hamburg
Version: 1.0
Description: Individuelles Theme für BikeFelgenHeld.de
*/

:root {
    --bg-main: #fbfbfd;
    --bg-card: #ffffff;
    --bg-dark-accent: #1d1d1f;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --accent: #2997ff;
    --accent-gold: #aa8453;
    --accent-gold-hover: #937042;
    --border-light: rgba(0, 0, 0, 0.08);
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    overflow-x: hidden;
}

/* Navigation Header */
nav.main-header-nav {
    position: fixed;
    top: 0;
    width: 100%;
    height: 54px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid var(--border-light);
}

/* WORDPRESS ADMIN BAR FIX */
body.admin-bar nav.main-header-nav {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar nav.main-header-nav {
        top: 46px;
    }
}

.nav-container {
    max-width: 1120px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 22px;
    position: relative;
}

.logo {
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 1010;
    color: var(--text-main);
}

.nav-links {
    display: flex;
    gap: 30px;
    height: 100%;
    align-items: center;
}

.nav-item {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
}

.nav-item > a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.nav-item:hover > a { opacity: 1; }

/* Mega Menu */
.dropdown-menu {
    position: absolute;
    top: 54px;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    width: 500px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    opacity: 0;
    pointer-events: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    backdrop-filter: blur(20px);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.dropdown-column h5 {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: 10px;
}

.dropdown-column a {
    display: block;
    color: var(--text-main);
    text-decoration: none;
    font-size: 14px;
    padding: 8px 0;
    opacity: 0.85;
    transition: color 0.2s, padding-left 0.2s;
}

.dropdown-column a:hover {
    color: var(--accent-gold);
    padding-left: 5px;
    opacity: 1;
}

.nav-icons {
    display: flex;
    gap: 22px;
    align-items: center;
    z-index: 1010;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-main);
    opacity: 0.8;
    transition: opacity 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    position: relative;
}

.icon-btn:hover { opacity: 1; transform: scale(1.05); }

.cart-badge {
    position: absolute;
    top: -6px;
    right: -8px;
    font-size: 9px;
    background: var(--accent-gold);
    color: white;
    padding: 1px 5px;
    border-radius: 10px;
    font-weight: bold;
}

.profile-container { position: relative; }

.profile-toggle-btn { position: relative; }

.user-logged-dot {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    border: 1px solid #ffffff;
}

.profile-menu {
    position: absolute;
    top: 34px;
    right: 0;
    width: 200px;
    background: #ffffff;
    color: var(--text-main);
    border-radius: 14px;
    padding: 12px;
    box-shadow: 0 10px 35px rgba(0,0,0,0.12);
    border: 1px solid var(--border-light);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-6px);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2000;
}

.profile-menu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
    background: transparent;
}

.profile-container:hover .profile-menu,
.profile-container.active .profile-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.profile-user-info {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 8px;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.3;
}

.profile-user-name {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-main);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-menu a {
    display: block;
    text-decoration: none;
    font-size: 13px;
    padding: 8px 10px;
    border-radius: 8px;
    transition: all 0.2s;
    font-weight: 500;
    margin-bottom: 4px;
}

.profile-menu a:last-child { margin-bottom: 0; }
.profile-menu .btn-account { color: var(--text-main); background: #f5f5f7; text-align: left; }
.profile-menu .btn-account:hover { background: #e8e8ed; color: var(--accent-gold); }
.profile-menu .btn-login { color: #ffffff; background: var(--text-main); text-align: center; margin-bottom: 6px; }
.profile-menu .btn-login:hover { background: #000000; }
.profile-menu .btn-register { color: var(--text-main); border: 1px solid #e8e8ed; text-align: center; }
.profile-menu .btn-register:hover { background: #f5f5f7; }
.profile-menu .btn-logout { color: #ef4444; background: rgba(239, 68, 68, 0.08); text-align: center; }
.profile-menu .btn-logout:hover { background: #ef4444; color: #ffffff; }

/* Search Modal Overlay */
.search-overlay-modal {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 3000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 100px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}

.search-overlay-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.search-modal-content {
    background: #ffffff;
    border-radius: 16px;
    padding: 24px;
    width: 90%;
    max-width: 550px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    position: relative;
    display: flex;
    align-items: center;
}

.search-modal-content form {
    display: flex;
    width: 100%;
    gap: 10px;
}

.search-modal-content input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 14px;
    outline: none;
}

.search-modal-content input[type="text"]:focus {
    border-color: var(--accent-gold);
}

.search-modal-content button[type="submit"] {
    background: var(--accent-gold);
    color: #fff;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.search-modal-content button[type="submit"]:hover {
    background: var(--accent-gold-hover);
}

.close-search {
    position: absolute;
    top: -12px;
    right: -12px;
    width: 32px;
    height: 32px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-main);
    transition: 0.3s;
}

/* --- CATEGORY BAR --- */
.category-bar {
    margin-top: 54px;
    background: #ffffff;
    padding: 20px 15px;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 25px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.category-bar::-webkit-scrollbar { display: none; }

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    text-align: center;
    min-width: 85px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
    text-decoration: none;
}

.category-item:hover { transform: translateY(-2px); }

.category-image-container {
    position: relative;
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
}

.category-circle-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(0, 0, 0, 0.08);
    background: #f5f5f7;
    padding: 3px;
    transition: border-color 0.2s;
}

.category-item:hover .category-circle-img,
.category-item.active .category-circle-img {
    border-color: var(--accent-gold);
}

.category-badge {
    position: absolute;
    top: -2px;
    right: -6px;
    background: #ffffff;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    font-size: 9px;
    font-weight: 600;
    padding: 1px 5px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.category-name {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-main);
    opacity: 0.8;
    line-height: 1.3;
    max-width: 90px;
}

/* --- HERO BANNER SLIDER & CATEGORY GRID SYSTEM --- */
.hero-banner-wrapper {
    max-width: 1220px;
    margin: 24px auto 0;
    padding: 0 20px;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 380px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    background: #e5e5ea;
}

.slides-track {
    display: flex;
    width: 300%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
    width: 33.333%;
    height: 100%;
    position: relative;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    padding: 0 60px;
}

.slide-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(90deg, rgba(255,255,255,0.92) 0%, rgba(255,255,255,0.7) 45%, rgba(255,255,255,0) 100%);
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    max-width: 480px;
}

.slide-tag {
    display: inline-block;
    background: #3b82f6;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.slide-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 38px;
    font-weight: 700;
    line-height: 1.15;
    color: #111111;
    margin-bottom: 20px;
}

.btn-banner-action {
    background: var(--accent-gold);
    color: #ffffff;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(170, 132, 83, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-banner-action:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-1px);
}

/* Slider Controls */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    font-size: 18px;
    color: #333;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
}

.slider-arrow:hover {
    background: #ffffff;
    transform: translateY(-50%) scale(1.08);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.slider-arrow.prev { left: 16px; }
.slider-arrow.next { right: 16px; }

.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.2s ease;
}

.slider-dot.active {
    background: var(--accent-gold);
    width: 24px;
    border-radius: 10px;
}

/* FELGEN KATEGORIE-VORSCHLÄGE */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.feature-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
    position: relative;
    overflow: hidden;
    transition: all 0.25s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.06);
}

.feature-card-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
}

.feature-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    z-index: 2;
}

.feature-card-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 17px;
    font-weight: 700;
    color: #222222;
}

.feature-card-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.btn-feature-action {
    align-self: flex-start;
    background: #64748b;
    color: #ffffff;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.2s;
}

.feature-card:hover .btn-feature-action {
    background: #1e293b;
}

.feature-card-img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 8px;
    z-index: 2;
    flex-shrink: 0;
}

.badge-tag-card {
    position: absolute;
    top: 8px;
    right: 8px;
    background: #ff9f0a;
    color: #ffffff;
    font-size: 8px;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
}

/* --- USP BAR --- */
.usp-bar {
    background: #ffffff;
    border-bottom: 1px solid var(--border-light);
    border-top: 1px solid var(--border-light);
    padding: 24px 20px;
    margin-top: 40px;
}

.usp-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.usp-item {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    min-width: 220px;
}

.usp-icon {
    width: 24px;
    height: 24px;
    color: var(--accent-gold);
    flex-shrink: 0;
}

.usp-text {
    display: flex;
    flex-direction: column;
}

.usp-text strong {
    font-size: 13px;
    color: var(--text-main);
    font-weight: 600;
}

.usp-text span {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

/* --- BELIEBTE PRODUKTE SECTION --- */
.promo-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 70px 20px 80px;
    text-align: center;
}

.promo-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 60px;
}

.promo-header-icon {
    width: 28px;
    height: 28px;
    color: var(--accent-gold);
}

.promo-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 26px;
    font-weight: 700;
    color: #333333;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.promo-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 12px;
    padding: 0 16px 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-top: 60px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    cursor: pointer;
}

.promo-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.promo-circle-wrapper {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    margin-top: -55px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border: 3px solid #ffffff;
    background: #f5f5f7;
    flex-shrink: 0;
}

.promo-circle-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.promo-card:hover .promo-circle-wrapper img {
    transform: scale(1.1);
}

.promo-card-title {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 19px;
    font-weight: 700;
    color: #2c2c2c;
    margin: 28px 0 20px 0;
    text-align: center;
}

.btn-card-action {
    width: 100%;
    background: transparent;
    color: var(--accent-gold);
    border: 1px solid var(--accent-gold);
    padding: 8px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.promo-card:hover .btn-card-action {
    background: var(--accent-gold);
    color: #ffffff;
}

.btn-show-all {
    background: var(--accent-gold);
    color: #ffffff;
    border: none;
    padding: 14px 36px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(170, 132, 83, 0.25);
}

.btn-show-all:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(170, 132, 83, 0.35);
}

/* --- FOOTER & PAYMENT LOGOS --- */
footer {
    background: #ffffff;
    padding: 50px 20px 40px;
    border-top: 1px solid var(--border-light);
}

.footer-container {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    opacity: 0.85;
}

.footer-payment-icons img,
.payment-svg {
    height: 22px !important;
    width: auto !important;
    max-height: 22px !important;
    display: inline-block !important;
    object-fit: contain;
}

/* --- POPUP DECORATION & MODERN BUTTONS --- */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active { opacity: 1; pointer-events: auto; }

.modal-window {
    background: #ffffff;
    color: var(--text-main);
    width: 94%;
    max-width: 600px;
    max-height: 90vh;
    border-radius: 24px;
    padding: 40px;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 30px 60px rgba(0,0,0,0.12);
    overflow-y: auto;
    border: 1px solid var(--border-light);
}

.cart-notice-window { text-align: center; max-width: 480px; }
.cart-notice-window h4 { font-size: 24px; font-weight: 600; margin-bottom: 12px; color: var(--text-main); }
.cart-notice-window p { color: var(--text-muted); font-size: 15px; line-height: 1.5; margin-bottom: 24px; }
.cart-notice-btns { display: flex; flex-direction: column; gap: 10px; width: 100%; }

.cart-notice-btns .btn-primary { 
    background: var(--accent-gold); 
    color: #fff; 
    padding: 12px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: 600; 
    text-align: center; 
    transition: all 0.2s ease; 
}
.cart-notice-btns .btn-primary:hover { 
    background: var(--accent-gold-hover); 
    transform: translateY(-1px);
}

.cart-notice-btns .btn-secondary { 
    background: #f5f5f7; 
    color: var(--text-main); 
    padding: 12px; 
    border-radius: 30px; 
    text-decoration: none; 
    font-weight: 600; 
    border: 1px solid var(--border-light); 
    text-align: center; 
    transition: all 0.2s ease; 
}
.cart-notice-btns .btn-secondary:hover { 
    background: #e8e8ed; 
}

.close-modal {
    position: absolute;
    top: 24px; right: 24px;
    background: rgba(0, 0, 0, 0.05);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-weight: bold;
    color: var(--text-main);
    transition: background 0.2s;
}

.close-modal:hover {
    background: rgba(0, 0, 0, 0.1);
}

.config-progress { display: flex; justify-content: space-between; margin-bottom: 32px; position: relative; }
.progress-bar-line { position: absolute; top: 50%; left: 0; transform: translateY(-50%); height: 2px; background: rgba(0, 0, 0, 0.08); width: 100%; z-index: 1; }
.progress-bar-fill { position: absolute; top: 50%; left: 0; transform: translateY(-50%); height: 2px; background: var(--accent-gold); width: 0%; z-index: 2; transition: width 0.3s ease; }
.progress-step-node { width: 26px; height: 26px; background: #ffffff; border: 2px solid rgba(0,0,0,0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 600; color: var(--text-muted); z-index: 3; }
.progress-step-node.active { border-color: var(--accent-gold); color: var(--accent-gold); }
.progress-step-node.completed { background: var(--accent-gold); border-color: var(--accent-gold); color: #ffffff; }

.config-step { display: none; }
.config-step.active { display: flex; flex-direction: column; animation: fadeIn 0.4s ease forwards; }

.config-step h4 { font-size: 24px; font-weight: 600; margin-bottom: 6px; letter-spacing: -0.01em; color: var(--text-main); }
.config-step p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }

.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 24px; }
.option-card { border: 1px solid var(--border-light); border-radius: 14px; padding: 18px; cursor: pointer; background: #f5f5f7; transition: all 0.2s ease; }
.option-card:hover { border-color: rgba(0, 0, 0, 0.2); background: #ffffff; }
.option-card.selected { border-color: var(--accent-gold); border-width: 2px; background: #ffffff; }
.option-card label { font-weight: 600; font-size: 15px; margin-bottom: 4px; display: block; cursor: pointer; color: var(--text-main); }
.option-card.selected label { color: var(--accent-gold); }
.option-card span { font-size: 12px; color: var(--text-muted); line-height: 1.4; }

.weight-slider-box { background: #f5f5f7; padding: 24px; border-radius: 14px; margin-bottom: 24px; border: 1px solid var(--border-light); }
.weight-header { display: flex; justify-content: space-between; margin-bottom: 12px; font-weight: 600; font-size: 14px; color: var(--text-main); }
.weight-slider { width: 100%; -webkit-appearance: none; height: 4px; background: rgba(0, 0, 0, 0.15); outline: none; border-radius: 2px; }
.weight-slider::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-gold); cursor: pointer; box-shadow: 0 0 8px rgba(170, 132, 83, 0.5); }

.summary-box { background: #f5f5f7; padding: 20px; border-radius: 14px; margin-bottom: 24px; border: 1px solid var(--border-light); }
.summary-line { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--border-light); font-size: 14px; color: var(--text-muted); }
.summary-line:last-child { border-bottom: none; }
.summary-line span { color: var(--text-main); font-weight: 500; }

.live-price-counter { font-size: 20px; font-weight: 600; text-align: right; margin-bottom: 20px; color: var(--text-main); }
.live-price-counter span { color: var(--accent-gold); }

.config-footer { display: flex; justify-content: space-between; border-top: 1px solid var(--border-light); padding-top: 24px; gap: 12px; }
.btn-nav-config { padding: 12px 30px; border-radius: 30px; border: none; font-weight: 600; font-size: 14px; cursor: pointer; transition: all 0.2s ease; display: inline-block; text-align: center; }
.btn-prev { background: #f5f5f7; color: var(--text-main); border: 1px solid var(--border-light); }
.btn-prev:hover:not(:disabled) { background: #e8e8ed; }
.btn-prev:disabled { opacity: 0.3; cursor: not-allowed; }
.btn-next { background: var(--accent-gold); color: #fff; box-shadow: 0 4px 12px rgba(170, 132, 83, 0.2); }
.btn-next:hover { background: var(--accent-gold-hover); transform: translateY(-1px); }

/* --- FOOTER & PAYMENT LOGOS --- */
footer { background: #ffffff; padding: 50px 20px 40px; border-top: 1px solid var(--border-light); }
.footer-container { max-width: 1120px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 24px; }

.footer-payment-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    opacity: 0.85;
}
.payment-svg {
    height: 22px;
    width: auto;
    display: block;
}

.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 24px; }
.footer-links a { color: var(--text-main); text-decoration: none; font-size: 12px; opacity: 0.7; transition: opacity 0.2s, color 0.2s; cursor: pointer; }
.footer-links a:hover { opacity: 1; color: var(--accent-gold); }
.footer-copyright { font-size: 11px; color: var(--text-muted); text-align: center; margin-top: 5px; }

/* Legal Modals Backup */
.legal-modal { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(255,255,255,0.85); backdrop-filter: blur(10px); z-index: 3000; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.legal-modal.active { opacity: 1; pointer-events: auto; }
.legal-content { background: #ffffff; color: var(--text-main); width: 90%; max-width: 550px; max-height: 80vh; padding: 32px; border-radius: 20px; overflow-y: auto; position: relative; border: 1px solid var(--border-light); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.legal-content h3 { font-size: 20px; margin-bottom: 16px; color: var(--accent-gold); }
.legal-content p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 12px; text-align: left; }

/* --- PRODUCT CARDS (archive-product.php & taxonomy-product_cat.php) --- */
.promo-grid.archive-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 24px;
}

.promo-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}

.promo-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.08);
    border-color: rgba(170, 132, 83, 0.3);
}

.promo-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--text-main);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.promo-image-box {
    width: 100%;
    height: 220px;
    border-radius: 14px;
    overflow: hidden;
    background: #f5f5f7;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.promo-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.promo-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.promo-stars {
    font-size: 12px;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.promo-stars span {
    color: var(--text-muted);
    font-size: 11px;
}

.promo-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.3;
}

.promo-title a {
    color: var(--text-main);
    text-decoration: none;
    transition: color 0.2s;
}

.promo-title a:hover {
    color: var(--accent-gold);
}

.promo-desc {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 16px;
}

.promo-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
}

.promo-price {
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-gold);
}

.promo-price del {
    color: var(--text-muted);
    font-size: 13px;
    margin-right: 4px;
    font-weight: 400;
}

.promo-price ins {
    text-decoration: none;
}

.btn-card-action,
.btn-buy-now {
    background: var(--text-main);
    color: #ffffff !important;
    font-size: 12px;
    font-weight: 700;
    padding: 8px 14px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
    display: inline-block;
}

.btn-card-action:hover,
.btn-buy-now:hover {
    background: var(--accent-gold);
    color: #ffffff !important;
    transform: translateY(-1px);
}

/* --- RESPONSIVE UPDATES --- */
@media (max-width: 1024px) {
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .promo-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 850px) {
    .nav-links { position: fixed; top: 54px; left: -100%; width: 100%; height: calc(100vh - 54px); background: #ffffff; flex-direction: column; align-items: flex-start; padding: 40px 24px; gap: 24px; transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
    .nav-links.active { left: 0; }
    .nav-item { height: auto; width: 100%; flex-direction: column; align-items: flex-start; }
    .nav-item > a { font-size: 18px; font-weight: 600; width: 100%; padding-bottom: 8px; }
    .dropdown-menu { display: none; }
    .menu-toggle { display: flex; }
    .category-bar { justify-content: flex-start; }
    
    .slider-container { height: 320px; }
    .slide { padding: 0 30px; }
    .slide-title { font-size: 28px; }

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

    .modal-window { border-radius: 0; width: 100%; height: 100%; max-height: 100vh; padding: 24px; justify-content: center; }
    .footer-links { gap: 16px; }
}

@media (max-width: 850px) {
    .woocommerce #customer_login {
        grid-template-columns: 1fr;
    }
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }
}

/* --- ACCOUNT PAGE HERO HEADER & CARD STYLES --- */
.account-page-wrapper {
    max-width: 1180px;
    margin: 30px auto 80px;
    padding: 0 20px;
}

.account-hero-header {
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 24px !important;
    padding: 30px 40px !important;
    display: flex !important;
    flex-direction: row !important;
    justify-content: space-between !important;
    align-items: center !important;
    gap: 30px !important;
    margin-bottom: 24px !important;
    box-shadow: var(--shadow-subtle) !important;
}

.account-user-card {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 20px !important;
}

.account-avatar {
    width: 70px !important;
    height: 70px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    border: 2px solid var(--accent-gold) !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
    flex-shrink: 0 !important;
}

.account-user-text {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.account-badge {
    display: inline-block !important;
    background: rgba(170, 132, 83, 0.12) !important;
    color: var(--accent-gold) !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    padding: 3px 10px !important;
    border-radius: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    align-self: flex-start !important;
    margin-bottom: 4px !important;
}

.account-welcome-title {
    font-size: 24px !important;
    font-weight: 700 !important;
    color: var(--text-main) !important;
    margin: 0 !important;
    line-height: 1.2 !important;
}

.account-user-email {
    font-size: 13px !important;
    color: var(--text-muted) !important;
    margin: 0 !important;
}

.account-quick-stats {
    display: flex !important;
    flex-direction: row !important;
    gap: 16px !important;
}

.stat-box {
    background: #f9f9fb !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 14px !important;
    padding: 14px 18px !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 12px !important;
}

.stat-icon {
    font-size: 22px !important;
}

.stat-info {
    display: flex !important;
    flex-direction: column !important;
}

.stat-info strong {
    display: block !important;
    font-size: 12px !important;
    color: var(--text-main) !important;
}

.stat-info a {
    font-size: 11px !important;
    color: var(--accent-gold) !important;
    text-decoration: none !important;
    font-weight: 600 !important;
}

.stat-info a:hover {
    text-decoration: underline !important;
}

.account-main-card {
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 24px !important;
    padding: 35px !important;
    box-shadow: var(--shadow-subtle) !important;
}


@media (max-width: 580px) {
    .feature-grid { grid-template-columns: 1fr; }
    .promo-grid { grid-template-columns: 1fr; }
    .slider-container { height: 280px; }
    .slide-title { font-size: 22px; }
}

/* --- PRODUCT CATEGORY ARCHIVE PAGE (taxonomy-product_cat.php) --- */
.archive-container {
    max-width: 1220px;
    margin: 24px auto 60px;
    padding: 0 20px;
}

.archive-breadcrumb {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.archive-breadcrumb a {
    color: var(--text-main);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.archive-breadcrumb a:hover { opacity: 1; color: var(--accent-gold); }
.archive-breadcrumb .sep { opacity: 0.4; }
.archive-breadcrumb .current { font-weight: 600; color: var(--accent-gold); }

.category-hero {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
}

.hero-text-content { max-width: 600px; z-index: 2; }

.hero-badge {
    display: inline-block;
    background: rgba(170, 132, 83, 0.12);
    color: var(--accent-gold);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

.hero-image-wrapper {
    width: 240px;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f7;
    border: 1px solid var(--border-light);
}

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

.subcategories-section {
    margin-bottom: 40px;
}

.section-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main);
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.subcategory-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-card);
}

.subcategory-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-gold);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.subcat-img-box {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    overflow: hidden;
    background: #f5f5f7;
    flex-shrink: 0;
}

.subcat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.subcat-info h4 {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.subcat-info span {
    font-size: 11px;
    color: var(--text-muted);
}

.archive-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-muted);
}

.archive-grid {
    margin-bottom: 40px;
}

.archive-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.archive-pagination .page-numbers {
    padding: 8px 16px;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    background: #ffffff;
}

.archive-pagination .page-numbers.current,
.archive-pagination .page-numbers:hover {
    background: var(--accent-gold);
    color: #ffffff;
    border-color: var(--accent-gold);
}

.no-products-found {
    background: #ffffff;
    border: 1px dashed var(--border-light);
    border-radius: 20px;
    padding: 60px 20px;
    text-align: center;
    max-width: 500px;
    margin: 40px auto;
}

.no-prod-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.no-products-found h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.no-products-found p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .category-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
    .hero-image-wrapper {
        width: 100%;
        height: 160px;
    }
    .hero-title {
        font-size: 26px;
    }
}

/* --- SINGLE PRODUCT TEMPLATE (single-product.php) --- */
.single-product-wrapper {
    max-width: 1220px;
    margin: 24px auto 80px;
    padding: 0 20px;
}

.single-product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 50px;
}

.product-gallery-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image-box {
    width: 100%;
    height: 420px;
    background: #f5f5f7;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-image-box:hover img {
    transform: scale(1.03);
}

.gallery-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: var(--text-main);
    color: #ffffff;
    font-size: 10px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 5;
}

.gallery-thumbs-row {
    display: flex;
    gap: 12px;
    overflow-x: auto;
}

.thumb-item {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid var(--border-light);
    transition: all 0.2s;
    background: #f5f5f7;
    flex-shrink: 0;
}

.thumb-item.active,
.thumb-item:hover {
    border-color: var(--accent-gold);
}

.thumb-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-guarantee-box {
    background: #f9f9fb;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    border: 1px solid var(--border-light);
}

.guarantee-item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.guarantee-item .g-icon {
    font-size: 22px;
}

.guarantee-item strong {
    display: block;
    font-size: 13px;
    color: var(--text-main);
}

.guarantee-item span {
    font-size: 11px;
    color: var(--text-muted);
}

.product-buy-box {
    display: flex;
    flex-direction: column;
}

.product-cat-pill a {
    display: inline-block;
    color: var(--accent-gold);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    text-decoration: none;
}

.product-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
    margin-bottom: 10px;
}

.product-rating-line {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    margin-bottom: 20px;
    color: var(--text-muted);
}

.product-price-line {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}

.single-price {
    font-size: 34px;
    font-weight: 800;
    color: var(--text-main);
}

.single-price .amount {
    color: var(--text-main);
}

.single-price ins {
    text-decoration: none;
    color: #e63946;
}

.tax-info {
    font-size: 12px;
    color: var(--text-muted);
}

.product-short-description {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
}

.add-to-cart-wrapper {
    margin-bottom: 24px;
}

.add-to-cart-wrapper .cart {
    display: flex;
    gap: 12px;
    align-items: center;
}

.add-to-cart-wrapper .quantity input {
    width: 60px;
    height: 48px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    text-align: center;
    font-weight: 600;
    font-size: 15px;
}

.add-to-cart-wrapper button.single_add_to_cart_button {
    flex: 1;
    background: var(--text-main);
    color: #ffffff;
    border: none;
    height: 48px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.add-to-cart-wrapper button.single_add_to_cart_button:hover {
    background: #000000;
    transform: translateY(-1px);
}

.custom-config-promo-box {
    background: rgba(170, 132, 83, 0.08);
    border: 1px solid rgba(170, 132, 83, 0.2);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.config-promo-content strong {
    display: block;
    font-size: 13px;
    color: var(--text-main);
    margin-bottom: 2px;
}

.config-promo-content p {
    font-size: 11px;
    color: var(--text-muted);
    margin: 0;
}

.specs-checklist {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.specs-checklist li {
    font-size: 13px;
    color: var(--text-main);
    font-weight: 500;
}

.product-details-tabs {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-subtle);
    margin-bottom: 50px;
}

.tab-content-box {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-top: 16px;
}

@media (max-width: 900px) {
    .single-product-grid {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 30px;
    }
    .main-image-box {
        height: 300px;
    }
    .custom-config-promo-box {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* --- WOOCOMMERCE PAGES (CART, MY ACCOUNT, CHECKOUT, PAGE.PHP) --- */
.page-default-wrapper {
    max-width: 1120px;
    margin: 30px auto 80px;
    padding: 0 20px;
}

.page-content-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-subtle);
    margin-top: 16px;
}

.page-main-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
}

/* WOOCOMMERCE TABLES (CART & ORDERS) */
.woocommerce table.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 30px;
}

.woocommerce table.shop_table th {
    background: #f9f9fb;
    color: var(--text-main);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 14px 18px;
    border-bottom: 1px solid var(--border-light);
}

.woocommerce table.shop_table td {
    padding: 16px 18px;
    border-bottom: 1px solid var(--border-light);
    font-size: 14px;
    color: var(--text-main);
    vertical-align: middle;
}

.woocommerce table.shop_table tr:last-child td {
    border-bottom: none;
}

.woocommerce table.shop_table td.product-thumbnail img {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    object-fit: cover;
    background: #f5f5f7;
}

.woocommerce table.shop_table td.product-name a {
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.woocommerce table.shop_table td.product-name a:hover {
    color: var(--accent-gold);
}

.woocommerce table.shop_table a.remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    color: #ef4444 !important;
    background: rgba(239, 68, 68, 0.1);
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.woocommerce table.shop_table a.remove:hover {
    background: #ef4444;
    color: #ffffff !important;
}

/* CART TOTALS BOX */
.woocommerce .cart-collaterals {
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

.woocommerce .cart-collaterals .cart_totals {
    width: 100%;
    max-width: 420px;
    background: #f9f9fb;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 24px;
}

.woocommerce .cart-collaterals .cart_totals h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 16px;
}

.woocommerce .checkout-button,
.woocommerce button.button.alt,
.woocommerce input.button.alt,
.woocommerce #respond input#submit,
.woocommerce button.button {
    background: var(--accent-gold) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: center !important;
    box-shadow: 0 4px 14px rgba(170, 132, 83, 0.25) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    display: inline-block;
}

.woocommerce .checkout-button:hover,
.woocommerce button.button.alt:hover,
.woocommerce button.button:hover {
    background: var(--accent-gold-hover) !important;
    transform: translateY(-1px) !important;
}

/* WOOCOMMERCE FORM INPUTS & BUTTONS */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 14px;
    outline: none;
    background: #ffffff;
    transition: border-color 0.2s;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
    border-color: var(--accent-gold);
}

/* WOOCOMMERCE MY ACCOUNT PAGE (#customer_login) */
.woocommerce #customer_login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 10px;
}

.woocommerce #customer_login h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-main);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.woocommerce #customer_login .u-column1,
.woocommerce #customer_login .u-column2 {
    background: #f9f9fb;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 30px;
}

/* MY ACCOUNT LUXURY FLEX LAYOUT FIX */
.woocommerce-account .woocommerce,
.woocommerce-page .woocommerce-MyAccount-navigation-wrapper,
.page-body-content .woocommerce,
.account-body-content .woocommerce {
    display: flex !important;
    flex-direction: row !important;
    gap: 30px !important;
    align-items: flex-start !important;
    width: 100% !important;
}

.woocommerce-MyAccount-navigation,
nav.woocommerce-MyAccount-navigation {
    flex: 0 0 250px !important;
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    background: #f9f9fb !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 18px !important;
    padding: 16px !important;
    z-index: 1 !important;
    float: none !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    margin: 0 !important;
    position: relative !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-MyAccount-navigation ul {
    list-style: none !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li,
.woocommerce-MyAccount-navigation li {
    margin: 0 !important;
    padding: 0 !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a,
.woocommerce-MyAccount-navigation li a {
    display: block !important;
    padding: 12px 16px !important;
    border-radius: 12px !important;
    color: var(--text-main) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    transition: all 0.2s !important;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover,
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li a:hover {
    background: var(--text-main) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}

.woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content {
    flex: 1 1 auto !important;
    width: calc(100% - 280px) !important;
    background: #ffffff !important;
    border: 1px solid var(--border-light) !important;
    border-radius: 18px !important;
    padding: 30px !important;
    float: none !important;
    margin: 0 !important;
    box-shadow: var(--shadow-card) !important;
}

/* WOOCOMMERCE NOTICES & ALERTS */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 13.5px;
    margin-bottom: 24px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-message {
    background: rgba(16, 185, 129, 0.1);
    color: #065f46;
    border-left: 4px solid #10b981;
}

.woocommerce-info {
    background: rgba(41, 151, 255, 0.1);
    color: #1e40af;
    border-left: 4px solid var(--accent);
}

.woocommerce-error {
    background: rgba(239, 68, 68, 0.1);
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

@media (max-width: 850px) {
    .woocommerce #customer_login {
        grid-template-columns: 1fr;
    }
    .woocommerce-account .woocommerce {
        grid-template-columns: 1fr;
    }
}

