/*
Theme Name: Hergün Alışveriş
Theme URI: https://www.hergunalisveris.com
Description: Hergün Alışveriş Özgün, Hızlı ve Profesyonel E-Ticaret Teması (%100 Türkçe)
Author: DRN Elektronik Ticaret
Version: 2.0.0
Text Domain: hergunalisveris
*/

:root {
    --hga-primary: #e11d48;
    --hga-primary-hover: #be123c;
    --hga-primary-light: #ffe4e6;
    --hga-dark: #0f172a;
    --hga-dark-surface: #1e293b;
    --hga-gray-900: #0f172a;
    --hga-gray-800: #1e293b;
    --hga-gray-700: #334155;
    --hga-gray-600: #475569;
    --hga-gray-500: #64748b;
    --hga-gray-400: #94a3b8;
    --hga-gray-300: #cbd5e1;
    --hga-gray-200: #e2e8f0;
    --hga-gray-100: #f1f5f9;
    --hga-gray-50: #f8fafc;
    --hga-white: #ffffff;
    --hga-success: #16a34a;
    --hga-warning: #f59e0b;
    --hga-radius-sm: 6px;
    --hga-radius-md: 10px;
    --hga-radius-lg: 16px;
    --hga-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --hga-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --hga-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --hga-shadow-hover: 0 12px 24px -4px rgba(225, 29, 72, 0.12), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
    --hga-container: 1280px;
    --hga-font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
    font-family: var(--hga-font);
    background-color: #f6f7fb;
    color: var(--hga-gray-800);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px; /* Space for mobile bottom bar */
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

@media (min-width: 769px) {
    body {
        padding-bottom: 0;
    }
}

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

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

.hga-container {
    max-width: var(--hga-container);
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.hga-top-bar {
    background: var(--hga-dark);
    color: var(--hga-gray-300);
    font-size: 0.8rem;
    padding: 0.45rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.hga-top-bar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 1rem;
}
@media (max-width: 1100px) and (min-width: 769px) {
    .hga-top-badge:nth-child(2) {
        display: none;
    }
}
.hga-top-bar-left {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.hga-top-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #f8fafc;
    font-weight: 500;
}
.hga-top-badge span.icon {
    font-size: 0.95rem;
}
.hga-top-bar-right {
    display: flex;
    align-items: center;
    gap: 1.25rem;
}
.hga-top-bar-right a:hover {
    color: var(--hga-white);
}
.hga-whatsapp-link {
    color: #4ade80 !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

/* ==========================================================================
   MAIN HEADER
   ========================================================================== */
.hga-main-header {
    background: var(--hga-white);
    padding: 1.25rem 0;
    box-shadow: var(--hga-shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}
.hga-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.hga-logo-wrap {
    flex-shrink: 0;
}
.hga-logo-wrap img {
    height: 48px;
    width: auto;
    object-fit: contain;
}
.hga-site-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--hga-dark);
    letter-spacing: -0.5px;
}
.hga-site-title span {
    color: var(--hga-primary);
}

/* SEARCH BAR */
.hga-search-wrap {
    flex: 1;
    max-width: 620px;
    position: relative;
}
.hga-search-form {
    display: flex;
    align-items: center;
    background: var(--hga-gray-100);
    border: 2px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}
.hga-search-form:focus-within {
    border-color: var(--hga-primary);
    background: var(--hga-white);
    box-shadow: 0 0 0 4px var(--hga-primary-light);
}
.hga-search-cat-select {
    border: none;
    background: transparent;
    padding: 0.75rem 0.5rem 0.75rem 1rem;
    font-size: 0.85rem;
    color: var(--hga-gray-600);
    font-weight: 500;
    outline: none;
    border-right: 1px solid var(--hga-gray-300);
    cursor: pointer;
    max-width: 140px;
}
.hga-search-input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    color: var(--hga-gray-900);
    outline: none;
}
.hga-search-input::placeholder {
    color: var(--hga-gray-400);
}
.hga-search-btn {
    background: var(--hga-primary);
    border: none;
    color: var(--hga-white);
    padding: 0 1.5rem;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: background 0.2s ease;
}
.hga-search-btn:hover {
    background: var(--hga-primary-hover);
}

/* HEADER USER ACTIONS */
.hga-header-actions {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-shrink: 0;
}
.hga-action-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    cursor: pointer;
    padding: 0.4rem 0.6rem;
    border-radius: var(--hga-radius-sm);
    transition: background 0.2s ease;
}
.hga-action-item:hover {
    background: var(--hga-gray-50);
}
.hga-action-icon {
    font-size: 1.45rem;
    color: var(--hga-gray-700);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hga-action-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
}
.hga-action-text .sub {
    font-size: 0.75rem;
    color: var(--hga-gray-500);
}
.hga-action-text .main {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hga-gray-900);
}

/* CART BADGE */
.hga-cart-action {
    background: var(--hga-primary-light);
    border-radius: var(--hga-radius-md);
    padding: 0.5rem 1rem;
    border: 1px solid rgba(225, 29, 72, 0.15);
}
.hga-cart-action:hover {
    background: #fecdd3;
}
.hga-cart-action .hga-action-icon {
    color: var(--hga-primary);
}
.hga-cart-count {
    position: absolute;
    top: -8px;
    right: -10px;
    background: var(--hga-primary);
    color: var(--hga-white);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 0.15rem 0.45rem;
    border-radius: 999px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(225, 29, 72, 0.3);
}

/* ==========================================================================
   NAVIGATION BAR & CATEGORY MENU
   ========================================================================== */
.hga-nav-bar {
    background: var(--hga-dark-surface);
    color: var(--hga-white);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.hga-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    position: relative;
}
.hga-all-cats-wrap {
    position: relative;
    flex-shrink: 0;
}
.hga-all-cats-btn {
    background: var(--hga-primary);
    color: var(--hga-white);
    padding: 0.85rem 1.4rem;
    font-weight: 700;
    font-size: 0.92rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    border: none;
    border-radius: var(--hga-radius-sm) var(--hga-radius-sm) 0 0;
    transition: background 0.2s ease;
}
.hga-all-cats-btn:hover {
    background: var(--hga-primary-hover);
}
.hga-cats-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 280px;
    background: var(--hga-white);
    box-shadow: var(--hga-shadow-lg);
    border: 1px solid var(--hga-gray-200);
    border-radius: 0 0 var(--hga-radius-md) var(--hga-radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 500;
    max-height: 480px;
    overflow-y: auto;
    scrollbar-width: thin;
}
.hga-all-cats-wrap:hover .hga-cats-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.hga-cats-dropdown-list {
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
}
.hga-cats-dropdown-list li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6rem 1.25rem;
    color: var(--hga-gray-800);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.15s ease;
    border-bottom: 1px solid var(--hga-gray-100);
}
.hga-cats-dropdown-list li:last-child a {
    border-bottom: none;
}
.hga-cats-dropdown-list li a:hover {
    background: var(--hga-gray-50);
    color: var(--hga-primary);
    padding-left: 1.5rem;
}
.hga-cats-dropdown-list li a span.count {
    font-size: 0.75rem;
    color: var(--hga-gray-400);
    font-weight: normal;
}
.hga-menu-list {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 0.25rem;
    flex: 1;
    overflow: visible;
    flex-wrap: nowrap;
}
.hga-menu-list li a {
    display: block;
    padding: 0.85rem 0.85rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hga-gray-300);
    white-space: nowrap;
    transition: color 0.2s ease;
}
.hga-menu-list li a:hover,
.hga-menu-list li.current-menu-item a {
    color: var(--hga-white);
    background: rgba(255, 255, 255, 0.05);
}
.hga-menu-badge {
    background: #f59e0b;
    color: #000;
    font-size: 0.65rem;
    font-weight: 800;
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    margin-left: 0.35rem;
    text-transform: uppercase;
}
.hga-nav-right {
    flex-shrink: 0;
    margin-left: auto;
}
.hga-nav-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80 !important;
    padding: 0.45rem 0.9rem;
    border-radius: var(--hga-radius-sm);
    font-size: 0.84rem;
    font-weight: 700;
    border: 1px solid rgba(74, 222, 128, 0.3);
    white-space: nowrap;
    transition: all 0.2s ease;
}
.hga-nav-whatsapp:hover {
    background: #4ade80;
    color: #064e3b !important;
}

/* ==========================================================================
   VALUE PROPOSITIONS / TRUST BAR
   ========================================================================== */
.hga-trust-bar {
    background: var(--hga-white);
    padding: 1rem 0;
    border-bottom: 1px solid var(--hga-gray-200);
    margin-bottom: 1.5rem;
}
.hga-trust-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}
.hga-trust-item {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 0.5rem 0.75rem;
}
.hga-trust-icon {
    font-size: 1.75rem;
    color: var(--hga-primary);
    flex-shrink: 0;
}
.hga-trust-text h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hga-gray-900);
    margin-bottom: 0.15rem;
}
.hga-trust-text p {
    font-size: 0.78rem;
    color: var(--hga-gray-500);
}

/* ==========================================================================
   HOMEPAGE HERO & BANNER GRID
   ========================================================================== */
.hga-hero-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}
@media (max-width: 900px) {
    .hga-hero-grid {
        grid-template-columns: 1fr;
    }
}
.hga-hero-main {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-radius: var(--hga-radius-lg);
    padding: 3rem 2.5rem;
    color: var(--hga-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--hga-shadow-md);
}
.hga-hero-main::after {
    content: "";
    position: absolute;
    right: -40px;
    bottom: -40px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(225, 29, 72, 0.25) 0%, transparent 70%);
    border-radius: 50%;
}
.hga-hero-tag {
    display: inline-block;
    background: var(--hga-primary);
    color: var(--hga-white);
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    width: fit-content;
}
.hga-hero-title {
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hga-hero-desc {
    font-size: 1.05rem;
    color: var(--hga-gray-300);
    margin-bottom: 2rem;
    max-width: 480px;
}
.hga-hero-btn {
    background: var(--hga-primary);
    color: var(--hga-white);
    padding: 0.85rem 1.8rem;
    border-radius: var(--hga-radius-md);
    font-weight: 700;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}
.hga-hero-btn:hover {
    background: var(--hga-primary-hover);
    transform: translateY(-2px);
}
.hga-hero-side {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}
.hga-side-banner {
    flex: 1;
    border-radius: var(--hga-radius-lg);
    padding: 1.8rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--hga-shadow-sm);
    color: var(--hga-white);
}
.hga-banner-rose {
    background: linear-gradient(135deg, #be123c 0%, #e11d48 100%);
}
.hga-banner-slate {
    background: linear-gradient(135deg, #334155 0%, #1e293b 100%);
}
.hga-side-banner h3 {
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}
.hga-side-banner p {
    font-size: 0.88rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}
.hga-side-banner a.btn-link {
    font-weight: 700;
    font-size: 0.88rem;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: underline;
}

/* ==========================================================================
   CATEGORY SHOWCASE CAROUSEL / GRID
   ========================================================================== */
.hga-section {
    margin-bottom: 3rem;
}
.hga-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid var(--hga-gray-200);
    padding-bottom: 0.75rem;
}
.hga-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--hga-dark);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    position: relative;
}
.hga-section-title::after {
    content: "";
    position: absolute;
    bottom: -0.85rem;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--hga-primary);
    border-radius: 2px;
}
.hga-section-link {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--hga-primary);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}
.hga-section-link:hover {
    color: var(--hga-primary-hover);
}

.hga-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 1rem;
}
.hga-cat-card {
    background: var(--hga-white);
    border: 1px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-md);
    padding: 1rem 0.75rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.25s ease;
}
.hga-cat-card:hover {
    border-color: var(--hga-primary);
    box-shadow: var(--hga-shadow-md);
    transform: translateY(-3px);
}
.hga-cat-img-box {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--hga-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.hga-cat-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hga-cat-img-box span.fallback {
    font-size: 1.75rem;
}
.hga-cat-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--hga-gray-800);
    line-height: 1.3;
}
.hga-cat-count {
    font-size: 0.72rem;
    color: var(--hga-gray-500);
}

/* ==========================================================================
   PRODUCT CARDS & GRIDS (WOOCOMMERCE)
   ========================================================================== */
.hga-product-grid,
ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)) !important;
    gap: 1.25rem !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
@media (max-width: 600px) {
    .hga-product-grid,
    ul.products {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}

.hga-product-card,
ul.products li.product {
    background: var(--hga-white);
    border: 1px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    width: 100% !important;
    margin: 0 !important;
}
.hga-product-card:hover,
ul.products li.product:hover {
    border-color: rgba(225, 29, 72, 0.3);
    box-shadow: var(--hga-shadow-hover);
    transform: translateY(-4px);
}

/* Image container */
.hga-card-thumb-wrap,
ul.products li.product a.woocommerce-LoopProduct-link {
    display: block;
    position: relative;
    background: #ffffff;
    padding-top: 100%;
    overflow: hidden;
}
.hga-card-thumb-wrap img,
ul.products li.product img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    margin: 0 !important;
    transition: transform 0.4s ease;
}
ul.products li.product:hover img {
    transform: scale(1.05);
}

/* Badges */
.hga-discount-badge,
ul.products li.product span.onsale {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    right: auto !important;
    background: var(--hga-primary) !important;
    color: var(--hga-white) !important;
    font-size: 0.75rem !important;
    font-weight: 800 !important;
    padding: 0.25rem 0.6rem !important;
    border-radius: var(--hga-radius-sm) !important;
    line-height: 1 !important;
    min-height: auto !important;
    min-width: auto !important;
    z-index: 5;
    box-shadow: 0 2px 6px rgba(225, 29, 72, 0.4);
}

.hga-outofstock-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--hga-gray-800);
    color: var(--hga-white);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: var(--hga-radius-sm);
    z-index: 5;
}

/* Content */
.hga-card-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}
ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: var(--hga-gray-900) !important;
    line-height: 1.35 !important;
    margin: 0.75rem 1rem 0.5rem !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 2.7em;
}

/* Price */
.hga-price-box,
ul.products li.product span.price {
    display: flex !important;
    align-items: baseline !important;
    gap: 0.5rem !important;
    margin: 0 1rem 0.75rem !important;
    font-size: 1.15rem !important;
    font-weight: 800 !important;
    color: var(--hga-primary) !important;
}
ul.products li.product span.price del {
    font-size: 0.85rem !important;
    color: var(--hga-gray-400) !important;
    font-weight: 500 !important;
    order: 2;
}
ul.products li.product span.price ins {
    text-decoration: none !important;
    order: 1;
}

/* Add to cart button */
ul.products li.product a.button,
.hga-btn-addtocart {
    margin: auto 1rem 1rem !important;
    background: var(--hga-gray-900) !important;
    color: var(--hga-white) !important;
    border: none !important;
    border-radius: var(--hga-radius-sm) !important;
    padding: 0.65rem 1rem !important;
    font-size: 0.85rem !important;
    font-weight: 700 !important;
    text-align: center !important;
    display: block !important;
    transition: background 0.2s ease !important;
}
ul.products li.product a.button:hover,
.hga-btn-addtocart:hover {
    background: var(--hga-primary) !important;
}

/* ==========================================================================
   CATALOG / SHOP PAGE LAYOUT
   ========================================================================== */
.hga-catalog-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}
@media (max-width: 900px) {
    .hga-catalog-layout {
        grid-template-columns: 1fr;
    }
}
.hga-sidebar {
    background: var(--hga-white);
    border: 1px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-md);
    padding: 1.5rem;
    height: fit-content;
}
.hga-sidebar-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--hga-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--hga-gray-200);
}
.hga-cat-filter-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 480px;
    overflow-y: auto;
}
.hga-cat-filter-list li a {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--hga-gray-700);
    padding: 0.35rem 0.5rem;
    border-radius: 4px;
}
.hga-cat-filter-list li a:hover,
.hga-cat-filter-list li.active a {
    background: var(--hga-gray-100);
    color: var(--hga-primary);
    font-weight: 700;
}

/* BREADCRUMB */
.woocommerce-breadcrumb {
    font-size: 0.82rem;
    color: var(--hga-gray-500);
    margin: 1.25rem 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.35rem;
}
.woocommerce-breadcrumb a {
    color: var(--hga-gray-700);
}
.woocommerce-breadcrumb a:hover {
    color: var(--hga-primary);
}

/* WOOCOMMERCE ORDERBY */
.woocommerce-ordering select {
    background: var(--hga-white);
    border: 1px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-sm);
    padding: 0.55rem 1rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--hga-gray-800);
    outline: none;
    cursor: pointer;
}

/* ==========================================================================
   SINGLE PRODUCT PAGE
   ========================================================================== */
.single-product div.product {
    background: var(--hga-white);
    border: 1px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}
@media (max-width: 800px) {
    .single-product div.product {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 1.25rem;
    }
}
.single-product .product_title {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--hga-dark);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}
.single-product p.price {
    font-size: 1.85rem !important;
    font-weight: 800 !important;
    color: var(--hga-primary) !important;
    margin: 1rem 0 !important;
}
.single-product .cart {
    margin: 1.5rem 0;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.single-product .quantity input.qty {
    height: 48px;
    width: 70px;
    border: 2px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-sm);
    text-align: center;
    font-weight: 700;
    font-size: 1.05rem;
}
.single-product button.single_add_to_cart_button {
    background: var(--hga-primary) !important;
    color: var(--hga-white) !important;
    height: 48px;
    padding: 0 2.5rem !important;
    border: none !important;
    border-radius: var(--hga-radius-sm) !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}
.single-product button.single_add_to_cart_button:hover {
    background: var(--hga-primary-hover) !important;
}

/* TABS */
.woocommerce-tabs {
    grid-column: 1 / -1;
    margin-top: 2rem;
    border-top: 1px solid var(--hga-gray-200);
    padding-top: 2rem;
}
.woocommerce-tabs ul.tabs {
    display: flex;
    list-style: none;
    gap: 1rem;
    border-bottom: 2px solid var(--hga-gray-200);
    margin-bottom: 1.5rem;
}
.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 0.75rem 1.25rem;
    font-weight: 700;
    font-size: 1rem;
    color: var(--hga-gray-600);
}
.woocommerce-tabs ul.tabs li.active a {
    color: var(--hga-primary);
    border-bottom: 2px solid var(--hga-primary);
    margin-bottom: -2px;
}

/* ==========================================================================
   CART & CHECKOUT FORMS
   ========================================================================== */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
    width: 100%;
    background: var(--hga-white);
    border-radius: var(--hga-radius-md);
    border: 1px solid var(--hga-gray-200);
    border-collapse: collapse;
    margin-bottom: 2rem;
}
table.cart th,
table.shop_table th {
    background: var(--hga-gray-100);
    padding: 1rem;
    font-weight: 700;
    color: var(--hga-dark);
    text-align: left;
}
table.cart td,
table.shop_table td {
    padding: 1rem;
    border-top: 1px solid var(--hga-gray-200);
    vertical-align: middle;
}
.cart-collaterals {
    background: var(--hga-white);
    border: 1px solid var(--hga-gray-200);
    border-radius: var(--hga-radius-md);
    padding: 2rem;
    max-width: 500px;
    margin-left: auto;
}
.wc-proceed-to-checkout a.checkout-button,
#place_order {
    background: var(--hga-primary) !important;
    color: var(--hga-white) !important;
    padding: 1rem 2rem !important;
    border-radius: var(--hga-radius-md) !important;
    font-size: 1.1rem !important;
    font-weight: 800 !important;
    display: block !important;
    text-align: center !important;
    border: none !important;
    width: 100% !important;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(225, 29, 72, 0.4);
}
.wc-proceed-to-checkout a.checkout-button:hover,
#place_order:hover {
    background: var(--hga-primary-hover) !important;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.hga-footer {
    background: var(--hga-dark);
    color: var(--hga-gray-400);
    padding: 3.5rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 4px solid var(--hga-primary);
}
.hga-footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 2.5rem;
    margin-bottom: 3rem;
}
@media (max-width: 900px) {
    .hga-footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 540px) {
    .hga-footer-grid {
        grid-template-columns: 1fr;
    }
}
.hga-footer-col h4 {
    color: var(--hga-white);
    font-size: 1.05rem;
    font-weight: 800;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}
.hga-footer-col h4::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--hga-primary);
}
.hga-footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.hga-footer-links a {
    font-size: 0.88rem;
    color: var(--hga-gray-400);
}
.hga-footer-links a:hover {
    color: var(--hga-white);
    padding-left: 4px;
}
.hga-footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    font-size: 0.88rem;
}
.hga-footer-phone {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--hga-white);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.hga-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.82rem;
}

/* ==========================================================================
   MOBILE BOTTOM BAR & RESPONSIVE LAYOUT
   ========================================================================== */
.hga-mobile-bottom-nav {
    display: none;
}
@media (max-width: 768px) {
    /* 1. ÜST BİLGİ BANDI (ULTRA KOMPAKT TEK SATIR) */
    .hga-top-bar {
        padding: 0.3rem 0;
        font-size: 0.72rem;
    }
    .hga-top-bar-inner {
        justify-content: center;
    }
    .hga-top-bar-left {
        justify-content: center;
        gap: 0.5rem;
    }
    .hga-top-badge:nth-child(2),
    .hga-top-bar-right {
        display: none !important;
    }

    /* 2. HEADER: İKİ KOMPAKT SATIR (LOGO + İKONLAR / ARAMA) */
    .hga-main-header {
        padding: 0.5rem 0 0.6rem 0;
    }
    .hga-header-inner {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .hga-logo-wrap {
        order: 1;
    }
    .hga-logo-wrap img {
        height: 36px;
        width: auto;
    }
    .hga-header-actions {
        order: 2;
        gap: 0.5rem;
    }
    .hga-action-item {
        padding: 0.35rem;
    }
    .hga-action-text {
        display: none !important; /* Mobilde metinleri gizle, sadece ikon */
    }
    .hga-cart-action {
        padding: 0.35rem 0.55rem;
    }
    .hga-search-wrap {
        order: 3;
        width: 100%;
        max-width: 100%;
        margin-top: 0.25rem;
    }
    .hga-search-form {
        border-radius: 999px;
        background: var(--hga-gray-100);
        height: 38px;
    }
    .hga-search-cat-select {
        display: none !important; /* Mobilde kategori açılır kutusunu gizle */
    }
    .hga-search-input {
        padding: 0.45rem 1rem;
        font-size: 0.85rem;
    }
    .hga-search-btn {
        height: 38px;
        padding: 0 0.85rem;
        font-size: 0.85rem;
        border-radius: 0 999px 999px 0;
    }
    .hga-search-btn span {
        display: none; /* Mobilde sadece büyüteç ikonu */
    }

    /* 3. MASAÜSTÜ MENÜ ÇUBUĞUNU MOBİLDE TAMAMEN GİZLE */
    .hga-nav-bar {
        display: none !important;
    }

    /* 4. GÜVEN / TRUST BANDINI MOBİLDE ÜSTTEN KALDIR (ÜRÜNLER HEMEN GÖZÜKSÜN) */
    .hga-trust-bar {
        display: none !important;
    }

    /* 5. HERO / BANNER ALANI MOBİLDE KOMPAKT */
    .hga-hero-grid {
        margin-bottom: 1.25rem;
        gap: 0.75rem;
    }
    .hga-hero-main {
        padding: 1.25rem 1rem;
        border-radius: var(--hga-radius-md);
    }
    .hga-hero-badge {
        font-size: 0.7rem;
        padding: 0.2rem 0.6rem;
        margin-bottom: 0.5rem;
    }
    .hga-hero-title {
        font-size: 1.25rem;
        line-height: 1.25;
        margin-bottom: 0.4rem;
    }
    .hga-hero-desc {
        font-size: 0.8rem;
        margin-bottom: 0.85rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .hga-hero-btn {
        padding: 0.5rem 1rem;
        font-size: 0.82rem;
    }
    .hga-promo-banner {
        display: none; /* Yan küçük bannerı mobilde gizle */
    }

    /* 6. GENEL ALAN BOŞLUKLARI */
    .hga-container {
        padding: 0 0.75rem;
    }
    .hga-section {
        margin-bottom: 1.75rem;
    }
    .hga-section-header {
        margin-bottom: 0.85rem;
    }
    .hga-section-title {
        font-size: 1.15rem;
    }

    /* 7. MOBİL ALT SABİT MENÜ BAR */
    .hga-mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--hga-white);
        border-top: 1px solid var(--hga-gray-200);
        box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.06);
        z-index: 999;
        justify-content: space-around;
        padding: 0.5rem 0;
    }
    .hga-mobile-nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0.2rem;
        font-size: 0.72rem;
        font-weight: 700;
        color: var(--hga-gray-600);
        position: relative;
    }
    .hga-mobile-nav-item.active,
    .hga-mobile-nav-item:hover {
        color: var(--hga-primary);
    }
    .hga-mobile-nav-icon {
        font-size: 1.25rem;
    }
}

/* ==========================================================================
   TEST AŞAMASI BİLGİLENDİRME MODALI
   ========================================================================== */
.hga-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

.hga-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.hga-modal-card {
    background: #ffffff;
    border-radius: 16px;
    max-width: 480px;
    width: 100%;
    padding: 2rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
    position: relative;
    transform: scale(0.95);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(226, 232, 240, 0.9);
    text-align: center;
}

.hga-modal-overlay.active .hga-modal-card {
    transform: scale(1);
}

.hga-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #f1f5f9;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s, color 0.15s;
}

.hga-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.hga-modal-icon-wrap {
    width: 64px;
    height: 64px;
    background: #fffbeb;
    border: 2px solid #fef3c7;
    color: #d97706;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hga-modal-badge {
    display: inline-block;
    background: #fef3c7;
    color: #92400e;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.hga-modal-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.hga-modal-text {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 1.25rem;
}

.hga-modal-highlight {
    background: #f8fafc;
    border-left: 4px solid #f59e0b;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-size: 0.88rem;
    color: #334155;
    text-align: left;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.hga-modal-btn {
    display: block;
    width: 100%;
    background: var(--hga-primary);
    color: #ffffff;
    border: none;
    border-radius: 10px;
    padding: 0.85rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: opacity 0.15s, transform 0.1s;
}

.hga-modal-btn:hover {
    opacity: 0.92;
}

.hga-modal-btn:active {
    transform: scale(0.98);
}

@media (max-width: 480px) {
    .hga-modal-card {
        padding: 1.5rem 1.25rem;
        border-radius: 14px;
    }
    .hga-modal-title {
        font-size: 1.2rem;
    }
    .hga-modal-text {
        font-size: 0.88rem;
    }
}
