/* ===================================
   Mini Store Slider - Editorial Style
   Modern, Temiz, Magazin Görünümü
   =================================== */

/* Wrapper */
.mini-store-slider-wrapper {
    margin: 50px 0;
    padding: 0;
    background: transparent;
    position: relative;
}

.mini-store-title {
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 35px 0;
    color: #666;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Slider Container */
.mini-store-slider-container {
    position: relative;
    padding: 0 50px;
}

.mini-store-swiper {
    overflow: visible;
}

/* Product Card - Editorial Style */
.mini-store-product-card {
    background: #fff;
    border: 1px solid var(--mini-store-frame-color, #e8e8e8);
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    position: relative;
}

.mini-store-product-card:hover {
    border-color: #333;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    transform: translateY(-3px);
}

.mini-store-product-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0);
    transition: background 0.3s ease;
    pointer-events: none;
    z-index: 1;
}

.mini-store-product-card:hover::before {
    background: rgba(0,0,0,0.02);
}

/* Product Image - Clean & Elegant */
.mini-store-product-image {
    position: relative;
    overflow: hidden;
    padding-top: 125%; /* 4:5 Portrait Ratio - More editorial */
    background: #fafafa;
}

.mini-store-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.mini-store-product-card:hover .mini-store-product-image img {
    transform: scale(1.03);
    opacity: 0.95;
}

/* Sale Badge - Minimal & Elegant */
.mini-store-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: #000;
    color: #fff;
    padding: 6px 14px;
    border-radius: 0;
    font-size: 10px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* Product Info - Typography First */
.mini-store-product-info {
    padding: 20px 16px 18px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    background: #fff;
    position: relative;
    z-index: 2;
}

.mini-store-product-title {
    margin: 0;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    min-height: auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    letter-spacing: 0.3px;
}

.mini-store-product-title span {
    color: #1a1a1a !important;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    opacity: 1 !important;
}

.mini-store-product-card:hover .mini-store-product-title span {
    color: #1a1a1a !important;
    opacity: 1 !important;
}

/* Navigation Buttons - Minimalist */
.mini-store-nav {
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    z-index: 10;
}

.mini-store-nav:after {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.mini-store-nav:hover:not(.swiper-button-disabled) {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: scale(1.05);
}

.mini-store-nav:hover:not(.swiper-button-disabled):after {
    color: #fff;
}

.mini-store-nav.swiper-button-disabled {
    opacity: 0.2;
    cursor: not-allowed;
    pointer-events: none;
}

.swiper-button-next.mini-store-nav {
    right: 0;
}

.swiper-button-prev.mini-store-nav {
    left: 0;
}

/* Pagination - Dots */
.mini-store-swiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.mini-store-swiper .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: #d0d0d0;
    opacity: 1;
    transition: all 0.3s ease;
}

.mini-store-swiper .swiper-pagination-bullet-active {
    background: #1a1a1a;
    width: 24px;
    border-radius: 4px;
}

/* Quick View Modal - Enhanced */
.mini-store-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    padding: 20px;
    overflow-y: auto;
    backdrop-filter: blur(4px);
}

.mini-store-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-store-modal-content {
    background: #fff;
    border-radius: 0;
    max-width: 1100px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: modalSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.mini-store-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.mini-store-modal-close:hover {
    background: #1a1a1a;
    border-color: #1a1a1a;
    transform: rotate(90deg);
}

.mini-store-modal-close-icon {
    font-size: 20px;
    font-weight: 300;
    line-height: 1;
    color: #333;
    transition: color 0.3s ease;
}

.mini-store-modal-close:hover .mini-store-modal-close-icon {
    color: #fff;
}

/* Quick View Content */
.mini-store-quick-view-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    padding: 50px;
}

/* Quick View Gallery */
.quick-view-gallery {
    position: relative;
    max-height: 60vh;
}

.quick-view-swiper {
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    height: 60vh;
    max-height: 520px;
}

.quick-view-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
}

.quick-view-swiper .swiper-wrapper {
    height: 100%;
}

.quick-view-swiper img {
    width: 100%;
    height: 100%;
    max-height: 520px;
    object-fit: contain;
    display: block;
}

.quick-view-swiper .swiper-button-next,
.quick-view-swiper .swiper-button-prev {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0,0,0,0.15);
}

.quick-view-swiper .swiper-button-next:after,
.quick-view-swiper .swiper-button-prev:after {
    font-size: 14px;
    color: #333;
    font-weight: 400;
}

.quick-view-swiper .swiper-pagination-bullet {
    background: rgba(255,255,255,0.8);
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.quick-view-swiper .swiper-pagination-bullet-active {
    background: #fff;
}

/* Quick View Info */
.quick-view-info h2 {
    font-size: 26px;
    font-weight: 400;
    margin: 0 0 20px 0;
    color: #1a1a1a;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.quick-view-price {
    font-size: 22px;
    font-weight: 500;
    color: #1a1a1a;
    margin-bottom: 25px;
    letter-spacing: 0.3px;
}

.quick-view-price del {
    color: #999;
    font-size: 18px;
    font-weight: 400;
    margin-right: 12px;
}

.quick-view-price ins {
    text-decoration: none;
    color: #1a1a1a;
}

.quick-view-description {
    margin-bottom: 30px;
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

/* Variation Selects - Clean Form */
.quick-view-add-to-cart {
    margin-bottom: 30px;
}

.variation-select {
    margin-bottom: 18px;
}

.variation-select label {
    display: block;
    margin-bottom: 10px;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.variation-select select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 14px;
    background: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.variation-select select:hover {
    border-color: #333;
}

.variation-select select:focus {
    outline: none;
    border-color: #1a1a1a;
}

.quick-view-add-to-cart form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.quantity-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quantity-wrapper label {
    font-weight: 500;
    color: #1a1a1a;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quantity-wrapper input[type="number"] {
    width: 90px;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 0;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
}

.quantity-wrapper input[type="number"]:hover {
    border-color: #333;
}

.quantity-wrapper input[type="number"]:focus {
    outline: none;
    border-color: #1a1a1a;
}

.quick-view-add-to-cart .button {
    padding: 18px 40px;
    background: #1a1a1a;
    color: #fff;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.quick-view-add-to-cart .button:hover {
    background: #fff;
    color: #1a1a1a;
}

.quick-view-add-to-cart .button.disabled {
    background: #e0e0e0;
    border-color: #e0e0e0;
    color: #999;
    cursor: not-allowed;
}

/* Quick View Meta */
.quick-view-meta {
    padding-top: 25px;
    border-top: 1px solid #e8e8e8;
    margin-bottom: 25px;
}

.quick-view-meta span {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #666;
    letter-spacing: 0.3px;
}

.quick-view-meta strong {
    color: #1a1a1a;
    font-weight: 500;
}

.quick-view-full-details {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.3s ease;
    border-bottom: 1px solid #1a1a1a;
    padding-bottom: 2px;
}

.quick-view-full-details:hover {
    color: #666;
    border-color: #666;
}

/* Loading State */
.mini-store-loading {
    text-align: center;
    padding: 60px;
}

.mini-store-loading:after {
    content: "";
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 2px solid #f0f0f0;
    border-top: 2px solid #1a1a1a;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===================================
   Responsive Design
   =================================== */

/* Tablet */
@media (max-width: 991px) {
    .mini-store-slider-container {
        padding: 0 40px;
    }
    
    .mini-store-quick-view-content {
        grid-template-columns: 1fr;
        padding: 40px;
        gap: 35px;
    }
    
    .mini-store-title {
        font-size: 13px;
        margin-bottom: 30px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .mini-store-slider-wrapper {
        padding: 0;
        margin: 40px 0;
    }
    
    .mini-store-slider-container {
        padding: 0 35px;
    }
    
    .mini-store-title {
        font-size: 12px;
        margin-bottom: 25px;
        letter-spacing: 1.5px;
    }
    
    .mini-store-nav {
        width: 38px;
        height: 38px;
    }
    
    .mini-store-nav:after {
        font-size: 12px;
    }
    
    .mini-store-product-title {
        font-size: 12px;
    }
    
    .mini-store-product-info {
        padding: 16px 14px;
    }
    
    .mini-store-quick-view-content {
        padding: 30px 20px;
        gap: 25px;
    }

    .quick-view-gallery {
        max-height: 45vh;
    }

    .quick-view-swiper {
        height: 45vh;
        max-height: 360px;
    }

    .quick-view-swiper img {
        max-height: 360px;
    }
    
    .quick-view-info h2 {
        font-size: 20px;
    }
    
    .quick-view-price {
        font-size: 18px;
    }
    
    .mini-store-modal {
        padding: 10px;
    }
    
    .mini-store-modal-close {
        top: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 480px) {
    .mini-store-slider-container {
        padding: 0 30px;
    }
    
    .mini-store-product-info {
        padding: 14px 12px;
    }
    
    .quick-view-add-to-cart .button {
        padding: 16px 30px;
        font-size: 12px;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .mini-store-slider-wrapper {
        background: transparent;
    }
    
    .mini-store-product-card {
        background: #1a1a1a;
        border-color: #333;
    }
    
    .mini-store-product-title span {
        color: #e0e0e0;
    }
    
    .mini-store-product-card:hover .mini-store-product-title span {
        color: #fff;
    }
    
    .mini-store-modal-content {
        background: #1a1a1a;
    }
    
    .quick-view-info h2,
    .quick-view-price,
    .quick-view-meta strong {
        color: #e0e0e0;
    }
}

/* Print Styles */
@media print {
    .mini-store-slider-wrapper {
        display: none;
    }
}
