/* Base Styles & CSS Variables */
:root {
    --primary-color: #f58220; /* Okul Materyali Orange */
    --primary-hover: #d36814;
    --text-dark: #222222;
    --text-light: #555555;
    --bg-light: #fdfdfd;
    --white: #ffffff;
    --border-color: #eaeaea;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

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

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

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    animation: bodyFadeIn 0.45s cubic-bezier(0.21, 1.02, 0.43, 1.01) forwards;
}

body.page-leaving {
    opacity: 0 !important;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1) !important;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
.main-header {
    background-color: var(--white);
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    border-bottom: 1px solid var(--border-color);
    padding: 15px 0;
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-text {
    font-size: 26px;
    font-weight: 900;
    color: #111111;
    letter-spacing: -0.8px;
}

.header-logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.header-logo-img:hover {
    transform: scale(1.02);
}

.header-logo-icon {
    font-size: 36px;
}

/* Contact Info Boxes */
.header-contacts {
    display: flex;
    align-items: center;
    gap: 24px;
}

.contact-box {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.contact-box:hover {
    transform: translateY(-2px);
}

.contact-icon-wrapper {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}

.contact-icon-wrapper.wa-icon {
    background-color: #25D366;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.contact-icon-wrapper.phone-icon {
    background-color: #2d3436;
    box-shadow: 0 4px 10px rgba(45, 52, 54, 0.2);
}

.contact-details {
    display: flex;
    flex-direction: column;
}

.contact-title {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.2;
}

.contact-number {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

/* Search and Cart Items */
.header-search {
    position: relative;
    width: 260px;
    margin-left: auto;
    transition: width 0.3s ease;
}

.header-search form {
    display: flex;
    background: #f4f7f6;
    border-radius: 12px;
    padding: 2px 12px;
    border: 1.5px solid transparent;
    transition: all 0.3s ease;
}

.header-search form:focus-within {
    border-color: var(--primary-color);
    background: var(--white);
    box-shadow: 0 8px 20px rgba(0,0,0,0.06);
}

.header-search input {
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px 4px;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    outline: none;
}

.header-search button {
    border: none;
    background: transparent;
    color: var(--text-light);
    cursor: pointer;
    padding: 0 4px;
}

.header-cart-icon-link {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background-color: #fff;
    border: 1px solid #eee;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    position: relative;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
    text-decoration: none;
    flex-shrink: 0;
}

.header-cart-icon-link:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.2);
}

.cart-count-badge,
.header-cart-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: var(--primary-color);
    color: var(--white);
    font-size: 11px;
    font-weight: 800;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* Header Nav Bar (Orange Bar) */
.header-nav-bar {
    background-color: var(--primary-color);
    height: 52px;
}

.header-nav-bar .container {
    height: 100%;
}

.header-nav-inner {
    display: flex;
    align-items: center;
    height: 100%;
}

/* Tüm Kategoriler Dropdown */
.all-categories-dropdown {
    position: relative;
    height: 100%;
}

.categories-btn {
    background-color: transparent;
    border: none;
    color: var(--white);
    padding: 0 24px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.categories-btn:hover {
    background-color: rgba(255, 255, 255, 0.18);
    transform: scale(1.05);
}

.categories-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background-color: var(--white);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    display: none;
    z-index: 1000;
    border-radius: 0 0 16px 16px;
    padding: 8px;
    border: 1px solid var(--border-color);
    border-top: none;
    max-height: 70vh;
    overflow-y: auto;
}
.categories-dropdown-menu.active {
    display: block;
}

/* Custom Premium Scrollbar for Categories Dropdown */
.categories-dropdown-menu::-webkit-scrollbar { width: 6px; }
.categories-dropdown-menu::-webkit-scrollbar-track { background: transparent; }
.categories-dropdown-menu::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.12); border-radius: 10px; }
.categories-dropdown-menu::-webkit-scrollbar-thumb:hover { background: rgba(0,0,0,0.22); }

/* Ana kategori başlığı */
.cat-dd-parent {
    padding: 11px 14px;
    margin-bottom: 2px;
    background: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 700;
    color: #222;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.cat-dd-parent:hover,
.cat-dd-parent.open {
    background: #fff6ef;
    color: var(--primary-color);
    border-color: #ffd8bf;
}
.cat-dd-arrow {
    font-size: 11px;
    color: #bbb;
    transition: transform 0.25s ease;
    flex-shrink: 0;
    margin-left: 8px;
}
.cat-dd-arrow.open {
    transform: rotate(180deg);
    color: var(--primary-color);
}

/* Alt kategori container — max-height animasyonu */
.cat-dd-children {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    margin-bottom: 2px;
}
.cat-dd-children.open {
    max-height: 1000px;
}

/* Alt kategori linkleri */
.cat-dd-child {
    display: block;
    padding: 8px 14px 8px 22px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    text-decoration: none;
    background: #fff;
    border-left: 3px solid #f0f0f0;
    margin: 1px 0 1px 4px;
    border-radius: 0 6px 6px 0;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.cat-dd-child:hover {
    background: #fff6ef;
    color: var(--primary-color);
    border-left-color: var(--primary-color);
}

/* Eski dropdown-item — sadece fallback için, ok ekleme */
.dropdown-item {
    padding: 11px 14px;
    background-color: #fafafa;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    margin-bottom: 2px;
}
.dropdown-item:hover {
    background-color: #fff6ef;
    border-color: #ffd8bf;
    color: var(--primary-color);
}
.main-nav {
    margin-left: 20px;
    height: 100%;
}

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

.main-nav a {
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0 20px;
    transition: background-color 0.3s ease, transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.main-nav a i {
    font-size: 15px;
    margin-right: 2px;
}

.main-nav a:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: scale(1.05);
    opacity: 1;
}

/* Announcement Bar */
.announcement-bar {
    background-color: #f39c12;
    color: var(--white);
    padding: 8px 0;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.announcement-inner i {
    font-size: 14px;
}

/* Hero Section */
.hero-section {
    background-color: #1A1A1A;
    background: linear-gradient(135deg, #1A1A1A 0%, #2C3E50 100%);
    color: var(--white);
    padding: 60px 0;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn-primary {
    display: inline-block;
    background-color: rgba(255,255,255,0.2);
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 16px;
    backdrop-filter: blur(5px);
}

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

.hero-image {
    max-width: 500px;
}
.hero-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Section Title */
.section-title {
    text-align: center;
    margin-bottom: 35px;
    font-size: 30px;
    font-weight: 850;
    color: var(--text-dark, #0f172a);
    letter-spacing: -0.6px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 48px;
    height: 3.5px;
    background: linear-gradient(90deg, #f58220, #ea580c);
    border-radius: 4px;
    margin: 10px auto 0;
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.product-card {
    background: #ffffff !important;
    border-radius: 18px !important;
    padding: 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04) !important;
    text-align: left !important;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1) !important;
    border: 1px solid #eef2f6 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    position: relative !important;
    overflow: hidden !important;
}

.product-card:hover {
    transform: translateY(-7px) !important;
    box-shadow: 0 18px 36px -4px rgba(245, 130, 32, 0.16), 0 8px 16px -2px rgba(0, 0, 0, 0.05) !important;
    border-color: #fed7aa !important;
}

.product-card-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    color: #ea580c;
    font-size: 11px;
    font-weight: 800;
    padding: 3.5px 9px;
    border-radius: 20px;
    border: 1px solid rgba(245, 130, 32, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.product-img {
    height: 210px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 14px !important;
    background: #f8fafc !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    position: relative !important;
    border: 1px solid #f1f5f9 !important;
    padding: 12px !important;
}

.product-img img {
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.product-card:hover .product-img img {
    transform: scale(1.08) !important;
}

.product-card-cat {
    font-size: 11px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.product-title {
    font-size: 14.5px !important;
    font-weight: 700 !important;
    margin-bottom: 12px !important;
    color: #0f172a !important;
    line-height: 1.35 !important;
    height: 40px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-align: left !important;
    transition: color 0.2s ease !important;
}

.product-title a {
    color: inherit;
    text-decoration: none;
}

.product-card:hover .product-title,
.product-card:hover .product-title a {
    color: #ea580c !important;
}

.product-card-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px dashed #e2e8f0;
}

.product-price {
    font-size: 18px !important;
    font-weight: 850 !important;
    color: #ea580c !important;
    margin-bottom: 0 !important;
    letter-spacing: -0.4px !important;
    display: flex !important;
    align-items: baseline !important;
    gap: 3px !important;
}

.product-price small {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #64748b !important;
}

.product-price-box {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.product-old-price {
    font-size: 11.5px !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    text-decoration: line-through !important;
    margin-bottom: 2px !important;
    line-height: 1 !important;
}

.btn-card {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    padding: 9px 18px !important;
    background: linear-gradient(135deg, #f58220 0%, #ea580c 100%) !important;
    color: #ffffff !important;
    border-radius: 11px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    border: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    box-shadow: 0 4px 12px rgba(245, 130, 32, 0.25) !important;
    transition: all 0.25s ease !important;
    white-space: nowrap !important;
}

.btn-card:hover {
    background: linear-gradient(135deg, #ea580c 0%, #c2410c 100%) !important;
    box-shadow: 0 6px 18px rgba(234, 88, 12, 0.35) !important;
    transform: translateY(-2px) !important;
    color: #ffffff !important;
}

.btn-card i {
    font-size: 11px;
    transition: transform 0.2s ease;
}

.btn-card:hover i {
    transform: translateX(3px);
}

.btn-card.btn-success {
    background: #27ae60 !important;
    color: #fff !important;
}

/* Banner Section */
.campaign-banner {
    background: linear-gradient(90deg, #ff8c00 0%, #ffa500 100%);
    border-radius: var(--border-radius);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    color: var(--white);
    margin-bottom: 60px;
}

.campaign-content {
    flex: 1;
    max-width: 600px;
    text-align: center;
}

.campaign-content h2 {
    font-size: 36px;
    margin-bottom: 10px;
}

.campaign-content p {
    font-size: 18px;
    margin-bottom: 20px;
}

.btn-yellow {
    background-color: var(--primary-color);
    color: #fff;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-weight: 700;
}

.campaign-products-wrapper {
    flex: 1;
    display: flex;
    gap: 15px;
    max-width: 600px;
    justify-content: center;
    flex-wrap: wrap;
}

.campaign-image {
    max-width: 300px;
}
.campaign-image img {
    width: 100%;
}

/* Features Footer */
.features-section {
    background-color: var(--white);
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    text-align: center;
}

.feature-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.feature-icon i {
    font-size: 40px;
    color: var(--text-dark);
}

.feature-text h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

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

/* =====================================================================
   MAIN FOOTER & PRE-FOOTER FEATURES
   ===================================================================== */
.main-footer {
    background: #0f172a;
    color: #e2e8f0;
    position: relative;
    border-top: 3px solid #ea580c;
    background-image: radial-gradient(circle at 50% 0%, rgba(245, 130, 32, 0.08) 0%, transparent 60%);
}

/* Pre-Footer Trust Features Bar */
.footer-features-bar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding: 30px 0;
    background: rgba(15, 23, 42, 0.6);
}

.footer-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.footer-feature-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(245, 130, 32, 0.3);
    transform: translateY(-3px);
}

.footer-feature-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(245, 130, 32, 0.2), rgba(234, 88, 12, 0.1));
    border: 1px solid rgba(245, 130, 32, 0.3);
    color: #fb923c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    flex-shrink: 0;
}

.footer-feature-info h4 {
    font-size: 13.5px;
    font-weight: 750;
    color: #ffffff;
    margin-bottom: 3px;
    line-height: 1.25;
}

.footer-feature-info p {
    font-size: 12px;
    color: #94a3b8;
    margin: 0;
    line-height: 1.35;
}

/* Footer Main Body */
.footer-top {
    display: grid;
    grid-template-columns: 1.3fr 0.9fr 1fr 1.1fr;
    gap: 36px;
    padding: 48px 0 35px;
}

.footer-brand-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 850;
    color: #ffffff;
    text-decoration: none;
    margin-bottom: 14px;
}

.footer-brand-title span.accent {
    color: #f58220;
}

.footer-about-text {
    font-size: 13px;
    line-height: 1.65;
    color: #94a3b8;
    margin-bottom: 16px;
}

.footer-ssl-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 20px;
    color: #34d399;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-widget h3 {
    font-size: 14.5px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: #ffffff;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-widget h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 32px;
    height: 3px;
    background: linear-gradient(90deg, #f58220, #ea580c);
    border-radius: 3px;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 10px;
}

.footer-links-list li a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.footer-links-list li a i {
    font-size: 9px;
    color: #f58220;
    opacity: 0.6;
    transition: all 0.2s ease;
}

.footer-links-list li a:hover {
    color: #ffffff;
    padding-left: 3px;
}

.footer-links-list li a:hover i {
    opacity: 1;
    transform: translateX(2px);
    color: #ea580c;
}

/* Contact Info in Footer */
.footer-contact-list {
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.footer-contact-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 13px;
    color: #cbd5e1;
}

.footer-contact-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(245, 130, 32, 0.12);
    border: 1px solid rgba(245, 130, 32, 0.2);
    color: #f58220;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.footer-contact-list li a {
    color: #cbd5e1;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-contact-list li a:hover {
    color: #f58220;
}

.footer-social-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.footer-social-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 9px;
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    color: #ffffff !important;
    transition: all 0.25s ease;
}

.footer-social-btn.instagram {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    box-shadow: 0 4px 12px rgba(220, 39, 67, 0.25);
}

.footer-social-btn.whatsapp {
    background: #25D366;
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.footer-social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Footer Bottom Bar */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    background: #090d16;
}

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

.footer-copy {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.footer-copy a {
    color: #94a3b8;
    text-decoration: none;
}

.footer-copy a:hover {
    color: #f58220;
}

.footer-badges-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.footer-badge-title {
    font-size: 11px;
    color: #64748b;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 4px;
}

.footer-badge-pill {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 7px;
    padding: 4px 9px;
    font-size: 11.5px;
    font-weight: 700;
    color: #cbd5e1;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.footer-badge-pill i {
    font-size: 12px;
    color: #94a3b8;
}

.footer-badge-pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(245, 130, 32, 0.3);
    color: #ffffff;
}

/* Responsive Mobile Drawer & Toggle */
.header-mobile-toggle { 
    display: none; 
    align-items: center; 
    justify-content: center; 
    width: 40px; 
    height: 40px; 
    font-size: 18px; 
    cursor: pointer; 
    color: var(--text-dark); 
    background-color: #f4f7f6; 
    border-radius: 10px; 
    border: 1px solid #e5e9ea;
    transition: all 0.2s ease;
}
.header-mobile-toggle:hover {
    background-color: #eaeaea;
}

/* =====================================================================
   MOBILE OFF-CANVAS DRAWER MENU
   ===================================================================== */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    z-index: 99998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 320px;
    max-width: 86vw;
    background: #ffffff;
    z-index: 99999;
    display: flex;
    flex-direction: column;
    transform: translateX(-100%);
    transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 10px 0 35px rgba(0, 0, 0, 0.2);
}
.mobile-drawer.active {
    transform: translateX(0);
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
}
.drawer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}
.drawer-logo-img {
    height: 36px;
    width: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid #eee;
}
.drawer-logo-text {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.5px;
}
.drawer-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: none;
    background: #f1f5f9;
    color: #475569;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}
.drawer-close-btn:active {
    background: #e2e8f0;
    color: #0f172a;
    transform: scale(0.92);
}

.mobile-drawer-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px 18px 30px;
    -webkit-overflow-scrolling: touch;
}

/* Quick Action Cards */
.drawer-quick-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.drawer-action-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s;
}
.drawer-action-card:active {
    background: #f1f5f9;
    border-color: #cbd5e1;
    transform: scale(0.98);
}
.drawer-action-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}
.drawer-action-icon.wa-cart-icon {
    background: rgba(245, 130, 32, 0.12);
    color: var(--primary-color);
}
.drawer-action-icon.wa-track-icon {
    background: rgba(59, 130, 246, 0.12);
    color: #2563eb;
}
.drawer-action-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.drawer-action-text .action-title {
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.2;
}
.drawer-action-text .action-sub {
    font-size: 10.5px;
    font-weight: 500;
    color: #64748b;
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Section titles */
.drawer-section-title {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.6px;
    color: #94a3b8;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

/* Categories Tree */
.drawer-categories-tree {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.drawer-cat-group {
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
    background: #fafafa;
}
.drawer-cat-parent-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: transparent;
    border: none;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-align: left;
    cursor: pointer;
    transition: background 0.2s;
}
.drawer-cat-parent-btn:active {
    background: #f1f5f9;
}
.drawer-parent-title {
    flex: 1;
    margin-right: 8px;
}
.drawer-parent-badge {
    display: none !important;
}
.drawer-arrow {
    font-size: 11px;
    color: #94a3b8;
    transition: transform 0.25s ease;
}
.drawer-arrow.open {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.drawer-cat-sublist {
    display: none;
    flex-direction: column;
    background: #ffffff;
    border-top: 1px solid #f1f5f9;
    padding: 6px 0;
}
.drawer-cat-sublist.open {
    display: flex;
}
.drawer-sub-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #334155;
    text-decoration: none;
    transition: all 0.15s;
}
.drawer-sub-item i {
    font-size: 10px;
    color: #cbd5e1;
}
.drawer-sub-item:hover, .drawer-sub-item:active {
    background: #fff7ed;
    color: var(--primary-color);
    padding-left: 22px;
}
.drawer-sub-item:hover i, .drawer-sub-item:active i {
    color: var(--primary-color);
}

.drawer-cat-direct-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: #fafafa;
    border: 1px solid #f1f5f9;
    border-radius: 10px;
    font-size: 13.5px;
    font-weight: 700;
    color: #1e293b;
    text-decoration: none;
}
.drawer-all-categories-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    padding: 10px;
    border-radius: 10px;
    background: #fff7ed;
    color: var(--primary-color);
    font-size: 12.5px;
    font-weight: 700;
    text-decoration: none;
    border: 1px dashed var(--primary-color);
}

/* Contact Links in Drawer */
.drawer-contact-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.drawer-contact-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: 12px;
    text-decoration: none;
    border: 1px solid #f1f5f9;
    transition: all 0.2s;
}
.drawer-contact-card.wa-card {
    background: #f0fdf4;
    border-color: #bbf7d0;
}
.drawer-contact-card.phone-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}
.drawer-contact-card.info-card {
    background: #faf5ff;
    border-color: #f3e8ff;
}
.drawer-contact-card .contact-card-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}
.wa-card .contact-card-icon {
    background: #22c55e;
    color: #ffffff;
}
.phone-card .contact-card-icon {
    background: #334155;
    color: #ffffff;
}
.info-card .contact-card-icon {
    background: #a855f7;
    color: #ffffff;
}
.contact-card-text {
    display: flex;
    flex-direction: column;
}
.contact-card-text strong {
    font-size: 12.5px;
    font-weight: 700;
    color: #0f172a;
}
.contact-card-text span {
    font-size: 11.5px;
    font-weight: 500;
    color: #64748b;
    margin-top: 1px;
}

@media (max-width: 991px) {
    .header-contacts {
        display: none !important;
    }
    .header-top {
        padding: 8px 0 10px !important;
    }
    .header-top-inner {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 !important;
        row-gap: 8px !important;
    }
    .header-mobile-toggle {
        display: none !important;
    }
    .logo {
        order: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-width: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .logo-link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 10px !important;
        text-decoration: none !important;
    }
    .header-logo-img {
        height: 50px !important;
        width: 50px !important;
        min-width: 50px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 1px solid #eee !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
        aspect-ratio: 1 / 1 !important;
        flex-shrink: 0 !important;
    }
    .logo-text {
        font-size: 22px !important;
        font-weight: 900 !important;
        letter-spacing: -0.6px !important;
        color: #111111 !important;
        white-space: nowrap !important;
    }
    .header-cart-icon-link {
        order: 2 !important;
        width: 42px !important;
        height: 42px !important;
        background: #f4f7f6 !important;
        border: 1px solid #e5e9ea !important;
        border-radius: 12px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        color: #333 !important;
        font-size: 18px !important;
        position: relative !important;
        text-decoration: none !important;
        flex-shrink: 0 !important;
        margin: 0 !important;
    }
    .header-search {
        order: 3 !important;
        width: 100% !important;
        max-width: 100% !important;
        flex: 1 1 100% !important;
        margin: 4px 0 0 !important;
    }
    .header-search form {
        width: 100% !important;
        background: #f4f7f6 !important;
        border-radius: 10px !important;
        border: 1.5px solid #e2e8f0 !important;
        padding: 0 12px !important;
        height: 42px !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }
    .header-search form:focus-within {
        background: #fff !important;
        border-color: var(--primary-color) !important;
        box-shadow: 0 2px 10px rgba(0,0,0,0.06) !important;
    }
    .header-search input {
        flex: 1 !important;
        border: none !important;
        background: transparent !important;
        font-size: 14px !important;
        color: #222 !important;
        outline: none !important;
        padding: 6px 0 !important;
        min-width: 0 !important;
    }
    .header-search button {
        border: none !important;
        background: transparent !important;
        color: #718096 !important;
        font-size: 15px !important;
        cursor: pointer !important;
        padding: 0 4px !important;
    }
    
    /* Navigation Bar: heightened, spacious single row */
    .header-nav-bar {
        display: block !important;
        height: 48px !important;
        min-height: 48px !important;
        background-color: var(--primary-color) !important;
        overflow: hidden !important;
    }
    .header-nav-bar .container {
        height: 100% !important;
        padding: 0 12px !important;
    }
    .header-nav-inner {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 48px !important;
        padding: 0 !important;
        flex-wrap: nowrap !important;
    }
    .all-categories-dropdown {
        width: auto !important;
        height: 48px !important;
        display: flex !important;
        align-items: center !important;
        position: relative !important;
    }
    .categories-btn {
        width: auto !important;
        padding: 0 12px !important;
        height: 36px !important;
        min-height: 36px !important;
        font-size: 12.5px !important;
        font-weight: 800 !important;
        letter-spacing: 0.3px !important;
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        background: rgba(255, 255, 255, 0.14) !important;
        border: none !important;
        color: #fff !important;
        white-space: nowrap !important;
        border-radius: 8px !important;
    }
    .categories-btn:hover, .categories-btn:active {
        transform: none !important;
        background: rgba(255, 255, 255, 0.24) !important;
    }
    .categories-dropdown-menu {
        display: none !important; /* Mobile triggers slide drawer! */
    }
    
    .main-nav {
        display: flex !important;
        align-items: center !important;
        width: auto !important;
        height: 48px !important;
        margin-left: auto !important;
    }
    .main-nav ul {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 8px !important;
        height: 48px !important;
        margin: 0 !important;
        padding: 0 !important;
        list-style: none !important;
    }
    .main-nav li {
        height: auto !important;
    }
    .main-nav li.nav-item-desktop {
        display: none !important;
    }
    .main-nav a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        padding: 0 12px !important;
        height: 36px !important;
        min-height: 36px !important;
        background: rgba(255, 255, 255, 0.16) !important;
        color: #ffffff !important;
        border-radius: 8px !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        text-decoration: none !important;
        white-space: nowrap !important;
        line-height: 1 !important;
    }
    .main-nav a i {
        font-size: 13px !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }
    .main-nav a:hover, .main-nav a:active {
        background: rgba(255, 255, 255, 0.28) !important;
        transform: none !important;
    }

    .announcement-bar {
        font-size: 11px;
        padding: 6px 10px;
    }
    .footer-top {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 30px !important;
    }
}

@media (max-width: 480px) {
    .header-top {
        padding: 6px 0 8px !important;
    }
    .header-top-inner {
        row-gap: 6px !important;
    }
    .logo-text {
        font-size: 21px !important;
        font-weight: 800 !important;
    }
    .header-logo-img {
        height: 48px !important;
        width: 48px !important;
        min-width: 48px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }
    .header-mobile-toggle,
    .header-cart-icon-link {
        width: 42px !important;
        height: 42px !important;
    }
    .categories-btn {
        font-size: 11.5px !important;
        padding: 0 8px !important;
        height: 34px !important;
        min-height: 34px !important;
        gap: 6px !important;
    }
    .main-nav ul {
        gap: 6px !important;
    }
    .main-nav a {
        font-size: 11px !important;
        padding: 0 10px !important;
        height: 34px !important;
        min-height: 34px !important;
        gap: 7px !important;
    }
}

@media (max-width: 350px) {
    .logo-text {
        font-size: 18px !important;
    }
    .header-logo-img {
        height: 42px !important;
        width: 42px !important;
        min-width: 42px !important;
    }
    .categories-btn {
        font-size: 10.5px !important;
        padding: 0 5px !important;
    }
    .main-nav a {
        font-size: 10px !important;
        padding: 0 7px !important;
        gap: 6px !important;
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-inner {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-content h1 {
        font-size: 28px !important;
    }
    .hero-content p {
        font-size: 15px;
        margin-bottom: 20px;
    }
    .hero-image {
        max-width: 100%;
        width: 100%;
    }
    .campaign-banner {
        flex-direction: column !important;
        text-align: center !important;
        padding: 30px 20px !important;
    }
    .campaign-content {
        flex: none !important;
        max-width: 100% !important;
        margin-bottom: 25px !important;
    }
    .campaign-content h2 {
        font-size: 24px !important;
    }
    .campaign-content p {
        font-size: 15px !important;
    }
    .campaign-products-wrapper {
        flex: none !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    .campaign-products-wrapper a {
        width: 100% !important;
    }
    .campaign-image {
        margin-top: 20px;
    }
    .logo-text {
        font-size: 19px !important;
        font-weight: 900 !important;
        letter-spacing: -0.5px !important;
    }
    .cart-text {
        display: none;
    }
    .cart-btn span::after {
        content: "";
    }
    .cart-btn i {
        font-size: 24px;
    }
    
    /* Product Detail Mobile */
    .product-detail-grid {
        display: flex !important;
        flex-direction: column !important;
        padding: 0 !important;
        gap: 15px !important;
        box-shadow: none !important;
        background: transparent !important;
    }
    .product-detail-grid .main-image {
        padding: 0 !important;
        background: transparent !important;
    }
    .product-images {
        width: 100% !important;
        margin-bottom: 15px;
    }
    .product-info {
        width: 100% !important;
    }
    .category-header {
        height: 180px !important;
    }
    .category-header h1 {
        font-size: 28px !important;
    }
    .category-header p {
        font-size: 14px !important;
    }
    /* Mobilde 4'lü Avantaj Kartları ve Hızlı Menüyü Kaldır */
    .footer-features-bar {
        display: none !important;
    }
    .footer-widget-quick-links {
        display: none !important;
    }
    .footer-top {
        grid-template-columns: 1fr !important;
        gap: 28px !important;
        padding: 35px 0 25px !important;
    }
    .footer-bottom-inner {
        flex-direction: column !important;
        text-align: center !important;
        gap: 14px !important;
    }
    .footer-badges-wrap {
        justify-content: center !important;
    }
}

/* Product Slider */
.main-image {
    position: relative;
    overflow: hidden;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 10;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(230, 57, 70, 0.3);
}

.slider-nav:hover {
    background: var(--primary-hover);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev {
    left: 10px;
}

.slider-next {
    right: 10px;
}

/* =====================================================================
   Cart Mobile Responsive (≤768px) - Modern E-Ticaret Kart Tasarımı
   ===================================================================== */
@media (max-width: 768px) {
    .cart-wrapper {
        flex-direction: column !important;
        gap: 20px !important;
    }
    .cart-wrapper > div {
        width: 100% !important;
        min-width: 0 !important;
    }
    .cart-table thead {
        display: none !important;
    }
    .cart-table,
    .cart-table tbody {
        display: block !important;
        width: 100% !important;
    }
    .cart-table tr {
        display: grid !important;
        grid-template-columns: 1fr auto !important;
        grid-template-areas: 
            "product action"
            "qty total" !important;
        align-items: center !important;
        gap: 12px 10px !important;
        padding: 16px !important;
        border-bottom: 1px solid #f0f0f0 !important;
        background: #fff;
    }
    .cart-table td {
        display: block !important;
        padding: 0 !important;
        border: none !important;
    }
    .cart-table td:nth-child(1) {
        grid-area: product !important;
    }
    .cart-table td:nth-child(2) {
        grid-area: qty !important;
        text-align: left !important;
    }
    .cart-table td:nth-child(3) {
        display: none !important;
    }
    .cart-table td:nth-child(4) {
        grid-area: total !important;
        text-align: right !important;
        font-size: 16px !important;
        font-weight: 800 !important;
        color: var(--primary-color) !important;
    }
    .cart-table td:nth-child(5) {
        grid-area: action !important;
        text-align: right !important;
        align-self: start !important;
    }
    .cart-item-info {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        gap: 12px !important;
    }
    .cart-item-info img {
        width: 65px !important;
        height: 65px !important;
        min-width: 65px !important;
        max-width: 65px !important;
        aspect-ratio: 1 / 1 !important;
        border-radius: 8px !important;
        object-fit: contain !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
        border: 1px solid #eee !important;
        background: #fff !important;
        padding: 2px !important;
    }
    .cart-item-info div {
        min-width: 0 !important;
    }
    .cart-item-info a[style*="font-weight: 700"] {
        font-size: 14px !important;
        line-height: 1.35 !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Mobil ve Tablet Yan Yana (2 Sütun) Ayarları - Modern Lüks Kartlar */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 14px !important;
        padding: 0 10px !important;
    }
    .product-card {
        padding: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        border-radius: 16px !important;
        display: flex !important;
        flex-direction: column !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.04) !important;
        border: 1px solid #eef2f6 !important;
    }
    .product-card-badge {
        top: 8px !important;
        left: 8px !important;
        font-size: 10px !important;
        padding: 2.5px 7px !important;
    }
    .product-img {
        height: 165px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        background: #f8fafc !important;
        border-radius: 12px !important;
        border: 1px solid #f1f5f9 !important;
        padding: 8px !important;
    }
    .product-img img {
        max-width: 100% !important;
        max-height: 100% !important;
        object-fit: contain !important;
    }
    .product-card-cat {
        font-size: 10px !important;
        margin-bottom: 4px !important;
    }
    .product-title {
        font-size: 12.5px !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
        height: 33px !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
        font-weight: 700 !important;
        color: #0f172a !important;
    }
    .product-card-bottom {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
        margin-top: auto !important;
        padding-top: 8px !important;
        border-top: 1px dashed #e2e8f0 !important;
    }
    .product-price-box {
        display: flex !important;
        flex-direction: row !important;
        align-items: baseline !important;
        justify-content: space-between !important;
        width: 100% !important;
    }
    .product-price {
        font-size: 15px !important;
        margin-bottom: 0 !important;
        font-weight: 850 !important;
        color: #ea580c !important;
    }
    .product-price small {
        font-size: 11px !important;
    }
    .btn-card {
        width: 100% !important;
        padding: 8px 12px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        border-radius: 9px !important;
        justify-content: center !important;
        gap: 5px !important;
    }
}

/* Küçük Telefonlar için Ekstra Optimizasyon */
@media (max-width: 480px) {
    .product-grid {
        gap: 10px !important;
        padding: 0 6px !important;
    }
    .product-card {
        padding: 10px !important;
        border-radius: 14px !important;
    }
    .product-img {
        height: 145px !important;
        margin-bottom: 8px !important;
        padding: 6px !important;
        border-radius: 10px !important;
    }
    .product-title {
        font-size: 12px !important;
        height: 31px !important;
        margin-bottom: 6px !important;
    }
    .product-price {
        font-size: 14px !important;
    }
    .btn-card {
        padding: 7px 10px !important;
        font-size: 11.5px !important;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed !important;
    bottom: 50px !important;
    right: 30px !important;
    width: 70px;
    height: 70px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50%;
    text-align: center;
    font-size: 40px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    animation: wa-pulse 2s infinite;
    transition: all 0.3s ease;
}

.floating-whatsapp:hover {
    background-color: #1ebe57;
    color: #fff;
    transform: scale(1.1);
}

@keyframes wa-pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
    .floating-whatsapp {
        bottom: 30px !important;
        right: 20px !important;
        width: 60px !important;
        height: 60px !important;
        font-size: 34px !important;
        position: fixed !important;
        z-index: 99999 !important;
    }
}


/* Category Card Zoom Style */
.category-card {
    overflow: hidden;
}
.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}
.category-card:hover .category-cover {
    transform: scale(1.05);
}

/* =====================================================================
   1) PROFİL FOTOĞRAFI — SADECE DESKTOP (≥992px)
   Logo/profil fotoğrafı sabit kare bir alanda, ortalanmış, ezilmeden
   (object-fit: cover) ve taşmadan yuvarlak gösterilir.
   ===================================================================== */
@media (min-width: 992px) {
    .header-top .logo {
        flex-shrink: 0;
        display: flex;
        align-items: center;
    }
    .header-top .logo-link {
        align-items: center;
        gap: 12px;
        line-height: 1;
    }
    .header-top .header-logo-img {
        display: block;
        width: 56px;
        height: 56px;
        min-width: 56px;
        max-width: 56px;
        flex: 0 0 56px;
        aspect-ratio: 1 / 1;
        padding: 2px;
        object-fit: cover;
        object-position: center center;
        border-radius: 50%;
        background: var(--white);
        border: 1px solid var(--border-color);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
        overflow: hidden;
    }
    .header-top .logo-text {
        white-space: nowrap;
        line-height: 1;
    }
}

/* iOS input auto-zoom prevention */
@media (max-width: 991px) {
    .header-search input {
        font-size: 16px;
    }
}

/* =====================================================================
   3) MOBİL SATIN ALMA & CHECKOUT RESPONSIVE (≤991px, ≤768px, ≤576px)
   ===================================================================== */
.checkout-page {
    box-sizing: border-box;
    width: 100%;
}
.checkout-page *,
.checkout-page *::before,
.checkout-page *::after {
    box-sizing: border-box;
}

/* Checkout Submit Button Responsiveness */
.mobile-checkout-submit-wrap {
    display: none;
}
.checkout-desktop-submit-wrap {
    display: block;
}

@media (max-width: 991px) {
    .checkout-page {
        padding: 20px 0 !important;
    }
    .checkout-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 20px !important;
    }
    /* Mobilde Sipariş Özeti EN ÜSTTE */
    .checkout-summary {
        order: 1 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
        margin-bottom: 5px !important;
    }
    .checkout-summary > div {
        position: static !important;
        top: auto !important;
        padding: 22px 18px !important;
        border-radius: 14px !important;
    }
    /* Mobilde Ad Soyad / Teslimat Bilgileri ve Ödeme Yeri BİR ALTINDA */
    .checkout-form {
        order: 2 !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }
    .checkout-desktop-submit-wrap {
        display: none !important;
    }
    .mobile-checkout-submit-wrap {
        display: block !important;
        margin-top: 20px !important;
    }
}

@media (max-width: 768px) {
    .checkout-card {
        padding: 22px 18px !important;
        border-radius: 14px !important;
        margin-bottom: 20px !important;
    }
    .checkout-card-title {
        font-size: 18px !important;
        margin-bottom: 18px !important;
    }
    /* Ad Soyad ve Telefon mobilde tam genişlikte ve dengeli dikey sıralanır */
    .checkout-row {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        margin-bottom: 14px !important;
    }
    .phone-input-group {
        width: 100% !important;
        min-width: 0 !important;
    }
    .phone-input-group input {
        width: 100% !important;
        min-width: 0 !important;
    }
    /* İl ve İlçe mobilde yan yana dengeli ve taşmasız kalır */
    .checkout-row-inline {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
    }
}

@media (max-width: 640px) {
    /* 2. Ödeme Yöntemi Kartları (Kredi Kartı / Havale) mobilde tek sütun */
    .payment-methods-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    .payment-card-box {
        padding: 14px 16px !important;
        min-height: 56px !important;
    }
}

/* =====================================================================
   4) PAYTR ALANI & RESMİ LOGO RESPONSIVE
   ===================================================================== */
.paytr-info-box {
    box-sizing: border-box;
    width: 100%;
}
.paytr-logo-wrap {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.paytr-logo-img {
    height: 28px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    display: block;
}
@media (max-width: 576px) {
    .paytr-info-box {
        flex-direction: column !important;
        align-items: flex-start !important;
        padding: 16px 14px !important;
        gap: 12px !important;
    }
    .paytr-logo-wrap {
        align-self: flex-start;
    }
    .paytr-logo-img {
        height: 26px !important;
    }
    .paytr-info-text {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }
    /* Banka havale kartları & IBAN responsive */
    .bank-info-inner {
        padding: 18px 14px !important;
    }
    .bank-card {
        padding: 14px 12px !important;
    }
    .bank-iban-row {
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px !important;
        padding: 12px 14px !important;
        text-align: center !important;
    }
    .bank-iban-row > div {
        justify-content: center !important;
        width: 100% !important;
        text-align: center !important;
    }
    .bank-iban-text {
        font-size: 13.5px !important;
        text-align: center !important;
    }
    .bank-copy-btn {
        width: auto !important;
        min-width: 110px !important;
        max-width: 130px !important;
        padding: 7px 16px !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
        margin: 2px auto 0 !important;
        align-self: center !important;
        display: inline-flex !important;
    }
}

/* =====================================================================
   5) GENEL RESPONSIVE & YATAY SCROLL ÖNLEME (320px - 1440px)
   ===================================================================== */
html, body {
    max-width: 100% !important;
    overflow-x: hidden !important;
    position: relative;
}
img, svg, video {
    max-width: 100%;
}
.container {
    box-sizing: border-box;
    width: 100%;
    max-width: 1240px;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 430px) {
    .container {
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
    .checkout-card {
        padding: 18px 14px !important;
    }
    .checkout-card-title {
        font-size: 17px !important;
    }
    #submitBtn {
        font-size: 16px !important;
        padding: 16px 14px !important;
    }
}

@media (max-width: 360px) {
    .container {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }
    .checkout-card {
        padding: 16px 12px !important;
    }
    .checkout-row-inline {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .payment-card-box {
        padding: 12px 10px !important;
    }
    .payment-card-box > div:first-child > div > div:first-child {
        font-size: 13.5px !important;
    }
    .bank-iban-text {
        font-size: 12px !important;
    }
}

