/* === 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/extension/modules/video/video.css === */
/**
 * Video Modülü CSS
 * Responsive video player stilleri
 */

/* Video modül container */
.video-module-container {
    width: 100%;
    margin-bottom: 20px;
}

/* Video başlık */
.video-module-header {
    margin-bottom: 20px;
}

.video-module-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

/* Responsive video wrapper */
.video-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Aspect ratio stilleri - 16:9 Sabit */
.video-ratio-16-9 {
    padding-bottom: 56.25%; /* 16:9 = 9/16 = 0.5625 */
}

/* Video player (iframe veya video) */
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px;
}

/* Mobil responsive */
@media (max-width: 768px) {
    .video-module-title {
        font-size: 20px;
    }
    
    .video-module-header {
        margin-bottom: 15px;
    }
    
    .video-wrapper {
        border-radius: 6px;
    }
}

@media (max-width: 576px) {
    .video-module-title {
        font-size: 18px;
    }
    
    .video-module-header {
        margin-bottom: 10px;
    }
    
    .video-wrapper {
        border-radius: 4px;
    }
}

/* Dark mode desteği (opsiyonel) */
@media (prefers-color-scheme: dark) {
    .video-wrapper {
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
    }
}

/* Hover efekti */
.video-wrapper:hover {
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
}

/* Loading state için placeholder */
.video-wrapper::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
    z-index: -1;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Video yüklendikten sonra placeholder'ı gizle */
.video-wrapper:has(iframe[src]),
.video-wrapper:has(video[src]) {
    &::before {
        display: none;
    }
}

/* === assets/frontend/css/extension/modules/banner/banner.css === */
/* Overlay Banner Container */
.banner-overlay-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

/* .banner-col d-flex olduğu için içindeki .row varsayılan flex item davranışıyla
   yalnızca içeriği kadar genişler. Banner kartının parent col'u tam doldurması için
   .row'a flex-grow:1 ve width:100% veriyoruz. */
.banner-col > .row {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.banner-overlay-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Desktop: Banner yüksekliklerini eşitle */
@media (min-width: 992px) {
    .banner-col .banner-overlay-container {
        height: 100%;
    }

    .banner-col .banner-overlay-container img {
        height: 100%;
        object-fit: cover;
    }

    /* Dikey stack edilmiş banner'lar (col-lg-12): row'u column yap, alanı eşit dağıt */
    .banner-col > .row:has(> .col-lg-12) {
        flex-direction: column;
        flex-wrap: nowrap;
    }

    .banner-col > .row:has(> .col-lg-12) > [class*="col-"] {
        flex: 1 1 auto;
    }
}

/* === assets/frontend/css/extension/modules/modules.css === */
/* marquee css */

.wesiva-marquee-container {
    padding: 8px 0;
}

.wesiva-marquee-container .wesiva-marquee-wrapper {
    display: flex;
    align-items: center;
    overflow: hidden;
    transform: translateZ(0);
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container {
    margin: .15em 0;
    white-space: nowrap;
    width: auto;
    perspective: 900;
    animation: marquee-left 0.5s linear infinite forwards;
    font-size: 16px;
}

.wesiva-marquee-container:hover .wesiva-marquee-text-container {
    animation-play-state: paused;
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container span {
    padding: 0 38px;
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}

.wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container a:hover {
    opacity: 0.8;
}

@keyframes marquee-left {
    0% {
        transform: translateX(-1%);
    }
    to {
        transform: translateX(-51%);
    }
}

/* featured category 1 css */

.featured-cat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    justify-items: center;
    margin-top: 1rem;
}

@media (min-width: 768px) {
    .featured-cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .wesiva-marquee-container .wesiva-marquee-wrapper .wesiva-marquee-text-container {
        font-size: 14px;
    }
}

@media (min-width: 992px) {
    .featured-cat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1200px) {
    .featured-cat-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.featured-cat-grid > div {
    display: flex;
    width: 100%;
}

.cat-circle-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none !important;
    position: relative;
    text-align: center;
    transition: transform 0.3s ease;
    height: 100%;
    width: 100%;
}
.cat-circle-wrap:hover { transform: translateY(-5px); }

.cat-circle-box {
    position: relative;
    width: 100px;
    height: 100px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
    z-index: 1;
    flex-shrink: 0;
}



.cat-img-bg { 
    width: 100%; 
    height: 100%; 
    object-fit: cover; 
    transition: transform 0.6s ease; 
}

.cat-content { 
    display: block; 
    transition: all 0.4s ease; 
    z-index: 2; 
}

.cat-txt-bottom { 
    display: -webkit-box; 
    overflow: hidden;
    font-size: 0.9rem; 
    color: #1a1a1a; 
    font-weight: 500;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

@media (min-width: 768px) {
    .cat-circle-box { width: 160px; height: 160px; }
    .cat-txt-bottom { font-size: 1.3rem; }
}

@media (max-width: 767px) {
    .featured-cat-grid { overflow-x: auto; }
}

.layout-below-image .cat-content { padding-top: 10px; }

.layout-top-image .cat-circle-wrap { 
    flex-direction: column-reverse; 
}
.layout-top-image .cat-content { padding-bottom: 10px; }

/* featured category 2 css */

.sp-cat-card {
    display: flex; background: #ffffff; border-radius: 12px; overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05); height: 130px; 
    transition: transform 0.3s ease;
}
.sp-cat-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.sp-img-box { position: relative; width: 35%; height: 100%; background-size: cover; background-position: center; }

.sp-content-box { width: 65%; padding: 12px 15px; display: flex; flex-direction: column; justify-content: center; }
.sp-wave { width: 25px; height: 8px; margin-bottom: 8px; }
.sp-title { font-weight: 800; font-size: 0.9rem; color: #1a1a1a; margin-bottom: 5px; line-height: 1.2; }
.sp-desc { font-size: 0.75rem; color: #666; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sp-btn { display: inline-block; width: fit-content; padding: 8px 18px; font-weight: 800; font-size: 0.75rem; color: #ffffff; text-transform: uppercase; text-decoration: none !important; border-radius: 4px; margin-top:auto; }

@media (min-width: 992px) {
    .row-cols-lg-2 .sp-cat-card { height: 160px; }
    .row-cols-lg-2 .sp-img-box { width: 45%; }
    .row-cols-lg-2 .sp-content-box { width: 55%; padding: 15px 20px; }
    .row-cols-lg-2 .sp-title { font-size: 1.1rem; }
    .row-cols-lg-2 .sp-desc { font-size: 0.9rem; -webkit-line-clamp: 3; }
}

@media (min-width: 992px) {
    .row-cols-lg-4 .sp-cat-card { flex-direction: column; height: auto; text-align: center; }
    .row-cols-lg-4 .sp-img-box { width: 100%; height: 160px; }
    .row-cols-lg-4 .sp-content-box { width: 100%; padding: 15px 15px 20px 15px; align-items: center; min-height: 175px; }
    .row-cols-lg-4 .sp-title { font-size: 1rem; }
}

@media (min-width: 992px) {
    .row-cols-lg-6 .sp-cat-card { flex-direction: column; height: auto; text-align: center; }
    .row-cols-lg-6 .sp-img-box { width: 100%; height: 110px; }
    .row-cols-lg-6 .sp-content-box { width: 100%; padding: 10px 10px 15px 10px; align-items: center; min-height: 135px; }
    .row-cols-lg-6 .sp-title { font-size: 1.1rem; margin-bottom: 2px; }

    .row-cols-lg-6 .sp-desc { 
        display: -webkit-box; 
        -webkit-line-clamp: 1; 
        font-size: 0.75rem; 
        margin-bottom: 10px; 
    }
    .row-cols-lg-6 .sp-wave { display: none; } /* Çok daralınca dalga ikonunu gizlemek daha temiz gösterir */
    .row-cols-lg-6 .sp-btn { padding: 8px 18px; font-size: 0.75rem; }
}

.theme-green .sp-btn { background-color: #83d001; } .theme-green .sp-wave-path { fill: #83d001; }
.theme-blue .sp-btn { background-color: #6ebad3; } .theme-blue .sp-wave-path { fill: #6ebad3; }
.theme-orange .sp-btn { background-color: #ff9800; } .theme-orange .sp-wave-path { fill: #ff9800; }
.theme-purple .sp-btn { background-color: #b366e1; } .theme-purple .sp-wave-path { fill: #b366e1; }
.theme-red .sp-btn { background-color: #e30a5c; } .theme-red .sp-wave-path { fill: #e30a5c; }
.theme-yellow .sp-btn { background-color: #ffc107; } .theme-yellow .sp-wave-path { fill: #ffc107; }

/* comment css */

.comment-card {
    background-size: cover;
    background-position: center;
    padding: 20px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

/* Yorum Metni */
.comment-text {
    font-size: 14px;
    line-height: 1.6;
    color: #1a1a1a;
    margin-bottom: 15px;
    flex-grow: 1;
    font-style: italic;
}

/* Müşteri Adı */
.customer-name {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0;
}
/* === assets/frontend/css/featured/featured.css === */
.wesiva-main-title {
    font-size: 1.3rem;
    font-weight: 500;
    color: #2c3e50;
    position: relative;
    display: inline-block;
}

.wesiva-nav-tabs {
    display: flex;
    gap: 8px;
    border-bottom: none;
    margin-bottom: 40px;
    padding: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.wesiva-nav-tabs::-webkit-scrollbar {
    display: none;
}

.wesiva-nav-tabs .nav-item {
    flex: 0 0 auto;
}

.wesiva-nav-tabs .wesiva-nav-link {
    display: inline-block;
    background: #f5f7fa;
    color: #334155;
    border: none;
    border-radius: 999px;
    padding: 10px 16px;
    line-height: 1;
    position: relative;
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease;
}

.wesiva-nav-tabs .wesiva-nav-link:hover {
    background: rgba(102,126,234,0.1);
    color: #1f2a44;
}

.wesiva-nav-tabs .wesiva-nav-link:focus-visible {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

.wesiva-nav-tabs .wesiva-nav-link.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #ffffff;
}

.wesiva-nav-tabs .wesiva-nav-link.active::after {
    content: '';
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: -6px;
    height: 3px;
    border-radius: 3px;
    background: currentColor;
    opacity: .35;
}

.wesiva-text-tabs {
    gap: 16px;
    padding: 0;
    margin-bottom: 24px;
}
.wesiva-text-tabs .wesiva-nav-link {
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #9aa4b2;
    font-weight: 500;
    padding: 0 10px 10px 0;
}
.wesiva-text-tabs .wesiva-nav-link:hover {
    background: transparent !important;
    color: #0f172a;
}
.wesiva-text-tabs .wesiva-nav-link.active {
    background: transparent !important;
    color: #0f172a !important;
}
.wesiva-text-tabs .wesiva-nav-link.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: auto;
    bottom: -6px;
    width: 100%;
    height: 2px;
    border-radius: 2px;
    background: currentColor;
    opacity: 1;
}

.wesiva-nav-tabs .wesiva-nav-link.active::after {
        display: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .wesiva-main-title {
        font-size: 1rem;
        margin-bottom: 5px;
    }

    .wesiva-text-tabs .wesiva-nav-link.active {
        background: transparent !important;
        color: #0f172a !important;
        font-size: 0.8rem;
    }

    .wesiva-nav-tabs {
        scroll-snap-type: x mandatory;
    }

    .wesiva-nav-tabs .wesiva-nav-link {
        scroll-snap-align: start;
        font-size: 0.8rem;
    }
}
/* === assets/frontend/css/widgets/product_cards/product_card_1_base.css === */
/* --- PRODUCT CARD 1 BASE CSS (editable:false) --- */
.ecom-product-card {
    border-width: 1px;
    border-style: solid;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    margin-bottom: 8px;
}
.ecom-product-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}
.ecom-product-image-wrapper {
    position: relative;
    overflow: hidden;
}
.ecom-product-image {
    width: 100%;
    object-fit: cover;
}
.ecom-product-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    z-index: 2;
}
.ecom-product-badge.flash {
    background: #ff9500;
}
.ecom-product-badge.stock {
    background: #00b894;
}
.ecom-product-heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    color: #888;
    font-size: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12);
    transition: color 0.2s, background 0.2s, transform 0.2s;
    z-index: 2;
}
.ecom-product-heart:hover {
    background: #fff;
    color: #e53935;
    transform: scale(1.08);
}
.ecom-product-heart.active {
    color: #e53935;
}
.ecom-product-heart:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}
.ecom-product-info {
    padding: 8px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.ecom-product-title, .ecom-product-title a {
    font-size: 14px;
    margin-bottom: 8px;
    height: calc(14.5px * 1.4 * 2);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
.ecom-product-price-wrapper {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}
.ecom-product-old-price {
    font-size: 14px;
    text-decoration: line-through;
}
.ecom-product-price {
    font-size: 14px;
}
.product-rating{
    margin:5px 0;
}
.ecom-product-discount-badge {
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    color: #e53935;
}
.ecom-product-campaign {
    display: flex;
    align-items: center;
    gap: 6px;
    background-color: transparent;
    color: #ff6b35;
    font-weight: 600;
    font-size: 12px;
    padding: 0 0 6px 0;
    line-height: 1.3;
    flex-wrap: wrap;
    margin-top: 5px;

}
.ecom-campaign-label {
    white-space: nowrap;
}
.ecom-product-installment {
    font-size: 11px;
    color: #666;
    margin-top: 5px;
}
.ecom-add-to-cart-btn {
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.ecom-add-to-cart-btn:hover {
    transform: translateY(-2px);
}
.ecom-add-to-cart-btn:active {
    transform: translateY(0);
}
.ecom-add-to-cart-btn:disabled, .ecom-add-to-cart-btn:disabled:hover {
    box-shadow: none;
    cursor: default;
    transform: none;
}
.product-card-notify-btn {
    width: 100%;
    border: none;
    padding: 12px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    margin-top: auto;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.product-card-notify-btn:hover {
    transform: translateY(-2px);
}
.product-card-notify-btn:active {
    transform: translateY(0);
}
.product-card-notify-btn:disabled, .product-card-notify-btn:disabled:hover {
    box-shadow: none;
    cursor: default;
    transform: none;
}
.owl-stage {
    display: flex !important;
    align-items: stretch;
}
.owl-item {
    display: flex !important;
    flex-direction: column;
    height: auto !important;
}
.owl-item .ecom-product-card {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.product-image-slider .swiper-pagination {
    bottom: 5px !important;
}
.product-image-slider .swiper-pagination-bullet {
    width: 6px;
    height: 6px;
    opacity: 0.5;
}
.product-image-slider .swiper-pagination-bullet-active {
    opacity: 1;
    width: 12px;
    border-radius: 4px;
}

@media (max-width: 768px) {
    .swiper-wrapper {
        height: auto;
    }
}

/* === assets/frontend/css/widgets/product_cards/product_card_1.css === */
/* --- PRODUCT CARDS GENEL --- */
.ecom-product-card {
    background: none;
    border-color: #3a9e10;
    border-radius: 8px;
}
.ecom-product-image-wrapper {
    background: none;
}
.ecom-product-badge {
    background: #ff6b35;
    color: #fff;
    font-weight: 600;
}
.ecom-product-title, .ecom-product-title a {
    color: #333;
    font-weight: 400;
}
.ecom-product-old-price {
    color: #999;
    font-weight: 500;
}
.ecom-product-price {
    font-weight: 700;
    color: #ff6b35;
}
.ecom-add-to-cart-btn {
    background: #12640c;
    color: #ffffff;
    font-weight: 500;
}
.ecom-add-to-cart-btn:hover {
    background: #e55a2b;
}
.ecom-add-to-cart-btn:disabled, .ecom-add-to-cart-btn:disabled:hover {
    background: #6d6d6d;
}
.ecom-add-to-cart-btn.added {
    background: #00b894;
}
.ecom-add-to-cart-btn.added:hover {
    background: #00a383;
}
.product-image-slider .swiper-pagination-bullet {
    background: #ff6b35;
}
.ecom-product-discount-badge {
    color: #e53935;
    font-weight: 600;
}
.ecom-product-campaign {
    color: #c62828;
    font-weight: 600;
    border-bottom-color: #c62828;
}

