.ayan-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.ayan-shop-layout {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 40px;
    margin: 40px 0;
}

@media (max-width: 992px) {
    .ayan-shop-layout {
        grid-template-columns: 1fr;
    }
}

.ayan-product-card {
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: var(--white);
    position: relative;
}

.ayan-product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: transparent;
}

.ayan-mini-cart-sidebar {
    position: fixed;
    top: 0;
    right: -450px;
    width: 400px;
    height: 100vh;
    background: var(--white);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    padding: 30px;
    box-shadow: var(--shadow);
}

@media (max-width: 768px) {
    .ayan-checkout-order-review {
        flex: 1 1 100%;
    }
}

.ayan-myaccount-wrapper {
    display: flex;
    gap: 30px;
}

.ayan-myaccount-nav {
    flex: 0 0 250px;
}

.ayan-myaccount-content {
    flex: 1;
}

.ayan-account-nav-list {
    list-style: none;
    padding: 0;
}

.ayan-account-nav-list li a {
    display: block;
    padding: 10px 15px;
    background: #eee;
    margin-bottom: 5px;
    text-decoration: none;
    color: #333;
}

.ayan-account-nav-list li.is-active a {
    background: #007bff;
    color: #fff;
}

/* Mini Cart Sidebar */
.ayan-mini-cart-sidebar {
    position: fixed;
    top: 0;
    right: -400px;
    width: 350px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
}

.ayan-mini-cart-sidebar.is-active {
    right: 0;
}

.ayan-mini-cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    visibility: hidden;
    opacity: 0;
    transition: 0.3s;
}

.ayan-mini-cart-overlay.is-active {
    visibility: visible;
    opacity: 1;
}

/* Mini Cart Styles */
.mini-cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.mini-cart-header h3 {
    margin: 0;
    font-size: 20px;
}

.close-mini-cart {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.widget_shopping_cart_content {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.woocommerce-mini-cart {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    overflow-y: auto;
}

.woocommerce-mini-cart-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f1f1f1;
}

.woocommerce-mini-cart-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.woocommerce-mini-cart__total {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    justify-content: space-between;
}

.woocommerce-mini-cart__buttons {
    margin-top: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.woocommerce-mini-cart__buttons a {
    text-align: center;
    padding: 12px;
    border-radius: var(--radius);
    text-decoration: none;
    font-weight: 600;
}

.woocommerce-mini-cart__buttons .button.wc-forward {
    background: #f1f1f1;
    color: #333;
}

.woocommerce-mini-cart__buttons .button.checkout {
    background: var(--primary);
    color: #fff;
}

/* Modal */
.ayan-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
}

.ayan-modal.is-active {
    display: flex;
}

.ayan-modal-content {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    cursor: pointer;
    font-size: 24px;
}

/* Tabs */
.ayan-product-tabs-container {
    margin-top: 40px;
}

.ayan-tab-nav {
    display: flex;
    gap: 20px;
    list-style: none;
    padding: 0;
    border-bottom: 2px solid #eee;
    margin-bottom: 20px;
}

.ayan-tab-nav li {
    padding: 10px 0;
    cursor: pointer;
    font-weight: 600;
    position: relative;
    color: #666;
}

.ayan-tab-nav li.active {
    color: var(--primary);
}

.ayan-tab-nav li.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
}

.ayan-tab-content {
    display: none;
}

/* Breadcrumbs */
.breadcrumbs-container {
    padding: 15px 0;
}

.ayan-breadcrumbs {
    font-size: 13px;
    color: #888;
}

.ayan-breadcrumbs a {
    color: #666;
    text-decoration: none;
}

.ayan-breadcrumbs a:hover {
    color: var(--primary);
}

/* Pagination */
.ayan-pagination {
    margin-top: 50px;
    text-align: center;
}

.ayan-pagination .page-numbers {
    display: flex;
    justify-content: center;
    gap: 10px;
    list-style: none;
    padding: 0;
}

.ayan-pagination .page-numbers li span,
.ayan-pagination .page-numbers li a {
    display: inline-block;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: #fff;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
}

/* =========================================
   CART PAGE STYLES
   ========================================= */

/* Progress Steps */
.cart-progress-steps {
    background: #f8f9fa;
    padding: 30px 0;
    border-bottom: 2px solid #e5e5e5;
}

.steps-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ddd;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s;
}

.step.active .step-number {
    background: #003087;
    color: #fff;
}

.step-label {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.step.active .step-label {
    color: #003087;
    font-weight: 700;
}

.step-divider {
    width: 80px;
    height: 2px;
    background: #ddd;
    margin: 0 15px;
    margin-bottom: 30px;
}

/* Free Shipping Banner */
.free-shipping-banner {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: #fff;
    padding: 15px 0;
}

.free-shipping-banner.success {
    background: linear-gradient(135deg, #4caf50, #388e3c);
}

.banner-content {
    font-size: 14px;
    text-align: center;
    margin-bottom: 0;
}

.progress-bar-wrapper {
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: #fff;
    transition: width 0.3s ease;
    border-radius: 3px;
}

/* Cart Page Layout */
.cart-page-wrapper {
    padding: 40px 0;
}

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 30px;
}

/* Cart Item Card */
.cart-item-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 20px;
    position: relative;
    transition: box-shadow 0.2s;
}

.cart-item-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.product-thumbnail img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
}

.product-details {
    padding-right: 30px;
}

.product-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    line-height: 1.4;
}

.product-name a {
    color: #333;
    text-decoration: none;
    transition: color 0.2s;
}

.product-name a:hover {
    color: #003087;
}

.stock-status {
    font-size: 13px;
}

.stock-status .in-stock {
    color: #28a745;
    font-weight: 600;
}

.stock-status .out-of-stock {
    color: #dc3545;
    font-weight: 600;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: #003087;
}

/* Quantity Input */
.quantity-wrapper .quantity {
    display: flex;
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-wrapper input[type="number"] {
    width: 50px;
    height: 38px;
    border: none;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    -moz-appearance: textfield;
}

.quantity-wrapper input[type="number"]::-webkit-outer-spin-button,
.quantity-wrapper input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.product-subtotal {
    font-size: 18px;
    font-weight: 700;
    color: #003087;
}

.product-remove {
    position: absolute;
    top: 15px;
    right: 15px;
}

.remove-item {
    color: #999;
    font-size: 18px;
    transition: color 0.2s;
    text-decoration: none;
}

.remove-item:hover {
    color: #dc3545;
}

/* Cart Actions */
.cart-actions .btn {
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Order Summary Card */
.order-summary-card {
    background: #fff;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
}

.summary-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.summary-content {
    /* Container for all summary rows */
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    font-size: 14px;
}

.summary-row .label {
    color: #666;
    font-weight: 500;
}

.summary-row .value {
    color: #333;
    font-weight: 600;
}

.summary-row.discount .value {
    color: #dc3545;
    font-weight: 700;
}

.summary-divider {
    height: 1px;
    background: #e5e5e5;
    margin: 15px 0;
}

.summary-row.total {
    padding: 15px 0;
    font-size: 18px;
}

.summary-row.total .label {
    color: #333;
    font-weight: 700;
}

.summary-row.total .value {
    color: #003087;
    font-weight: 800;
    font-size: 22px;
}

/* Coupon Input */
.coupon-wrapper input {
    height: 45px;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 0 15px;
    font-size: 14px;
}

.coupon-wrapper .btn {
    height: 45px;
    font-size: 14px;
    font-weight: 600;
}

/* Checkout Button */
.checkout-button .btn-primary {
    background: #003087;
    border: none;
    color: #fff;
    font-weight: 700;
    padding: 15px;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.2s;
}

.checkout-button .btn-primary:hover {
    background: #00225c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.3);
}

/* Responsive Adjustments */
@media (max-width: 991px) {
    .cart-progress-steps {
        padding: 20px 0;
    }

    .step-label {
        font-size: 11px;
    }

    .step-number {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }

    .step-divider {
        width: 40px;
        margin: 0 10px;
        margin-bottom: 25px;
    }

    .order-summary-card {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .cart-item-card {
        padding: 15px;
    }

    .product-details {
        padding-right: 20px;
    }

    .product-name {
        font-size: 14px;
    }

    .product-price,
    .product-subtotal {
        font-size: 16px;
    }
}

.ayan-pagination .page-numbers li span.current,
.ayan-pagination .page-numbers li a:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.loading {
    opacity: 0.5;
    pointer-events: none;
}

.ayan-favorite-toggle svg {
    width: 20px;
    height: 20px;
    transition: 0.3s;
}

.ayan-favorite-toggle.is-active svg {
    fill: #e74c3c;
    stroke: #e74c3c;
}

/* Badges */
.product-badges {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
}

.badge {
    display: block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.badge.sale {
    background: #e74c3c;
}

.badge.featured {
    background: #f1c40f;
}

.badge.out-of-stock {
    background: #95a5a6;
}

/* Sticky Mobile Add to Cart */
@media (max-width: 768px) {
    .ayan-sticky-add-to-cart {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: #fff;
        padding: 10px 15px;
        box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.1);
        z-index: 999;
        display: none;
        align-items: center;
        justify-content: space-between;
        border-top: 1px solid #eee;
    }

    .sticky-product-info {
        display: flex;
    }

    .sticky-add-btn {
        padding: 10px 15px !important;
        font-size: 13px !important;
    }
}

/* =========================================
   SINGLE PRODUCT PAGE REDESIGN
   ========================================= */

/* Product Gallery */
.woocommerce-product-gallery {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.woocommerce-product-gallery img {
    border-radius: 6px;
}

/* Product Info */
.product_title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

/* Price Box */
.product-price-box {
    background: #fdfdfd;
    /* Light bg */
    border: 1px solid #e0e0e0;
}

.current-price {
    color: var(--navy);
    font-size: 28px;
    line-height: 1;
}

.discount-badge {
    font-size: 14px;
}

/* Shipping Info */
.shipping-info-box {
    background-color: #f8f9fa;
    /* Light gray background like screenshot */
    border: 1px solid #e9ecef;
    border-radius: 6px;
}

.shipping-info-box i {
    color: #333;
    font-size: 20px;
}

.shipping-text strong {
    font-size: 14px;
    color: #333;
    display: block;
    margin-bottom: 2px;
}

.shipping-text small {
    font-size: 12px;
    color: #666;
}

/* Add to Cart Area */
.woocommerce-variation-add-to-cart,
form.cart {
    display: flex;
    gap: 15px;
    /* More gap */
    align-items: center;
    /* Center align */
    flex-wrap: wrap;
    margin-bottom: 20px;
}

form.cart .quantity {
    width: 60px;
    /* Narrower width for quantity */
    flex-shrink: 0;
}

form.cart .quantity input {
    width: 100% !important;
    height: 48px;
    border-radius: 6px;
    border: 1px solid #dee2e6;
    font-weight: 600;
    color: #333;
    text-align: center;
    background: #fff;
}

form.cart button.single_add_to_cart_button {
    flex-grow: 1;
    background-color: var(--navy);
    color: #fff;
    font-weight: 700;
    border-radius: 6px;
    height: 48px;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

form.cart button.single_add_to_cart_button::before {
    content: "\f07a";
    /* FontAwesome Cart Icon */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 16px;
}

form.cart button.single_add_to_cart_button:hover {
    background-color: #002266;
    /* Darker navy */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 48, 135, 0.2);
}

/* Loop Product Design (Refined for Homepage Slider) */
.ayan-product-card {
    border: 1px solid #f0f0f0;
    border-radius: 12px;
    padding: 10px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.ayan-product-card .product-image-wrapper img {
    border-radius: 8px;
    margin-bottom: 10px;
}

.loop-product-badges-overlay {
    position: absolute;
    top: 5px;
    left: 5px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.badge-free-shipping {
    background: #ff8a00;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    text-transform: uppercase;
}

.badge-installment {
    position: absolute;
    bottom: -15px;
    left: 0;
    width: 60px;
}

.loop-product-brand {
    font-size: 12px;
    color: #999;
    font-weight: bold;
    margin-bottom: 2px;
}

@media (max-width: 991px) {
    .promo-grid-wrapper.swiper {
        padding-bottom: 30px;
    }

    .promo-grid-wrapper .promo-item.swiper-slide {
        width: 280px !important;
        margin-right: 15px !important;
    }

    .ayan-product-carousel .woocommerce.swiper {
        overflow: visible !important;
    }

    .ayan-product-carousel ul.products.swiper-wrapper {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 0 !important;
    }

    .ayan-product-carousel .swiper-slide {
        width: 190px !important;
        margin-right: 15px !important;
        flex: 0 0 auto !important;
    }

    /* Mobile: Keep horizontal layout but adjust sizes */
    .ayan-product-card {
        min-height: 120px;
    }

    .product-image-wrapper {
        width: 120px;
        min-width: 120px;
        padding: 10px;
    }

    .product-content {
        padding: 12px;
    }

    .product-image-wrapper img {
        max-height: 80px;
    }
}

/* Ensure Desktop Layout is stable - Nalburdayim.com Style */
@media (min-width: 992px) {
    .promo-grid-wrapper .promo-grid {
        display: grid !important;
        grid-template-columns: repeat(4, 1fr) !important;
        gap: 20px !important;
        flex-wrap: wrap !important;
    }

    .promo-grid .promo-item {
        width: 100% !important;
        margin-right: 0 !important;
    }

    .ayan-product-carousel ul.products {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr) !important;
        gap: 15px !important;
        transform: none !important;
        width: 100% !important;
        list-style: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    .ayan-product-carousel li.product {
        width: 100% !important;
        margin-right: 0 !important;
        margin-bottom: 0 !important;
        float: none !important;
    }

    .ayan-product-carousel .swiper-button-next,
    .ayan-product-carousel .swiper-button-prev {
        display: none !important;
    }
}

/* Section Headers for Homepage - Nalburdayim.com Style */
.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 2px solid #e0e0e0;
    padding-bottom: 12px;
}

.section-title {
    font-size: 22px;
    font-weight: 700;
    color: #003087;
    margin: 0;
    position: relative;
    padding-left: 12px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: #003087;
    border-radius: 2px;
}

/* Product Card - Nalburdayim.com 1:1 Redesign (Vertical) */
.ayan-product-card {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 0;
    overflow: hidden;
    position: relative;
}

.ayan-product-card:hover {
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border-color: #003087;
}

/* Image Section */
.product-image-wrapper {
    padding: 15px;
    background: #fff;
    border-radius: 8px 8px 0 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 180px;
}

.product-image-wrapper a.woocommerce-loop-product__link {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-image-wrapper img {
    max-width: 100%;
    max-height: 150px;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.ayan-product-card:hover .product-image-wrapper img {
    transform: scale(1.05);
}

/* Badge Overlay (Top Left of Image) */
.loop-product-badges-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 5px;
    pointer-events: none;
}

.badge-free-shipping {
    background: #fff;
    color: #4CAF50;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: uppercase;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #eee;
}

.badge-installment {
    display: none;
    /* Hide if not in screen but kept for logic */
}

/* Content Area */
.product-content {
    flex: 1;
    padding: 0 15px 15px;
    display: flex;
    flex-direction: column;
}

/* Star Rating - Light Grey Stars */
.star-rating {
    font-size: 11px;
    width: 65px;
    margin: 5px 0;
    color: #e0e0e0;
    /* Unfilled */
}

.star-rating span::before {
    color: #ffd700;
    /* Filled - slightly gold but image looks like light grey if unrated */
}

/* Brand Label */
.loop-product-brand {
    font-size: 11px;
    color: #999;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 5px;
    letter-spacing: 0.3px;
}

/* Title */
.ayan-product-card .woocommerce-loop-product__title {
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1.5;
    color: #333;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 40px;
    text-decoration: none !important;
}

/* Price & Promo Badges */
.loop-price-wrapper {
    margin-top: auto;
}

.badge-sepet-ozel {
    background: #4caf50;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 3px;
    text-transform: none;
}

.badge.bg-danger {
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
}

.loop-price-wrapper del {
    font-size: 12px;
    color: #999;
    margin-bottom: 0px;
}

.loop-price-wrapper .current-price {
    font-size: 18px;
    color: #333;
    font-weight: 800;
}

/* Footer Button */
.product-card-footer {
    padding: 0;
}

.product-card-footer .add_to_cart_button {
    background-color: #2e4a86 !important;
    color: #fff !important;
    border-radius: 0 !important;
    width: 100%;
    margin: 0;
    font-size: 13px;
    font-weight: 600;
    padding: 12px 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none !important;
}

.product-card-footer .add_to_cart_button:hover {
    background-color: #1e3a76 !important;
}

.product-card-footer .add_to_cart_button i,
.product-card-footer .add_to_cart_button::before {
    content: "\f07a";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 14px;
}

/* Carousel Navigation - Circular White Buttons */
.ayan-product-carousel .swiper-button-next,
.ayan-product-carousel .swiper-button-prev {
    width: 45px !important;
    height: 45px !important;
    background: #fff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    color: #333 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
}

.ayan-product-carousel .swiper-button-next::after,
.ayan-product-carousel .swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 700 !important;
}

.ayan-product-carousel .swiper-button-prev {
    left: -22px !important;
}

.ayan-product-carousel .swiper-button-next {
    right: -22px !important;
}

@media (max-width: 991px) {
    .ayan-product-carousel {
        padding: 0 10px;
    }

    .ayan-product-carousel .swiper-button-next,
    .ayan-product-carousel .swiper-button-prev {
        display: none !important;
    }
}

/* Fix appearance lint */
input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: none;
}

/* Action Buttons */
.product-actions a {
    transition: color 0.2s;
}

.product-actions a:hover {
    color: var(--navy) !important;
}

.product-actions a i {
    font-size: 16px;
    color: #999;
}

.product-actions a:hover i {
    color: var(--navy);
}

/* TABS STYLING */
.woocommerce-tabs {
    margin-top: 40px;
}

.woocommerce-tabs ul.tabs {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
    border-bottom: 1px solid #dee2e6;
    display: flex;
    gap: 20px;
}

.woocommerce-tabs ul.tabs li {
    margin: 0;
    border: none;
    background: transparent;
}

.woocommerce-tabs ul.tabs li a {
    display: block;
    padding: 10px 0;
    font-weight: 600;
    color: #666;
    text-decoration: none;
    position: relative;
    font-size: 15px;
}

.woocommerce-tabs ul.tabs li.active a {
    color: var(--navy);
}

.woocommerce-tabs ul.tabs li.active a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -1px;
    width: 100%;
    height: 2px;
    background-color: var(--navy);
}

.woocommerce-Tabs-panel {
    padding: 20px 0;
    color: #555;
    line-height: 1.6;
}

.woocommerce-Tabs-panel h2 {
    font-size: 18px;
    margin-bottom: 15px;
    display: none;
    /* Hide default "Description" heading inside panel if redundant */
}

/* RELATED PRODUCTS GRID FIXED */
.related.products,
.upsells.products {
    margin-top: 50px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.related.products>h2,
.upsells.products>h2 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 20px;
}

.related.products ul.products,
.upsells.products ul.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 0;
    margin: 0;
    list-style: none;
}

.related.products ul.products li.product,
.upsells.products ul.products li.product {
    width: 100%;
    margin: 0;
    float: none;
    /* Override default WC floats */
}

@media (max-width: 992px) {

    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {

    .related.products ul.products,
    .upsells.products ul.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

.ayan-products-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 1200px) {
    .ayan-products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .ayan-products-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .ayan-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Notices and Other WooCommerce UI elements below */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 15px 25px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Notices and Other WooCommerce UI elements */
.woocommerce-error,
.woocommerce-message,
.woocommerce-info {
    padding: 15px 25px;
    border-radius: var(--radius);
    margin-bottom: 30px;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.woocommerce-message {
    background: #e1f5fe;
    color: #01579b;
    border-left: 5px solid #03a9f4;
}

.woocommerce-error {
    background: #ffebee;
    color: #b71c1c;
    border-left: 5px solid #ef5350;
}

.woocommerce-info {
    background: #f1f8e9;
    color: #33691e;
    border-left: 5px solid #8bc34a;
}

/* Rating Stars - Nalburdayim Style */
.ayan-product-card .star-rating {
    font-size: 11px;
    width: 65px;
    margin: 5px 0;
    height: 14px;
    line-height: 1;
}

.ayan-product-card .star-rating span {
    color: #ffd700;
}

.ayan-product-card .star-rating::before {
    color: #e0e0e0;
}

/* Badge for Discount Percentage */
.ayan-product-card .badge.bg-danger {
    background-color: #dc3545 !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
}

/* Badge for Sepette Özel Fiyat */
.badge-sepet-ozel {
    background-color: #28a745 !important;
    color: #fff !important;
    font-size: 10px;
    font-weight: 700;
    padding: 3px 6px;
    border-radius: 2px;
}

.loop-promo-badges {
    margin-top: 10px;
}

.price-row {
    margin-top: 5px;
}

/* Section Spacing */
.home-product-slider {
    margin-bottom: 50px;
}

@media (max-width: 991px) {
    .home-product-slider {
        margin-bottom: 30px;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .home-product-slider .section-header-row {
        padding: 0 15px;
    }
}

/* WooCommerce Tables */
.shop_table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 40px;
}

.shop_table th {
    background: var(--light);
    padding: 15px;
    text-align: left;
    font-weight: 700;
}

.shop_table td {
    padding: 15px;
    border-top: 1px solid var(--border);
}

.cart_item img {
    width: 80px;
    border-radius: 8px;
}

.quantity input {
    width: 60px;
    text-align: center;
}

/* Cart Totals */
.cart-collaterals {
    display: flex;
    justify-content: flex-end;
}

.cart_totals {
    flex: 0 0 400px;
    background: var(--light);
    padding: 30px;
    border-radius: var(--radius);
}

.cart-subtotal,
.order-total {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

.order-total {
    border-top: 2px solid var(--border);
    margin-top: 10px;
    font-size: 20px;
    font-weight: 800;
}/ *   S l i d e r   N a v i g a t i o n   A r r o w s   -   S p e c i f i c   W h i t e   C i r c l e   D e s i g n   * /  
 . s w i p e r - b u t t o n - n e x t ,  
 . s w i p e r - b u t t o n - p r e v   {  
         w i d t h :   4 4 p x   ! i m p o r t a n t ;  
         h e i g h t :   4 4 p x   ! i m p o r t a n t ;  
         b a c k g r o u n d :   # f f f   ! i m p o r t a n t ;  
         b o r d e r - r a d i u s :   5 0 %   ! i m p o r t a n t ;  
         b o x - s h a d o w :   0   2 p x   1 0 p x   r g b a ( 0 ,   0 ,   0 ,   0 . 1 5 )   ! i m p o r t a n t ;  
         c o l o r :   # 3 3 3   ! i m p o r t a n t ;  
         t r a n s i t i o n :   a l l   0 . 3 s   e a s e   ! i m p o r t a n t ;  
         z - i n d e x :   1 5   ! i m p o r t a n t ;  
 }  
  
 . s w i p e r - b u t t o n - n e x t : h o v e r ,  
 . s w i p e r - b u t t o n - p r e v : h o v e r   {  
         b a c k g r o u n d :   # 2 e 4 a 8 6   ! i m p o r t a n t ;  
         c o l o r :   # f f f   ! i m p o r t a n t ;  
 }  
  
 . s w i p e r - b u t t o n - n e x t : : a f t e r ,  
 . s w i p e r - b u t t o n - p r e v : : a f t e r   {  
         f o n t - s i z e :   1 6 p x   ! i m p o r t a n t ;  
         f o n t - w e i g h t :   9 0 0   ! i m p o r t a n t ;  
 }  
  
 / *   S w i p e r   f o r   P r o d u c t s   F i x e s   * /  
 . a y a n - p r o d u c t - c a r o u s e l   . w o o c o m m e r c e   u l . p r o d u c t s   {  
         d i s p l a y :   f l e x   ! i m p o r t a n t ;  
         f l e x - w r a p :   n o w r a p   ! i m p o r t a n t ;  
         p a d d i n g :   1 0 p x   0   ! i m p o r t a n t ;  
         m a r g i n :   0   ! i m p o r t a n t ;  
         g a p :   0   ! i m p o r t a n t ;  
         l i s t - s t y l e :   n o n e   ! i m p o r t a n t ;  
 }  
  
 . a y a n - p r o d u c t - c a r o u s e l   . w o o c o m m e r c e   u l . p r o d u c t s   l i . p r o d u c t   {  
         f l e x - s h r i n k :   0   ! i m p o r t a n t ;  
         w i d t h :   1 0 0 %   ! i m p o r t a n t ;  
         / *   S w i p e r   w i l l   s e t   t h e   p e r c e n t a g e   d y n a m i c a l l y   i f   s l i d e s P e r V i e w   i s   u s e d   * /  
         m a r g i n :   0   ! i m p o r t a n t ;  
         p a d d i n g :   0   7 . 5 p x   ! i m p o r t a n t ;  
         f l o a t :   n o n e   ! i m p o r t a n t ;  
         / *   D i s a b l e   W o o C o m m e r c e   f l o a t s   * /  
 }  
  
 / *   B r e a k p o i n t s   f o r   P r o d u c t s   G r i d   -   e n s u r i n g   h o r i z o n t a l   l a y o u t   e v e n   i f   s w i p e r   f a i l s   * /  
 @ m e d i a   ( m i n - w i d t h :   1 2 0 0 p x )   {  
         . a y a n - p r o d u c t - c a r o u s e l   . w o o c o m m e r c e   u l . p r o d u c t s   l i . p r o d u c t   {  
                 w i d t h :   1 6 . 6 6 6 %   ! i m p o r t a n t ;  
         }  
 }  
  
 . a y a n - p r o d u c t - c a r o u s e l   . w o o c o m m e r c e   {  
         o v e r f l o w :   h i d d e n   ! i m p o r t a n t ;  
         p a d d i n g :   1 0 p x   ! i m p o r t a n t ;  
 }  
 