/* === Global Styles - OxyVanityHair im violetten Design === */
:root {
    /* Vanity Violett Farbpalette */
    --primary-color: #9932CC;        /* Mittleres Violett */
    --primary-light: #BF8FD9;        /* Helles Violett für Akzente */
    --primary-dark: #7B2CBF;         /* Dunkleres Violett für Hover */
    --secondary-color: #4A266A;      /* Dunkelviolett für Texte */
    --accent-color: #BF8FD9;         /* Helles Violett */
    --dark-color: #2E1A47;           /* Dunkler Violett-Ton */
    --text-color: #4F4F4F;           /* Dunkelgrau */
    --text-light: #666;
    --bg-light: #F5F3F8;             /* Helles Violett für Hintergründe */
    --white: #ffffff;
    --border-color: #E5E0EC;         /* Leicht violetter Rahmen */
    --success: #4caf50;
    --error: #f44336;
    --font-primary: 'Poppins', sans-serif;
    --font-heading: 'Playfair Display', serif;
    --transition: all 0.3s ease;
    --box-shadow: 0 6px 20px rgba(122, 44, 191, 0.07);
    --box-shadow-hover: 0 10px 30px rgba(122, 44, 191, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.7;
    background: var(--white);
    letter-spacing: 0.01em;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--dark-color);
    letter-spacing: 0.02em;
}

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

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

/* === Buttons === */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    border-radius: 3px;
    box-shadow: 0 4px 12px rgba(122, 44, 191, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(122, 44, 191, 0.25);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(122, 44, 191, 0.25);
}

.btn-small {
    padding: 8px 16px;
    font-size: 12px;
}

/* Warenkorb-Button größer auf Desktop */
@media (min-width: 769px) {
    .btn-small.btn-primary {
        padding: 12px 20px;
        font-size: 13px;
    }
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

/* === Header === */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 8px rgba(122, 44, 191, 0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: linear-gradient(135deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 10px 0;
    font-size: 13px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info span {
    margin-right: 20px;
}

.header-info i,
.header-links i {
    margin-right: 5px;
}

.header-links a {
    margin-left: 20px;
    color: var(--white);
}

.header-links a:hover {
    color: var(--primary-color);
}

.header-main {
    padding: 12px 0 7px 0; /* +3px Padding unten (PC-Navbar) */
}

.header-main-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

.logo h1 {
    font-size: 28px;
    letter-spacing: 3px;
    color: var(--dark-color);
    margin-bottom: 5px;
    font-weight: 700;
}

.logo .tagline {
    font-size: 11px;
    color: var(--primary-color);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.logo-img {
    height: auto;
    max-height: 95px;
    width: auto;
    max-width: 280px;
    display: block;
    object-fit: contain;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
    color: var(--secondary-color);
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    transition: var(--transition);
}

.main-nav a:hover {
    color: var(--primary-color);
}

.main-nav a:hover::after {
    width: 100%;
}

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

.search-box form {
    display: flex;
    border: 1px solid var(--border-color);
    border-radius: 25px;
    overflow: hidden;
}

.search-box input {
    border: none;
    padding: 8px 15px;
    width: 160px;
    outline: none;
}

.search-box button {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 8px 15px;
    cursor: pointer;
}

.cart-icon {
    position: relative;
    font-size: 24px;
    color: var(--secondary-color);
}

.cart-count {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(122, 44, 191, 0.3);
}

.mobile-menu-toggle {
    display: none;
}

/* Kein Abstand zwischen Navbar und Inhalt */
main {
    margin-top: 0;
    padding-top: 0;
}

/* === Hero Section === */
.hero,
.hero-banner {
    margin-top: 0;
    padding-top: 0;
}

.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slide {
    position: relative;
    height: 100%;
    display: none;
}

.hero-slide.active {
    display: block;
}

.hero-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.3) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    z-index: 2;
    width: 100%;
    padding: 0 20px;
}

.hero-title {
    font-size: 64px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 30px;
    opacity: 0.9;
}

/* === Features Section === */
.features {
    padding: 60px 0;
    background: var(--bg-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: var(--white);
    box-shadow: var(--box-shadow);
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.feature-item p {
    color: var(--text-light);
    font-size: 14px;
}

/* === Section Styles === */
.section-title {
    text-align: center;
    font-size: 42px;
    margin-bottom: 50px;
    color: var(--dark-color);
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-dark));
    border-radius: 3px;
}

/* === Categories Section === */
.categories-section {
    padding: 80px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.category-card {
    display: block;
    position: relative;
    height: 350px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-decoration: none;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.category-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.category-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    background: rgb(196 160 215 / 90%);
    color: var(--white);
}

.category-overlay h3 {
    font-size: 24px;
}

/* === Products Section === */
.products-section {
    padding: 80px 0;
}

.products-section:nth-child(even) {
    background: var(--bg-light);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.product-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
}

.product-card:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

.product-image {
    position: relative;
    height: 300px;
    overflow: hidden;
}

.product-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.product-image-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    display: block;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.product-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 3;
}

.badge {
    padding: 5px 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    border-radius: 3px;
    letter-spacing: 1px;
}

.badge-featured {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    box-shadow: 0 2px 5px rgba(122, 44, 191, 0.3);
}

.badge-new {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(76, 175, 80, 0.3);
}

.badge-stock {
    background: linear-gradient(135deg, #f44336, #d32f2f);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(244, 67, 54, 0.3);
}

.badge-sale {
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: var(--white);
    box-shadow: 0 2px 5px rgba(255, 107, 107, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.product-actions {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 0;
    transform: translateX(20px);
    transition: var(--transition);
    z-index: 3;
}

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

.product-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.product-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--secondary-color);
}

.product-info h3 a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.product-description {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.5;
    flex: 1;
    min-height: 40px;
}

.product-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
    margin-top: auto;
    align-items: center;
}

/* Auf Desktop: Button unter dem Preis */
@media (min-width: 769px) {
    .product-footer {
        align-items: center;
    }
    
    .product-footer .btn {
        width: 100%;
        justify-content: center;
    }
}

.product-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    text-align: center;
    width: 100%;
}

.section-footer {
    text-align: center;
    margin-top: 40px;
}

/* === Banner Section === */
.banner-section {
    padding: 0;
    margin: 60px 0;
}

.banner {
    position: relative;
    height: 400px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #231d27a6;
}

.banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
}

.banner-content h2 {
    font-size: 48px;
    margin-bottom: 15px;
    color: #fff;
    font-weight: 700;
}

.banner-content p {
    font-size: 18px;
    margin-bottom: 25px;
    color: #fff;
}

/* === Newsletter Section === */
.newsletter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    position: relative;
}

.newsletter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
    opacity: 0.3;
}

.newsletter-box {
    text-align: center;
    color: var(--white);
}

.newsletter-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.newsletter-box h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.newsletter-box p {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

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

.newsletter-form-inline button {
    white-space: nowrap;
}

/* === Footer === */
.main-footer {
    background: linear-gradient(180deg, var(--dark-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    padding: 60px 0 0;
    position: relative;
}

.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color), var(--primary-dark));
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-column h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--white);
    position: relative;
    display: inline-block;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-light), var(--primary-color));
    border-radius: 2px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-column p {
    margin-bottom: 15px;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-column ul {
    list-style: none;
}

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

.footer-column ul li a {
    opacity: 0.8;
    transition: var(--transition);
}

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

.social-links {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: var(--transition);
}

.social-links a:hover {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(122, 44, 191, 0.4);
}

.newsletter-form {
    display: flex;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-radius: 3px 0 0 3px;
}

.newsletter-form button {
    padding: 10px 20px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 0 3px 3px 0;
    cursor: pointer;
}

.payment-methods {
    margin-top: 20px;
}

.payment-methods h5 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #ffffff;
}

.payment-icons {
    display: flex;
    gap: 10px;
    font-size: 24px;
    opacity: 0.9;
    color: #ffffff;
}

.payment-hint {
    margin-top: 8px;
    font-size: 13px;
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    text-align: center;
    opacity: 0.7;
}

.footer-bottom .footer-credit {
    margin-top: 8px;
    margin-bottom: 0;
    font-size: 13px;
}

.footer-bottom .footer-credit a {
    color: #D4A4E8;
    text-decoration: none;
}

.footer-bottom .footer-credit a:hover {
    text-decoration: underline;
    color: #e8c4f0;
}

/* === Responsive Design === */
@media (max-width: 1172px) {
    .header-main-content {
        flex-wrap: wrap;
    }
    
    .main-nav {
        order: 4;
        width: 100%;
    }
    
    .hero-title {
        font-size: 48px;
    }
}

@media (max-width: 768px) {
    .header-top-content {
        flex-direction: column;
        gap: 10px;
    }
    
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1001;
    }
    
    #mobile-menu-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        color: black;
        border: none;
        font-size: 24px;
        cursor: pointer;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .newsletter-form-inline {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .search-box input {
        width: 150px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
}

/* === Cookie-Banner === */
.cookie-consent-given .cookie-banner {
    display: none !important;
}

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(135deg, #2E1A47 0%, #4A266A 100%);
    color: #f0e6f7;
    padding: 18px 0;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.2);
    border-top: 1px solid rgba(191, 143, 217, 0.3);
}

.cookie-banner-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cookie-banner-text {
    flex: 1;
    min-width: 260px;
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}

.cookie-banner-text i {
    margin-right: 8px;
    color: var(--primary-light);
}

.cookie-banner-text a {
    color: #D4A4E8;
    text-decoration: underline;
    font-weight: 500;
}

.cookie-banner-text a:hover {
    color: #fff;
}

.cookie-banner-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    flex-shrink: 0;
}

.cookie-banner-actions .btn {
    padding: 10px 20px;
    font-size: 13px;
}

.cookie-banner-actions .btn-outline {
    border-color: rgba(255,255,255,0.6);
    color: #f0e6f7;
}

.cookie-banner-actions .btn-outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

@media (max-width: 768px) {
    .cookie-banner {
        padding: 16px 0;
    }
    
    .cookie-banner-inner {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .cookie-banner-text {
        min-width: 0;
        text-align: left;
    }
    
    .cookie-banner-actions {
        justify-content: center;
    }
}

/* Passwort anzeigen/verbergen (Auge) */
.password-toggle-wrap {
    position: relative;
    display: block;
}
.password-toggle-wrap input {
    padding-right: 48px !important;
}
.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    color: var(--text-light);
    font-size: 18px;
    line-height: 1;
    transition: color 0.2s ease;
}
.password-toggle-btn:hover {
    color: var(--primary-color);
}
.password-toggle-btn:focus {
    outline: none;
}

