/* =====================================================
   E-Ticaret Script - Ana Stil Dosyasi
   Profesyonel, kurumsal, acik tema
   ===================================================== */

:root {
    --primary: #1a1a2e;
    --primary-light: #16213e;
    --accent: #0f3460;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --text-muted: #999999;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --bg-gray: #f4f5f7;
    --border: #e2e2e2;
    --border-light: #f0f0f0;
    --success: #2e7d32;
    --warning: #f57c00;
    --danger: #c62828;
    --info: #1565c0;
    --white: #ffffff;
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow: 0 1px 4px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.1);
    --radius: 6px;
    --radius-lg: 8px;
    --container: 1200px;
    --header-height: 64px;
    --transition: 0.2s ease;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg);
}

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

.page-content {
    min-height: calc(100vh - var(--header-height) - 300px);
    padding: 32px 0;
}

.section {
    margin-bottom: 48px;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    position: relative;
    padding-bottom: 8px;
    margin-bottom: 24px;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 3px;
    background: var(--accent);
    border-radius: 2px;
}

.section-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color var(--transition);
}

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

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

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
    gap: 24px;
}

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

.header-logo {
    flex-shrink: 0;
}

.header-logo img {
    max-height: 60px;
    width: auto;
    object-fit: contain;
}

.header-logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: -0.3px;
}

/* Navigation */
.header-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.header-nav a {
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}

.header-nav a:hover,
.header-nav a.active {
    background: var(--bg-alt);
    color: var(--primary);
}

.nav-mega-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-mega-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    margin-left: -6px;
    background: none;
    border: none;
    color: var(--text);
    cursor: pointer;
    border-radius: 4px;
    transition: background var(--transition), transform var(--transition);
}

.nav-mega-toggle:hover {
    background: var(--bg-alt);
}

.nav-mega-item.open .nav-mega-toggle {
    transform: rotate(180deg);
}

.nav-mega-panel {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg, 0 8px 24px rgba(0,0,0,0.12));
    padding: 8px;
    min-width: 220px;
    z-index: 150;
    flex-direction: column;
    gap: 2px;
}

.nav-mega-panel a {
    padding: 9px 12px;
    white-space: nowrap;
}

.nav-mega-item.open .nav-mega-panel {
    display: flex;
}

@media (hover: hover) and (pointer: fine) {
    .nav-mega-item:hover .nav-mega-panel {
        display: flex;
    }
}

/* Header Search */
.header-search {
    flex: 1;
    max-width: 360px;
    min-width: 0;
    position: relative;
}

.header-search input {
    width: 100%;
    padding: 9px 14px 9px 38px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg-alt);
    outline: none;
    transition: border-color var(--transition), background var(--transition);
}

.header-search input:focus {
    border-color: var(--primary);
    background: var(--bg);
}

.header-search svg {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.header-action-link {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    border-radius: 4px;
    transition: background var(--transition);
    position: relative;
}

.header-action-link:hover {
    background: var(--bg-alt);
}

.header-action-link svg {
    color: var(--primary);
}

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

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    padding: 8px;
    color: var(--text);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    background: var(--primary);
    color: var(--white);
    overflow: hidden;
}

.hero-inner {
    position: relative;
    z-index: 2;
    padding: 64px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.hero-content {
    max-width: 520px;
}

.hero-title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 16px;
    line-height: 1.6;
    color: #f1f5f9;
    margin-bottom: 28px;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: var(--white);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: opacity var(--transition);
}

.hero-btn:hover { opacity: 0.9; }

.hero-image {
    flex-shrink: 0;
}

.hero-image img {
    max-width: 400px;
    height: auto;
}

/* =====================================================
   BREADCRUMB
   ===================================================== */
.breadcrumb {
    padding: 16px 0;
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--text-light);
    transition: color var(--transition);
}

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

.breadcrumb-sep {
    margin: 0 8px;
    color: var(--border);
}

.breadcrumb-current {
    color: var(--text);
    font-weight: 500;
}

/* =====================================================
   PRODUCT GRID
   ===================================================== */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* =====================================================
   PRODUCTS PAGE LAYOUT (Filtre + Liste)
   ===================================================== */
.products-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 32px;
    align-items: start;
}

.products-filters {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.filter-block {
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--border-light);
}

.filter-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-block-title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 12px;
    color: var(--text);
}

.filter-check-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    max-height: 320px;
    overflow-y: auto;
}

.filter-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 4px;
    font-size: 13px;
    color: var(--text);
    cursor: pointer;
    border-radius: 4px;
}

.filter-check:hover {
    background: var(--bg-alt);
}

.filter-check input {
    flex-shrink: 0;
}

.filter-check span:first-of-type {
    flex: 1;
}

.filter-check-count {
    color: var(--text-muted);
    font-size: 12px;
}

.filter-price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-price-row input {
    width: 0;
    flex: 1;
    padding: 8px 10px;
    font-size: 13px;
}

.filter-price-row span {
    color: var(--text-muted);
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    font-family: inherit;
    border: 1px solid transparent;
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
    text-align: center;
}

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

.btn-accent { background: var(--accent); color: var(--white); }
.btn-accent:hover { opacity: 0.9; }

.btn-outline { background: transparent; color: var(--text); border-color: var(--border); }
.btn-outline:hover { background: var(--bg-alt); border-color: var(--text-muted); }

.btn-success { background: var(--success); color: var(--white); }
.btn-danger { background: var(--danger); color: var(--white); }

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 28px; font-size: 15px; }
.btn-block { width: 100%; }

/* =====================================================
   FORMS
   ===================================================== */
.form-group { margin-bottom: 18px; }

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 5px;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    outline: none;
    transition: border-color var(--transition);
}

.form-control:focus { border-color: var(--primary); }

textarea.form-control { resize: vertical; min-height: 80px; }

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-hint { font-size: 12px; color: var(--text-muted); margin-top: 4px; }
.required { color: var(--danger); }

/* =====================================================
   ALERTS
   ===================================================== */
.alert {
    padding: 14px 18px;
    border-radius: var(--radius);
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
}

.alert-success { background: #e8f5e9; border: 1px solid #c8e6c9; color: #2e7d32; }
.alert-danger { background: #ffebee; border: 1px solid #ffcdd2; color: #c62828; }
.alert-warning { background: #fff3e0; border: 1px solid #ffe0b2; color: #e65100; }
.alert-info { background: #e3f2fd; border: 1px solid #bbdefb; color: #1565c0; }

/* =====================================================
   BADGES
   ===================================================== */
.badge {
    display: inline-block;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 600;
    border-radius: 12px;
    white-space: nowrap;
}

.badge-sale { background: var(--danger); color: #fff; }
.badge-new { background: var(--success); color: #fff; }
.badge-campaign { background: var(--warning); color: #fff; }
.badge-free-shipping { background: var(--info); color: #fff; }

/* =====================================================
   CATEGORY GRID
   ===================================================== */
.category-scroller {
    position: relative;
}

.category-scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    cursor: pointer;
    z-index: 5;
    transition: background var(--transition), color var(--transition), opacity var(--transition);
}

.category-scroll-btn:hover {
    background: var(--primary);
    color: #fff;
}

.category-scroll-btn.is-disabled {
    opacity: 0;
    pointer-events: none;
}

.category-scroll-prev { left: -20px; }
.category-scroll-next { right: -20px; }

.category-grid {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-grid::-webkit-scrollbar {
    display: none;
    height: 0;
}

.category-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin-top: 18px;
}

.category-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.category-dot:hover {
    background: var(--text-light);
}

.category-dot.active {
    background: var(--accent);
    transform: scale(1.25);
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 0 0 190px;
    scroll-snap-align: start;
    padding: 28px 18px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: border-color var(--transition), box-shadow var(--transition);
}

.category-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow);
}

.category-card img {
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 50%;
    margin-bottom: 14px;
}

.category-card-placeholder {
    width: 92px;
    height: 92px;
    background: var(--bg-gray);
    border-radius: 50%;
    margin-bottom: 14px;
}

.category-card-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

.category-card-count {
    font-size: 12px;
    color: #555555;
    margin-top: 4px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.85);
    padding: 48px 0 0;
    margin-top: 48px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.footer-about {
    font-size: 13px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-links a {
    display: block;
    padding: 4px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    transition: color var(--transition);
}

.footer-links a:hover { color: #ffffff; }

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

.footer-contact-item svg {
    flex-shrink: 0;
    margin-top: 2px;
    opacity: 0.6;
}

/* Newsletter */
.footer-newsletter {
    margin-top: 12px;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 4px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 13px;
    font-family: inherit;
    outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }

.newsletter-form input:focus { border-color: rgba(255,255,255,0.3); }

.newsletter-form button {
    padding: 9px 16px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: opacity var(--transition);
    white-space: nowrap;
}

.newsletter-form button:hover { opacity: 0.9; }

/* Social Links */
.footer-social {
    display: flex;
    gap: 12px;
    margin-top: 16px;
}

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

.footer-social a:hover {
    background: rgba(255,255,255,0.15);
    color: #ffffff;
}

/* Footer Bottom */
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: rgba(255,255,255,0.75);
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination-nav {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 4px;
}

.pagination-link {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 8px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text);
    background: var(--bg);
    transition: all var(--transition);
}

.pagination-link:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pagination-active {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.pagination-active:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination-dots {
    padding: 0 4px;
    color: var(--text-muted);
    font-size: 13px;
}

/* =====================================================
   SORT & FILTER BAR
   ===================================================== */
.filter-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-light);
}

.filter-bar-left {
    font-size: 13px;
    color: var(--text-light);
}

.filter-bar-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-bar-right select {
    padding: 6px 28px 6px 10px;
    border: 1px solid var(--border);
    border-radius: 4px;
    font-size: 13px;
    font-family: inherit;
    color: var(--text);
    background: var(--bg);
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236b6b6b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
}

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    border: none;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 50;
    box-shadow: var(--shadow);
}

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

.back-to-top:hover { opacity: 0.9; }

/* =====================================================
   AUTH PAGES (Login / Register)
   ===================================================== */
.auth-page {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.auth-card {
    width: 100%;
    max-width: 440px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
}

.auth-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--primary);
    text-align: center;
    margin-bottom: 24px;
}

.auth-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
    font-size: 13px;
    color: var(--text-light);
}

.auth-footer a {
    font-weight: 600;
    color: var(--primary);
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* =====================================================
   ACCOUNT LAYOUT
   ===================================================== */
.account-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 32px;
    align-items: flex-start;
}

.account-sidebar {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    position: sticky;
    top: calc(var(--header-height) + 16px);
}

.account-user-info {
    text-align: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 16px;
}

.account-avatar {
    width: 56px;
    height: 56px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 10px;
}

.account-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.account-email {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 2px;
}

.account-nav {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.account-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-light);
    border-radius: var(--radius);
    transition: all var(--transition);
}

.account-nav-link:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.account-nav-link.active {
    background: var(--bg-alt);
    color: var(--primary);
    font-weight: 600;
}

.account-nav-link svg {
    flex-shrink: 0;
}

/* Account Stats */
.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.account-stat-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
}

.account-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary);
}

.account-stat-label {
    font-size: 13px;
    color: var(--text-light);
    margin-top: 4px;
}

/* =====================================================
   DATA TABLE
   ===================================================== */
.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

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

.data-table th {
    background: var(--bg-alt);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.data-table td {
    padding: 12px 14px;
    font-size: 14px;
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background: var(--bg-alt);
}

.data-table tfoot td {
    padding: 10px 14px;
    font-size: 14px;
    border-top: 1px solid var(--border);
}

/* =====================================================
   INFO CARDS
   ===================================================== */
.info-card {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 16px;
}

.info-card-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.info-card-value {
    font-size: 15px;
    font-weight: 600;
    color: var(--text);
}

/* =====================================================
   ORDER STATUS BADGES
   ===================================================== */
.badge-new { background: #e3f2fd; color: #1565c0; }
.badge-confirmed { background: #e8f5e9; color: #2e7d32; }
.badge-preparing { background: #fff3e0; color: #e65100; }
.badge-shipped { background: #e8eaf6; color: #283593; }
.badge-delivered { background: #e8f5e9; color: #1b5e20; }
.badge-cancelled { background: #ffebee; color: #c62828; }
.badge-returned { background: #fce4ec; color: #880e4f; }

/* =====================================================
   ORDER TIMELINE
   ===================================================== */
.order-timeline {
    position: relative;
    padding-left: 24px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    top: 4px;
    bottom: 4px;
    width: 2px;
    background: var(--border);
}

.timeline-item {
    position: relative;
    padding-bottom: 16px;
}

.timeline-item:last-child {
    padding-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -20px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid var(--bg);
    box-shadow: 0 0 0 2px var(--border);
}

.timeline-content {
    padding: 2px 0;
}

/* =====================================================
   CART SUMMARY (Checkout sidebar)
   ===================================================== */
.cart-summary {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 14px;
}

.cart-summary-row.total {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    border-top: 2px solid var(--border);
    padding-top: 12px;
    margin-top: 4px;
}

/* =====================================================
   SLIDER
   ===================================================== */
.slider-section {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--primary);
}

.slider-container {
    position: relative;
    width: 100%;
    max-height: 560px;
}

.slider-item {
    display: none;
    position: relative;
    width: 100%;
}

.slider-item.active {
    display: block;
    animation: sliderFadeIn 0.6s ease;
}

@keyframes sliderFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.slider-media {
    width: 100%;
    height: 560px;
    overflow: hidden;
}

.slider-item img {
    width: 100%;
    height: 560px;
    object-fit: cover;
    display: block;
    transform: scale(1);
    animation: sliderKenBurns 7s ease-out forwards;
}

@keyframes sliderKenBurns {
    from { transform: scale(1); }
    to { transform: scale(1.08); }
}

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15,20,35,0.92) 0%, rgba(15,20,35,0.62) 32%, rgba(15,20,35,0.15) 58%, rgba(15,20,35,0.05) 100%);
    pointer-events: none;
}

.slider-caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    padding: 0 60px;
    color: #fff;
}

.slider-caption-inner {
    max-width: 480px;
    animation: sliderTextUp 0.7s ease 0.1s both;
}

@keyframes sliderTextUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.slider-badge {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: #fff;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.35);
    padding: 6px 14px;
    border-radius: 30px;
    margin-bottom: 16px;
    backdrop-filter: blur(4px);
}

.slider-caption h2 {
    font-size: 36px;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 12px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.slider-caption p {
    font-size: 15.5px;
    line-height: 1.6;
    opacity: 0.92;
    margin-bottom: 24px;
}

.slider-caption .hero-btn.slider-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    background: #fff;
    color: var(--primary);
    text-decoration: none;
    border-radius: 30px;
    font-weight: 700;
    font-size: 14px;
    transition: background var(--transition), transform var(--transition), gap var(--transition);
}

.slider-caption .hero-btn.slider-cta svg {
    transition: transform var(--transition);
}

.slider-caption .hero-btn.slider-cta:hover {
    background: var(--accent);
    color: #fff;
    gap: 14px;
}

.slider-btn {
    position: relative;
    background: rgba(255,255,255,0.16);
    border: 1px solid rgba(255,255,255,0.4);
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: background var(--transition);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: rgba(255,255,255,0.32);
}

.slider-controls {
    position: absolute;
    bottom: 22px;
    right: 40px;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 14px;
}

.slider-dots {
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 22px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background var(--transition), width var(--transition);
}

.slider-dot:hover {
    background: rgba(255,255,255,0.7);
}

.slider-dot.active {
    background: #fff;
    width: 34px;
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    background: var(--bg-alt);
    padding: 48px 0;
}

.hero-inner {
    display: flex;
    align-items: center;
    gap: 48px;
}

.hero-content { flex: 1; }

.hero-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.hero-subtitle {
    font-size: 16px;
    color: #374151;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--primary);
    color: #fff;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    transition: background var(--transition);
}

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

.hero-image img {
    max-width: 400px;
    height: auto;
    border-radius: var(--radius-lg);
}

@media (max-width: 768px) {
    .slider-container { max-height: 400px; }
    .slider-media, .slider-item img { height: 400px; }
    .slider-overlay { background: linear-gradient(180deg, rgba(15,20,35,0.15) 0%, rgba(15,20,35,0.4) 45%, rgba(15,20,35,0.92) 100%); }
    .slider-caption { padding: 0 24px; align-items: flex-end; }
    .slider-caption-inner { max-width: 100%; padding-bottom: 56px; }
    .slider-badge { font-size: 10.5px; padding: 5px 12px; margin-bottom: 10px; }
    .slider-caption h2 { font-size: 21px; margin-bottom: 8px; }
    .slider-caption p { font-size: 13.5px; margin-bottom: 16px; }
    .slider-caption .hero-btn.slider-cta { padding: 10px 20px; font-size: 13px; }
    .slider-btn { width: 28px; height: 28px; font-size: 16px; }
    .slider-controls { right: 20px; bottom: 14px; gap: 10px; }
    .slider-dot { width: 16px; }
    .slider-dot.active { width: 26px; }
    .hero-inner { flex-direction: column; gap: 24px; }
    .hero-title { font-size: 24px; }
    .hero-image img { max-width: 100%; }
}

/* =====================================================
   BLOG
   ===================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.blog-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: box-shadow var(--transition), transform var(--transition);
    display: flex;
    flex-direction: column;
}

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

.blog-card-image {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--bg-gray);
}

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

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

.blog-card-body {
    padding: 18px 20px 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-date {
    font-size: 12px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin-bottom: 8px;
}

.blog-card-title {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: 10px;
}

.blog-card-title a {
    color: var(--primary);
    transition: color var(--transition);
}

.blog-card-title a:hover {
    color: var(--accent);
}

.blog-card-excerpt {
    font-size: 13.5px;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 14px;
    flex: 1;
}

.blog-card-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    align-self: flex-start;
}

.blog-card-link:hover {
    color: var(--primary);
}

.blog-detail {
    max-width: 800px;
    margin: 0 auto;
}

.blog-detail-header {
    margin-bottom: 24px;
}

.blog-detail-back {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 16px;
}

.blog-detail-back:hover {
    color: var(--primary);
}

.blog-detail-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.3;
    margin-bottom: 12px;
}

.blog-detail-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.blog-detail-image {
    margin-bottom: 28px;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.blog-detail-image img {
    width: 100%;
    max-height: 440px;
    object-fit: cover;
}

.blog-detail-content {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text);
}

.blog-detail-content h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 14px;
}

.blog-detail-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 10px;
}

.blog-detail-content p {
    margin-bottom: 16px;
}

.blog-detail-content ul,
.blog-detail-content ol {
    margin: 0 0 16px 20px;
}

.blog-detail-content li {
    margin-bottom: 6px;
}

.blog-detail-content a {
    color: var(--accent);
    text-decoration: underline;
}

.blog-detail-content a:hover {
    color: var(--primary);
}

.blog-detail-content strong {
    color: var(--primary);
}

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

@media (max-width: 600px) {
    .blog-grid { grid-template-columns: 1fr; }
    .blog-detail-title { font-size: 24px; }
}

/* =====================================================
   STATIC PAGES (Über uns, Impressum, Datenschutz, AGB...)
   ===================================================== */
.static-page {
    max-width: 860px;
    margin: 0 auto;
}

.static-page-title {
    font-size: 30px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 24px;
}

.static-page-content {
    font-size: 15.5px;
    line-height: 1.85;
    color: var(--text);
}

.static-page-content h2 {
    font-size: 21px;
    font-weight: 700;
    color: var(--primary);
    margin: 32px 0 14px;
}

.static-page-content h3 {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary);
    margin: 24px 0 10px;
}

.static-page-content p {
    margin-bottom: 16px;
}

.static-page-content ul,
.static-page-content ol {
    margin: 0 0 16px 20px;
}

.static-page-content li {
    margin-bottom: 6px;
}

.static-page-content a {
    color: var(--accent);
    text-decoration: underline;
}

.static-page-content a.btn {
    color: #fff !important;
    text-decoration: none !important;
}

.static-page-content strong {
    color: var(--primary);
}

/* -- Über uns: hero banner -- */
.about-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16 / 6;
}

.about-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.45) 55%, rgba(26,26,46,0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: #fff;
}

.about-hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #fff;
    background: var(--accent);
    padding: 5px 12px;
    border-radius: 30px;
    margin-bottom: 12px;
    width: fit-content;
}

.about-hero-overlay h2 {
    font-size: 28px;
    font-weight: 800;
    max-width: 420px;
    line-height: 1.3;
    color: #fff !important;
    margin: 0 !important;
}

/* -- Über uns: stat boxes -- */
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.about-stat {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 16px;
    text-align: center;
}

.about-stat strong {
    display: block;
    font-size: 26px;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 4px;
}

.about-stat span {
    font-size: 12.5px;
    color: var(--text-light);
    font-weight: 600;
}

/* -- Über uns: content sections -- */
.about-section {
    margin-bottom: 40px;
}

.about-section-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
}

.about-section-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    object-fit: cover;
    aspect-ratio: 4 / 3;
}

.about-checklist {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin: 0 0 20px 0 !important;
}

.about-checklist li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text);
    font-size: 14.5px;
}

.about-checklist li::before {
    content: '';
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/60% no-repeat;
}

@media (max-width: 768px) {
    .about-hero { aspect-ratio: 16 / 9; }
    .about-hero-overlay { padding: 0 20px; background: linear-gradient(180deg, rgba(26,26,46,0.3) 0%, rgba(26,26,46,0.85) 100%); justify-content: flex-end; padding-bottom: 20px; }
    .about-hero-overlay h2 { font-size: 21px; max-width: 100%; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .about-section-split { grid-template-columns: 1fr; }
    .about-checklist { grid-template-columns: 1fr; }
}

/* =====================================================
   CONTACT PAGE
   ===================================================== */
.contact-hero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 32px;
    aspect-ratio: 16 / 5;
}

.contact-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(26,26,46,0.88) 0%, rgba(26,26,46,0.4) 60%, rgba(26,26,46,0.05) 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 40px;
    color: #fff;
}

.contact-hero-overlay h1 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 6px;
    color: #fff !important;
}

.contact-hero-overlay p {
    font-size: 14px;
    opacity: 0.9;
    max-width: 420px;
    color: #fff !important;
    margin: 0 !important;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 28px;
    align-items: start;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.contact-info-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 16px 18px;
    transition: box-shadow var(--transition), transform var(--transition);
}

.contact-info-card:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.contact-info-icon {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.contact-info-card-label {
    font-size: 11.5px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
    font-weight: 700;
    margin-bottom: 2px;
}

.contact-info-card-value {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--text);
}

.contact-info-card-value a {
    color: var(--text);
}

.contact-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 4 / 3;
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.contact-form-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.contact-form-card h2 {
    font-size: 19px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

@media (max-width: 900px) {
    .contact-layout { grid-template-columns: 1fr; }
    .contact-hero { aspect-ratio: 16 / 9; }
    .contact-hero-overlay { padding: 0 20px; }
}

/* =====================================================
   WHATSAPP CHAT WIDGET
   ===================================================== */
.whatsapp-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 950;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.whatsapp-float {
    position: relative;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.25);
    cursor: pointer;
    font-family: inherit;
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    color: #fff;
}

.whatsapp-float-icon-close {
    display: none;
}

.whatsapp-float.is-open .whatsapp-float-icon-close {
    display: block;
}

.whatsapp-float.is-open svg:not(.whatsapp-float-icon-close) {
    display: none;
}

.whatsapp-float.is-open .whatsapp-float-ping {
    display: none;
}

.whatsapp-float.is-open {
    background: var(--primary);
}

.whatsapp-float-ping {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: whatsappPing 2.2s cubic-bezier(0,0,0.2,1) infinite;
    pointer-events: none;
}

@keyframes whatsappPing {
    0% { transform: scale(1); opacity: 0.55; }
    75%, 100% { transform: scale(1.7); opacity: 0; }
}

.whatsapp-float-tooltip {
    position: absolute;
    right: calc(100% + 14px);
    top: 50%;
    transform: translateY(-50%);
    background: var(--primary);
    color: #fff;
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition), transform var(--transition);
}

.whatsapp-float-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--primary);
}

.whatsapp-float:hover .whatsapp-float-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-4px);
}

.whatsapp-float.is-open .whatsapp-float-tooltip {
    display: none;
}

/* -- Chat-Panel -- */
.whatsapp-chat-panel {
    width: 320px;
    max-width: calc(100vw - 32px);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0,0,0,0.22);
    overflow: hidden;
    display: none;
    flex-direction: column;
    opacity: 0;
    transform: translateY(12px) scale(0.97);
    transform-origin: bottom right;
    transition: opacity 0.22s ease, transform 0.22s ease;
}

.whatsapp-chat-panel.open {
    display: flex;
    opacity: 1;
    transform: translateY(0) scale(1);
}

.whatsapp-chat-header {
    background: #25D366;
    color: #fff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.whatsapp-chat-header-avatar {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.whatsapp-chat-header-text {
    display: flex;
    flex-direction: column;
    line-height: 1.35;
    flex: 1;
    min-width: 0;
}

.whatsapp-chat-header-text strong {
    font-size: 14.5px;
}

.whatsapp-chat-header-text span {
    font-size: 12px;
    opacity: 0.9;
}

.whatsapp-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    padding: 4px;
    opacity: 0.85;
    flex-shrink: 0;
}

.whatsapp-chat-close:hover {
    opacity: 1;
}

.whatsapp-chat-body {
    padding: 18px;
    background: #e5ded6;
    background-image: linear-gradient(180deg, #ece5dd, #e5ded6);
    min-height: 100px;
}

.whatsapp-chat-bubble {
    background: #fff;
    padding: 12px 14px;
    border-radius: 2px 12px 12px 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
    max-width: 90%;
}

.whatsapp-chat-input-row {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 12px;
    background: #f0f0f0;
    border-top: 1px solid var(--border);
}

.whatsapp-chat-input-row textarea {
    flex: 1;
    resize: none;
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px 16px;
    font-size: 13.5px;
    font-family: inherit;
    max-height: 80px;
    background: #fff;
}

.whatsapp-chat-input-row textarea:focus {
    outline: none;
    border-color: #25D366;
}

.whatsapp-chat-input-row button {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition: background var(--transition);
}

.whatsapp-chat-input-row button:hover {
    background: #1eb857;
}

@media (max-width: 600px) {
    .whatsapp-widget { bottom: 16px; right: 16px; }
    .whatsapp-float { width: 52px; height: 52px; }
    .whatsapp-float svg { width: 26px; height: 26px; }
    .whatsapp-float-tooltip { display: none; }
    .whatsapp-chat-panel { width: calc(100vw - 32px); }
}


