/* === assets/frontend/css/theme.css === */
/* Genel CSS */

a {
    text-decoration: none;
    outline: none;
    -webkit-transition: color 0.3s;
    -ms-transition: color 0.3s;
    transition: color 0.3s;
}

/* bs row padding */

.row {
    --bs-gutter-x: 0.5rem;
}

.breadcrumb {
    padding: 10px;
}

/* Page width: Tam Genişlik (Kenar Boşluksuz)
   Bootstrap container/container-fluid'in padding'i yok, viewport kenarlarına dayanır.
   İçerideki .row'ların --bs-gutter-x kaynaklı negative margin'i overflow yaratmasın diye
   overflow-x:clip (position:sticky'yi bozmaz, hidden'a göre daha güvenli). */
.container-full {
    width: 100%;
    max-width: none;
    padding-left: 0;
    padding-right: 0;
    margin-left: auto;
    margin-right: auto;
    overflow-x: clip;
}

/* container-full sayfa genişliği seçildiğinde, listing toolbar'ının
   "X Ürün" sayacı (ps-0) ve sağdaki sıralama select'i (pe-0) viewport kenarına
   yapışıyor. Bootstrap utility'leri padding'i sıfırladığı için doğrudan
   ilgili elementlere ufak yatay margin veriyoruz. */
.container-full .ecom-products-toolbar #pagination-results2 {
    margin-left: 5px;
}

.container-full .ecom-products-toolbar .ecom-sort-select {
    margin-right: 5px;
}

/* Cart Icon Button */
.shpcrt-icon-wrapper {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 2999;
}

.shpcrt-cart-btn {
    background: #2c3e50;
    color: white;
    border: none;
    padding: 15px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.shpcrt-cart-btn:hover {
    background: #34495e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.shpcrt-cart-icon {
    font-size: 24px;
}

.shpcrt-badge {
    background: #e74c3c;
    color: white;
    border-radius: 50%;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: bold;
}

/* Overlay */
.shpcrt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.shpcrt-overlay.shpcrt-active {
    opacity: 1;
    visibility: visible;
}

/* Sidebar */
.shpcrt-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 450px;
    height: 100%;
    background: white;
    z-index: 3001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0,0,0,0.2);
}

.shpcrt-sidebar.shpcrt-active {
    right: 0;
}

/* Header */
.shpcrt-header {
    padding: 20px;
    background: #fff;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.shpcrt-header h2 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
}

.shpcrt-close-btn {
    background: #f5f5f5;
    border: none;
    color: #333;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.shpcrt-close-btn:hover {
    background: #e0e0e0;
}

/* Delivery Info */
.shpcrt-delivery-info {
    background: #f8f9fa;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.shpcrt-delivery-icon {
    font-size: 20px;
}

.shpcrt-delivery-text {
    flex: 1;
}

.shpcrt-delivery-title {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.shpcrt-delivery-desc {
    font-size: 11px;
    color: #666;
}

/* Mini Cart Wrapper */
.mini-cart {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Cart Items Container */
.shpcrt-items-container {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #fafafa;
}

.shpcrt-items-container::-webkit-scrollbar {
    width: 6px;
}

.shpcrt-items-container::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.shpcrt-items-container::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 3px;
}

/* Cart Item */
.shpcrt-item {
    background: white;
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 10px;
    border: 1px solid #e9ecef;
}

.shpcrt-item-content {
    display: flex;
    gap: 12px;
}

.shpcrt-item-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f5f5f5;
}

.shpcrt-item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shpcrt-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.shpcrt-item-top {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.shpcrt-item-details {
    flex: 1;
}

.shpcrt-item-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.3;
}

.shpcrt-item-title-info {
    color: #707070;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
}

.shpcrt-price-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.shpcrt-old-price {
    font-size: 12px;
    color: #999;
    text-decoration: line-through;
}

.shpcrt-new-price {
    font-size: 14px;
    font-weight: 700;
    color: #ff6b35;
}

/* Quantity and Remove */
.shpcrt-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.shpcrt-qty-wrapper {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
}

.shpcrt-qty-btn {
    background: none;
    border: none;
    width: 28px;
    height: 28px;
    cursor: pointer;
    font-size: 16px;
    color: #666;
    font-weight: 600;
    transition: all 0.2s ease;
}

.shpcrt-qty-btn:hover {
    color: #333;
}

.shpcrt-qty-input {
    width: 32px;
    text-align: center;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.shpcrt-remove-text {
    font-size: 13px;
    color: #666;
    text-decoration: underline;
    cursor: pointer;
    transition: color 0.2s;
}

.shpcrt-remove-text:hover {
    color: #e74c3c;
}

/* Variants */
.shpcrt-variants {
    margin-top: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.shpcrt-variant-item {
    font-size: 11px;
    color: #666;
    background: #f5f5f5;
    padding: 3px 8px;
    border-radius: 4px;
}

/* Campaign Badge */
.shpcrt-campaign {
    margin-top: 6px;
    background: #e8f5e9;
    color: #2e7d32;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Promo Code */
.shpcrt-promo-section {
    padding: 15px 20px;
    background: white;
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}

.shpcrt-promo-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px dashed #ccc;
}

.shpcrt-promo-icon {
    width: 20px;
    height: 20px;
    background: #4caf50;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
}

.shpcrt-promo-text {
    flex: 1;
    font-size: 13px;
    color: #333;
}

.shpcrt-promo-btn {
    font-size: 12px;
    color: #666;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

/* Footer */
.shpcrt-footer {
    padding: 20px;
    background: white;
    border-top: 1px solid #eee;
    flex-shrink: 0;
}

.shpcrt-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.shpcrt-summary-label {
    font-size: 14px;
    color: #666;
}

.shpcrt-summary-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.shpcrt-total-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.shpcrt-total-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.shpcrt-total-price {
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

.shpcrt-checkout-btn {
    width: 100%;
    background: #4caf50;
    color: white;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.shpcrt-checkout-btn:hover {
    background: #45a049;
    transform: translateY(-1px);
}

.shpcrt-continue-btn {
    width: 100%;
    background: white;
    border:none;
    color: #666;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.shpcrt-continue-btn:hover {
    background: #f5f5f5;
}

/* Responsive */
@media (max-width: 768px) {
    .shpcrt-sidebar {
        width: 100%;
        right: -100%;
    }

    .shpcrt-header {
        padding: 15px;
    }

    .shpcrt-header h2 {
        font-size: 18px;
    }

    .shpcrt-delivery-info {
        padding: 10px 15px;
    }

    .shpcrt-items-container {
        padding: 10px;
    }

    .shpcrt-item {
        padding: 10px;
        margin-bottom: 8px;
    }

    .shpcrt-item-image {
        width: 70px;
        height: 70px;
    }

    .shpcrt-item-title {
        font-size: 13px;
    }

    .shpcrt-old-price {
        font-size: 11px;
    }

    .shpcrt-new-price {
        font-size: 13px;
    }

    .shpcrt-qty-btn {
        width: 26px;
        height: 26px;
        font-size: 14px;
    }

    .shpcrt-qty-input {
        width: 30px;
        font-size: 13px;
    }

    .shpcrt-remove-text {
        font-size: 12px;
    }

    .shpcrt-variant-item {
        font-size: 10px;
        padding: 2px 6px;
    }

    .shpcrt-campaign {
        font-size: 10px;
        padding: 3px 6px;
    }

    .shpcrt-promo-section {
        padding: 12px 15px;
    }

    .shpcrt-footer {
        padding: 15px;
    }

    .shpcrt-summary-label,
    .shpcrt-summary-value {
        font-size: 13px;
    }

    .shpcrt-total-label {
        font-size: 15px;
    }

    .shpcrt-total-price {
        font-size: 18px;
    }

    .shpcrt-checkout-btn {
        padding: 13px;
        font-size: 14px;
    }

    .shpcrt-continue-btn {
        padding: 11px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .shpcrt-cart-btn {
        padding: 12px 16px;
        font-size: 14px;
    }
}

/* Toast Container */
.toast-container {
    position: fixed;
    top: 125px;
    right: 20px;
    z-index: 9999;
    pointer-events: none;
}

/* Toast Base Styles */
.toast {
    background: white;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-left: 4px solid;
    min-width: 300px;
    max-width: 400px;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    pointer-events: auto;
    position: relative;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Toast Show Animation */
.toast.show {
    opacity: 1;
    transform: translateX(0);
}

/* Toast Types */
.toast.success {
    border-left-color: #10b981;
    background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
}

.toast.error {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fef1f1 100%);
}

.toast.warning {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, #fffbeb 0%, #fefce8 100%);
}

.toast.info {
    border-left-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #f0f9ff 100%);
}

/* Toast Content */
.toast-content {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.toast-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    margin-top: 2px;
}

.toast-text {
    flex: 1;
}

.toast-title {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
    color: #1f2937;
}

.toast-message {
    font-size: 13px;
    color: #6b7280;
    line-height: 1.4;
}

/* Close Button */
.toast-close {
    position: absolute;
    top: 8px;
    right: 8px;
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: #9ca3af;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    transition: all 0.2s;
}

.toast-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: #6b7280;
}

/* Progress Bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

.toast-progress-bar {
    height: 100%;
    background: currentColor;
    transition: width linear;
    opacity: 0.7;
}

.toast.success .toast-progress-bar {
    background: #10b981;
}

.toast.error .toast-progress-bar {
    background: #ef4444;
}

.toast.warning .toast-progress-bar {
    background: #f59e0b;
}

.toast.info .toast-progress-bar {
    background: #3b82f6;
}

@media (max-width: 480px) {
    .toast-container {
        top:80px;
    }
}

/* product card image ratio */

.ratio-1-1 { aspect-ratio: 1 / 1; }
.ratio-3-4 { aspect-ratio: 3 / 4; }
.ratio-9-16 { aspect-ratio: 9 / 16; }

/* product rating */

.product-rating {
    position: relative;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    min-height: 14px;
}
.rating-score {
    font-weight: 600;
    color: #1a1a1a;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}
.stars-display {
    width: 90px;
    height: 15px;
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(90deg, #FFB800 var(--percent), #E0E0E0 var(--percent));
    -webkit-mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M10 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M30 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M50 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M70 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M90 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/></svg>') no-repeat left center;
    -webkit-mask-size: 100% 100%;
    mask: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M10 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M30 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M50 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M70 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/><path d="M90 0l2.5 7.5h7.5l-6 4.5 2.5 7.5-6-4.5-6 4.5 2.5-7.5-6-4.5h7.5z"/></svg>') no-repeat left center;
    mask-size: 100% 100%;
}
.stars-display::before, .stars-display::after {
    content: none !important;
    display: none !important;
}
.review-count {
    color: #888;
    font-size: 11px;
    white-space: nowrap;
    margin-left: 100px;
}

/* Modal Genel Ayarları: Pürüzsüz köşeler ve yumuşak, geniş bir gölge */
.minimal-modal {
  border-radius: 24px;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  background-color: #ffffff;
}

/* Kapatma butonunu sağ üst köşeye sabitleme ve hafif şeffaflaştırma */
.minimal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  z-index: 10;
  opacity: 0.4;
  transition: opacity 0.3s ease;
}
.minimal-close:hover {
  opacity: 1;
}

/* Minimal Input: Kutuyu kaldır, sadece alt çizgi bırak */
.minimal-input {
  border: none;
  border-bottom: 2px solid #e9ecef;
  border-radius: 0;
  padding: 10px 0;
  font-size: 1.1rem;
  background-color: transparent;
  box-shadow: none !important; /* Bootstrap'in mavi parlama efektini kapatır */
  transition: border-color 0.3s ease;
  text-align: center; /* Yazıyı ortala */
}

/* Inputa tıklandığında alt çizginin siyah olması (Yüksek kontrast) */
.minimal-input:focus {
  border-bottom: 2px solid #212529;
}

/* Gönder Butonu Efektleri */
.minimal-btn {
  border-radius: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.minimal-btn:hover {
  transform: translateY(-2px); /* Üzerine gelince çok hafif yukarı kalkar */
  box-shadow: 0 8px 15px rgba(33, 37, 41, 0.2);
}
/* === assets/frontend/css/theme_custom.css === */
/* --- THEME CUSTOM --- */
body {
    font-family: "Quicksand", sans-serif;
    background-color: #f5f5f5;
    color: #000000;
}
a {
    color: #000000;
}
button {
    background-color: #000000;
    color: #ffffff;
}
i {
    color: #000000;
}
.breadcrumb {
    background: transparent;
    padding: 10px 20px;
    border-radius: 8px;
    margin: 10px 0;
    font-size: 14px;
}
.breadcrumb a {
    color: #2ba40a;
    text-decoration: none;
}
.breadcrumb a:hover {
    color: #52fb46;
}
.breadcrumb span.active {
    color: #2e8500;
    font-weight: 700;
}
.testcss {
    color: #2e8500;
}

/* === assets/frontend/css/header/header_2_base.css === */
/* --- HEADER 2 BASE CSS (editable:false) --- */
.logo-image{
    height: 40px;
    display: flex;
    align-items: center;
}
.logo-image img {
    height: 100%;
    width: auto;
    display: block;
    object-fit: contain;
}
.h14-top-bar {
    color: white;
    font-size: 13px;
}
.h14-top-bar a {
    text-decoration: underline;
}
.h14-logo-img {
    max-height: 50px;
    width: 100%;
    object-fit: contain;
    transition: 0.3s;
}
.h14-search-input {
    border-radius: 5px 0 0 5px !important;
    border: 1px solid #ddd;
}
.h14-search-input:focus {
    outline: none;
    box-shadow: none;
}
.h14-search-btn {
    border-radius: 0 5px 5px 0 !important;
    border: none;
}
.h14-main-nav {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
}
.h14-nav-link {
    padding: 15px 18px !important;
}
.h14-nav-item .dropdown-menu a img {
    width: 100px;
}

@media (min-width: 992px) {
    .h14-nav-container {
        position: relative;
    }
    .h14-nav-item.dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
    }
    .h14-nav-item.h14-mega-area {
        position: static;
    }
    .h14-mega-menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        padding: 20px;
        border-top: 3px solid #3e6d52;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 8px 8px;
    }
    .h14-standard-dropdown {
        min-width: 200px;
        border-top: 3px solid #3e6d52;
    }
    .dropdown-submenu {
        position: relative;
    }
    .dropdown-submenu > .dropdown-menu {
        display: none;
        position: absolute;
        left: 100%;
        top: 0;
        margin-left: 0;
        border-top: 2px solid #3e6d52;
    }
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
    .h14-submenu {
        min-width: 200px;
    }
    .h14-submenu-level3 {
        min-width: 180px;
    }
    .dropdown-submenu > .dropdown-toggle::after {
        content: '\f105';
        font-family: 'Font Awesome 6 Free';
        border: none;
        font-size: 18px;
        font-weight: bold;
        float: right;
        margin-left: auto;
    }
}
.h14-mega-title {
    border-bottom: 1px solid #eee;
    padding-bottom: 5px;
    margin-bottom: 10px;
    display: block;
}
.h14-mega-list {
    list-style: none;
    padding: 0;
}
.h14-mega-list li a {
    text-decoration: none;
    font-size: 14px;
    padding: 4px 0;
    display: block;
}
.h14-mega-list li a:hover {
    padding-left: 5px;
    transition: 0.2s;
}

@media (max-width: 991px) {
    .h14-logo-img {
        max-height: 40px;
    }
    .h14-search-container {
        order: 3;
        margin-top: 15px;
    }
    .h14-mobile-dropdown-toggle {
        border: none !important;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    .h14-mobile-dropdown-toggle .h14-mobile-arrow {
        font-size: 12px;
        transition: transform 0.3s ease;
    }
    .h14-mobile-dropdown-toggle[aria-expanded="true"] .h14-mobile-arrow {
        transform: rotate(90deg);
    }
    .h14-mobile-dropdown {
        display: none;
        padding: 10px 0;
    }
    .h14-mobile-dropdown.show {
        display: block;
    }
    .search-container {
        margin: 15px auto 0 auto;
        margin-top: 5px;
    }
}
@media (max-width: 768px){
    .logo-image{
        height: 35px;
    }
}
@media (max-width: 480px) {
    #h14MobileMenu.offcanvas-start {
        width: 100%;
        max-width: 100vw;
    }
}
#h14MobileMenu .collapsing {
    transition-duration: 0.2s;
}
.h14-announcement-wrapper {
    height: 24px;
    overflow: hidden;
    display: flex;
    align-items: center;
}
.h14-announcement-item {
    display: none;
    width: 100%;
    text-align: center;
}
.h14-announcement-item.active {
    display: block;
}
.search-container {
    margin: 0 auto 0 auto;
    position: relative;
}
.search-input-wrapper {
    position: relative;
    width: 100%;
}
.search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    outline: none;
    transition: all 0.3s ease;
}
.search-input:focus {
    border-color: #4CAF50;
}
.search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none;
}
.search-results {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin-top: 8px;
    max-height: 500px;
    overflow-y: auto;
    z-index: 1100;
}
.search-results.active {
    display: block;
}
.result-section {
    padding: 15px;
}
.section-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-left: 5px;
}
.result-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    margin-bottom: 8px;
}
.product-name {
    font-size: 14px;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    padding-right: 10px;
}
.product-price {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.original-price {
    font-size: 12px;
    text-decoration: line-through;
}
.no-results {
    padding: 30px;
    text-align: center;
}

/* === assets/frontend/css/header/header_2.css === */
/* --- HEADER GENEL --- */
.h14-top-bar {
    background-color: #1a2421;
}
.h14-top-bar a {
    color: #ccc;
}
.h14-search-btn {
    background-color: #3e6d52;
    color: white;
}
.h14-search-btn:hover {
    background-color: #3e6d52;
    color: white;
}
.h14-cart-box {
    background-color: #3e6d52;
    color: #ffffff;
}
.h14-main-nav {
    background: white;
}
.h14-nav-link {
    color: #333 !important;
    font-weight: 600;
}
.h14-mega-title {
    font-weight: bold;
    color: #3e6d52;
}
.h14-mega-list li a {
    color: #555;
}
.h14-mega-list li a:hover {
    color: #3e6d52;
}

@media (max-width: 991px) {
    .h14-mobile-dropdown-toggle {
        background: transparent !important;
    }
    .h14-mobile-dropdown-toggle::after {
        color: #3e6d52;
    }
}
.h14-announcement-item.active {
    color: #fff;
}
.h14-announcement-item.active a {
    color: #fff;
}
.search-results {
    background: white;
}
.section-title {
    color: #999;
}
.result-item:hover {
    background-color: #f8f8f8;
}
.product-name {
    color: #333;
    font-weight: 400;
}
.product-price {
    color: #333;
    font-weight: 600;
}
.original-price {
    color: #999;
    font-weight: 400;
}
.special-price {
    color: #e74c3c;
}
.no-results {
    color: #999;
}

/* === assets/frontend/css/footer/footer_1_base.css === */
/* --- FOOTER 1 BASE CSS (editable:false) --- */
.f13-footer {
    background: #1a1a1a;
    color: #ffffff;
    margin-top: auto;
}
.f13-footer-main {
    padding: 60px 0 40px;
}
.f13-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.f13-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}
.f13-footer-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
}
.f13-footer-menu {
    list-style: none;
    padding-left: initial;
}
.f13-footer-menu li {
    margin-bottom: 12px;
}
.f13-footer-menu a {
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: inline-block;
}
.f13-footer-menu a:hover {
    padding-left: 5px;
}
.f13-subscribe {
    max-width: 100%;
}
.f13-subscribe p {
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}
.f13-subscribe-form {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}
.f13-subscribe-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s ease;
}
.f13-subscribe-input:focus {
    border-color: #4a90e2;
}
.f13-subscribe-btn {
    padding: 12px 25px;
    border: none;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
    white-space: nowrap;
}
.f13-payment-methods {
    margin-top: 20px;
}
.f13-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    margin-top: 15px;
}
.f13-payment-item {
    padding: 10px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 40px;
}
.f13-payment-item:hover {
    border-color: #4a90e2;
}
.f13-payment-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: brightness(0.8);
    transition: filter 0.2s ease;
}
.f13-payment-item:hover img {
    filter: brightness(1);
}
.f13-footer-bottom {
    padding: 25px 0;
    border-top: 1px solid #333;
}
.f13-footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}
.f13-copyright {
    font-size: 14px;
}
.f13-etbis {
    display: flex;
    align-items: center;
    gap: 15px;
}
.f13-etbis-badge {
    background: #2a2a2a;
    padding: 8px 15px;
    border-radius: 4px;
    border: 1px solid #333;
    transition: transform 0.2s ease;
    display: block;
}
.f13-etbis-badge:hover {
    transform: scale(1.05);
}
.f13-etbis-badge img {
    height: 35px;
    display: block;
}
.f13-footer-right-text {
    font-size: 13px;
    text-align: right;
}
.f13-footer-right-text a {
    text-decoration: none;
    transition: color 0.3s ease;
}
.f13-social-links {
    margin-top: 20px;
    display: flex;
    gap: 12px;
}
.f13-social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border-width: 1px;
    border-style: solid;
}
.f13-social-link:hover {
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .f13-footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .f13-subscribe-form {
        flex-direction: column;
    }
    .f13-subscribe-btn {
        width: 100%;
    }
    .f13-footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }
    .f13-payment-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* === assets/frontend/css/footer/footer_1.css === */
/* --- FOOTER GENEL --- */
.f13-footer-main {
    background: #1a1a1a;
}
.f13-footer-column h3 {
    font-weight: 600;
    color: #ffffff;
}
.f13-footer-menu a {
    color: #b0b0b0;
    font-weight: 500;
}
.f13-footer-menu a:hover {
    color: #ffffff;
}
.f13-subscribe p {
    color: #b0b0b0;
}
.f13-subscribe-input {
    background: #2a2a2a;
    color: #ffffff;
}
.f13-subscribe-input::placeholder {
    color: #666;
}
.f13-subscribe-btn {
    background: #fff;
    color: #000;
    font-weight: 600;
}
.f13-subscribe-btn:hover {
    background: #bfbfbf;
}
.f13-payment-item {
    background: #ffffff;
}
.f13-footer-bottom {
    background: #0f0f0f;
}
.f13-copyright {
    color: #888;
    font-weight: 500;
}
.f13-footer-right-text {
    color: #888;
    font-weight: 500;
}
.f13-footer-right-text a {
    color: #888;
}
.f13-footer-right-text a:hover {
    color: #fff;
}
.f13-social-link {
    background: #fff;
    color: #000;
    border-color: #333;
}
.f13-social-link:hover {
    background: #bfbfbf;
    color: #000;
    border-color: #4a90e2;
}

/* === assets/frontend/css/account/account.css === */
/* ============================================================
   ACCOUNT - Ortak değişkenler ve reset
   ============================================================ */
:root {
    /* Marka rengi (focus, accent, page-title aksanlarında kullanılır) */
    --primary-color: #f27a1a;
    --primary-hover: #d96a14;
    --primary-light: #fff5ed;

    /* Ana eylem butonu (Primary button) — nötr siyah, marka rengiyle çakışmaz */
    --btn-primary-bg: #111;
    --btn-primary-hover: #000;
    --btn-primary-text: #fff;

    /* Semantik renkler */
    --success-color: #10b981;
    --success-hover: #059669;
    --success-light: #ecfdf5;

    --danger-color: #ef4444;
    --danger-hover: #dc2626;
    --danger-light: #fef2f2;

    /* Nötr renkler */
    --text-dark: #333;
    --text-muted: #666;
    --border-color: #e0e0e0;
    --bg-light: #f8f9fa;
}

i {
    color: inherit;
}

/* ============================================================
   ACCOUNT - Sidebar + Mobile sidebar (account_navbar ortak)
   Kullanıldığı sayfalar: edit, password, address_list, order_list,
   order_info, wishlist, coupons, cancels, returns, support_*
   ============================================================ */
.sidebar {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    position: sticky;
    /* Header yüksekliği JS tarafından --site-header-offset değişkenine yazılır;
       fallback değer header yüklenmeden önce yaklaşık güvenli bir tahmin */
    top: calc(var(--site-header-offset, 110px) + 12px);
    align-self: flex-start;
}

/* Site header sticky/fixed değilse sidebar'ı da yapıştırma — doğal akışta scroll ile gider */
.no-sticky-header .sidebar {
    position: static;
    top: auto;
}

.sidebar-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    margin-bottom: 5px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s;
}

.sidebar-item:hover {
    background-color: #f8f9fa;
}

.sidebar-item.active {
    background-color: #f8f9fa;
    color: #000;
}

.sidebar-item i {
    margin-right: 12px;
    width: 20px;
    text-align: center;
}

.main-content {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Ortak page-title — sayfa bölümlerinde gerekirse override edilir */
.page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

/* Mobile sticky sidebar */
.mobile-sidebar-wrapper {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
}

.mobile-sidebar-scroll {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.mobile-sidebar-scroll::-webkit-scrollbar {
    display: none;
}

.mobile-sidebar-items {
    display: flex;
    gap: 0;
    padding: 10px 15px;
    white-space: nowrap;
}

.mobile-sidebar-item {
    display: flex;
    align-items: center;
    padding: 8px 15px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s;
    font-size: 13px;
    flex-shrink: 0;
}

.mobile-sidebar-item.active {
    background-color: var(--btn-primary-bg);
    color: #fff;
}

.mobile-sidebar-item i {
    margin-right: 6px;
    font-size: 12px;
}

.content-with-mobile-sidebar {
    padding-top: 0;
    padding-bottom: 0;
}

@media (max-width: 991px) {
    .sidebar {
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        display: none;
    }

    .mobile-sidebar-wrapper {
        display: block;
    }

    .content-with-mobile-sidebar {
        padding-top: 0;
        padding-bottom: 70px;
    }

    .main-content {
        padding: 20px 15px;
    }

    .page-title {
        font-size: 18px;
    }
}

/* ============================================================
   ACCOUNT - Form bileşenleri (edit, password ortak)
   ============================================================ */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    display: block;
}

.form-control {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-save {
    background-color: var(--btn-primary-bg);
    border: 1px solid var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 300px;
}

.btn-save:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    color: var(--btn-primary-text);
}

@media (max-width: 768px) {
    .btn-save {
        max-width: 100%;
    }

    .page-title {
        margin-bottom: 25px;
    }
}

/* ============================================================
   AUTH - Login/Register/Forgotten/Reset ortak container
   Auth sayfalarına özel kurallar .login-container içine scope edilir;
   böylece account .form-group / .password-toggle çakışmaları önlenir.
   ============================================================ */
.login-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 45px;
    animation: slideUp 0.5s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.login-header {
    text-align: center;
    margin-bottom: 35px;
}

.login-header h1 {
    color: #333;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
}

.login-header p {
    color: #666;
    font-size: 14px;
}

/* Auth form-group ve input — account form-group ile çakışmaması için scoped */
.login-container .form-group {
    margin-bottom: 20px;
}

.login-container .form-group label {
    display: block;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.login-container .form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    outline: none;
}

.login-container .form-group input:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.btn-login {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-login:active {
    transform: translateY(0);
}

.password-wrapper {
    position: relative;
}

/* Auth password-toggle — account .password-input-wrapper varyantından farklı */
.login-container .password-toggle {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #666;
    cursor: pointer;
    font-size: 14px;
    padding: 4px 8px;
    transition: color 0.3s ease;
}

.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 14px;
}

.remember-me {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 8px;
    cursor: pointer;
    accent-color: #667eea;
}

.remember-me label {
    color: #555;
    cursor: pointer;
    user-select: none;
}

.forgot-password {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0;
    color: #999;
    font-size: 14px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e1e8ed;
}

.divider span {
    padding: 0 15px;
}

.social-login {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.social-btn {
    padding: 12px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.social-btn:hover {
    border-color: #000;
    background: #f8f9ff;
}

.register-link {
    text-align: center;
    font-size: 14px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e1e8ed;
}

.register-link a {
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

@media (max-width: 968px) {
    .login-container {
        max-width: 480px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .login-container {
        padding: 30px 20px;
    }

    .login-header h1 {
        font-size: 24px;
    }

    .social-login {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   AUTH - Sayfa: register/login (tabs)
   ============================================================ */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: #f5f5f5;
    padding: 5px;
    border-radius: 10px;
}

.tab {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab.active {
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* register sayfasına özel forgot-password renkleri */
.login-container .forgot-password {
    color: #667eea;
}

.login-container .forgot-password:hover {
    color: #764ba2;
}

/* ============================================================
   ACCOUNT - Sayfa: password (.password-input-wrapper varyantı)
   ============================================================ */
.password-input-wrapper {
    position: relative;
}

.password-input-wrapper .password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #000;
    cursor: pointer;
    padding: 5px;
    font-size: 16px;
    transition: color 0.3s;
}

/* ============================================================
   ACCOUNT - Sayfa: wishlist
   ============================================================ */
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 10px;
}

/* wishlist-de page-title override (margin-bottom yok, border-bottom yok) */
.page-header .page-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.page-title .count {
    color: var(--text-muted);
    font-weight: 400;
    font-size: 16px;
    margin-left: 8px;
}

.filter-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 8px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background-color: white;
    font-size: 13px;
    color: var(--text-dark);
    cursor: pointer;
    transition: all 0.3s;
}

.filter-select:hover,
.filter-select:focus {
    outline: none;
    border-color: #000;
}


.wishlist-item > div {
    width: 100%;
}

/* Ortak empty-state (wishlist + coupons benzeri kullanım) */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 64px;
    color: var(--border-color);
    margin-bottom: 20px;
}

.empty-state h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--text-dark);
}

.empty-state p {
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-continue-shopping {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

@media (max-width: 768px) {
    .filter-bar {
        width: 100%;
    }

    .filter-select {
        flex: 1;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: coupons
   ============================================================ */
.coupons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.coupon-card {
    border: 2px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.coupon-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.coupon-content {
    display: flex;
    padding: 20px;
    gap: 15px;
}

.coupon-amount {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    min-width: 80px;
}

.coupon-details {
    flex: 1;
    padding-left: 15px;
    border-left: 2px dashed var(--border-color);
}

.coupon-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.coupon-min {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 5px;
}

.coupon-footer {
    padding: 12px 20px;
    background-color: white;
    border-top: 1px solid var(--border-color);
}

.btn-use-coupon,
.btn-apply-coupon {
    width: 100%;
    padding: 10px;
    border: 2px solid var(--btn-primary-bg);
    color: var(--btn-primary-bg);
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-use-coupon {
    background-color: white;
}

.btn-apply-coupon {
    background-color: var(--bg-light);
}

.btn-use-coupon:hover,
.btn-apply-coupon:hover {
    background-color: var(--btn-primary-bg);
    color: #fff;
}

.coupon-card.expired {
    opacity: 0.6;
    border-color: #ddd;
}

.coupon-card.expired .coupon-amount {
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .coupons-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .coupon-content {
        padding: 15px;
    }

    .coupon-amount {
        font-size: 24px;
        min-width: 70px;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: order_list
   ============================================================ */
.order-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.order-body {
    padding: 20px;
}

.order-status {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 500;
}

.status-delivered {
    background-color: #e6f9f0;
    color: var(--success-color);
}

.status-preparing {
    background-color: #fff3e0;
    color: #ff9800;
}

.status-shipped {
    background-color: #e3f2fd;
    color: #2196f3;
}

.status-new {
    background-color: #f3e5f5;
    color: #9c27b0;
}

.status-returned {
    background-color: #fce4ec;
    color: #e91e63;
}

.status-cancelled {
    background-color: #ffebee;
    color: #f44336;
}

.product-item {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.product-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.product-image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.detail-btn {
    background-color: var(--btn-primary-bg);
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.detail-btn:hover {
    background-color: var(--btn-primary-hover);
}

.desktop-only { display: block; }
.mobile-only { display: none; }

.desktop-header-container {
    background-color: #fcfcfc;
    padding: 15px 20px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-info-group {
    display: flex;
    gap: 50px;
}

.info-col {
    display: flex;
    flex-direction: column;
}

.info-label {
    font-size: 13px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.info-value {
    font-size: 14px;
    font-weight: 400;
}

.price-text {
    font-weight: 600;
}

.desktop-detail-btn {
    border: none;
    padding: 9px 35px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.mobile-header-left {
    display: flex;
    flex-direction: column;
}

.order-actions {
    display: flex;
    justify-content: flex-end;
}

.cancel-btn {
    background-color: transparent;
    color: var(--btn-primary-bg);
    border: 1.5px solid var(--btn-primary-bg);
    padding: 8px 22px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.cancel-btn:hover {
    background-color: var(--btn-primary-bg);
    color: #fff;
}

.cancel-btn i {
    font-size: 12px;
}

.return-btn {
    background-color: transparent;
    color: var(--btn-primary-bg);
    border: 1.5px solid var(--btn-primary-bg);
    padding: 6px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.return-btn:hover {
    background-color: var(--btn-primary-bg);
    color: #fff;
}

.return-btn i {
    font-size: 12px;
}

/* order_list mobil: 991px breakpoint kullanır (768px değil) */
@media (max-width: 991px) {
    .desktop-only { display: none !important; }
    .mobile-only { display: block !important; }

    .content-with-mobile-sidebar {
        padding-top: 60px;
    }

    .order-card {
        margin-bottom: 15px;
    }

    .order-header {
        background-color: var(--bg-light);
        padding: 12px 15px;
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 15px;
        border-bottom: 1px solid var(--border-color);
    }

    .order-date {
        font-size: 13px;
        color: #666;
        margin-bottom: 2px;
    }

    .order-total-mobile {
        font-size: 14px;
        color: #333;
    }

    .order-total-mobile span {
        font-weight: 600;
    }

    .mobile-detail-link {
        font-size: 13px;
        font-weight: 500;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 4px;
    }

    .detail-btn {
        padding: 8px 20px;
        font-size: 13px;
        white-space: nowrap;
    }

    .order-body {
        padding: 15px;
    }

    .order-status {
        flex-direction: row;
        align-items: center;
        padding: 10px 12px;
        font-size: 13px;
    }

    .order-status span[style*="margin-left"] {
        display: none;
    }

    .product-item {
        display: flex;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 10px;
        padding-bottom: 10px;
    }

    .product-image {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: order_info
   ============================================================ */
.order-summary-header {
    background-color: white;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    margin: -25px -25px 20px -25px;
}

.order-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
}

/* order_info'da .info-label margin-bottom: 5px ve renk farklı */
.order-info-summary .info-label,
.order-info-grid .info-label,
.order-summary-header .info-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
    font-weight: 400;
}

.order-info-summary .info-value,
.order-info-grid .info-value,
.order-summary-header .info-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

/* order_info'da status-*: arka plansız, sadece renk */
.order-summary-header .status-delivered { background: transparent; color: var(--success-color); }
.order-summary-header .status-preparing { background: transparent; color: #ff9800; }
.order-summary-header .status-shipped { background: transparent; color: #2196f3; }
.order-summary-header .status-new { background: transparent; color: #9c27b0; }
.order-summary-header .status-returned { background: transparent; color: #e91e63; }
.order-summary-header .status-cancelled { background: transparent; color: #f44336; }

.cancel-success-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.cancel-success-overlay.show {
    display: flex;
}

.cancel-success-modal {
    background: white;
    border-radius: 12px;
    padding: 30px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.return-status-badge {
    margin-top: 15px;
    padding: 12px 16px;
    background-color: #e3f2fd;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.return-status-badge i {
    color: #1565c0;
}

.return-status-badge span {
    font-size: 14px;
    font-weight: 500;
    color: #1565c0;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success-color);
    font-size: 14px;
    font-weight: 500;
}

.teslimat-box {
    background-color: var(--bg-light);
    padding: 12px 15px;
    border-radius: 6px;
    margin-bottom: 20px;
}

.teslimat-label {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 3px;
}

.teslimat-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.btn-primary-custom {
    background-color: var(--btn-primary-bg);
    color: #fff;
    border: 1px solid var(--btn-primary-bg);
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary-custom:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
}

.btn-secondary-custom {
    background-color: white;
    color: var(--btn-primary-bg);
    border: 1px solid var(--btn-primary-bg);
    padding: 10px 25px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background-color: #fff5ed;
}

.status-detail {
    font-size: 13px;
    color: var(--text-muted);
    margin-left: 26px;
}

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
}

.product-content {
    display: flex;
    gap: 20px;
}

/* order_info'da product-image 100x100 (order_list'te 80x80) */
.product-card .product-image {
    width: 100px;
    height: 100px;
    border-radius: 8px;
}

.product-details {
    flex: 1;
}

.order-product-name {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.product-campaign {
    font-size: 13px;
    color: #BB851B;
}

.product-variant {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.product-price {
    font-size: 16px;
    font-weight: 600;
    color: inherit;
    margin-top: 10px;
}

.product-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.product-actions .btn-primary-custom,
.product-actions .btn-secondary-custom {
    width: 100%;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    text-transform: none;
}

.address-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.address-card {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.address-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.address-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 5px;
}

.payment-info {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
}

.payment-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.payment-row:last-child {
    border-bottom: none;
    padding-top: 15px;
    margin-top: 5px;
    font-weight: 600;
}

.payment-label {
    font-size: 14px;
    color: var(--text-dark);
    display: flex;
    align-items: center;
    gap: 8px;
}

.payment-value {
    font-size: 14px;
    color: var(--text-dark);
}

.payment-total {
    font-size: 16px;
    font-weight: 600;
}

.discount-text {
    color: var(--success-color);
}

/* order_info için cancel-btn padding farklı (6px 14px, order_list 8px 22px) */
.order-summary-header .cancel-btn {
    padding: 6px 14px;
    font-size: 12px;
}

.order-summary-header .cancel-btn i {
    font-size: 11px;
}

.order-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.order-header-top .order-title {
    margin-bottom: 15px;
}

.order-header-top .cancel-btn {
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .main-content {
        padding: 15px;
    }

    .order-summary-header {
        padding: 15px;
        margin: -15px -15px 15px -15px;
    }

    .order-title {
        font-size: 18px;
    }

    .order-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .info-item {
        min-width: 0;
    }

    .order-summary-header .info-label,
    .order-info-grid .info-label,
    .order-info-summary .info-label {
        font-size: 12px;
    }

    .order-summary-header .info-value,
    .order-info-grid .info-value,
    .order-info-summary .info-value {
        font-size: 13px;
    }

    .btn-primary-custom,
    .btn-secondary-custom {
        width: 100%;
        text-align: center;
    }

    .product-content {
        flex-direction: row;
        gap: 15px;
    }

    .product-card .product-image {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

    .product-details {
        flex: 1;
    }

    .order-product-name {
        font-size: 13px;
        margin-bottom: 5px;
        line-height: 1.3;
    }

    .product-campaign {
        font-size: 12px;
        color: #BB851B;
    }

    .product-variant {
        font-size: 12px;
        margin-bottom: 3px;
    }

    .product-price {
        font-size: 14px;
        margin-top: 5px;
    }

    .product-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 10px;
    }

    .product-actions .btn-primary-custom,
    .product-actions .btn-secondary-custom {
        width: 100%;
        padding: 8px 15px;
        font-size: 12px;
    }

    .address-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .section-title {
        font-size: 15px;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: cancels + returns (ortak)
   ============================================================ */
.cancel-page-header {
    background-color: white;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    margin: -25px -25px 20px -25px;
}

.cancel-page-title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* cancels (kırmızı) base — page-title içindeki fa-times-circle ikonu */
.cancel-page-header .cancel-page-title {
    color: #e74c3c;
}

/* returns sayfası: cancel-page-title içinde fa-undo-alt ikonu var → turuncu.
   :has() modern browser desteği var (Chrome 105+, Safari 15.4+, Firefox 121+) */
.cancel-page-header .cancel-page-title:has(i.fa-undo-alt) {
    color: var(--primary-color);
}

.cancel-page-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.order-info-summary {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.info-value-total {
    font-weight: 600;
}

.cancel-product-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s;
}

.cancel-product-card:hover {
    border-color: #000;
}

.cancel-product-card .product-image {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
}

/* Marka span'ı ürün adıyla aynı stilde; arasındaki boşluk HTML whitespace ile zaten geliyor */

.cancel-product-card .product-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.cancel-product-card .product-variant {
    margin-bottom: 3px;
}

.cancel-product-card .product-price {
    font-size: 15px;
    margin-top: 0;
}

.product-checkbox {
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
    cursor: pointer;
    flex-shrink: 0;
}

.select-all-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    padding: 10px 15px;
    background-color: var(--bg-light);
    border-radius: 6px;
    cursor: pointer;
}

.select-all-row label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    cursor: pointer;
}

.cancel-reason-section {
    margin-top: 25px;
    margin-bottom: 25px;
}

.reason-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.reason-option:hover,
.reason-option.selected {
    border-color: #000;
    background-color: #dbd2d2;
}

.reason-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
}

.reason-label {
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
}

.reason-text-wrapper {
    margin-top: 10px;
    padding: 14px;
    background-color: var(--bg-light);
    border-radius: 6px;
    border: 1px solid var(--border-color);
}

.reason-text-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.reason-textarea {
    width: 100%;
    min-height: 80px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 12px 15px;
    font-size: 14px;
    color: var(--text-dark);
    resize: vertical;
    transition: border-color 0.3s;
    background-color: #fff;
    font-family: inherit;
}

.reason-textarea:focus {
    outline: none;
    border-color: var(--btn-primary-bg);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.05);
}

.warning-box {
    background-color: #fff8e1;
    border: 1px solid #ffe082;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 25px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.warning-box i {
    color: #f9a825;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.warning-box-content {
    flex: 1;
}

.warning-box-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.warning-box-text {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.refund-summary {
    background-color: var(--bg-light);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
}

.refund-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.refund-row:last-child {
    border-bottom: none;
    padding-top: 12px;
    margin-top: 5px;
    font-weight: 600;
}

.refund-label {
    font-size: 14px;
    color: var(--text-dark);
}

.refund-value {
    font-size: 14px;
    color: var(--text-dark);
}

.refund-total {
    font-size: 16px;
    color: var(--success-color);
    font-weight: 600;
}

.cancel-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.btn-cancel-back {
    background-color: white;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}

.btn-cancel-back:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
}

.btn-cancel-confirm {
    background-color: var(--danger-color);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-cancel-confirm:hover {
    background-color: #c0392b;
}

.btn-cancel-confirm:disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
}

/* Returns sayfasındaki "Siparişi İade Et" — nötr outline (Vazgeç ile aynı) */
.btn-cancel-confirm.btn-confirm-neutral {
    background-color: #fff;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    font-weight: 500;
}

.btn-cancel-confirm.btn-confirm-neutral:hover {
    background-color: var(--bg-light);
    color: var(--text-dark);
    border-color: var(--text-muted);
}

.btn-cancel-confirm.btn-confirm-neutral:disabled {
    background-color: #f1f3f5;
    color: #adb5bd;
    border-color: var(--border-color);
    cursor: not-allowed;
}

/* cancels success modal (returns ile ortak) */
.cancel-success-modal {
    text-align: center;
    padding: 40px;
}

.success-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: #e6f9f0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-icon i {
    font-size: 28px;
    color: var(--success-color);
}

.success-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.success-text {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 25px;
}

.success-btn {
    background-color: var(--btn-primary-bg);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.success-btn:hover {
    background-color: var(--btn-primary-hover);
}

@media (max-width: 768px) {
    .cancel-page-header {
        padding: 15px;
        margin: -15px -15px 15px -15px;
    }

    .cancel-page-title {
        font-size: 18px;
    }

    .order-info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .cancel-product-card {
        padding: 12px;
        gap: 10px;
    }

    .cancel-product-card .product-image {
        width: 55px;
        height: 55px;
    }

    .cancel-product-card .product-name {
        font-size: 13px;
    }

    .cancel-product-card .product-variant {
        font-size: 12px;
    }

    .cancel-product-card .product-price {
        font-size: 14px;
    }

    .reason-option {
        padding: 10px 12px;
    }

    .reason-label {
        font-size: 13px;
    }

    .cancel-actions {
        flex-direction: column;
    }

    .btn-cancel-back,
    .btn-cancel-confirm {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .warning-box {
        padding: 12px 15px;
    }

    .cancel-success-modal {
        padding: 30px 20px;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: address_list
   Buton sistemi standart paleti kullanır:
   - btn-add-address, modal .btn-save → Primary (turuncu dolgu)
   - btn-edit, btn-cancel → Outline secondary (beyaz + gri border)
   - btn-delete → Danger outline (beyaz + kırmızı border, hover dolgu)
   - btn-set-default → Success outline (beyaz + yeşil border)
   - btn-set-default.active → Success filled (yeşil dolgu)
   ============================================================ */

/* Adres sayfası butonlarının ortak temeli */
.btn-add-address,
.btn-set-default,
.btn-delete,
.btn-edit,
.btn-cancel,
.address-actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid transparent;
    background-color: transparent;
    color: var(--text-dark);
}

/* Primary - turuncu dolgu */
.btn-add-address {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: var(--btn-primary-text);
}

.btn-add-address:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
    color: var(--btn-primary-text);
}

/* Outline secondary - düzenle, sil, varsayılan yap (pasif) — tüm aksiyon butonları aynı görünüm */
.btn-edit,
.btn-delete,
.btn-set-default {
    background-color: #fff;
    color: var(--text-dark);
    border-color: var(--border-color);
}

.btn-edit {
    flex: 1;
}

.btn-delete {
    flex: 0 0 auto;
}

.btn-set-default {
    flex: 1;
}

.btn-edit:hover,
.btn-delete:hover,
.btn-set-default:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
}

/* Aktif varsayılan - siyah dolgu (vurgulu) */
.btn-set-default.active {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
    color: #fff;
    cursor: default;
}

.btn-set-default.active:hover {
    background-color: var(--btn-primary-bg);
    border-color: var(--btn-primary-bg);
}

/* address-actions içindeki <a> tag'leri (sil butonu sarmalayıcısı) renksiz kalsın */
.address-actions a {
    padding: 0;
    background: transparent;
    border: none;
    flex: 0 0 auto;
}

.addresses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.addresses-grid .address-card {
    background-color: transparent;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.addresses-grid .address-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* Adres detayı boş alanı doldursun, butonları aşağı it */
.addresses-grid .address-card .address-detail {
    flex: 1 1 auto;
}

.address-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--bg-light);
    color: var(--text-muted);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
}

.address-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.address-detail {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 8px;
}

.address-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color);
}

/* address_list modal */
.modal-content {
    border: none;
    border-radius: 8px;
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--border-color);
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-dark);
}

.btn-close {
    font-size: 14px;
}

.modal-body {
    padding: 10px 25px;
}

/* address_list modal form-group override (margin-bottom 20px) */
.modal-body .form-group {
    margin-bottom: 20px;
}

/* address_list modal form-control farklı padding (45px değil 15px) */
.modal-body .form-control {
    padding: 12px 15px;
}

.form-select {
    width: 100%;
    padding: 12px 35px 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    background-color: white;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    appearance: none;
    cursor: pointer;
    transition: all 0.3s;
}

.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(242, 122, 26, 0.1);
}

textarea.form-control {
    min-height: 80px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.checkbox-input {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-label {
    font-size: 14px;
    color: var(--text-dark);
    cursor: pointer;
    margin: 0;
}

.modal-footer {
    padding: 15px 25px;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Outline secondary - iptal */
.btn-cancel {
    background-color: #fff;
    color: var(--text-dark);
    border-color: var(--border-color);
    padding: 10px 22px;
}

.btn-cancel:hover {
    background-color: var(--bg-light);
    border-color: var(--text-muted);
}

/* address_list .btn-save modal'da Primary - max-width yok */
.modal-footer .btn-save {
    background-color: var(--btn-primary-bg);
    border: 1px solid var(--btn-primary-bg);
    color: var(--btn-primary-text);
    padding: 10px 25px;
    font-size: 14px;
    font-weight: 500;
    max-width: none;
    transition: all 0.2s ease;
}

.modal-footer .btn-save:hover {
    background-color: var(--btn-primary-hover);
    border-color: var(--btn-primary-hover);
}

@media (max-width: 768px) {
    .page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .btn-add-address {
        width: 100%;
    }

    .addresses-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Mobilde adres kartı butonları dikey, tüm genişlik */
    .address-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .address-actions a,
    .address-actions a .btn-delete,
    .address-actions .btn-edit,
    .address-actions .btn-set-default {
        width: 100%;
    }

    .modal-footer {
        flex-direction: column-reverse;
    }

    .modal-footer .btn-cancel,
    .modal-footer .btn-save {
        width: 100%;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: support_list
   ============================================================ */
.ticket-card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    padding: 18px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: box-shadow 0.2s;
}

.ticket-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    color: inherit;
    text-decoration: none;
}

.ticket-subject {
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 5px;
}

.ticket-meta {
    font-size: 13px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.ticket-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-open        { background: #fff3cd; color: #856404; }
.badge-in_progress { background: #cfe2ff; color: #084298; }
.badge-resolved    { background: #d1e7dd; color: #0f5132; }
.badge-closed      { background: #e2e3e5; color: #41464b; }

.category-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: #f0f0f0;
    color: #555;
}

.unread-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-color);
    border-radius: 50%;
    display: inline-block;
    margin-left: 6px;
}

.btn-new {
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* support_list empty-state varyantı (ortak empty-state'i override eder) */
.empty-state > i {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
    color: #ddd;
}

.flash-success {
    background: #d1e7dd;
    color: #0f5132;
    border: 1px solid #badbcc;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

.flash-error {
    background: #f8d7da;
    color: #842029;
    border: 1px solid #f5c2c7;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 20px;
}

/* support sayfaları 991px breakpoint kullanır */
@media (max-width: 991px) {
    .ticket-card {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: support_create
   ============================================================ */
.page-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 28px;
}

/* support_create için .main-content padding 30px */
.support-create .main-content {
    padding: 30px;
}

/* support sayfaları form-control farklı (border 1.5px) */
.support-form .form-control {
    padding: 10px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.2s;
    outline: none;
}

.support-form .form-control:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.12);
}

.support-form textarea.form-control {
    resize: vertical;
    min-height: 140px;
}

.support-form select.form-control {
    background: white;
    cursor: pointer;
}

.support-form .form-label {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-dark);
    margin-bottom: 6px;
    display: block;
}

.support-form .form-group {
    margin-bottom: 20px;
}

.btn-submit {
    border: none;
    padding: 12px 32px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-back {
    background: #f0f0f0;
    color: var(--text-dark);
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    text-decoration: none;
    margin-right: 10px;
}

.btn-back:hover {
    background: #e0e0e0;
    color: var(--text-dark);
    text-decoration: none;
}

.priority-select {
    display: flex;
    gap: 10px;
}

.priority-option {
    flex: 1;
}

.priority-option input[type="radio"] {
    display: none;
}

.priority-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.priority-option input:checked + label.low    { border-color: #6c757d; background: #f8f9fa; color: #6c757d; }
.priority-option input:checked + label.medium { border-color: #fd7e14; background: #fff3cd; color: #856404; }
.priority-option input:checked + label.high   { border-color: #dc3545; background: #f8d7da; color: #842029; }

.category-select {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.category-option input[type="radio"] {
    display: none;
}

.category-option label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1.5px solid var(--border-color);
    border-radius: 20px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
}

.category-option input:checked + label {
    border-color: #009688;
    background: #009688;
    color: #fff;
}

@media (max-width: 991px) {
    .priority-select {
        flex-direction: column;
    }
}

/* ============================================================
   ACCOUNT - Sayfa: support_detail
   ============================================================ */
.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 12px;
}

.ticket-header .ticket-subject {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 6px;
}

.ticket-header .ticket-meta {
    gap: 10px;
}

.ticket-header .ticket-badge {
    padding: 5px 14px;
}

.order-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 12px;
    background: #f0f7ff;
    border-radius: 4px;
    font-size: 12px;
    color: #084298;
    font-weight: 600;
    text-decoration: none;
}

.order-link:hover {
    background: #dbeafe;
    color: #084298;
}

.messages-wrap {
    max-height: 500px;
    overflow-y: auto;
    padding-right: 5px;
    margin-bottom: 20px;
}

.message-row {
    display: flex;
    margin-bottom: 16px;
}

.message-row.from-customer { justify-content: flex-end; }
.message-row.from-admin    { justify-content: flex-start; }

.message-bubble {
    max-width: 72%;
    padding: 14px 16px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.from-customer .message-bubble {
    background: #009688;
    color: white;
    border-bottom-right-radius: 3px;
}

.from-admin .message-bubble {
    background: #f0f4ff;
    color: #1c2b46;
    border: 1px solid #d0d8f0;
    border-bottom-left-radius: 3px;
}

.message-time {
    font-size: 11px;
    margin-top: 6px;
    opacity: 0.7;
}

.from-admin .message-time {
    color: var(--text-muted);
}

.message-sender {
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}

.from-admin .message-sender {
    color: #4f52e3;
}

.message-attachment {
    margin-top: 8px;
}

.message-attachment a {
    color: inherit;
    opacity: 0.85;
    font-size: 12px;
    text-decoration: underline;
}

.from-customer .message-attachment a {
    color: white;
}

.resolved-notice {
    background: #d1e7dd;
    color: #0f5132;
    border-radius: 8px;
    padding: 16px 20px;
    text-align: center;
    font-weight: 500;
}

.closed-notice {
    background: #e2e3e5;
    color: #41464b;
    border-radius: 8px;
    padding: 16px 20px;
    text-align: center;
    font-weight: 500;
}

.waiting-notice {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 14px 16px;
    font-size: 13px;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.reply-form {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
}

.reply-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    outline: none;
    transition: border-color 0.2s;
}

.reply-form textarea:focus {
    border-color: #000;
    box-shadow: 0 0 0 3px rgba(0,0,0,0.12);
}

.reply-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.btn-reply {
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-reply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.reply-file-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1.5px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    color: var(--text-muted);
    transition: all 0.2s;
}

.reply-file-label:hover {
    border-color: #000;
}

.reply-file-label input {
    display: none;
}

@media (max-width: 991px) {
    .message-bubble {
        max-width: 85%;
    }
}

