/* assets/css/style.css */
/* Narin Pasta — Modern Botanical Theme */

:root {
    --primary: #5c2a32;
    --primary-light: #8a4550;
    --primary-dark: #3d1a21;
    --accent: #c45c6a;
    --accent-hover: #a94856;
    --accent-light: #ffeef1;
    --accent-green: #c4a574;
    --bg-cream: #fff8f6;
    --bg-soft: #ffeff2;
    --bg-white: #ffffff;
    --text-dark: #2a1a1c;
    --text-muted: #7a6568;
    --text: #2a1a1c;
    --border-color: #f0ddd8;
    --success: #5c2a32;
    --danger: #e05a6d;
    --gold: #c4a574;
    --font-sans: 'Nunito', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --font-serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-pill: 999px;
    --shadow-sm: 0 2px 10px rgba(92, 42, 50, 0.06);
    --shadow-md: 0 8px 28px rgba(92, 42, 50, 0.1);
    --shadow-lg: 0 20px 48px rgba(92, 42, 50, 0.12);
    --shadow-card: 0 4px 20px rgba(92, 42, 50, 0.07);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --glass: rgba(255, 255, 255, 0.86);
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--bg-cream);
    background-image:
        radial-gradient(ellipse 80% 50% at 15% -10%, rgba(196, 92, 106, 0.12) 0%, transparent 55%),
        radial-gradient(ellipse 55% 40% at 95% 5%, rgba(196, 165, 116, 0.14) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 100%, rgba(92, 42, 50, 0.04) 0%, transparent 60%);
    color: var(--text-dark);
    line-height: 1.6;
    letter-spacing: -0.011em;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-cream);
}
::-webkit-scrollbar-thumb {
    background: var(--primary-light);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Announcement Bar */
.announcement-bar {
    background: linear-gradient(90deg, var(--primary-dark) 0%, var(--primary) 50%, var(--accent) 100%);
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    padding: 0.5rem 1rem;
    font-weight: 500;
    letter-spacing: 0.2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

/* Trust Bar */
.trust-bar {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.65rem 1.5rem;
    margin-bottom: 0;
}

.trust-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.trust-item i {
    font-size: 1.25rem;
    color: var(--accent);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.trust-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    line-height: 1.3;
}

.trust-item span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .trust-bar {
        padding: 0.5rem 0.75rem;
        margin-bottom: 0;
    }
    .trust-bar-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem 0.65rem;
        overflow: visible;
    }
    .trust-item {
        min-width: 0;
        gap: 0.5rem;
    }
    .trust-item i {
        font-size: 1rem;
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    .trust-item strong { font-size: 0.72rem; line-height: 1.25; }
    .trust-item span { font-size: 0.65rem; line-height: 1.3; }
}

/* Why Us Section */
.why-us-section {
    max-width: 1200px;
    margin: 0 auto 1.25rem auto;
    padding: 0 1.5rem;
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.why-us-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.why-us-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(201, 107, 122, 0.25);
}

.why-us-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, var(--accent-light) 0%, rgba(196, 165, 116, 0.22) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.85rem auto;
    font-size: 1.2rem;
    color: var(--accent);
}

.why-us-card h4 {
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.why-us-card p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
}

@media (max-width: 1024px) {
    .why-us-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 576px) {
    .why-us-grid { grid-template-columns: 1fr; }
}

/* Header & Navigation
   backdrop-filter is intentionally omitted: it creates a containing block
   that traps position:fixed mobile nav inside the header (~header height). */
header {
    background: rgba(255, 248, 246, 0.97);
    border-bottom: 1px solid rgba(240, 221, 216, 0.9);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.6) inset;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
}

.logo a {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.01em;
}

.logo a i {
    color: var(--accent) !important;
}

.logo-icon {
    font-size: 1.6rem;
}

/* Desktop Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-dark);
    position: relative;
    padding: 0.25rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: var(--transition);
}

nav a:hover, nav a.active {
    color: var(--accent);
}

nav a:hover::after, nav a.active::after {
    width: 100%;
    background-color: var(--accent);
}

/* Navigation Dropdown */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    list-style: none;
    min-width: 200px;
    display: none;
    padding: 0.5rem 0;
    z-index: 110;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu a {
    padding: 0.5rem 1.25rem;
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    text-align: left;
}

.dropdown-menu a::after {
    display: none;
}

.dropdown-menu a:hover {
    background-color: var(--accent-light);
    color: var(--accent-hover);
}

@media (min-width: 769px) {
    .dropdown:hover .dropdown-menu {
        display: block;
    }
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}

.cart-icon-btn {
    position: relative;
    font-size: 1.2rem;
    cursor: pointer;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cart-icon-btn:hover {
    background-color: var(--accent-light);
    border-color: rgba(201, 107, 122, 0.3);
    color: var(--accent);
}

.cart-count {
    position: absolute;
    top: 2px;
    right: 2px;
    background-color: var(--danger);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.mobile-menu-toggle:hover {
    background-color: rgba(27, 67, 50, 0.05);
}

/* Responsive Navigation Breakpoint */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        left: 0;
        width: min(100%, 360px);
        height: 100%;
        height: 100dvh;
        padding-top: 5.25rem;
        padding-left: env(safe-area-inset-left);
        background-color: var(--bg-white);
        z-index: 98;
        transform: translateX(-100%);
        transition: var(--transition);
        border-right: 1px solid var(--border-color);
        box-shadow: var(--shadow-lg);
        overflow-y: auto;
    }

    nav.nav-active {
        transform: translateX(0);
    }
    body.has-sticky-buy nav,
    body.has-sticky-checkout nav {
        padding-bottom: 5.75rem;
    }

    nav ul {
        flex-direction: column;
        padding: 2rem 1.5rem;
        gap: 1.5rem;
    }

    nav a {
        font-size: 1.1rem;
        display: block;
        width: 100%;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        background-color: transparent;
        display: block;
        padding-left: 1.5rem;
        padding-top: 0.5rem;
    }
    
    .dropdown-menu a {
        font-size: 0.95rem;
        padding: 0.35rem 0;
    }
}

/* Hero / Banner */
.hero-section {
    background: linear-gradient(160deg, var(--bg-soft) 0%, var(--bg-cream) 45%, rgba(248, 232, 235, 0.5) 100%);
    padding: 4.5rem 1.5rem 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.hero-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.45;
    pointer-events: none;
}

.hero-blob-1 {
    width: 320px;
    height: 320px;
    background: rgba(201, 107, 122, 0.35);
    top: -80px;
    right: -60px;
}

.hero-blob-2 {
    width: 280px;
    height: 280px;
    background: rgba(143, 184, 158, 0.4);
    bottom: -100px;
    left: -80px;
}

.hero-content {
    max-width: 720px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-pill);
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    color: var(--accent-green);
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.2;
    margin-bottom: 1.25rem;
    letter-spacing: -0.025em;
}

.hero-title--brand {
    font-size: clamp(2.4rem, 6.5vw, 3.6rem);
    margin-bottom: 0.55rem;
    color: var(--primary);
}

.hero-subtitle-line {
    font-family: var(--font-sans);
    font-size: clamp(1.05rem, 2.4vw, 1.35rem);
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.85rem;
    line-height: 1.35;
}

.hero-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 1.1rem;
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

.hero-proof {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.4rem;
    list-style: none;
    padding: 0;
    margin: 0 auto 1.15rem;
    max-width: 540px;
}

.hero-proof li {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-dark);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.28rem 0.7rem;
}

.hero-section.hero-section--ads {
    padding: 2rem 1.25rem 1.5rem;
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .hero-section.hero-section--ads {
        padding: 1.4rem 1rem 1.1rem;
    }
    .hero-section--ads .hero-title {
        font-size: 1.55rem;
    }
}

.hero-section--ads .hero-title {
    font-size: clamp(1.55rem, 4.4vw, 2.35rem);
    margin-bottom: 0.7rem;
}

.hero-section--ads .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 0.85rem;
}

.hero-section--ads .hero-chip {
    margin-bottom: 0.7rem;
}

.trust-bar--ads {
    margin: 0.35rem auto 0.5rem;
    padding: 0 1rem;
    max-width: 1200px;
}
.trust-bar-inner--ads {
    display: flex;
    justify-content: center;
    gap: 0.45rem;
    flex-wrap: wrap;
}
.trust-bar--ads .trust-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.32rem 0.7rem;
    margin: 0;
}
.trust-bar--ads .trust-item i {
    font-size: 0.78rem;
    color: var(--accent);
}
.trust-bar--ads .trust-item strong {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--primary-dark);
}

@media (max-width: 768px) {
    .hero-section--ads .hero-subtitle {
        display: none;
    }
    .hero-section--ads .hero-proof {
        display: none;
    }
    .hero-section--ads .hero-desc {
        font-size: 0.88rem;
        line-height: 1.45;
        margin-bottom: 0.55rem;
    }
}

.ads-landing-urgency {
    max-width: 1200px;
    margin: 0.65rem auto 0.15rem;
    padding: 0 1.5rem;
}
.ads-landing-urgency .same-day-notice {
    margin-bottom: 0.5rem;
}

@media (max-width: 900px) {
    .trust-bar-inner--4 {
        grid-template-columns: 1fr 1fr;
    }
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    padding: 0.9rem 2rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.95rem;
    box-shadow: 0 4px 20px rgba(201, 107, 122, 0.35);
    transition: var(--transition);
}

.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(201, 107, 122, 0.45);
    color: #fff;
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 1.8rem;
    }
    .hero-section {
        padding: 3rem 1rem;
    }
}

/* Popular Categories */
.section-title {
    text-align: center;
    font-family: var(--font-serif);
    color: var(--primary-dark);
    font-size: clamp(1.6rem, 3vw, 2.1rem);
    margin-bottom: 0.35rem;
    letter-spacing: -0.02em;
}

.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.categories-container {
    max-width: 1200px;
    margin: 0 auto 3rem auto;
    padding: 0 1.5rem;
}

/* horizontal categories layout on mobile */
.categories-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    width: 100%;
}

@media (max-width: 768px) {
    .categories-grid {
        justify-content: flex-start;
        flex-wrap: nowrap;
        overflow-x: auto;
        padding-bottom: 0;
        gap: 1rem;
        -webkit-overflow-scrolling: touch;
    }
    /* Hide scrollbar but keep scroll functionality */
    .categories-grid::-webkit-scrollbar {
        display: none;
    }
}

.category-circle-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    flex-shrink: 0; /* Prevents compression on mobile */
}

.category-circle-wrapper {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, var(--bg-white) 0%, var(--bg-soft) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    font-size: 1.7rem;
    transition: var(--transition);
}

.category-circle-card:hover .category-circle-wrapper {
    transform: translateY(-4px) scale(1.04);
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 8px 24px rgba(201, 107, 122, 0.3);
}

.category-circle-name {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--text-dark);
}

/* Products Section */
.products-section {
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 1.5rem;
}

.products-grid--category {
    margin-bottom: 4rem;
}

.category-header {
    border-left: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--border-color);
}

.category-header h3 {
    font-family: var(--font-sans);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    position: relative;
    padding-left: 0.75rem;
    letter-spacing: -0.02em;
}

.category-header h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.15em;
    bottom: 0.15em;
    width: 3px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-green));
    border-radius: 2px;
}

/* Products Grid: 4 columns on desktop, 2 columns on mobile */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
    width: 100%;
}

@media (max-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .products-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.65rem;
    }
}

/* Product Card */
.product-card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(201, 107, 122, 0.2);
}

.product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: white;
    font-size: 0.68rem;
    font-weight: 700;
    padding: 0.3rem 0.65rem;
    border-radius: var(--radius-pill);
    z-index: 5;
    box-shadow: 0 2px 8px rgba(201, 107, 122, 0.35);
}

.product-image-container {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    position: relative;
    background: linear-gradient(145deg, var(--bg-soft) 0%, #eee8e3 100%);
    width: 100%;
}

.product-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
    transition: transform 0.5s ease;
}

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

.product-details {
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-title {
    font-family: var(--font-sans);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.45rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 2.8em;
    letter-spacing: -0.02em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.product-title a {
    display: block;
}

.product-serving {
    margin: -0.15rem 0 0.45rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

.serving-picker {
    margin-bottom: 1rem;
}

.serving-options {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 0.55rem;
}

.serving-option {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 0.7rem 0.75rem;
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.serving-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.serving-option__label {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.3;
}

.serving-option__price {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--accent);
}

.serving-option:hover,
.serving-option.is-selected {
    border-color: var(--accent);
    background: var(--accent-light);
    box-shadow: var(--shadow-sm);
}

.cart-card__serving,
.checkout-item-serving {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
}

.detail-serving {
    margin: -0.15rem 0 0.85rem;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.product-price-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.old-price {
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.8rem;
}

.current-price {
    color: var(--accent-hover);
    font-weight: 700;
    font-size: 1.05rem;
}

.product-card-btn {
    width: 100%;
    background: var(--primary-dark);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    border: none;
    padding: 0.65rem 1rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    display: block;
    margin-top: auto;
}

.product-card-btn:hover {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
}
.product-card-btn--disabled,
.product-card-btn--disabled:hover {
    background: #c5d0cb !important;
    color: #5b6b64 !important;
    -webkit-text-fill-color: #5b6b64;
    cursor: default;
    pointer-events: none;
}

.product-wa-help {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.45;
}
.product-wa-help a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.easy-wa {
    margin: 0.65rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.45;
}
.easy-wa a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cart-container > .easy-wa,
.checkout-box > .easy-wa {
    margin: 0.15rem 0 1rem;
}
.hero-content .easy-wa {
    margin: -0.85rem 0 1.35rem;
    text-align: center;
    font-size: 0.88rem;
}

.product-delivery-tag {
    font-size: 0.72rem;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.product-trust-strip {
    margin-top: 2rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
}

.product-trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    background: var(--accent-light);
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(201, 107, 122, 0.12);
}

.product-trust-item i {
    color: var(--accent);
    font-size: 0.95rem;
}

@media (max-width: 480px) {
    .product-trust-strip {
        grid-template-columns: 1fr;
    }
}

/* Aynı gün teslimat aciliyet bandı */
.same-day-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    margin-bottom: 1.25rem;
    padding: 0.85rem 1rem;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(58, 82, 72, 0.08) 0%, rgba(143, 184, 158, 0.15) 100%);
    border: 1px solid rgba(58, 82, 72, 0.15);
    color: var(--primary-dark);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 1.45;
}

.same-day-notice i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.same-day-notice--compact {
    margin-bottom: 1rem;
    font-size: 0.88rem;
}

.checkout-grid > .same-day-notice,
.checkout-grid > .order-steps,
.checkout-grid > .pay-howto {
    grid-column: 1 / -1;
}

/* Ürün — Bugün / Yarın hızlı teslimat */
.delivery-quick-pick {
    margin-bottom: 0.75rem;
}

.delivery-other-date {
    margin: 0.5rem 0 0.15rem;
}

.delivery-other-date__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0.55rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--primary-dark);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    list-style: none;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.delivery-other-date__btn::-webkit-details-marker {
    display: none;
}

.delivery-other-date__btn::marker {
    content: '';
    font-size: 0;
}

.delivery-other-date__btn i {
    color: var(--accent);
    font-size: 0.85rem;
    flex-shrink: 0;
}

.delivery-other-date__chevron {
    margin-left: 0.1rem;
    transition: transform 0.15s ease;
}

.delivery-other-date__btn:hover,
.delivery-other-date.is-active .delivery-other-date__btn,
.delivery-other-date[open] .delivery-other-date__btn {
    border-color: var(--primary);
    background: rgba(58, 82, 72, 0.08);
}

.delivery-other-date[open] .delivery-other-date__btn {
    margin-bottom: 0.45rem;
}

.delivery-other-date[open] .delivery-other-date__chevron {
    transform: rotate(180deg);
}

.delivery-other-date:not([open]) > :not(summary) {
    display: none !important;
}

.delivery-quick-pick__label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.delivery-quick-pick__buttons {
    display: flex;
    gap: 0.5rem;
}

.delivery-quick-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    min-height: 44px;
    min-width: 0;
    max-width: 100%;
    padding: 0.55rem 0.75rem;
    flex: 1 1 0;
    border-radius: var(--radius-pill);
    border: 2px solid var(--border-color);
    background: var(--bg-white);
    color: var(--primary-dark);
    font-family: var(--font-sans);
    font-size: 0.88rem;
    font-weight: 600;
    line-height: 1;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}

.delivery-quick-btn i {
    color: var(--accent);
    font-size: 0.85rem;
    width: 1em;
    height: 1em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    flex-shrink: 0;
}

.delivery-quick-btn.is-active,
.delivery-quick-btn:hover {
    border-color: var(--primary);
    background: rgba(58, 82, 72, 0.08);
    color: var(--primary-dark);
}

.delivery-quick-btn.is-active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.delivery-quick-btn.is-active i {
    color: #fff;
}

.product-order-actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex-grow: 1;
}

.product-order-actions .product-card-btn--instant {
    padding: 0.85rem;
    font-size: 1.1rem;
    width: 100%;
    margin: 0;
}

.product-order-actions .product-card-btn--secondary {
    padding: 0.75rem;
    font-size: 0.95rem;
    width: 100%;
    margin: 0;
}

.order-extras {
    margin: 0.45rem 0 0;
    border: none;
    border-radius: var(--radius-sm);
    background: transparent;
    padding: 0;
}
.order-extras > summary {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    cursor: pointer;
    list-style: none;
    min-height: 52px;
    padding: 0.7rem 0.85rem;
    border: 1.5px solid #c9ddd0;
    border-radius: var(--radius-sm);
    background: #f3f7f4;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
    -webkit-tap-highlight-color: transparent;
}
.order-extras > summary::-webkit-details-marker {
    display: none;
}
.order-extras > summary::after {
    content: "\f078";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 0.78rem;
    color: var(--primary);
    margin-left: auto;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}
.order-extras[open] > summary::after {
    transform: rotate(180deg);
}
.order-extras__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.15rem;
    height: 2.15rem;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.order-extras--note .order-extras__icon {
    background: #3a5248;
}
.order-extras--addons .order-extras__icon {
    background: var(--accent);
}
.order-extras__text {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-dark);
    line-height: 1.2;
}
.order-extras__hint {
    font-weight: 600;
    font-size: 0.75rem;
    color: #2f6b45;
    background: #e4f3ea;
    border-radius: 999px;
    padding: 0.18rem 0.5rem;
    white-space: nowrap;
}
.order-extras[open] > summary {
    border-color: var(--primary);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    margin-bottom: 0;
}
.order-extras[open] {
    border: 1.5px solid var(--primary);
    border-radius: var(--radius-sm);
    background: #fff;
    padding: 0 0 0.65rem;
}
.order-extras[open] > summary {
    border: none;
    background: #eef5f1;
}
.order-extras .order-addons {
    margin: 0 0 0.4rem;
    padding: 0;
    border: none;
    box-shadow: none;
}
.order-extras[open] .form-group,
.order-extras[open] .order-addons {
    padding: 0.65rem 0.85rem 0;
}

.detail-desc {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-card-btn--instant {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%) !important;
    color: #fff !important;
    -webkit-text-fill-color: #fff;
    border: none !important;
    box-shadow: 0 4px 16px rgba(58, 82, 72, 0.25);
}

.product-card-btn--instant:hover {
    filter: brightness(1.05);
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

.product-card-btn--instant i {
    color: #fff;
}

.product-card-btn--secondary {
    background: var(--bg-white) !important;
    color: var(--primary) !important;
    -webkit-text-fill-color: var(--primary);
    border: 2px solid var(--primary) !important;
    box-shadow: none !important;
}

.product-card-btn--secondary:hover {
    background: var(--bg-soft) !important;
    color: var(--primary-dark) !important;
}

/* Ödeme — sipariş takip numarası */
.order-tracking-notice {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin: 0 0 1.5rem;
    padding: 1.1rem 1.25rem;
    border-radius: var(--radius-md);
    background: linear-gradient(135deg, #eef8f1 0%, #f5faf7 100%);
    border: 2px solid rgba(58, 82, 72, 0.2);
    box-shadow: var(--shadow-sm);
}

.order-tracking-notice__icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.order-tracking-notice__title {
    font-size: 1.05rem;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
    line-height: 1.4;
}

.order-tracking-notice__title strong {
    color: var(--primary);
    font-size: 1.12rem;
    letter-spacing: 0.02em;
}

.order-tracking-notice__hint {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 0;
}
.payment-card > .order-tracking-notice {
    margin: 0.7rem 1.15rem 0;
    padding: 0.7rem 0.85rem;
    gap: 0.7rem;
}
.payment-card > .order-tracking-notice .order-tracking-notice__icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
}
.payment-card > .order-tracking-notice .order-tracking-notice__title {
    font-size: 0.95rem;
    margin-bottom: 0.15rem;
}

.order-tracking-notice__wa {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-pill);
    background: #25d366;
    color: #fff !important;
    font-size: 0.85rem;
    font-weight: 600;
}

.order-tracking-notice__wa:hover {
    background: #1da851;
    color: #fff !important;
}

/* Mobile grids card adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem 1.5rem;
        margin-bottom: 0.5rem;
    }

    .announcement-bar {
        font-size: 0.82rem;
        line-height: 1.45;
        padding: 0.55rem 0.75rem;
    }

    .products-section {
        padding: 0.65rem 0.65rem 0;
        margin-top: 0;
    }

    .products-section > .category-header:first-child {
        margin-top: 0;
    }

    .category-header {
        flex-wrap: wrap;
        gap: 0.5rem;
        align-items: center;
        margin-bottom: 0.75rem;
        padding-bottom: 0.5rem;
    }

    .category-see-all {
        font-size: 0.8rem;
        white-space: nowrap;
    }

    .category-header h3 {
        font-size: 1.15rem;
    }

    .product-image-container {
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
    }

    .product-details {
        padding: 0.7rem 0.6rem 0.75rem;
    }

    .product-title {
        font-size: 1rem;
        -webkit-line-clamp: 3;
        min-height: auto;
        margin-bottom: 0.4rem;
        line-height: 1.5;
        letter-spacing: -0.015em;
    }

    .product-price-row {
        flex-wrap: wrap;
        gap: 0.35rem;
        margin-bottom: 0.5rem;
    }

    .current-price {
        font-size: 0.9rem;
    }

    .old-price {
        font-size: 0.7rem;
    }

    .product-card-btn {
        padding: 0.5rem 0.35rem;
        font-size: 0.75rem;
    }

    .product-card:hover {
        transform: none;
    }

    .product-card:hover .product-image-container img {
        transform: none;
    }

    .product-badge {
        font-size: 0.62rem;
        padding: 0.2rem 0.45rem;
        top: 6px;
        left: 6px;
    }

    .why-us-section {
        padding: 0 0.65rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 380px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .product-image-container {
        aspect-ratio: 4 / 3;
        max-height: 220px;
    }
}

/* Product Detail Page */
.detail-container {
    max-width: 1200px;
    margin: 1.5rem auto 4rem auto;
    padding: 0 1.5rem;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .detail-container {
        grid-template-columns: 1fr;
        padding: 0 0.75rem;
        gap: 1.25rem;
        margin-top: 1rem;
    }

    .detail-info-box {
        padding: 1.25rem;
    }

    .detail-title {
        font-size: 1.35rem;
    }

    .detail-form {
        padding-right: 0.15rem;
        padding-bottom: 4.5rem;
    }
}

.detail-img-box {
    background: linear-gradient(145deg, var(--bg-soft) 0%, var(--bg-white) 100%);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    min-height: 320px;
    aspect-ratio: 1 / 1;
    max-height: min(520px, 70vh);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    position: sticky;
    top: 5.5rem;
}
.detail-img-box.product-gallery {
    flex-direction: column;
    aspect-ratio: auto;
    max-height: none;
    gap: 0.65rem;
    padding-bottom: 0.85rem;
}
.detail-img-box.product-gallery .detail-img-zoom-btn {
    aspect-ratio: 1 / 1;
    max-height: min(480px, 58vh);
    flex: 1 1 auto;
}
.product-gallery-thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.4rem;
    width: 100%;
    padding: 0 0.15rem;
}
.product-gallery-thumb {
    border: 2px solid transparent;
    border-radius: 8px;
    padding: 0;
    overflow: hidden;
    background: #f3f4f6;
    cursor: pointer;
    aspect-ratio: 1 / 1;
}
.product-gallery-thumb.is-active {
    border-color: var(--primary, #1b4332);
}
.product-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 768px) {
    .detail-img-box {
        position: static;
        width: 100%;
        max-height: none;
        height: auto;
        min-height: 0;
        aspect-ratio: 1 / 1;
        padding: 0;
        border-radius: var(--radius-md);
    }
    .detail-img-box.product-gallery {
        aspect-ratio: auto;
        height: auto;
        max-height: none;
        gap: 0.55rem;
        padding: 0 0 0.55rem;
    }
    .detail-img-box.product-gallery .detail-img-zoom-btn {
        width: 100%;
        flex: 0 0 auto;
        aspect-ratio: 1 / 1;
        max-height: none;
        height: auto;
        min-height: min(72vw, 360px);
    }
    .detail-img-box img,
    .detail-img-zoom-btn {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .detail-img-zoom-btn img {
        width: 100%;
        height: 100%;
        max-height: none;
        object-fit: cover;
    }
    .product-gallery-thumbs {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 0.45rem;
        padding: 0 0.35rem;
    }
    .product-gallery-thumb {
        min-height: 64px;
        touch-action: manipulation;
    }
}

@media (max-width: 480px) {
    .detail-img-box {
        min-height: 0;
        height: auto;
        max-height: none;
        padding: 0;
    }
    .detail-img-box.product-gallery .detail-img-zoom-btn {
        min-height: min(88vw, 340px);
    }
}

.detail-img-zoom-btn {
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    background: transparent;
    cursor: zoom-in;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-img-zoom-btn img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
    display: block;
    pointer-events: none;
}

.detail-img-zoom-hint {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-pill);
    background: rgba(42, 59, 52, 0.78);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    pointer-events: none;
    opacity: 0;
    transform: translateY(4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.detail-img-zoom-btn:hover .detail-img-zoom-hint,
.detail-img-zoom-btn:focus-visible .detail-img-zoom-hint {
    opacity: 1;
    transform: translateY(0);
}

.detail-img-zoom-btn:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

@media (max-width: 768px) {
    .detail-img-zoom-hint {
        opacity: 0.92;
        transform: none;
    }
}

.detail-info-box {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.detail-title {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
    line-height: 1.25;
    letter-spacing: -0.025em;
}

.detail-desc {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

.detail-form {
    display: grid;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.form-group label {
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-control {
    width: 100%;
    padding: 0.65rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--text-dark);
    outline: none;
    transition: var(--transition);
}

input[type="date"].form-control {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 48px;
    line-height: 1.25;
    color: var(--text-dark);
    -webkit-text-fill-color: var(--text-dark);
    color-scheme: light;
}

input[type="date"].form-control::-webkit-datetime-edit,
input[type="date"].form-control::-webkit-datetime-edit-fields-wrapper,
input[type="date"].form-control::-webkit-datetime-edit-text,
input[type="date"].form-control::-webkit-datetime-edit-month-field,
input[type="date"].form-control::-webkit-datetime-edit-day-field,
input[type="date"].form-control::-webkit-datetime-edit-year-field,
input[type="date"].form-control::-webkit-date-and-time-value {
    color: var(--text-dark);
    -webkit-text-fill-color: var(--text-dark);
    text-align: left;
}

input[type="date"].form-control::-webkit-date-and-time-value {
    margin: 0;
    min-height: 1.25em;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
    margin: 0;
    padding: 0;
    opacity: 0.55;
    filter: grayscale(1);
}

.form-control:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 107, 122, 0.15);
}

/* Cart Page Responsiveness */
.cart-container {
    max-width: 1200px;
    margin: 1.5rem auto 4rem auto;
    padding: 0 1.5rem;
}

.cart-table-wrapper {
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
}

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

.cart-table th {
    background-color: var(--primary);
    color: white;
    padding: 1rem;
    font-weight: 500;
    font-size: 0.9rem;
}

.cart-table td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
    font-size: 0.9rem;
}

.cart-product-cell {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.cart-product-img {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-sm);
    object-fit: cover;
    background-color: var(--bg-soft);
}

.cart-product-info h4 {
    font-family: var(--font-sans);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.45;
    letter-spacing: -0.015em;
}

.cart-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    color: var(--accent-hover);
    font-weight: 600;
    cursor: pointer;
    background: var(--accent-light);
    border: 1px solid rgba(201, 107, 122, 0.22);
    border-radius: var(--radius-pill);
    font-size: 0.82rem;
    font-family: var(--font-sans);
    padding: 0.4rem 0.75rem;
    min-height: 36px;
    transition: var(--transition);
}

.cart-remove-btn:hover {
    text-decoration: none;
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
}

.quantity-control {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-white);
    width: max-content;
    overflow: hidden;
}

.qty-btn {
    background-color: var(--bg-soft);
    border: none;
    color: var(--primary-dark);
    width: 32px;
    height: 32px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    font-family: var(--font-sans);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.qty-btn:hover {
    background-color: var(--accent-light);
    color: var(--accent);
}

.qty-input {
    width: 35px;
    height: 28px;
    border: none;
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
}

/* Mobil Sepet Görünümü */
@media (max-width: 768px) {
    .cart-table-wrapper {
        border: none;
        box-shadow: none;
        background: transparent;
    }

    .cart-table, .cart-table tbody, .cart-table tr, .cart-table td {
        display: block;
        width: 100%;
    }

    .cart-table thead {
        display: none;
    }

    .cart-table tr {
        background-color: white;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-md);
        margin-bottom: 1rem;
        padding: 0.5rem;
        box-shadow: var(--shadow-sm);
    }

    .cart-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px dashed #f3f4f6;
        padding: 0.75rem 0.5rem;
    }

    .cart-table td:last-child {
        border-bottom: none;
    }

    .cart-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--primary);
        font-size: 0.8rem;
        text-transform: uppercase;
    }

    .cart-table td:first-child {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .cart-table td:first-child::before {
        display: none;
    }

    .cart-product-cell {
        width: 100%;
    }
}

.cart-summary-box {
    max-width: 400px;
    margin-left: auto;
    margin-bottom: 0;
    background-color: white;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.cart-container .cross-sell-section {
    margin-top: 3rem;
    padding-left: 0;
    padding-right: 0;
}

@media (max-width: 768px) {
    .cart-summary-box {
        max-width: 100%;
    }
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.summary-total {
    border-top: 1px solid var(--border-color);
    padding-top: 0.75rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
}

/* Checkout Page Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 1.5rem auto 4rem auto;
    padding: 0 1.5rem;
}

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

.checkout-box {
    background-color: white;
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.checkout-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    color: var(--primary);
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.checkout-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
    min-width: 0;
}

.checkout-group--order {
    grid-template-columns: minmax(100px, 120px) minmax(0, 1fr);
    align-items: end;
}

@media (max-width: 768px) {
    .checkout-group {
        grid-template-columns: 1fr;
        margin-bottom: 0;
    }

    .checkout-group--order {
        grid-template-columns: 1fr;
    }

    .checkout-group .form-group {
        margin-bottom: 1rem;
    }
}

/* Payment Page & IBAN Overflow Prevention */
.payment-wrapper {
    max-width: 700px;
    margin: 2rem auto 4rem auto;
    padding: 0 1rem;
}

.payment-card {
    background-color: white;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.payment-header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: white;
    padding: 1.5rem;
    text-align: center;
}

.payment-header h2 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
}

.payment-header .order-no {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-top: 0.25rem;
}

.payment-body {
    padding: 1.15rem 1.15rem 1.5rem;
}

.instruction-alert {
    background-color: #fffbeb;
    border-left: 3px solid var(--gold);
    color: #b45309;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    margin-bottom: 0.85rem;
    font-weight: 500;
}

/* bank details responsive layout */
.bank-details-box {
    border: 1px solid #d8e4dc;
    border-radius: 12px;
    padding: 0;
    margin-bottom: 1.25rem;
    background-color: #fff;
    overflow: hidden;
}
.bank-details-head {
    padding: 0.95rem 1.15rem 0.8rem;
    background: #f3f7f4;
    border-bottom: 1px solid #e5eee8;
}
.bank-details-head strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
}
.bank-details-head span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.bank-detail-row {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0.85rem 1.15rem;
    border-bottom: 1px solid #f3f4f6;
    gap: 0.35rem;
}

.bank-detail-row:last-child {
    border-bottom: none;
}

.bank-detail-row--iban {
    background: #f8fbf9;
}

.bank-label {
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--text-muted);
    min-width: 0;
}

.iban-canvas-container {
    display: flex;
    align-items: stretch;
    gap: 0.65rem;
    width: 100%;
}

.iban-text {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    line-height: 1.45;
    color: #1b4332;
    letter-spacing: 0.01em;
    word-break: break-word;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.iban-text--iban {
    flex: 1;
    min-width: 0;
    font-family: ui-monospace, "SFMono-Regular", "Cascadia Mono", "Segoe UI Mono", Consolas, monospace;
    font-size: 0.95rem;
    letter-spacing: 0.03em;
    background: #f3f7f4;
    border: 1px solid #d8e4dc;
    border-radius: var(--radius-sm);
    padding: 0.8rem 0.9rem;
    user-select: all;
    -webkit-user-select: all;
}

.copy-btn--iban {
    flex-shrink: 0;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
}
.iban-fallback {
    margin: 0.65rem 0 0;
    padding: 0.7rem 0.85rem;
    border-radius: 10px;
    background: #fffbeb;
    border: 1px solid #fde68a;
    color: var(--primary-dark);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    word-break: break-all;
    user-select: all;
}
.iban-fallback em {
    display: block;
    margin-top: 0.3rem;
    font-style: normal;
    font-weight: 600;
    letter-spacing: 0;
    color: var(--text-muted);
    font-size: 0.78rem;
}

.pay-ref {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem 1.15rem;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px solid #fde68a;
}
.pay-ref__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.85rem;
    flex-wrap: wrap;
}
.pay-ref .copy-btn {
    padding: 0.6rem 0.9rem;
    border-radius: var(--radius-sm);
}

.copy-btn--payall {
    width: 100%;
    justify-content: center;
    min-height: 44px;
}

.pay-ref__all-hint {
    margin: -0.35rem 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.35;
}

.checkout-draft-hint {
    margin: -0.35rem 0 0.85rem;
    font-size: 0.84rem;
    color: var(--text-muted);
}
.bank-detail-row--iban {
    cursor: pointer;
}

.bank-value {
    font-weight: 700;
    color: var(--primary);
    text-align: right;
    font-size: 0.95rem;
}

.copy-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.35rem 0.75rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
}

.copy-btn:hover {
    background-color: var(--primary-light);
}

/* Stacking details on small screens */
@media (max-width: 576px) {
    .iban-canvas-container {
        flex-direction: column;
        align-items: stretch;
    }
    .copy-btn--iban {
        width: 100%;
        justify-content: center;
    }
}

.alert-danger-box {
    background-color: #fef2f2;
    border-left: 3px solid var(--danger);
    color: #991b1b;
    padding: 0.8rem 1.2rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.25rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: left;
    margin-bottom: 1.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    text-align: center;
}

.receipt-upload-box {
    position: relative;
    border: 2px dashed var(--border-color);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    margin-bottom: 1.5rem;
    background-color: #fafbfc;
    cursor: pointer;
}
.receipt-upload-box.is-ready {
    border-color: var(--primary);
    background: #f3f7f4;
}

.receipt-upload-box:hover {
    border-color: var(--primary);
}

.receipt-upload-one {
    min-width: 12rem;
    justify-content: center;
    margin: 0.35rem auto 0.15rem;
}

.receipt-upload-icon {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.whatsapp-alternative {
    text-align: center;
    margin-top: 1.5rem;
}

.whatsapp-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #25d366;
    color: white;
    padding: 0.65rem 1.25rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.whatsapp-btn:hover {
    background-color: #1ebea5;
    transform: translateY(-1px);
}

/* Footer Section */
footer {
    background: linear-gradient(165deg, var(--primary-dark) 0%, #1e2a25 100%);
    color: var(--bg-cream);
    padding: 3rem 1.5rem 1.5rem 1.5rem;
    margin-top: 2rem;
    border-top: none;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-green), var(--accent));
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-column h4 {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.4rem;
    color: var(--bg-cream);
}

.footer-column h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--accent), var(--accent-green));
}

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

.footer-column li {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: rgba(251, 250, 247, 0.8);
}

.footer-column a {
    color: rgba(251, 250, 247, 0.92);
}

.footer-column a:hover {
    color: var(--accent-light);
}

.footer-column a.footer-whatsapp-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.35rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    background: rgba(37, 211, 102, 0.15);
    border: 1px solid rgba(37, 211, 102, 0.35);
    color: #b8f5cc !important;
    font-weight: 600;
}

.footer-column a.footer-whatsapp-link i {
    color: #25d366;
}

.footer-column a.footer-whatsapp-link:hover {
    background: rgba(37, 211, 102, 0.28);
    color: #fff !important;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(251, 250, 247, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    font-size: 0.8rem;
    color: rgba(251, 250, 247, 0.6);
}

/* Admin Dashboard Layout & Responsiveness */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: linear-gradient(180deg, #1b4332 0%, #081c15 100%);
    color: white;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.admin-logo {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1rem;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.admin-logo-sub {
    width: 100%;
    font-family: var(--font-sans, inherit);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.45);
}

.admin-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    flex: 1;
}

.admin-menu a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.75);
    transition: var(--transition);
}

.admin-menu li.active a,
.admin-menu a:hover {
    background-color: var(--accent);
    color: white;
    box-shadow: 0 4px 12px rgba(64, 145, 108, 0.25);
}

.admin-main {
    flex-grow: 1;
    padding: 2.5rem;
    background-color: #f8fafc;
    overflow-y: auto;
    position: relative;
}

/* Admin Mobile Sidebar Toggler */
.admin-sidebar-toggle {
    display: none;
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 0.65rem 1.25rem;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.85rem;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}

@media (max-width: 1024px) {
    .admin-sidebar-toggle {
        display: inline-flex;
    }

    .admin-sidebar {
        position: fixed;
        top: 0;
        left: 0;
        width: 260px;
        height: 100vh;
        z-index: 1000;
        transform: translateX(-100%);
        box-shadow: var(--shadow-lg);
    }

    .admin-sidebar.active {
        transform: translateX(0);
    }

    .admin-main {
        padding: 1.5rem 1rem;
    }
}

@media (min-width: 1025px) {
    .admin-sidebar {
        display: flex !important;
        position: static !important;
        transform: none !important;
        box-shadow: none !important;
    }
    .admin-sidebar-toggle {
        display: none !important;
    }
}

.admin-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    padding: 1.75rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

/* WooCommerce style tabs navigation */
.admin-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.75rem;
    flex-wrap: wrap;
}

.admin-tab {
    background-color: white;
    color: #4b5563;
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.1rem;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.admin-tab:hover, .admin-tab.active {
    background-color: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(27, 67, 50, 0.15);
}

.tab-badge {
    background-color: #f3f4f6;
    color: #4b5563;
    padding: 0.1rem 0.5rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
}

.admin-tab:hover .tab-badge, .admin-tab.active .tab-badge {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* Badge status indicators */
.badge-status {
    padding: 0.35rem 0.75rem;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: capitalize;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.badge-pending { 
    background-color: #fffbeb; 
    color: #d97706; 
    border: 1px solid #fde68a;
}
.badge-pending::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #d97706;
}

.badge-paid { 
    background-color: #ecfdf5; 
    color: #059669; 
    border: 1px solid #a7f3d0;
}
.badge-paid::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #059669;
}

.badge-receipt_uploaded { 
    background-color: #eff6ff; 
    color: #1d4ed8; 
    border: 1px solid #bfdbfe;
}
.badge-receipt_uploaded::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #1d4ed8;
}

.badge-completed { 
    background-color: #f0fdf4; 
    color: #15803d; 
    border: 1px solid #bbf7d0;
}
.badge-completed::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #15803d;
}

.badge-cancelled { 
    background-color: #fef2f2; 
    color: #dc2626; 
    border: 1px solid #fecaca;
}
.badge-cancelled::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #dc2626;
}

/* Admin Grid Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.stat-card {
    background-color: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

.stat-card-total { border-left: 4px solid #3b82f6; }
.stat-card-revenue { border-left: 4px solid #10b981; }
.stat-card-pending { border-left: 4px solid #f59e0b; }
.stat-card-receipt { border-left: 4px solid #8b5cf6; }

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.stat-card-total .stat-icon { background-color: #eff6ff; color: #3b82f6; }
.stat-card-revenue .stat-icon { background-color: #ecfdf5; color: #10b981; }
.stat-card-pending .stat-icon { background-color: #fffbeb; color: #f59e0b; }
.stat-card-receipt .stat-icon { background-color: #f5f3ff; color: #8b5cf6; }

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

.stat-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-top: 0.15rem;
}

/* Admin Tables (Responsive Scroll) */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 0.5rem;
    font-size: 0.85rem;
}

.admin-table th,
.admin-table td {
    padding: 1rem 0.75rem;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    vertical-align: middle;
}

.admin-table th {
    font-weight: 700;
    color: var(--primary);
    background-color: #f8fafc;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
}

/* Lightbox Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 1rem;
}

.modal-content {
    background-color: white;
    border-radius: var(--radius-md);
    max-width: 500px;
    width: 100%;
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-lg);
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
}

.modal-close:hover {
    color: var(--danger);
}

.modal-body {
    padding: 1rem;
    max-height: 60vh;
    overflow-y: auto;
    text-align: center;
}

.modal-body img {
    max-width: 100%;
    height: auto;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.modal-overlay--photo {
    background-color: rgba(15, 20, 18, 0.92);
    padding: 1.25rem;
    z-index: 10000;
}

.modal-content--photo {
    max-width: min(920px, 100%);
    width: auto;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    overflow: visible;
    position: relative;
}

.modal-close--photo {
    position: absolute;
    top: -0.25rem;
    right: -0.25rem;
    z-index: 2;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-dark);
    font-size: 1.75rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
}

.modal-close--photo:hover {
    color: var(--danger);
    background: #fff;
}

.modal-body--photo {
    padding: 0;
    max-height: none;
    overflow: visible;
}

.modal-body--photo img {
    max-width: min(920px, 92vw);
    max-height: min(85vh, 900px);
    width: auto;
    height: auto;
    object-fit: contain;
    border: none;
    border-radius: var(--radius-md);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
}

@media (max-width: 768px) {
    .modal-overlay--photo {
        align-items: center;
        justify-content: center;
        padding: max(0.75rem, env(safe-area-inset-top)) 0.5rem max(0.75rem, env(safe-area-inset-bottom));
    }
    .modal-content--photo {
        width: 100%;
        max-width: 100%;
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .modal-close--photo {
        top: max(0.35rem, env(safe-area-inset-top));
        right: max(0.35rem, env(safe-area-inset-right));
        position: fixed;
    }
    .modal-body--photo {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .modal-body--photo img {
        width: 100%;
        max-width: 100%;
        height: auto;
        max-height: min(88vh, 100dvh - 2rem);
        border-radius: 12px;
        object-fit: contain;
    }
}

/* Sabit WhatsApp butonu */
.whatsapp-float,
.whatsapp-floating {
    position: fixed;
    bottom: 22px;
    right: 22px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none !important;
    color: #fff !important;
    border: none;
    background: transparent;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.whatsapp-float__ring {
    position: absolute;
    inset: -4px;
    border-radius: 999px;
    border: 2px solid rgba(37, 211, 102, 0.55);
    animation: wa-float-pulse 2.4s ease-out infinite;
    pointer-events: none;
}

.whatsapp-float__ring--delayed {
    animation-delay: 1.2s;
}

@keyframes wa-float-pulse {
    0% {
        transform: scale(0.92);
        opacity: 0.85;
    }
    70% {
        transform: scale(1.35);
        opacity: 0;
    }
    100% {
        transform: scale(1.35);
        opacity: 0;
    }
}

.whatsapp-float__btn {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    min-height: 56px;
    padding: 0 1.15rem 0 0.95rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #25d366 0%, #1ebe5d 45%, #128c7e 100%);
    box-shadow:
        0 10px 28px rgba(18, 140, 126, 0.38),
        0 4px 10px rgba(0, 0, 0, 0.12);
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: -0.01em;
    transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.whatsapp-float__btn i {
    font-size: 1.65rem;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.whatsapp-float__label {
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.whatsapp-float:hover .whatsapp-float__btn,
.whatsapp-floating:hover .whatsapp-float__btn {
    transform: translateY(-3px) scale(1.03);
    box-shadow:
        0 14px 34px rgba(18, 140, 126, 0.45),
        0 6px 14px rgba(0, 0, 0, 0.14);
    filter: brightness(1.04);
}

.whatsapp-float:active .whatsapp-float__btn {
    transform: translateY(-1px) scale(0.98);
}

/* Ödeme — zorunlu dekont adımı */
.whatsapp-float.payment-wa-float-required .whatsapp-float__btn {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 55%, #e67e22 100%);
    box-shadow:
        0 10px 28px rgba(230, 126, 34, 0.42),
        0 4px 10px rgba(0, 0, 0, 0.12);
    animation: wa-float-attention 1.8s ease-in-out infinite;
}

.whatsapp-float.payment-wa-float-required .whatsapp-float__ring {
    border-color: rgba(255, 107, 53, 0.65);
}

@keyframes wa-float-attention {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.04); }
}

@media (max-width: 768px) {
    .whatsapp-float,
    .whatsapp-floating {
        bottom: 18px;
        right: 16px;
    }

    .whatsapp-float__btn {
        min-height: 54px;
        min-width: 54px;
        padding: 0;
        justify-content: center;
        border-radius: 50%;
    }

    .whatsapp-float__label {
        display: none;
    }

    .whatsapp-float.payment-wa-float-required .whatsapp-float__label {
        display: inline;
        font-size: 0.82rem;
    }

    .whatsapp-float.payment-wa-float-required .whatsapp-float__btn {
        min-width: auto;
        padding: 0 0.95rem;
        border-radius: 999px;
    }

    .whatsapp-float__btn i {
        font-size: 1.85rem;
    }
}
/* Mobilde yatay taşmayı engelle */
html {
    width: 100%;
    max-width: 100%;
    scroll-padding-top: 80px;
    overflow-x: clip;
}

body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

/* Tüm ana bölümler ekranı aşmasın */
* {
    box-sizing: border-box;
}

main,
section,
header,
footer,
.products-section,
.products-grid,
.categories-container {
    max-width: 100%;
}

/* Ürün grid taşmasını engelle */
.products-grid {
    width: 100%;
    min-width: 0;
}

/* Ürün kartlarının ekran dışına taşmasını engelle */
.product-card {
    min-width: 0;
    max-width: 100%;
    width: 100%;
    overflow: hidden;
}

.product-details,
.product-price-row,
.product-card-btn {
    min-width: 0;
    max-width: 100%;
}

/* Ürün görselleri */
.product-image-container,
.product-image-container img {
    max-width: 100%;
}

/* Uzun ürün isimleri taşmasın */
.product-title,
.product-title a {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* === Mobil Okunabilirlik (tüm cihazlar) === */
html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
        line-height: 1.65;
    }

    .header-container {
        padding: 0.75rem max(0.75rem, env(safe-area-inset-right)) 0.75rem max(0.75rem, env(safe-area-inset-left));
    }

    nav a {
        font-size: 1.05rem;
    }

    .hero-desc {
        font-size: 1rem;
        line-height: 1.65;
    }

    .section-subtitle {
        font-size: 0.95rem;
        line-height: 1.55;
        padding: 0 0.5rem;
    }

    .form-control,
    select.form-control,
    textarea.form-control,
    input[type="date"],
    input[type="number"],
    input[type="tel"],
    input[type="email"],
    input[type="text"],
    input[type="search"] {
        font-size: 16px !important;
        min-height: 48px;
        padding: 0.75rem 0.85rem;
        border-radius: var(--radius-sm);
        max-width: 100%;
    }

    select.form-control {
        -webkit-appearance: none;
        appearance: none;
        background-color: #fff;
        background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233a5248' d='M1.2 1.5 6 6.3l4.8-4.8'/%3E%3C/svg%3E");
        background-repeat: no-repeat;
        background-position: right 0.85rem center;
        background-size: 12px 8px;
        padding-right: 2.4rem;
    }

    textarea.form-control {
        min-height: 100px;
    }

    .form-group label {
        font-size: 0.88rem;
        margin-bottom: 0.35rem;
    }

    .product-card-btn {
        font-size: 0.88rem !important;
        padding: 0.6rem 0.5rem !important;
        min-height: 44px;
    }

    .current-price {
        font-size: 1rem !important;
    }

    .trust-item strong {
        font-size: 0.82rem;
    }

    .trust-item span {
        font-size: 0.76rem;
    }

    .product-trust-item {
        font-size: 0.9rem;
        padding: 0.65rem 0.8rem;
    }

    .detail-title {
        font-size: 1.6rem !important;
        line-height: 1.35;
    }

    .detail-desc {
        font-size: 1rem;
        line-height: 1.7;
    }

    .checkout-box,
    .cart-summary-box,
    .payment-body {
        padding: 1.25rem;
    }

    .checkout-title,
    .cart-table th {
        font-size: 1rem;
    }

    .cart-table td,
    .summary-row {
        font-size: 0.92rem;
    }

    .footer-column li,
    .footer-column p {
        font-size: 0.92rem !important;
        line-height: 1.6;
    }

    .footer-column h4 {
        font-size: 1.05rem;
    }

    .why-us-card p {
        font-size: 0.9rem;
    }

    .products-section,
    .categories-container,
    .why-us-section,
    .detail-container,
    .cart-container,
    .checkout-grid,
    .payment-wrapper {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .whatsapp-float,
    .whatsapp-floating {
        bottom: max(18px, env(safe-area-inset-bottom));
        right: max(16px, env(safe-area-inset-right));
    }
}

@media (max-width: 380px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-chip {
        font-size: 0.72rem;
        padding: 0.35rem 0.75rem;
    }

    .product-title {
        font-size: 0.98rem !important;
        -webkit-line-clamp: 3;
    }

    .category-header h3 {
        font-size: 1.15rem;
    }
}

/* === Ana Sayfa Dönüşüm Bölümleri === */

.announcement-divider {
    opacity: 0.5;
    margin: 0 0.35rem;
}

@media (max-width: 576px) {
    .announcement-bar {
        flex-wrap: wrap;
        font-size: 0.72rem;
        gap: 0.25rem;
        padding: 0.45rem 0.75rem;
    }
    .announcement-divider { display: none; }
}

/* Hero kompakt — ürünler hemen altında */
.hero-section--compact {
    text-align: center;
    padding: 1.75rem 1.5rem 1.25rem;
    margin-bottom: 0;
}

.hero-content--center {
    max-width: 560px;
    margin: 0 auto;
    text-align: center;
}

.hero-section--compact .hero-title {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    margin-bottom: 0.65rem;
}

.hero-section--compact .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.hero-section--compact .hero-search {
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1rem;
}

.hero-section--compact .hero-actions {
    justify-content: center;
    margin-bottom: 0;
}

.hero-section--compact .hero-btn {
    padding: 0.7rem 1.35rem;
    font-size: 0.88rem;
}

/* Hero split (legacy) */
.hero-section--split {
    text-align: left;
    padding: 3.5rem 1.5rem 3rem;
}

.hero-split {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content--left {
    max-width: none;
    margin: 0;
    text-align: left;
}

.hero-search {
    display: flex;
    align-items: center;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    padding: 0.35rem 0.35rem 0.35rem 1rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--shadow-sm);
    max-width: 420px;
}

.hero-search i {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-right: 0.5rem;
}

.hero-search input {
    flex: 1;
    border: none;
    outline: none;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    background: transparent;
    min-width: 0;
}

.hero-search button {
    background: var(--primary-dark);
    color: #fff;
    border: none;
    padding: 0.55rem 1.1rem;
    border-radius: var(--radius-pill);
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.hero-search button:hover {
    background: var(--accent);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.hero-btn--outline {
    background: var(--bg-white) !important;
    color: var(--primary-dark) !important;
    border: 2px solid var(--primary-light);
    box-shadow: var(--shadow-sm) !important;
}

.hero-btn--outline:hover {
    border-color: var(--accent);
    color: var(--accent) !important;
    background: var(--bg-white) !important;
    transform: translateY(-2px);
}

.hero-btn--whatsapp {
    background: linear-gradient(135deg, #25d366 0%, #1ebe5d 50%, #128c7e 100%) !important;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.25) !important;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4) !important;
}

.hero-btn--whatsapp i {
    color: #fff !important;
}

.hero-btn--whatsapp:hover {
    color: #fff !important;
    background: linear-gradient(135deg, #2ee06f 0%, #25d366 50%, #15967a 100%) !important;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.5) !important;
    transform: translateY(-2px);
}

.hero-btn--light {
    color: #fff !important;
    border-color: rgba(255,255,255,0.5) !important;
}

.hero-btn--light:hover {
    background: rgba(255,255,255,0.12) !important;
    color: #fff !important;
}

.hero-stats {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat strong {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--primary-dark);
    line-height: 1.2;
}

.hero-stat span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.hero-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0.85rem;
    min-height: 320px;
}

.hero-showcase-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.hero-showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 140px;
}

.hero-showcase-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.65rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.65));
    color: #fff;
    font-size: 0.72rem;
    font-weight: 600;
}

.hero-showcase-item--1 {
    grid-row: 1 / 3;
    grid-column: 1;
}

.hero-showcase-item--1 img { min-height: 100%; }

.hero-showcase-item--2 { grid-column: 2; }
.hero-showcase-item--3 { grid-column: 2; }

@media (max-width: 900px) {
    .hero-split {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-content--left { text-align: center; }
    .hero-search { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-stats { justify-content: center; }
    .hero-showcase { display: none; }
}

.how-it-works,
.reviews-section {
    max-width: 1200px;
    margin: 0 auto 1.25rem;
    padding: 0 1.5rem;
}

.section-head-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.section-title--left,
.section-subtitle--left {
    text-align: left;
}

.section-link {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    white-space: nowrap;
}

.section-link:hover { color: var(--accent-hover); }

.categories-container--compact {
    margin-bottom: 0;
}

/* How it works */
.how-it-works {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.steps-grid {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.step-card {
    flex: 1;
    text-align: center;
    padding: 1rem 0.75rem;
    max-width: 220px;
}

.step-num {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    color: #fff;
    font-weight: 700;
    border-radius: 50%;
    font-size: 0.95rem;
    margin-bottom: 0.65rem;
}

.step-card h4 {
    font-size: 0.95rem;
    color: var(--primary-dark);
    margin-bottom: 0.35rem;
}

.step-card p {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.step-connector {
    display: flex;
    align-items: center;
    color: var(--accent-green);
    font-size: 0.85rem;
    padding-top: 1rem;
}

@media (max-width: 640px) {
    .steps-grid { flex-direction: column; align-items: center; }
    .step-connector { transform: rotate(90deg); padding: 0; }
    .step-card { max-width: 100%; }
}

.product-card--featured {
    border-color: rgba(201, 107, 122, 0.25);
}

.product-badge--sale {
    background: linear-gradient(135deg, var(--gold) 0%, #b8924f 100%) !important;
}

.product-image-link {
    display: block;
}

/* Kategori hızlı geçiş — her zaman görünür */
.category-quick-nav {
    position: relative;
    z-index: 10;
    background: var(--bg-cream);
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 0;
}

.category-quick-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding: 0.6rem 1.5rem;
    scrollbar-width: none;
}

.category-quick-inner::-webkit-scrollbar { display: none; }

.cat-pill--accent {
    background: var(--accent-light);
    border-color: rgba(201, 107, 122, 0.35);
    color: var(--accent-hover);
}

/* Reviews */
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 0.5rem;
}

.review-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    margin: 0;
}

.review-stars {
    color: var(--gold);
    font-size: 0.8rem;
    margin-bottom: 0.65rem;
    display: flex;
    gap: 0.15rem;
}

.review-card p {
    font-size: 0.88rem;
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.review-card footer {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}

@media (max-width: 768px) {
    .reviews-grid {
        display: flex;
        overflow-x: auto;
        gap: 0.75rem;
        scroll-snap-type: x mandatory;
    }
    .review-card {
        flex: 0 0 85%;
        scroll-snap-align: start;
    }
}

.cat-pill {
    flex-shrink: 0;
    padding: 0.4rem 0.9rem;
    border-radius: var(--radius-pill);
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.cat-pill:hover,
.cat-pill.is-active {
    background: var(--accent);
    border-color: var(--accent);
    color: #fff;
}

/* Category blocks */
.category-block {
    margin-bottom: 1.25rem;
}

.category-desc {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.15rem;
}

.category-see-all {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.88rem;
    white-space: nowrap;
}

.category-see-all:hover { color: var(--accent-hover); }

/* Final CTA */
.final-cta {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, var(--accent) 100%);
    padding: 2rem 1.5rem;
    margin-bottom: 0;
}

.final-cta-inner {
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
    color: #fff;
}

.final-cta-inner h2 {
    font-family: var(--font-serif);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.65rem;
}

.final-cta-inner p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.final-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

@media (max-width: 768px) {
    .products-grid--category {
        margin-bottom: 2.5rem;
    }
}

/* === Professional Polish === */

header.header-scrolled {
    box-shadow: 0 4px 24px rgba(58, 82, 72, 0.08);
    border-bottom-color: transparent;
}

.header-whatsapp-btn {
    display: none;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #fff !important;
    border-radius: 50%;
    font-size: 1.2rem;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-whatsapp-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.45);
}

@media (max-width: 768px) {
    .header-whatsapp-btn {
        display: flex;
    }
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-top: 0.25rem;
}

/* Trust bar — kart stili */
.trust-bar {
    background: var(--bg-soft);
    border-bottom: none;
    padding: 0.75rem 1.5rem 1rem;
}

.trust-item {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 0.75rem 0.85rem;
    box-shadow: var(--shadow-sm);
}

/* Ürün alanı — temiz beyaz zemin */
.products-section {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    padding-bottom: 2rem;
}

.category-header {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 1rem;
}

.category-header h3 {
    font-size: 1.15rem;
    font-weight: 700;
}

.category-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    background: var(--accent-light);
    border-radius: var(--radius-pill);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--accent-hover);
    transition: var(--transition);
}

.category-see-all:hover {
    background: var(--accent);
    color: #fff;
}

/* Ürün kartları */
.product-card {
    border-radius: var(--radius-md);
    border-color: rgba(235, 228, 222, 0.9);
}

.product-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.product-card-btn i {
    font-size: 0.75rem;
}

/* Bölüm başlıkları */
.section-title {
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    display: block;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent-green));
    border-radius: 2px;
    margin: 0.5rem auto 0;
}

.why-us-section {
    background: var(--bg-soft);
    padding: 2.5rem 1.5rem;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.why-us-card {
    border-radius: var(--radius-md);
    border-color: transparent;
    box-shadow: var(--shadow-sm);
}

.categories-container {
    padding-top: 1rem;
}

.category-circle-wrapper {
    width: 64px;
    height: 64px;
    border-radius: 50%;
}

/* Hero — mobilde kompakt */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 1rem 1.5rem;
        margin-bottom: 0;
    }

    .hero-desc {
        font-size: 0.92rem;
        margin-bottom: 1.25rem;
        line-height: 1.6;
    }

    .hero-chip {
        font-size: 0.72rem;
        margin-bottom: 0.85rem;
    }

    .hero-subtitle {
        font-size: 0.72rem;
        letter-spacing: 2px;
        margin-bottom: 0.5rem;
    }

    .hero-btn {
        padding: 0.75rem 1.35rem;
        font-size: 0.88rem;
    }

    .announcement-bar {
        font-size: 0.75rem;
        padding: 0.45rem 0.75rem;
    }

    .products-section {
        padding: 0.65rem 0.65rem 1.5rem;
    }

    .trust-bar {
        padding: 0.5rem 0.75rem 0.65rem;
    }

    .trust-item {
        padding: 0.55rem 0.6rem;
    }

    .header-container {
        padding: 0.75rem 1rem;
    }

    .header-actions {
        gap: 0.5rem;
    }
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

header.header-scrolled {
    background: rgba(251, 250, 247, 0.98);
}

.product-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

#urunler {
    scroll-margin-top: 72px;
}

/* === Site-wide Yazı & Taşma Düzeltmeleri === */

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

.trust-item > div,
.category-header h3,
.logo,
.logo a,
.header-container,
.cart-product-info,
.cart-product-info h4,
.cart-product-info h4 a,
.detail-title,
.detail-desc,
.section-subtitle,
.category-circle-name,
.footer-column p,
.footer-column li,
.checkout-title,
.checkout-item-title,
.payment-header h2,
.summary-row,
.instruction-alert,
.product-badge,
.search-results-title {
    min-width: 0;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

.category-header {
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 0.75rem;
}

.category-header h3 {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    line-height: 1.35;
}

.category-see-all {
    flex-shrink: 0;
}

.trust-item {
    min-width: 0;
    align-items: flex-start;
}

.trust-item > div {
    flex: 1;
    min-width: 0;
}

.trust-item strong,
.trust-item span {
    display: block;
    line-height: 1.35;
}

.header-container {
    gap: 0.75rem;
}

.logo {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}

.logo a {
    line-height: 1.25;
}

.header-actions {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .logo {
        flex: 1 1 0;
        max-width: none;
        min-width: 0;
    }

    .logo a {
        font-size: 0.95rem;
        letter-spacing: -0.04em;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
}

.announcement-bar {
    flex-wrap: wrap;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: anywhere;
}

.hero-chip {
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    max-width: 100%;
    line-height: 1.45;
}

.hero-title {
    overflow-wrap: break-word;
    hyphens: auto;
}

.detail-title {
    line-height: 1.3;
    overflow-wrap: break-word;
}

.detail-desc {
    line-height: 1.65;
    overflow-wrap: break-word;
}

.cart-product-info h4,
.cart-product-info h4 a {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.category-circle-name {
    max-width: 80px;
    text-align: center;
    line-height: 1.3;
    overflow-wrap: break-word;
}

.product-card .product-card-btn {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    background: var(--primary-dark);
    color: #fff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.55rem 0.5rem;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.2;
    min-height: 42px;
    white-space: nowrap;
    text-align: center;
}

@media (max-width: 768px) {
    .product-card .product-card-btn {
        font-size: 0.78rem;
        padding: 0.5rem 0.4rem;
        min-height: 40px;
    }
}

.products-grid--search {
    margin-bottom: 4rem;
}

.checkout-item-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.checkout-item-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
}

.checkout-item-info {
    flex: 1;
    min-width: 0;
}

.checkout-item-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    color: var(--primary);
    line-height: 1.35;
    overflow-wrap: break-word;
}

.checkout-item-qty {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.15rem;
}

@media (max-width: 768px) {
    .cart-table td {
        flex-wrap: wrap;
        gap: 0.35rem;
        align-items: flex-start;
    }

    .cart-table td::before {
        flex: 0 0 auto;
        max-width: 48%;
        line-height: 1.35;
    }

    .cart-product-cell {
        flex-wrap: wrap;
    }
}

.admin-table {
    table-layout: auto;
    width: 100%;
}

.admin-table td,
.admin-table th {
    overflow-wrap: break-word;
    word-break: break-word;
    vertical-align: top;
}

.admin-actions {
    min-width: 168px;
    white-space: normal;
}

.admin-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    background: var(--primary);
    color: #fff !important;
    border: none;
    border-radius: 6px;
    padding: 0.42rem 0.7rem;
    font-size: 0.78rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.2;
    min-height: 34px;
}

.admin-action-btn:hover {
    background: var(--primary-light);
    color: #fff !important;
}

.admin-delete-btn {
    background: none;
    border: none;
    color: var(--danger);
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.35rem 0.15rem;
    font-family: inherit;
}

.admin-delete-btn:hover {
    text-decoration: underline;
}

.admin-quick-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin: 0.4rem 0 0.45rem;
}

.admin-quick-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #065f46 !important;
    background: #d1fae5;
    padding: 0.35rem 0.55rem;
    border-radius: 6px;
    text-decoration: none !important;
}

.admin-quick-wa:hover {
    background: #a7f3d0;
}

.admin-quick-copy {
    padding: 0.35rem 0.55rem !important;
    font-size: 0.75rem !important;
    margin: 0 !important;
}

.admin-body .product-card-btn:disabled,
.admin-layout button:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

@media (max-width: 900px) {
    .admin-order-modal-body {
        grid-template-columns: 1fr !important;
    }
}

.search-form {
    display: flex;
    align-items: center;
    background: var(--bg-soft);
    border-radius: var(--radius-pill);
    padding: 4px 12px;
    margin-right: 10px;
    min-width: 0;
    max-width: 100%;
}

.search-form input {
    border: none;
    background: transparent;
    outline: none;
    padding: 4px;
    font-size: 0.85rem;
    width: 130px;
    min-width: 0;
    flex: 1;
}

.search-form button {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--primary);
    padding: 0.35rem;
    line-height: 1;
    border-radius: var(--radius-pill);
    transition: var(--transition);
}

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

@media (max-width: 768px) {
    .search-form {
        display: none;
    }
}

.header-search-toggle {
    display: none;
    position: relative;
    font-size: 1.05rem;
    cursor: pointer;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    color: var(--primary);
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    padding: 0;
    flex-shrink: 0;
}

.header-search-toggle:hover,
.header-search-toggle[aria-expanded="true"] {
    background-color: var(--accent-light);
    border-color: rgba(201, 107, 122, 0.3);
    color: var(--accent);
}

.header-search-panel {
    display: none;
}

@media (max-width: 768px) {
    .header-search-toggle {
        display: flex;
        width: 38px;
        height: 38px;
    }
    .cart-icon-btn {
        width: 38px;
        height: 38px;
    }
    .header-search-panel.is-open {
        display: flex;
        gap: 0.45rem;
        padding: 0 0.85rem 0.7rem;
        background: transparent;
        max-width: 1200px;
        margin: 0 auto;
        width: 100%;
        box-sizing: border-box;
    }
    .header-search-panel input {
        flex: 1;
        min-width: 0;
        border: 1px solid var(--border-color);
        border-radius: var(--radius-pill);
        padding: 0.55rem 0.9rem;
        font-size: 16px;
        background: var(--bg-soft);
        color: var(--text-dark);
        font-family: inherit;
    }
    .header-search-panel button {
        border: none;
        background: var(--primary-dark);
        color: #fff;
        border-radius: var(--radius-pill);
        padding: 0.55rem 0.95rem;
        font-weight: 700;
        cursor: pointer;
        font-size: 0.88rem;
    }
}

.empty-state-box {
    text-align: center;
    padding: 4rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.empty-state-box h3,
.empty-state-box h4 {
    margin-top: 1rem;
    color: var(--primary);
    line-height: 1.35;
}

.empty-state-box p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    line-height: 1.6;
}

@media (max-width: 480px) {
    .category-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .hero-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 380px) {
    .trust-bar-inner {
        grid-template-columns: 1fr;
    }
}

.payment-order-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.payment-order-product {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex: 1;
    min-width: 0;
}

.payment-order-price {
    font-weight: 700;
    flex-shrink: 0;
    white-space: nowrap;
}

.payment-order-no-highlight {
    font-size: 1.15rem;
    letter-spacing: 0.4px;
    color: var(--primary);
    font-family: ui-monospace, monospace;
    display: block;
    margin-top: 0.25rem;
    font-weight: 800;
    overflow-wrap: anywhere;
    word-break: break-all;
    line-height: 1.35;
    text-decoration: none;
}

.alert-danger-box {
    overflow-wrap: break-word;
    line-height: 1.55;
}

.footer-bottom p {
    overflow-wrap: break-word;
    padding: 0 0.5rem;
    line-height: 1.5;
}

/* WhatsApp hızlı sipariş */
.whatsapp-order-box {
    margin-top: 1.25rem;
    padding: 1rem;
    background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 1px solid rgba(37, 211, 102, 0.25);
    border-radius: var(--radius-md);
}

.whatsapp-order-box--after {
    background: var(--bg-soft);
    border-color: var(--border-color);
}

.whatsapp-order-note {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0 0 0.75rem;
}

.whatsapp-order-main--soft {
    background: #128c7e;
    font-size: 0.86rem;
    padding: 0.6rem 0.9rem;
}

.whatsapp-order-head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.85rem;
}

.whatsapp-order-head > i {
    font-size: 1.75rem;
    color: #25d366;
}

.whatsapp-order-head strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.whatsapp-order-head span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.whatsapp-order-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    background: #25d366;
    color: #fff !important;
    font-weight: 600;
    font-size: 0.92rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.whatsapp-order-main:hover {
    background: #1da851;
    transform: translateY(-1px);
}

.whatsapp-order-quick {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
}

.whatsapp-order-quick-label {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.whatsapp-quick-btn {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.35rem 0.65rem;
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-pill);
    color: var(--primary-dark);
    transition: var(--transition);
}

.whatsapp-quick-btn:hover {
    border-color: #25d366;
    color: #128c7e;
}

.whatsapp-order-hours {
    margin-top: 0.65rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

/* Çapraz satış */
.cross-sell-section {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}

.cross-sell-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

@media (max-width: 1024px) {
    .cross-sell-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .cross-sell-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.65rem;
    }
}

.cross-sell-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.cross-sell-image {
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem;
}

.cross-sell-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    object-position: center center;
}

.cross-sell-body {
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.cross-sell-title {
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.cross-sell-price {
    font-weight: 700;
    color: var(--accent-hover);
    font-size: 0.88rem;
    margin-bottom: 0.5rem;
}

.cross-sell-add-btn {
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.45rem 0.5rem;
    background: var(--primary-dark);
    color: #fff !important;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.cross-sell-add-btn:hover {
    background: var(--accent);
}

.cross-sell-add-btn--outline {
    background: transparent;
    color: var(--primary-dark) !important;
    border: 1.5px solid var(--primary-dark);
}

.cross-sell-add-btn--outline:hover {
    background: var(--primary-dark);
    color: #fff !important;
}

/* Admin görsel yardım */
.photo-help-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .photo-help-stats {
        grid-template-columns: 1fr;
    }
}

.photo-stat-card {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    text-align: center;
}

.photo-stat-card strong {
    display: block;
    font-size: 2rem;
    color: var(--primary);
    line-height: 1.2;
}

.photo-stat-card span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.photo-stat-card--ok strong { color: #065f46; }
.photo-stat-card--warn strong { color: var(--danger); }

.photo-help-guide {
    margin: 0.75rem 0 0 1.25rem;
    line-height: 1.7;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.photo-help-guide li {
    margin-bottom: 0.5rem;
}

.admin-photo-alert {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-left: 4px solid #ea580c;
    padding: 1rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.admin-photo-alert p {
    font-size: 0.85rem;
    color: #9a3412;
    margin-top: 0.25rem;
}

.admin-row-missing-img {
    background: #fffbeb;
}

.admin-img-warn {
    display: inline-flex;
    width: 16px;
    height: 16px;
    background: var(--danger);
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    vertical-align: top;
    margin-left: 2px;
}

.admin-tag-warn {
    display: inline-block;
    font-size: 0.65rem;
    background: #fee2e2;
    color: #991b1b;
    padding: 0.1rem 0.35rem;
    border-radius: 4px;
    font-weight: 700;
    margin-left: 0.35rem;
    vertical-align: middle;
}

.admin-badge-warn {
    display: inline-block;
    background: #ef4444;
    color: #fff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 10px;
    margin-left: 0.25rem;
}

/* Ödeme — dekont sonrası zorunlu WhatsApp */
.payment-alert {
    display: flex;
    gap: 0.85rem;
    align-items: flex-start;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
    font-size: 0.92rem;
    line-height: 1.55;
}

.payment-alert i {
    font-size: 1.35rem;
    flex-shrink: 0;
    margin-top: 0.1rem;
}

.payment-alert p {
    margin: 0.35rem 0 0;
    font-size: 0.88rem;
    opacity: 0.95;
}

.payment-alert--success {
    background: #d1fae5;
    border-left: 4px solid #055f46;
    color: #065f46;
}

.payment-alert--info {
    background: #dbeafe;
    border-left: 4px solid #1e40af;
    color: #1e40af;
}

.payment-whatsapp-gate {
    background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 100%);
    border: 2px solid #25d366;
    border-radius: var(--radius-md);
    padding: 1.5rem 1.25rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 28px rgba(37, 211, 102, 0.15);
}

.payment-whatsapp-gate-inner {
    text-align: center;
    max-width: 520px;
    margin: 0 auto;
}

.payment-step-badge {
    display: inline-block;
    background: #25d366;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.3rem 0.75rem;
    border-radius: var(--radius-pill);
    margin-bottom: 0.85rem;
    letter-spacing: 0.3px;
}

.payment-whatsapp-gate h3 {
    font-family: var(--font-serif);
    color: var(--primary-dark);
    font-size: 1.25rem;
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.payment-whatsapp-gate h3 i {
    color: #25d366;
}

.payment-whatsapp-gate > .payment-whatsapp-gate-inner > p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.payment-whatsapp-steps {
    list-style: none;
    text-align: left;
    max-width: 320px;
    margin: 0 auto 1.25rem;
    padding: 0;
}

.payment-whatsapp-steps li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    padding: 0.45rem 0;
    color: var(--text-muted);
}

.payment-whatsapp-steps li i {
    width: 1.25rem;
    text-align: center;
    color: #059669;
}

.payment-whatsapp-steps--active {
    color: var(--primary-dark) !important;
    font-weight: 700;
}

.payment-whatsapp-steps--active i {
    color: #25d366 !important;
}

.payment-whatsapp-required-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    max-width: 360px;
    background: #25d366;
    color: #fff !important;
    font-weight: 700;
    font-size: 1rem;
    padding: 0.95rem 1.25rem;
    border-radius: var(--radius-sm);
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
    transition: var(--transition);
}

.payment-whatsapp-required-btn:hover {
    background: #1da851;
    transform: translateY(-2px);
}

.payment-whatsapp-note {
    margin-top: 0.85rem;
    font-size: 0.78rem;
    color: #b45309;
    font-weight: 600;
}

.payment-wa-float-required {
    animation: wa-pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5) !important;
}

@keyframes wa-pulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.75); }
}

.legal-page {
    max-width: 800px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem 2rem;
    color: var(--text);
    line-height: 1.7;
}

.legal-page h1 {
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 1.85rem;
    margin-bottom: 0.75rem;
}

.legal-page h2 {
    font-family: var(--font-serif);
    color: var(--primary);
    font-size: 1.2rem;
    margin: 1.75rem 0 0.6rem;
}

.legal-lead {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
}

.legal-page ul {
    padding-left: 1.2rem;
    margin: 0 0 1rem;
}

.legal-page li {
    margin-bottom: 0.4rem;
}

.legal-form {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.5rem;
}

.legal-result {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    margin-bottom: 1.25rem;
}

.legal-result h2 {
    margin-top: 0;
}

.legal-product-list {
    margin: 0.75rem 0;
}

.legal-note {
    font-size: 0.9rem;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .legal-page {
        margin-top: 1.25rem;
        padding: 0 1rem 1.5rem;
    }
    .legal-page h1 {
        font-size: 1.5rem;
    }
}

.order-addons {
    margin: 0 0 1.5rem;
    padding: 1rem 1.1rem 0.85rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: var(--bg-soft);
}
.order-addons-title {
    margin: 0;
    font-weight: 700;
    font-size: 1.02rem;
    color: var(--primary);
}
.order-addons-sub {
    margin: 0.15rem 0 0.85rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.order-addons-list {
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
}
.order-addon-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.55rem 0.7rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
}
.order-addon-card:has(input:checked) {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary);
}
.order-addon-card input {
    width: 1.1rem;
    height: 1.1rem;
    accent-color: var(--primary);
    flex-shrink: 0;
}
.order-addon-image {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-soft);
    flex-shrink: 0;
}
.order-addon-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.order-addon-meta {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.order-addon-meta strong {
    font-size: 0.92rem;
}
.order-addon-name {
    font-size: 0.78rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.order-addon-price {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.admin-header h1 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.admin-header-sub {
    margin: 0.35rem 0 0;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.admin-site-link {
    color: var(--primary);
    font-weight: 700;
    white-space: nowrap;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.admin-site-link:hover {
    background: #f0fdf4;
}
.admin-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}
.admin-clear-orders-btn {
    font-family: inherit;
    font-weight: 700;
    white-space: nowrap;
    padding: 0.45rem 0.85rem;
    border-radius: 8px;
    background: #fff;
    border: 1px solid #fecaca;
    color: #b91c1c;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
}
.admin-clear-orders-btn:hover {
    background: #fef2f2;
}
.stat-card-live { border-left: 4px solid #ef4444; }
.stat-card-live .stat-icon { background-color: #fef2f2; color: #ef4444; }
.stat-card-link {
    text-decoration: none;
    color: inherit;
}
.live-dot-badge {
    margin-left: auto;
    min-width: 1.35rem;
    height: 1.35rem;
    padding: 0 0.35rem;
    border-radius: 999px;
    background: #ef4444;
    color: #fff;
    font-size: 0.7rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.live-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ef4444;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.55);
    animation: livePulse 1.6s infinite;
}
@keyframes livePulse {
    0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
    70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
    100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
.live-card {
    padding: 0;
    overflow: hidden;
}
.live-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}
.live-refresh-hint {
    font-size: 0.78rem;
    color: var(--text-muted);
}
.live-table {
    margin: 0;
}
.live-table th,
.live-table td {
    padding: 0.85rem 1.1rem;
    text-align: left;
    vertical-align: top;
}
.live-path {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.2rem;
    word-break: break-all;
}
.live-empty {
    margin: 0;
    padding: 2.5rem 1.5rem;
    text-align: center;
    color: var(--text-muted);
}
.admin-search-form {
    display: flex;
    gap: 0.65rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    align-items: center;
}
.admin-search-form input[type="search"] {
    flex: 1;
    min-width: 220px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.7rem 0.9rem;
    font-size: 0.95rem;
    background: #fff;
}
.admin-search-form button {
    background: var(--primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 0.7rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
}
.admin-search-clear {
    font-weight: 600;
    color: var(--text-muted);
}
.admin-menu-foot a {
    color: #fca5a5 !important;
}
.admin-menu-foot a:hover {
    background: rgba(239, 68, 68, 0.18) !important;
    color: #fff !important;
    box-shadow: none !important;
}

.admin-login-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: linear-gradient(160deg, #081c15 0%, #1b4332 55%, #40916c 100%);
    padding: 1.25rem;
}
.admin-login-card {
    max-width: 400px;
    width: 100%;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 50px rgba(0,0,0,0.22);
    padding: 2rem 1.75rem;
}
.admin-login-brand {
    text-align: center;
    margin-bottom: 1.75rem;
}
.admin-login-brand span {
    font-size: 2.5rem;
}
.admin-login-brand h2 {
    font-family: var(--font-serif);
    color: var(--primary);
    margin: 0.4rem 0 0.2rem;
}
.admin-login-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}
.admin-login-btn {
    padding: 0.85rem;
    border-radius: 8px;
    width: 100%;
}
.admin-login-back {
    text-align: center;
    margin-top: 1.5rem;
}

.sticky-buy-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.7rem 1rem;
    padding-bottom: calc(0.7rem + env(safe-area-inset-bottom, 0px));
    background: #fff;
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -8px 24px rgba(0,0,0,0.08);
}
.sticky-buy-bar[hidden] {
    display: none !important;
}
.cart-resume-bar {
    position: relative;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.55rem 1rem;
    background: #f3f7f4;
    border-bottom: 1px solid var(--border-color);
}
.cart-resume-bar--pay {
    background: #fff8f0;
}
.cart-resume-bar__info,
.sticky-buy-bar__info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.cart-resume-bar__info strong,
.sticky-buy-bar__info strong {
    font-size: 0.82rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 52vw;
}
.cart-resume-bar--pay .cart-resume-bar__info strong {
    color: var(--primary);
}
.cart-resume-bar__info span,
.sticky-buy-bar__info span {
    color: var(--primary);
    font-weight: 800;
    font-size: 1rem;
}
.cart-resume-bar__btn,
.sticky-buy-bar .product-card-btn,
.sticky-buy-bar .btn-site {
    flex-shrink: 0;
    padding: 0.7rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    width: auto;
    margin: 0;
}
.leave-recover {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(8, 28, 21, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}
.leave-recover[hidden] {
    display: none !important;
}
.leave-recover__card {
    position: relative;
    width: min(420px, 100%);
    background: #fff;
    border-radius: var(--radius-md);
    padding: 1.5rem 1.35rem 1.25rem;
    box-shadow: 0 24px 50px rgba(0,0,0,0.22);
}
.leave-recover__close {
    position: absolute;
    top: 0.5rem;
    right: 0.7rem;
    border: 0;
    background: var(--bg-soft);
    width: 36px;
    height: 36px;
    border-radius: var(--radius-pill);
    font-size: 1.35rem;
    line-height: 1;
    cursor: pointer;
    color: var(--text-muted);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.leave-recover__close:hover {
    background: var(--accent-light);
    color: var(--accent);
}
.leave-recover__kicker {
    margin: 0 0 0.4rem;
    color: var(--primary);
    font-weight: 700;
    font-size: 0.82rem;
}
.leave-recover__card h2 {
    margin: 0 0 0.45rem;
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--primary);
}
.leave-recover__card p {
    margin: 0 0 1rem;
    color: var(--text-muted);
    line-height: 1.45;
}
.leave-recover__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.leave-recover__actions .product-card-btn {
    width: 100%;
    padding: 0.8rem;
    border-radius: var(--radius-sm);
}
.leave-recover__ghost,
.leave-recover__dismiss {
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
    background: none;
    border: 0;
    cursor: pointer;
    padding: 0.35rem;
}
.leave-recover__wa {
    background: #128c7e !important;
}
.checkout-self-toggle {
    display: none;
}
.gift-who {
    margin: 0 0 1.35rem;
    padding-top: 0;
    border-top: 0;
}
.gift-who__label {
    margin: 0 0 0.65rem;
    font-weight: 700;
    color: var(--primary);
    font-size: 0.95rem;
}
.gift-who__opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
.gift-who__opt {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    padding: 0.85rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    cursor: pointer;
    transition: var(--transition);
}
.gift-who__opt input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.gift-who__title {
    font-weight: 800;
    color: var(--text-dark);
}
.gift-who__hint {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}
.gift-who__opt:has(input:checked) {
    border-color: var(--primary);
    background: #f3f7f4;
    box-shadow: inset 0 0 0 1px var(--primary);
}
.gift-who__opt:has(input:checked) .gift-who__title {
    color: var(--primary);
}
body.has-sticky-buy,
body.has-sticky-checkout,
body.has-sticky-payment {
    padding-bottom: 5.5rem;
}
@media (max-width: 768px) {
    body.has-sticky-buy .whatsapp-float,
    body.has-sticky-checkout .whatsapp-float,
    body.has-sticky-payment .whatsapp-float {
        bottom: 86px;
    }
}
@media (min-width: 901px) {
    .sticky-buy-bar--checkout {
        display: none;
    }
    body.has-sticky-checkout {
        padding-bottom: 0;
    }
}

.pay-howto {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 10px;
    padding: 0.9rem 1.1rem;
    margin: 0 0 1.15rem;
    font-size: 0.9rem;
    color: #14532d;
}
.pay-howto strong {
    display: block;
    margin-bottom: 0.45rem;
    color: var(--primary);
}
.pay-howto ul {
    margin: 0;
    padding-left: 1.15rem;
    line-height: 1.55;
}
.pay-howto em {
    font-style: normal;
    font-weight: 700;
}
.pay-howto--compact {
    font-size: 0.84rem;
    margin-bottom: 1rem;
}
.pay-howto summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--primary);
    list-style: none;
}
.pay-howto summary::-webkit-details-marker {
    display: none;
}
.pay-howto details[open] ul {
    margin-top: 0.5rem;
}
.order-steps {
    list-style: none;
    display: flex;
    gap: 0.35rem;
    margin: 0 0 1.25rem;
    padding: 0.35rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    justify-content: space-between;
}
.order-steps__item {
    flex: 1;
    text-align: center;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0.45rem 0.4rem;
    border-radius: 999px;
}
.order-steps__item a,
.order-steps__item span {
    color: inherit;
    text-decoration: none;
}
.order-steps__item.is-done {
    color: var(--primary);
}
.order-steps__item.is-current {
    background: var(--primary);
    color: #fff;
}
.payment-wrapper > .order-steps {
    max-width: 700px;
    margin: 0 auto 1rem;
}
.recent-views {
    max-width: 1200px;
    margin: 0 auto 3rem;
    padding: 0 1.5rem;
}
.cart-container .recent-views,
.detail-container + .cross-sell-section + .recent-views {
    padding: 0;
    margin-top: 2rem;
}
.products-grid--recent {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
@media (max-width: 640px) {
    .order-steps {
        border-radius: 12px;
        flex-wrap: wrap;
    }
    .order-steps__item {
        font-size: 0.75rem;
    }
}

.page-heading {
    max-width: 1200px;
    margin: 1.25rem auto 0.5rem;
    padding: 0 1.5rem;
}
.page-heading h1 {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 0.35rem;
}
.page-heading p {
    color: var(--text-muted);
    font-size: 0.95rem;
}
@media (max-width: 768px) {
    .page-heading {
        padding: 0 0.85rem;
        margin-top: 1rem;
    }
    .page-heading h1 {
        font-size: 1.4rem;
    }
}

.search-page-form {
    display: flex;
    gap: 0.5rem;
    margin: 0 0 1.5rem;
    max-width: 560px;
}
.search-page-form input {
    flex: 1;
    min-width: 0;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 0.75rem 0.95rem;
    font-size: 1rem;
    font-family: inherit;
}
.search-page-form button {
    border: none;
    background: var(--primary-dark);
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.1rem;
    font-weight: 700;
    cursor: pointer;
}

.btn-site {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    background: var(--primary-dark);
    color: #fff !important;
    border: none;
    border-radius: var(--radius-sm);
    padding: 0.95rem 1.15rem;
    font-size: 1.02rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none !important;
    line-height: 1.25;
    min-height: 48px;
}
.btn-site:hover {
    background: var(--primary);
    color: #fff !important;
}

.sticky-buy-bar {
    z-index: 10050;
}
body.has-sticky-buy,
body.has-sticky-checkout,
body.has-sticky-payment {
    padding-bottom: 6.25rem;
}
@media (max-width: 768px) {
    body.has-sticky-buy .whatsapp-float,
    body.has-sticky-checkout .whatsapp-float,
    body.has-sticky-payment .whatsapp-float {
        bottom: 100px;
        z-index: 90;
    }
}
.gift-who__opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
}
@media (max-width: 420px) {
    .gift-who__opts {
        grid-template-columns: 1fr;
    }
}
.order-ticket {
    background: linear-gradient(180deg, #faf8f5 0%, #fff 38%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.15rem 1.2rem 1.2rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-sm);
}
.order-ticket--after-pay {
    margin-top: 0.35rem;
    margin-bottom: 0;
}
.order-ticket__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.4rem 0.75rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px dashed rgba(58, 82, 72, 0.18);
}
.order-ticket__kicker {
    width: 100%;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--text-muted);
}
.order-ticket__no {
    font-family: ui-monospace, 'SFMono-Regular', Consolas, monospace;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
    color: var(--primary-dark);
}
.order-ticket__status {
    margin-left: auto;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--bg-soft);
    border-radius: 999px;
    padding: 0.2rem 0.65rem;
}
.order-ticket__items {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.order-ticket__item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.order-ticket__img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: var(--bg-soft);
}
.order-ticket__info {
    flex: 1;
    min-width: 0;
}
.order-ticket__info h5 {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--primary-dark);
    line-height: 1.35;
}
.order-ticket__info span {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.order-ticket__price {
    font-weight: 700;
    color: var(--primary-dark);
    white-space: nowrap;
    font-size: 0.95rem;
}
.order-ticket__meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    padding: 0.85rem 0;
    border-top: 1px dashed rgba(58, 82, 72, 0.18);
    border-bottom: 1px dashed rgba(58, 82, 72, 0.18);
    margin-bottom: 0.9rem;
}
.order-ticket__meta span {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.order-ticket__meta strong {
    display: block;
    font-size: 1.02rem;
    color: #1b4332;
    font-weight: 700;
    min-height: 1.25em;
    word-break: break-word;
}
.order-ticket__meta em {
    display: block;
    font-style: normal;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 0.1rem;
}
.order-ticket__total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
}
.order-ticket__total span {
    font-size: 0.92rem;
    color: var(--text-muted);
    font-weight: 600;
}
.order-ticket__total strong {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    color: var(--primary-dark);
}
.order-ticket .btn-site {
    margin-top: 1rem;
}
@media (max-width: 520px) {
    .order-ticket__meta {
        grid-template-columns: 1fr;
    }
}

/* Filled CTA contrast lock — dark/green buttons always use white text */
.hero-btn:not(.hero-btn--outline),
.hero-btn--whatsapp,
.copy-btn,
.search-page-form button,
.header-search-panel button,
.btn-site,
.whatsapp-order-main,
.payment-whatsapp-required-btn,
.cart-resume-bar__btn,
.leave-recover__wa,
.admin-login-btn,
.admin-action-btn,
.admin-search-form button,
.admin-sidebar-toggle {
    color: #fff !important;
    -webkit-text-fill-color: #fff;
}

body.has-sticky-buy,
body.has-sticky-checkout,
body.has-sticky-payment {
    padding-bottom: 7.5rem;
}
@media (max-width: 768px) {
    body.has-sticky-buy .whatsapp-float,
    body.has-sticky-checkout .whatsapp-float,
    body.has-sticky-payment .whatsapp-float {
        display: none;
    }
}

/* Dar telefonlarda kayık / yatay kaydırma */
img,
video,
iframe {
    max-width: 100%;
}

canvas {
    max-width: 100%;
}

table {
    max-width: 100%;
}

.header-container,
.footer-container,
.trust-bar-inner,
.iban-canvas-container,
.order-steps,
.order-addon-card,
.gift-who__opts,
.search-page-form,
.hero-content,
.hero-actions,
.how-it-works,
.legal-page,
.payment-wrapper,
.cart-container {
    min-width: 0;
    max-width: 100%;
}

.cart-note-preview {
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a,
button,
input,
select,
textarea,
label,
.qty-btn,
.delivery-quick-btn {
    touch-action: manipulation;
}

@media (hover: none) and (pointer: coarse) {
    .product-card:hover,
    .why-us-card:hover,
    .hero-btn:hover,
    .hero-btn--whatsapp:hover,
    .whatsapp-order-main:hover,
    .header-whatsapp-btn:hover {
        transform: none;
    }
}

@media (max-width: 768px) {
    html,
    body {
        overscroll-behavior-x: none;
    }

    .header-container {
        width: 100%;
        min-width: 0;
    }

    .header-actions {
        gap: 0.28rem;
        flex-shrink: 0;
    }

    .header-search-toggle,
    .cart-icon-btn,
    .header-whatsapp-btn,
    .mobile-menu-toggle {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }

    .announcement-bar {
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    footer {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
        padding-bottom: max(1.5rem, env(safe-area-inset-bottom));
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .products-grid,
    .products-grid--recent,
    .products-grid--search {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .reviews-grid,
    .categories-grid,
    .category-quick-inner {
        max-width: 100%;
        overscroll-behavior-x: contain;
        -webkit-overflow-scrolling: touch;
    }

    .checkout-grid {
        grid-template-columns: 1fr !important;
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .checkout-box,
    .cart-summary-box,
    .payment-card,
    .legal-form,
    .legal-result {
        overflow: hidden;
        max-width: 100%;
    }

    .cart-resume-bar,
    .sticky-buy-bar {
        max-width: 100%;
        width: 100%;
        left: 0;
        right: 0;
        gap: 0.5rem;
        padding-left: max(0.75rem, env(safe-area-inset-left));
        padding-right: max(0.75rem, env(safe-area-inset-right));
    }

    .cart-resume-bar__btn,
    .sticky-buy-bar .product-card-btn,
    .sticky-buy-bar .btn-site {
        width: auto;
        min-width: 0;
        flex: 0 1 auto;
        padding: 0.65rem 0.8rem;
        font-size: 0.84rem;
        white-space: nowrap;
    }

    .cart-resume-bar__info strong,
    .sticky-buy-bar__info strong {
        max-width: 42vw;
    }

    .order-steps {
        flex-wrap: wrap;
        border-radius: 12px;
    }

    .delivery-quick-pick__buttons {
        width: 100%;
        min-width: 0;
    }

    .quantity-control {
        max-width: 100%;
    }

    .qty-btn {
        width: 44px;
        height: 44px;
    }

    .qty-input {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .order-addon-card {
        flex-wrap: wrap;
    }

    .modal-overlay {
        padding: max(0.75rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(0.75rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    }

    .modal-overlay--photo {
        padding: max(1rem, env(safe-area-inset-top)) max(0.75rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(0.75rem, env(safe-area-inset-left));
    }

    .modal-content,
    .leave-recover__card {
        max-width: 100%;
        width: min(420px, 100%);
    }

    .modal-content--photo {
        width: 100%;
        max-width: 100%;
    }

    .admin-order-modal-body {
        grid-template-columns: 1fr !important;
    }

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

    .hero-section,
    .hero-section--compact {
        padding-left: max(1rem, env(safe-area-inset-left));
        padding-right: max(1rem, env(safe-area-inset-right));
    }

    .how-it-works,
    .reviews-section,
    .legal-page,
    .page-heading {
        padding-left: max(0.85rem, env(safe-area-inset-left));
        padding-right: max(0.85rem, env(safe-area-inset-right));
    }
}

@media (max-width: 480px) {
    .gift-who__opts {
        grid-template-columns: 1fr;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .hero-btn {
        width: 100%;
        justify-content: center;
    }

    .search-page-form {
        flex-direction: column;
    }

    .search-page-form button {
        width: 100%;
    }
}

@media (max-width: 400px) {
    .trust-bar-inner {
        grid-template-columns: 1fr;
    }

    .cart-note-preview {
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

@media (max-width: 380px) {
    .delivery-quick-pick__buttons {
        flex-direction: column;
    }

    .delivery-quick-btn {
        width: 100%;
        flex: 1 1 auto;
        white-space: normal;
        text-align: center;
        font-size: 0.82rem;
        padding: 0.5rem 0.65rem;
    }

    .header-container {
        padding-left: max(0.5rem, env(safe-area-inset-left));
        padding-right: max(0.5rem, env(safe-area-inset-right));
    }

    .header-actions {
        gap: 0.2rem;
    }

    .header-search-toggle,
    .cart-icon-btn,
    .header-whatsapp-btn,
    .mobile-menu-toggle {
        width: 34px;
        height: 34px;
    }

    .sticky-buy-bar,
    .cart-resume-bar {
        flex-wrap: wrap;
    }

    .sticky-buy-bar .btn-site,
    .cart-resume-bar__btn {
        flex: 1 1 auto;
        width: auto;
        min-width: calc(50% - 0.25rem);
        justify-content: center;
    }
}

@media (max-width: 340px) {
    .products-grid,
    .products-grid--recent,
    .products-grid--search {
        grid-template-columns: 1fr;
    }

    .logo a {
        font-size: 0.88rem;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    .hero-section--compact {
        padding-top: 0.85rem;
        padding-bottom: 0.75rem;
    }

    .announcement-bar {
        padding-top: 0.3rem;
        padding-bottom: 0.3rem;
        font-size: 0.72rem;
    }

    .sticky-buy-bar {
        padding-top: 0.4rem;
        padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
    }

    nav {
        padding-top: 4.25rem;
    }
}

.place-fields {
    margin: 0 0 1.35rem;
    padding: 1rem 1rem 0.35rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    background: linear-gradient(180deg, #fff 0%, #fbf8f5 100%);
}

.place-fields__kicker {
    margin: 0 0 0.75rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary);
}

.place-fields__row {
    margin-bottom: 0.85rem;
}

.place-fields--locked {
    position: relative;
}

.place-fields--locked .form-group--city {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.place-fields--locked .place-fields__row {
    display: block;
    grid-template-columns: 1fr;
}

.place-fields--need-district .form-group--district .place-pick__btn {
    border-color: var(--accent);
}

.place-pick__group {
    padding: 0.55rem 0.9rem 0.25rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.place-pick {
    position: relative;
}

.place-pick__native {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.place-pick__btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    width: 100%;
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.place-pick__btn::after {
    content: "";
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    margin-top: -2px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    opacity: 0.55;
}

.place-pick.is-open .place-pick__btn::after {
    margin-top: 3px;
    transform: rotate(-135deg);
}

.place-pick__btn:hover,
.place-pick.is-open .place-pick__btn {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 107, 122, 0.12);
}

.place-pick.is-invalid .place-pick__btn {
    border-color: var(--danger);
}

.place-pick__btn:disabled {
    cursor: not-allowed;
    background: #f4f1ee;
    color: var(--text-muted);
    box-shadow: none;
}

.place-pick__value {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.place-pick__value.is-placeholder {
    color: var(--text-muted);
    white-space: normal;
    text-overflow: unset;
}

.place-pick__panel {
    display: none;
    position: fixed;
    z-index: 10060;
    max-height: min(320px, calc(100vh - 7.5rem));
    overflow: hidden;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: #fff;
    box-shadow: var(--shadow-md);
}

.place-pick.is-open .place-pick__panel {
    display: flex;
    flex-direction: column;
}

.place-pick__search {
    width: 100%;
    min-height: 44px;
    padding: 0.7rem 0.9rem;
    border: 0;
    border-bottom: 1px solid var(--border-color);
    font-family: var(--font-sans);
    font-size: 16px;
    color: var(--text-dark);
    outline: none;
    background: #fff;
}

.place-pick__list {
    margin: 0;
    padding: 0.3rem 0;
    list-style: none;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    max-height: 260px;
}

.place-pick__opt {
    display: block;
    width: 100%;
    padding: 0.7rem 0.9rem;
    border: 0;
    background: transparent;
    color: var(--text-dark);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    text-align: left;
    cursor: pointer;
}

.place-pick__opt:hover,
.place-pick__opt.is-active {
    background: var(--accent-light);
    color: var(--primary-dark);
}

.place-pick__opt.is-selected {
    font-weight: 700;
    color: var(--primary);
}

.place-pick__empty {
    padding: 0.9rem;
    color: var(--text-muted);
    font-size: 0.88rem;
}

.when-pick__btn {
    gap: 0.7rem;
}

.when-pick__btn i {
    flex: 0 0 auto;
    width: 1.1rem;
    color: var(--accent);
    font-size: 0.95rem;
    text-align: center;
}

.when-pick__value {
    flex: 1;
}

.when-pick__opt {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.when-pick__opt-hint {
    flex: 0 0 auto;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--accent);
}

.when-pick__opt.is-selected .when-pick__opt-hint {
    color: var(--primary);
}

@media (max-width: 768px) {
    .place-fields {
        padding: 0.85rem 0.85rem 0.2rem;
        border-radius: var(--radius-sm);
    }

    .place-pick__btn,
    .place-pick__opt {
        font-size: 16px;
    }
}

/* Storefront theme unify — visual only, same controls */
.checkout-section-title {
    color: var(--primary);
    font-family: var(--font-serif);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.checkout-section-title i {
    color: var(--accent);
    margin-right: 0.15rem;
}

.checkout-place-hint {
    margin: -0.75rem 0 1.25rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.form-group--address {
    margin-bottom: 2rem;
}

.form-group--email {
    margin-bottom: 1.5rem;
}

.cart-summary-box--side {
    height: fit-content;
    max-width: 100%;
}

.checkout-title--summary {
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.checkout-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.checkout-item-row {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.checkout-item-price,
.checkout-addon-price {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-dark);
}

.summary-free {
    color: var(--primary);
    font-weight: 600;
}

.alert-danger-box--form {
    margin-bottom: 1.5rem;
    text-align: left;
    padding: 0.8rem 1.2rem;
}

.gift-who__opt:hover {
    border-color: var(--primary-light);
    background: var(--bg-cream);
}

.btn-site {
    font-family: var(--font-sans);
    transition: var(--transition);
}

.btn-site:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    color: #fff !important;
}

.cart-summary-box .btn-site {
    margin-top: 1.5rem;
}

.sticky-buy-bar {
    background: var(--bg-white);
    border-top: 1px solid var(--border-color);
}
.cart-resume-bar {
    background: #f3f7f4;
    border-top: none;
    border-bottom: 1px solid var(--border-color);
}
.cart-resume-bar--pay {
    background: #fff8f0;
}

.sticky-buy-bar .btn-site,
.cart-resume-bar__btn {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    box-shadow: 0 4px 14px rgba(58, 82, 72, 0.22);
}

.copy-btn.copy-btn--iban,
.pay-ref .copy-btn,
.copy-btn.receipt-upload-one {
    min-height: 44px;
    padding: 0.7rem 1rem;
    font-size: 0.88rem;
}

.copy-btn.copy-btn--file {
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-sm);
}

.payment-file-name {
    font-size: 0.85rem;
    margin-top: 0.5rem;
    font-weight: 500;
    color: var(--accent);
}

.payment-upload-error {
    color: var(--danger);
    font-size: 0.85rem;
    margin-top: 0.75rem;
    font-weight: 600;
}

.payment-receipt-submit {
    padding: 1rem;
    font-size: 1.1rem;
    width: 100%;
    margin: 0;
}

.payment-back {
    text-align: center;
    margin-top: 2rem;
}

.payment-back a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.95rem;
    padding: 0.45rem 0.85rem;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
}

.payment-back a:hover {
    border-color: var(--primary);
    background: var(--bg-soft);
    color: var(--primary-dark);
}

.cart-empty {
    text-align: center;
    padding: 5rem 1.5rem;
    background: var(--bg-white);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.cart-empty__icon {
    font-size: 4rem;
    color: var(--primary-light);
    line-height: 1;
}

.cart-empty h2 {
    margin-top: 1rem;
    color: var(--primary);
    font-family: var(--font-serif);
}

.cart-empty p {
    color: var(--text-muted);
    margin-top: 0.5rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.cart-empty__actions {
    margin-top: 1.5rem;
    display: flex;
    gap: 0.75rem;
    justify-content: center;
    flex-wrap: wrap;
}

.empty-state-box .hero-btn {
    margin-top: 1.5rem;
    display: inline-flex;
}

.empty-state-box i {
    font-size: 3rem;
    color: var(--primary-light);
    margin-bottom: 0.25rem;
}

.empty-state-box--search i {
    color: var(--accent);
}

.search-page-form {
    padding: 0;
}

.search-page {
    min-height: 50vh;
    padding-top: 1.25rem;
}

.header-search-panel button:hover {
    background: var(--primary);
}

.leave-recover__ghost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
    background: var(--bg-white);
    color: var(--primary-dark);
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
}

.leave-recover__ghost:hover {
    border-color: var(--primary);
    background: var(--bg-soft);
}

.leave-recover__dismiss {
    min-height: 40px;
    border-radius: var(--radius-sm);
}

.leave-recover__dismiss:hover {
    color: var(--primary-dark);
    background: var(--bg-soft);
}

.legal-page a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.legal-page a.btn-site,
.legal-page a.hero-btn,
.legal-page a.product-card-btn {
    text-decoration: none;
    color: #fff;
}

.legal-form .btn-site,
.legal-result .btn-site {
    margin-top: 0.75rem;
}

.qty-input {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--bg-white);
}

.quantity-control {
    min-height: 48px;
}

.quantity-control .qty-btn {
    width: 48px;
    height: 48px;
    font-size: 1.15rem;
}

.quantity-control .qty-input {
    width: 52px;
    height: 48px;
    min-height: 48px;
    padding: 0 !important;
    font-size: 1rem;
    -moz-appearance: textfield;
    appearance: textfield;
}

.quantity-control .qty-input::-webkit-outer-spin-button,
.quantity-control .qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.quantity-control--order {
    width: 100%;
    max-width: 220px;
}

.quantity-control--order .qty-input {
    flex: 1;
    width: auto;
}

.detail-form .form-control,
.checkout-box .form-control,
.legal-form .form-control,
.search-page-form input {
    min-height: 48px;
    padding: 0.7rem 0.9rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--text-dark);
    -webkit-appearance: none;
    appearance: none;
}

@media (max-width: 768px) {
    .detail-form .form-control,
    .checkout-box .form-control,
    .legal-form .form-control,
    .search-page-form input,
    .place-pick__btn,
    .place-pick__search {
        font-size: 16px !important;
    }
}

.detail-form .form-control:focus,
.checkout-box .form-control:focus,
.legal-form .form-control:focus,
.search-page-form input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(201, 107, 122, 0.12);
    outline: none;
}

.detail-form textarea.form-control,
.checkout-box textarea.form-control,
.legal-form textarea.form-control {
    min-height: 110px;
    resize: vertical;
}

.detail-form select.form-control:not(.place-pick__native),
.checkout-box select.form-control:not(.place-pick__native) {
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%233a5248' d='M1.2 1.5 6 6.3l4.8-4.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.9rem center;
    background-size: 12px 8px;
    padding-right: 2.5rem;
}

.search-page-form button {
    min-height: 48px;
    font-family: var(--font-sans);
}

.order-addon-card input {
    -webkit-appearance: none;
    appearance: none;
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
    border: 1.5px solid var(--border-color);
    border-radius: 4px;
    background: #fff;
    accent-color: var(--primary);
}

.order-addon-card input:checked {
    border-color: var(--primary);
    background-color: var(--primary);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 10'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2' d='M1.5 5.2 4.4 8.1 10.5 1.8'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 11px 9px;
}

select.form-control,
textarea.form-control {
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
}

.place-pick__btn {
    font-family: var(--font-sans);
}

.order-addon-card {
    border-radius: var(--radius-sm);
}

.whatsapp-btn {
    font-family: var(--font-sans);
}

.payment-whatsapp-required-btn {
    font-family: var(--font-sans);
}

.checkout-title--page {
    font-size: 2rem;
}

.product-price-row--detail {
    margin-bottom: 1.5rem;
}

.product-price-row--detail .old-price {
    font-size: 1.2rem;
}

.product-price-row--detail .current-price {
    font-size: 1.8rem;
    color: var(--primary);
}

.pay-steps {
    list-style: none;
    counter-reset: paystep;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin: 0 0 1rem;
    padding: 0.75rem 0.85rem;
    background: var(--bg-soft);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
}
.pay-steps li {
    counter-increment: paystep;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    line-height: 1.35;
}
.pay-steps li::before {
    content: counter(paystep);
    width: 1.15rem;
    height: 1.15rem;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.pay-steps em {
    font-style: normal;
    font-weight: 500;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.order-ticket-wrap {
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: var(--bg-soft);
}
.order-ticket-wrap > summary {
    cursor: pointer;
    padding: 0.7rem 0.9rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--primary-dark);
}
.order-ticket-wrap .order-ticket {
    border: 0;
    box-shadow: none;
    margin: 0;
}

.receipt-upload-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.receipt-upload-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}
.receipt-upload-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}
.receipt-upload-actions .copy-btn--file {
    min-width: 8.25rem;
    justify-content: center;
    flex: 1 1 8.25rem;
}
.receipt-wa-help {
    margin: 0.85rem 0 0;
    text-align: center;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-muted);
}
.receipt-wa-help a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.receipt-wa-help--alert {
    margin-top: 1rem;
    padding: 0.75rem 0.9rem;
    border-radius: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
}

.empty-state-box__emoji {
    font-size: 3rem;
    display: block;
    line-height: 1;
}

.cart-price {
    color: var(--primary);
}

.cart-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.cart-card {
    display: grid;
    grid-template-columns: 88px minmax(0, 1fr);
    gap: 0.9rem 1rem;
    align-items: start;
    padding: 0.95rem;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
}

.cart-card__media {
    display: block;
    width: 88px;
    height: 88px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--bg-soft);
    flex-shrink: 0;
}

.cart-card__media .cart-product-img,
.cart-card .cart-product-img {
    width: 88px;
    height: 88px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.cart-card__body {
    min-width: 0;
}

.cart-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.75rem;
}

.cart-card__title {
    margin: 0;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--primary-dark);
}

.cart-card__title a {
    color: inherit;
    text-decoration: none;
}

.cart-card__title a:hover {
    color: var(--accent);
}

.cart-card__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin: 0.65rem 0 0.85rem;
    padding: 0;
    list-style: none;
}
.cart-when {
    margin: 0 0 1.15rem;
    padding: 1rem 1.1rem 1.15rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    background: #f7faf8;
}
.cart-when__title {
    margin: 0 0 0.25rem;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--primary);
}
.cart-when__hint {
    margin: 0 0 0.85rem;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.cart-card__chips li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    max-width: 100%;
    padding: 0.28rem 0.6rem;
    border-radius: var(--radius-pill);
    background: var(--bg-soft);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
}

.cart-card__chips i {
    color: var(--accent);
    font-size: 0.72rem;
}

.cart-card__note {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-card__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cart-card__prices {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-left: auto;
    line-height: 1.2;
}

.cart-card__unit {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
}

.cart-card__prices .cart-price {
    font-size: 1.15rem;
    font-weight: 700;
}

.cart-card .cart-remove-btn {
    flex-shrink: 0;
    background: transparent;
    border-color: transparent;
    color: var(--text-muted);
    min-height: 32px;
    padding: 0.2rem 0.45rem;
}

.cart-card .cart-remove-btn:hover {
    background: var(--accent-light);
    color: var(--accent);
    border-color: transparent;
}

.checkout-item-meta {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.summary-free {
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

@media (min-width: 900px) {
    .cart-card {
        grid-template-columns: 104px minmax(0, 1fr);
        padding: 1.15rem 1.25rem;
        gap: 1.15rem;
    }

    .cart-card__media,
    .cart-card__media .cart-product-img,
    .cart-card .cart-product-img {
        width: 104px;
        height: 104px;
    }
}

@media (max-width: 768px) {
    .cart-card {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 0.75rem;
        padding: 0.85rem;
    }

    .cart-card__media,
    .cart-card__media .cart-product-img,
    .cart-card .cart-product-img {
        width: 72px;
        height: 72px;
    }

    .cart-card__title {
        font-size: 0.98rem;
    }

    .cart-card .cart-remove-btn span,
    .cart-card .cart-remove-btn {
        font-size: 0.78rem;
    }
}

.cart-options {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.cart-summary-next {
    display: block;
    margin-top: 0.7rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.84rem;
    font-weight: 600;
    text-decoration: underline;
}

.sr-only-file {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.checkout-unpaid__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    margin-top: 0.85rem;
}

.checkout-unpaid__actions .btn-site {
    width: 100%;
    text-align: center;
}

.checkout-unpaid__abandon-form {
    margin: 0;
}

.checkout-unpaid__abandon {
    display: block;
    width: 100%;
    padding: 0;
    border: 0;
    background: none;
    color: var(--text-muted);
    font-family: var(--font-sans);
    font-size: 0.82rem;
    line-height: 1.4;
    text-decoration: underline;
    cursor: pointer;
}

.checkout-unpaid__note {
    margin: 0;
    font-size: 0.82rem;
    color: var(--text-muted);
}

body.checkout-sticky-off .sticky-buy-bar--checkout,
body.place-pick-open .sticky-buy-bar--checkout,
body.place-pick-open .sticky-buy-bar {
    display: none !important;
}

.place-pick.is-open {
    z-index: 10100;
    position: relative;
}

.place-pick__panel {
    z-index: 10110;
}

@media (max-width: 900px) {
    body.has-sticky-checkout {
        padding-bottom: 8.5rem;
        scroll-padding-bottom: 8.5rem;
    }

    body.has-sticky-checkout .checkout-box {
        padding-bottom: 3rem;
    }

    .place-fields,
    .form-group--address,
    .gift-who,
    .place-pick__btn {
        scroll-margin-bottom: 8.5rem;
    }
}

@media (max-width: 768px) {
    .page-product .detail-img-box,
    .page-product .detail-img-box.product-gallery {
        max-height: none !important;
        height: auto !important;
        min-height: 0 !important;
    }
    .page-product .detail-img-box.product-gallery .detail-img-zoom-btn {
        min-height: min(88vw, 380px);
        max-height: none !important;
        height: auto !important;
    }
    .page-product .detail-info-box {
        padding: 0.75rem 0.85rem 1rem;
    }
    .page-product .detail-title {
        font-size: 1.18rem !important;
        margin-bottom: 0.25rem;
    }
    .page-product .detail-desc {
        -webkit-line-clamp: 2;
        margin-bottom: 0.5rem;
        font-size: 0.86rem !important;
        line-height: 1.4 !important;
    }
    .page-product .same-day-notice {
        margin-bottom: 0.5rem;
        padding: 0.5rem 0.7rem;
        font-size: 0.8rem;
        gap: 0.45rem;
    }
    .page-product .detail-form {
        gap: 0.55rem;
        padding-bottom: 5.25rem;
    }
    .page-product .product-price-row--detail {
        margin-bottom: 0.35rem;
    }
    .page-product .product-order-actions .product-card-btn--instant {
        padding: 0.72rem;
        font-size: 1rem;
    }
    .page-product .product-order-actions .product-card-btn--secondary {
        padding: 0.55rem;
        font-size: 0.88rem;
    }
    .page-product .whatsapp-float,
    .page-product .whatsapp-floating {
        bottom: 86px;
        right: 12px;
    }
}