@charset "UTF-8";

/* Modern Bakery Style - Saf CSS Modernizasyon */
/* Original Fonts Restoration */
@font-face {
    font-family: 'yeniyazi';
    /* Script Font for "With Love" */
    src: url('../Ayarlar/SCRIPTBL.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'yeniyazi1';
    /* Body Font */
    src: url('../Ayarlar/paprika.regular.ttf') format('truetype');
    font-display: swap;
}

@font-face {
    font-family: 'yeniyazi3';
    /* Elegant Serif for Headers */
    src: url('../Ayarlar/Cormorant-Light.otf') format('opentype');
    font-display: swap;
}

:root {
    --primary-color: #452777;
    /* Existing Purple */
    --primary-hover: #351e5e;
    --accent-color: #eebb4d;
    /* Gold/Yellow bakery touch */
    --bg-color: #f9f9f9;
    --card-bg: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --white: #ffffff;

    /* Font Variables Mapped to Original Fonts with extended Turkish support */
    --font-heading: 'Cormorant Garamond', serif;
    --font-script: 'Fondamento', cursive;
    --font-body: 'Paprika', sans-serif;

    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 2rem;
    --border-radius: 12px;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(69, 39, 119, 0.15);
    --shadow-xl: 0 20px 40px rgba(69, 39, 119, 0.2);
    --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(255, 255, 255, 0.4);
}

/* Reset & Base */
html {
    scroll-behavior: smooth;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-hover);
}

body {
    font-family: var(--font-body);
    background: #fdfbf9 url('../page-bg.png') no-repeat center center fixed;
    background-size: contain;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography - Loading from Google Fonts for full Turkish (latin-ext) support */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,400&family=Fondamento&family=Inter:wght@400;500;600&family=Paprika&family=Playfair+Display:wght@400;700&display=swap');

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.2;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Specific Style for "Sevgiyle Hazırlıyoruz" (With Love) to match image */
.about h2 {
    font-family: var(--font-script);
    font-size: 4rem;
    font-weight: normal;
    color: var(--primary-color);
}

h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

/* Utilities */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-md);
}

.hover-lift {
    transition: var(--transition);
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-color) 0%, #7c4dff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

/* Header & Nav */
/* Navigation Deck (Floating Island) */
.nav-deck {
    position: fixed;
    top: 15px;
    left: 0;
    right: 0;
    z-index: 1000;
    pointer-events: none;
}

.deck-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    pointer-events: auto;
}

/* Deck Top (Mini Island) */
.deck-top {
    padding: 6px 20px;
    border-radius: 50px;
    display: flex;
    gap: 30px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.pulse-link {
    color: var(--accent-color);
    /* Bright Gold for visibility */
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.deck-lang {
    display: flex;
    gap: 12px;
}

.lang-item {
    color: var(--white);
    opacity: 0.6;
}

.lang-item.active {
    opacity: 1;
    color: var(--accent-color);
}

/* Deck Main (Big Island) */
.deck-main {
    width: 100%;
    padding: 12px 30px;
    border-radius: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.deck-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.deck-logo img {
    height: 48px;
}

.logo-stack {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
}

.logo-stack .brand {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--primary-color);
}

.logo-stack .sub {
    font-size: 0.7rem;
    letter-spacing: 5px;
    color: var(--accent-color);
    font-weight: 700;
}

/* Pill Navigation */
.nav-pill-group {
    display: flex;
    gap: 8px;
}

.nav-pill {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-color);
    transition: var(--transition);
}

.nav-pill:hover,
.nav-pill.active {
    background: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(69, 39, 119, 0.2);
}

/* Deck Right Tools */
.deck-right {
    display: flex;
    align-items: center;
    gap: 45px;
    /* Significantly increased for a cleaner look */
}

.deck-search {
    position: relative;
    display: flex;
    align-items: center;
}

#productSearch {
    width: 0;
    padding: 0;
    border: none;
    background: transparent;
    transition: var(--transition);
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--primary-color);
    outline: none;
}

.deck-search:focus-within #productSearch {
    width: 180px;
    padding: 0 10px;
    padding-left: 35px;
}

.search-trigger {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    position: absolute;
    left: 0;
}

.deck-cart {
    position: relative;
    color: var(--primary-color);
    padding: 10px;
    border-radius: 50%;
    background: rgba(69, 39, 119, 0.05);
    transition: var(--transition);
}

.deck-cart:hover {
    background: var(--accent-color);
    transform: scale(1.1);
}

.deck-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--primary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 800;
    border: 2px solid var(--white);
}

.deck-mobile-btn {
    display: none;
    width: 30px;
    height: 20px;
    flex-direction: column;
    justify-content: space-between;
    background: transparent;
    border: none;
    cursor: pointer;
}

.deck-mobile-btn span {
    width: 100%;
    height: 3px;
    background: var(--primary-color);
    border-radius: 10px;
}

@media (max-width: 992px) {
    .nav-pill-group {
        display: none;
    }

    .deck-mobile-btn {
        display: flex;
    }

    .deck-main {
        border-radius: 30px;
        padding: 8px 15px;
    }

    .deck-top {
        gap: 15px;
        padding: 5px 15px;
    }

    .deck-logo .logo-stack {
        display: none;
    }

    /* Simplify logo on mobile */
    .deck-right {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav-deck {
        top: 10px;
    }

    .deck-top {
        font-size: 0.75rem;
        width: 100%;
        justify-content: space-between;
        border-radius: 15px;
    }

    .deck-main {
        border-radius: 20px;
    }

    .deck-search:focus-within #productSearch {
        width: 120px;
        background: var(--white);
        border-radius: 30px;
        padding: 8px 15px;
        padding-left: 35px;
    }
}



/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 550px;
    display: flex;
    align-items: center;
    background: url('../images/Bakery.jpg') no-repeat center center/cover;
    overflow: hidden;
    margin-top: 170px;
    /* Pushes the image down below the menu area */
    border-radius: 40px;
    /* Modern touch to the section edges */
    margin-left: 15px;
    margin-right: 15px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.4) 0%, rgba(253, 251, 249, 0.4) 100%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Spinning Bread Animation */
.hero-image-container {
    perspective: 1000px;
    margin-bottom: 2rem;
}

.spinning-bread {
    width: 320px;
    height: auto;
    object-fit: contain;
    /* Multiply blend mode makes white background of the image transparent */
    mix-blend-mode: multiply;
    animation: curvedRollIn 3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards;
    filter: drop-shadow(10px 10px 20px rgba(0, 0, 0, 0.2));
}

@keyframes curvedRollIn {
    0% {
        opacity: 0;
        transform: translate(-120vw, -60vh) rotate(-1440deg) scale(0.3);
    }

    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0) scale(1);
    }
}

/* Subtle floating effect after entrance */
.spinning-bread {
    animation:
        curvedRollIn 3s cubic-bezier(0.25, 0.1, 0.25, 1) forwards,
        floatBread 4s ease-in-out infinite 3s;
}

@keyframes floatBread {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-15px) rotate(2deg);
    }
}

@media (max-width: 768px) {
    .spinning-bread {
        width: 250px;
        height: 250px;
    }
}

/* Buttons */
.btn-primary {
    background: var(--primary-color);
    color: var(--white);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(69, 39, 119, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(69, 39, 119, 0.3);
    background: var(--primary-hover);
    color: var(--white);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

/* Features Section */
.features {
    padding: 2rem 0;
    margin-top: -5rem;
    /* Pull up to overlap hero slightly */
    position: relative;
    z-index: 10;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.feature-card {
    padding: 2.5rem;
    text-align: center;
    border-radius: 30px;
}

.feature-card .iconify {
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.feature-card p {
    font-size: 1rem;
    color: var(--text-light);
}

@media (max-width: 992px) {
    .features-grid {
        grid-template-columns: 1fr;
    }

    .features {
        margin-top: 2rem;
    }
}

/* About Section */
.about {
    padding: 6rem 0;
    background: #ffffff url('../page-bg.png') no-repeat center center / contain;
    position: relative;
    overflow: hidden;
}

.section-topper {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    letter-spacing: 4px;
    color: var(--primary-color);
    margin-bottom: 1rem;
    opacity: 0.8;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-content {
    text-align: left;
}

.about-content p {
    margin-bottom: 2rem;
    color: var(--text-dark);
    font-size: 1.125rem;
    line-height: 1.8;
}

.about-content .note {
    padding-left: 1.5rem;
    border-left: 4px solid var(--accent-color);
    color: var(--text-light);
    font-style: italic;
    background: rgba(238, 187, 77, 0.05);
    padding: 1rem 1.5rem;
    border-radius: 0 12px 12px 0;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 40px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.about-image:hover img {
    transform: scale(1.02);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-top: 5px solid var(--accent-color);
    border-right: 5px solid var(--accent-color);
    border-radius: 0 40px 0 0;
    z-index: -1;
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 4rem;
    }

    .about-content {
        text-align: center;
    }

    .about-content .note {
        border-left: none;
        border-top: 4px solid var(--accent-color);
        border-radius: 0 0 12px 12px;
    }
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.social-icons a {
    color: var(--primary-color);
}

/* Products Grid */
.products {
    padding: 8rem 0;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 3rem;
}

.product-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.product-info {
    padding: 2rem;
    text-align: center;
}

.product-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.product-info p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.product-price {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-family: var(--font-heading);
}

.product-form {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    background: #f8f5f2;
    padding: 0.75rem;
    border-radius: 20px;
}

.qty-input {
    width: 50px;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
    text-align: center;
}

.btn-add {
    background: var(--primary-color);
    color: var(--white);
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.btn-add:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* Search Bar Focus */
#productSearch:focus {
    width: 250px !important;
    outline: none;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    left: 30px;
    /* Opposite side of cart/top buttons */
    background: #25d366;
    color: white;
    padding: 12px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.3);
    text-decoration: none;
    font-weight: 700;
}

.whatsapp-label {
    font-family: var(--font-body);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .whatsapp-label {
        display: none;
    }

    .whatsapp-float {
        padding: 12px;
        bottom: 20px;
        left: 20px;
    }
}



/* Contact Section & Footer */
.contact-footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 8rem 0 0;
    margin-top: 8rem;
    position: relative;
}

.contact-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to top, var(--primary-color), transparent);
    transform: translateY(-100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    padding-bottom: 6rem;
}

.footer-section h4 {
    color: var(--accent-color);
    font-size: 1.75rem;
    margin-bottom: 2rem;
}

.contact-info div {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-form {
    background: rgba(255, 255, 255, 0.05);
    padding: 2.5rem;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.footer-form input,
.footer-form textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1rem 1.5rem;
    color: white;
    font-family: var(--font-body);
    margin-bottom: 1.5rem;
    border-radius: 12px;
}

.footer-form input:focus,
.footer-form textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.15);
}

.footer-form button {
    height: auto;
    padding: 1rem;
    font-size: 1.1rem;
}

.copyright {
    padding: 2.5rem 0;
    font-size: 0.95rem;
}

/* Mobile Responsive */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    z-index: 1001;
}

@media (max-width: 992px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        justify-content: center;
        gap: 2rem;
        transition: var(--transition);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1000;
        padding: 2rem;
    }

    .nav-links.active {
        right: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .cart-icon {
        order: -1;
        margin-bottom: 2rem;
    }

    .language-switcher {
        display: none;
    }

    .top-bar .container {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about h2 {
        font-size: 3rem;
    }

    .hero {
        height: 50vh;
        min-height: 350px;
    }

    .hero-content {
        padding: 1.5rem;
        width: 90%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .contact-info div {
        justify-content: center;
    }

    .container {
        width: 92%;
        padding: 0 1rem;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .logo span {
        font-size: 1.25rem;
    }

    .logo img {
        height: 45px;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
}

/* Modern Bakery Style - Extra Features */

/* 1. Filter Buttons */
.filter-container {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-body);
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--primary-color);
    color: var(--white);
}

/* 2. Product Badges */
.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 4px;
    color: #fff;
    z-index: 10;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.badge.new {
    background-color: var(--accent-color);
    color: #2d1b4e;
}

.badge.bestseller {
    background-color: #ff6b6b;
}

.badge.chef {
    background-color: #2d1b4e;
}

/* 3. Star Ratings */
.rating {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.rating span {
    margin-right: 2px;
}

.sales-count {
    color: var(--text-light);
    font-size: 0.8rem;
    margin-left: 5px;
    font-weight: 400;
}

/* 4. Quick Cart / Toast Notification */
.toast-notification {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    z-index: 2000;
}

.toast-notification.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    font-size: 1.5rem;
    color: var(--accent-color);
}

/* 5. Sticky Header tweaks are already in modern.css but ensuring smooth transition */
header {
    transition: padding 0.3s ease;
}

header.sticky {
    box-shadow: var(--shadow-md);
    padding-bottom: 0.5rem;
}

/* Animating Filter Elements */
.product-card {
    transition: all 0.4s ease;
}

.product-card.hidden {
    display: none;
    transform: scale(0.9);
    opacity: 0;
}


.detail-link {
    display: inline-block;
    color: var(--primary-color);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
    margin-bottom: 1rem;
    transition: var(--transition);
    opacity: 0.8;
}

.detail-link:hover {
    color: var(--accent-color);
    opacity: 1;
    transform: translateY(-1px);
}

/* Product Image Slider */
/* Improved Slider Styling - Premium Modern Look */
.product-image-slider {
    position: relative;
    width: 100%;
    /* Modern 1:1 Square aspect ratio like Instagram */
    aspect-ratio: 1 / 1;
    height: auto;
    overflow: hidden;
    /* Warm premium background to make 'contain' look framed */
    background: radial-gradient(circle at center, #ffffff 0%, #f8f5f2 100%);
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    /* Smooth eased transition */
}

.slider-slide {
    min-width: 100%;
    height: 100%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.product-image-slider:hover .slider-slide img {
    transform: scale(1.05);
    /* Subtle zoom on hover */
}

.slider-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
    background: rgba(255, 255, 255, 0.6);
    padding: 5px 8px;
    border-radius: 10px;
    backdrop-filter: blur(2px);
}

.slider-dot {
    width: 10px;
    height: 10px;
    background-color: transparent;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s;
}

.slider-dot:hover {
    background-color: rgba(69, 39, 119, 0.4);
}

.slider-dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}


/* Improved Slider Styling Overrides Removed - consolidated above */

/* Slider Arrows */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    color: var(--primary-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.3s;
}

.product-image-slider:hover .slider-arrow {
    opacity: 1;
}

.slider-arrow.prev {
    left: 10px;
}

.slider-arrow.next {
    right: 10px;
}

.slider-arrow:hover {
    background: var(--primary-color);
    color: white;
}

/* Touch & Grab Support */
.product-image-slider {
    cursor: grab;
    touch-action: pan-y;
    /* Allow vertical scroll, capture horizontal */
    user-select: none;
    /* Prevent image highlighting while dragging */
}

.product-image-slider:active {
    cursor: grabbing;
}

.slider-track {
    display: flex;
    height: 100%;
    /* Remove transition here to handle it in JS for dragging, 
       we will add it back via JS when releasing */
    transition: transform 0.3s ease-out;
}