.product-page-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
    padding: 40px 20px;
}

.product-page-row {
    display: flex;
    gap: 20px;
}

.product-page-col-6 {
    width: 50%;
}

.single-product {
    width: 1260px;
    max-width: 98vw;
}

/** Breadcrumb */
.breadcrumb {
    background: #48484810;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 15px;
    /* margin-bottom: 20px; */
}

.breadcrumb span {
    display: inline-flex;
    /* gap: 8px; */
}

.breadcrumb span:not(:last-child)::after {
    content: "/";
    /* margin-left: 8px; */
}

.breadcrumb span a {
    text-decoration: none;
    color: var(--primary-color);
}

/** Product Image - 600x650 */
.product-page-image {
    width: 100%;
}

.product-page-image-main {
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 651px;
    /* Use exact aspect ratio: 831 / 651 = 1.2765 */
    aspect-ratio: 651 / 831;
    background: var(--bg-grey);
    cursor: zoom-in;
    border-radius: 8px;
}

.product-page-image-main img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* or 'cover' if you want to fill the entire space */
    object-position: center;
    transition: opacity 0.15s ease, transform 0.15s ease;
}

/** Magnifier Box */
/* .magnifier-box {
    display: none;
    position: absolute;
    border: 2px solid rgba(0, 0, 0, 0.3);
    background-size: 300%;
    background-repeat: no-repeat;
    width: 150px;
    height: 150px;
    pointer-events: none;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.magnifier-box.active {
    display: block;
} */

/** Product Image Slider */
.product-page-image-slider {
    display: flex;
    overflow-x: auto;
    width: 100%;
    max-width: 651px;
    gap: 10px;
    padding-top: 10px;
    scrollbar-width: none;
    cursor: grab;
    user-select: none;
}

.product-page-image-slider::-webkit-scrollbar {
    display: none;
}

.product-page-image-slider img {
    flex: 0 0 auto;
    width: 100px;
    /* Fixed width for thumbnails */
    aspect-ratio: 651 / 831;
    /* Same ratio as main image */
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-page-image-slider img:hover {
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.15);
}

.product-page-image-slider img.selected {
    border: 2px solid #000;
}

.product-page-image-slider.active {
    cursor: grabbing;
}

/** Product Title */
/** Product Title */
.product-title h2 {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 8px;
    /* Reduced gap */
    color: #1a1a1a;
    line-height: 2.25rem;
    letter-spacing: -0.5px;
}

/** Rating & Stock Row */
.product-rating-stock-row {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 0;
}

.product-rating span:not(:last-child) {
    color: #ffc600;
    font-size: 18px;
}

.product-rating .review {
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 500;
    margin-left: 8px;
    text-decoration: underline;
    cursor: pointer;
}



/** Stock Badge - Simple Green Style */
.stock-status {
    margin: 0;
}

.stock-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.stock-label.in-stock {
    /* background: #22c55e; */
    color: #0b692d;
}

.stock-label.in-stock::before {
    content: "✓";
    font-size: 15px;
    font-weight: bold;
    margin-right: -2px;
}

.stock-label.out-of-stock {
    color: rgb(88, 8, 8);
}

.stock-label.out-of-stock::before {
    content: "✕";
    font-size: 15px;
    font-weight: bold;
    margin-right: -2px;
}

/* Remove the text-transform from stock label */
.stock-label {
    text-transform: none;
}

@media (max-width: 768px) {
    .product-title h2 {
        font-size: 24px;
        margin-bottom: 6px;
    }

    .product-rating-stock-row {
        gap: 12px;
    }


    .product-page-container {
        padding: 1rem;
    }
}

hr.solid {
    border-top: 1px solid rgba(99, 97, 97, 0.3);
    border-bottom: none;

}

/** Price Section */
/* x */

/** Stock Status */
/* .stock-status {
    margin: 0; 
}

.stock-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-label.in-stock {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stock-label.in-stock::before {
    content: "✓";
    font-size: 14px;
    font-weight: bold;
} */



.product-rating span:not(:last-child) {
    color: #ffc600;
}

.product-rating .review {
    color: var(--grey);
    font-size: 14px;
    margin-left: 5px;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}

.offer-price {
    font-size: 28px;
    font-weight: 800;
    color: #2c3e50;
}

.sale-price {
    font-size: 20px;
    /* Increased slightly from 18px */
    font-weight: 400;
    color: #95a5a6;
    text-decoration: line-through;
    align-self: flex-end;
    /* Align to bottom */
    padding-bottom: 4px;
    /* Small padding for alignment */
}

.discount-badge {
    background: #16A34A;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
}


.product-details p {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 15px 0;
}

.product-color {
    margin: 20px 0;
}

/** Size & Color Selection */
.product-size {
    margin: 15px 0;
}

.product-size h4,
.product-color h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 10px;
}

.color-layout {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.size-layout {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.size-input {
    display: none;
}

.color-input {
    display: none;
}

.size {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
}

.size:hover {
    border-color: #000;
}

.size-input:checked+.size {
    background: #000;
    color: #fff;
    border-color: #000;
}

.color-layout label {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.black {
    background: #000;
}

.red {
    background: #f00;
}

.blue {
    background: #00f;
}

.color-input:checked+label {
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.2);
}

.selected-size-label,
.selected-color-label {
    color: #920000;
    font-weight: 500;
}

.divider {
    height: 1px;
    background: #ddd;
    margin: 20px 0;
}

/** Quantity & Price */
/* Quantity & Total Container */

/* Use Inter font for product section */
.product {
    font-family: 'Inter', sans-serif;
}

/* Quantity & Total Container - Clean Design */
.quantity-total-container {
    width: 100%;
    margin: 20px 0;
}

/* Top Row: Quantity & Price */
.quantity-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.quantity-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.quantity-label {
    font-weight: 700;
    font-size: 15px;
    color: #000;
}

.quantity-selector {
    display: flex;
    align-items: center;
    background-color: #f3f4f6;
    border-radius: 8px;
    padding: 4px 8px;
}

.quantity-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 5px 10px;
    color: #555;
    transition: color 0.2s;
}

.quantity-btn:hover {
    color: #000;
}

.quantity-selector input {
    width: 30px;
    text-align: center;
    border: none;
    background: transparent;
    font-weight: 600;
    font-size: 16px;
    color: #000;
    outline: none;
    pointer-events: none;
}

.total-price-group {
    text-align: right;
}

.total-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    color: #888;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.total-value {
    font-size: 24px;
    font-weight: 900;
    color: #000;
}

/* Buttons Area - Grid Layout */

.action-buttons {
    display: flex;
    gap: 8px;
}

.action-buttons .button {
    width: 52px !important;
    flex-shrink: 0;
}

.product-btn-group {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    margin-bottom: 24px;
}

.button {
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    border-radius: 12px;
    transition: transform 0.1s, opacity 0.2s;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.button:active {
    transform: scale(0.98);
}

/* Buy Now - Full Width */
.buy-now {
    grid-column: 1 / -1;
    background-color: #000;
    color: #fff;
}

.buy-now:hover {
    background-color: #222;
}

/* Add to Cart */
.add-cart {
    background-color: #fff;
    color: #000;
    border: 2px solid #000;
}

.add-cart:hover {
    background-color: #f9f9f9;
}

/* Heart Button - Square */
.heart {
    width: 52px;
    background-color: #fff;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    font-size: 24px;
    padding: 0;
}

.heart:hover {
    border-color: #d1d5db;
    color: #ef4444;
}

.button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

.bx-spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}



/* Product Features - Clean Design */
.product-features {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.feature-item {
    flex: 1;
    background-color: #f9fafb;
    border-radius: 10px;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid #f3f4f6;
}

.feature-item i {
    font-size: 20px;
    color: #111;
    margin-top: 2px;
}

.feature-text {
    display: flex;
    flex-direction: column;
}

.feature-text strong {
    font-size: 14px;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}

.feature-text span {
    font-size: 12px;
    color: #6b7280;
}

/** Description */
.product-description-section {
    margin: 30px 0;
    /* padding: 20px; */
    /* border: 1px solid #ddd;
    border-radius: 12px; */
    overflow: hidden;
}

.description-text h3 {
    font-size: 20px;
    margin-bottom: 10px;
}

/* Make all content inside description responsive - prevents overflow */
.description-box {
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    background-color: #fffbeb;
    border-radius: 12px;
    padding: 20px;
}

/* Responsive images in rich text description */
.description-box img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 10px 0;
}

/* Handle iframes, videos, tables etc */
.description-box iframe,
.description-box video,
.description-box embed,
.description-box object {
    max-width: 100%;
}

.description-box table {
    max-width: 100%;
    overflow-x: auto;
    display: block;
}

.description-box pre,
.description-box code {
    max-width: 100%;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-word;
}

/* ============================================
   DESCRIPTION ACCORDION
   ============================================ */
.product-accordion-section {
    margin: 30px 0;
}

.accordion-item {
    margin-bottom: 12px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    transition: box-shadow 0.3s ease;
}

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

.accordion-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    background: #f9fafb;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: #f3f4f6;
}

.accordion-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #1f2937;
}

.accordion-icon {
    font-size: 24px;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.accordion-header.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    padding: 0 24px;
}

.accordion-content.active {
    max-height: 2000px;
    padding: 20px 24px;
}

.accordion-content .description-box {
    margin: 0;
}

/** Reviews */
/** Customer Reviews Section */
.customer-reviews {
    background: #fff;
    border-radius: 12px;
    padding: 32px 28px;
    margin: 30px 0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.customer-reviews h3 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 24px;
    color: #1a1a1a;
}

/** Review Score Row */
.review-score-row {
    display: flex;
    gap: 50px;
    align-items: flex-start;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

/** Left: Big Rating Score */
.review-score {
    min-width: 120px;
    text-align: left;
}

.review-rating-big {
    font-size: 64px;
    font-weight: 500;
    color: #1a1a1a;
    line-height: 1;
    margin-bottom: 8px;
}

.review-stars {
    margin-bottom: 8px;
}

.review-stars span {
    font-size: 22px;
    color: #ffc600;
    letter-spacing: 1px;
}

.review-count {
    font-size: 14px;
    color: #6b6b6b;
    margin-top: 4px;
}

/** Middle: Rating Bars */
.review-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 280px;
    flex: 1;
}

.review-bar-row {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
}

.review-bar-row>span:first-child {
    min-width: 30px;
    font-size: 14px;
    color: #4a4a4a;
    font-weight: 400;
}

.review-bar {
    background: #f0f0f0;
    height: 8px;
    border-radius: 10px;
    flex: 1;
    overflow: hidden;
}

.review-bar>div {
    background: #1a1a1a;
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.review-bar-row>span:last-child {
    min-width: 30px;
    text-align: right;
    font-size: 14px;
    color: #6b6b6b;
    font-weight: 400;
}

/** Right: Write Review Button */
.review-write-btn {
    background: #fff;
    border: 2px solid #1a1a1a;
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    margin-left: auto;
    font-family: "Roboto", sans-serif;
    transition: all 0.25s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.review-write-btn:hover {
    background: #1a1a1a;
    color: #fff;
}

/** Review Comments Section */
.review-comments {
    margin-top: 35px;
    border-top: 1px solid #e8e8e8;
    padding-top: 30px;
}

.review-comments-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
}

.review-comments-head>span {
    font-size: 20px;
    font-weight: 500;
    color: #1a1a1a;
}

.review-sort {
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 6px;
    border: 1px solid #e0e0e0;
    background: #fafafa;
    color: #4a4a4a;
    cursor: pointer;
    outline: none;
    font-family: "Roboto", sans-serif;
}

.review-sort:hover {
    border-color: #ccc;
    background: #f5f5f5;
}

/** Individual Review Comment */
.review-comment {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    gap: 16px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.review-comment:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.review-user-icon {
    font-size: 28px;
    background: #f5f5f5;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #fff;
}

.review-user-icon.review-user-img {
    object-fit: cover;
    border: 2px solid #e5e7eb;
}

.review-content {
    flex: 1;
}

.review-title {
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 6px;
    color: #1a1a1a;
    line-height: 1.4;
}

.review-date {
    font-size: 13px;
    color: #999;
    margin-bottom: 10px;
}

.review-body {
    font-size: 15px;
    color: #4a4a4a;
    line-height: 1.65;
    margin-bottom: 4px;
}

/** Reply Section */
.review-reply {
    background: #f9f9f9;
    border-left: 3px solid #d0d0d0;
    margin: 14px 0 0 0;
    padding: 14px 18px;
    border-radius: 6px;
}

.review-reply-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.review-reply .review-date {
    margin-bottom: 8px;
}

.review-reply .review-body {
    font-size: 14px;
    color: #5a5a5a;
}

/** Write Review Form */
.write-review-container {
    background: #fafafa;
    border-radius: 12px;
    padding: 30px;
    margin: 25px 0;
    border: 1px solid #e8e8e8;
}

.write-review-title {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.write-review-stars {
    display: flex;
    gap: 6px;
    font-size: 32px;
    margin: 15px 0 25px 0;
}

.write-review-stars .star {
    color: #e0e0e0;
    cursor: pointer;
    transition: color 0.2s ease;
}

.write-review-stars .star.hovered,
.write-review-stars .star.selected {
    color: #ffc600;
}

.write-review-container label {
    font-size: 15px;
    font-weight: 500;
    color: #2a2a2a;
    display: block;
    margin-bottom: 8px;
}

.write-review-container input[type="text"],
.write-review-container input[type="email"],
.write-review-container textarea {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 18px;
    border-radius: 8px;
    border: 1px solid #d8d8d8;
    font-size: 15px;
    font-family: "Roboto", sans-serif;
    transition: border-color 0.2s ease;
    background: #fff;
}

.write-review-container input:focus,
.write-review-container textarea:focus {
    border-color: #999;
    outline: none;
}

.write-review-container textarea {
    min-height: 100px;
    resize: vertical;
}

.write-review-input-row {
    display: flex;
    gap: 15px;
    margin-bottom: 16px;
}

.write-review-input-row input {
    flex: 1;
    margin-bottom: 0;
}

.write-review-save {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    color: #5a5a5a;
}

.write-review-save input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.write-review-buttons {
    display: flex;
    gap: 12px;
}

.review-cancel-btn {
    background: #fff;
    color: #4a4a4a;
    border: 1.5px solid #d0d0d0;
    border-radius: 8px;
    padding: 11px 26px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    font-family: "Roboto", sans-serif;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-cancel-btn:hover {
    background: #f5f5f5;
    border-color: #aaa;
}

.submit-reviews-btn {
    background: #1a1a1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    font-family: "Roboto", sans-serif;
    transition: all 0.2s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-reviews-btn:hover {
    background: #333;
    transform: translateY(-1px);
}

/** Responsive */
@media (max-width: 768px) {
    .review-score-row {
        flex-direction: column;
        gap: 25px;
    }

    .review-write-btn {
        margin-left: 0;
        width: 100%;
    }

    .write-review-input-row {
        flex-direction: column;
    }

    .review-bar-row {
        font-size: 13px;
    }

    .customer-reviews {
        padding: 20px 16px;
    }
}


/** Zoom Modal */
/* ============================================
   PROFESSIONAL DESKTOP ZOOM - AMAZON/FLIPKART STYLE
   ============================================ */

.product-page-image-main {
    position: relative;
    overflow: visible;
    cursor: crosshair;
}

/* Lens indicator box that follows cursor on main image */
.magnifier-box {
    display: none;
    position: absolute;
    width: 180px;
    height: 180px;
    border: 2px solid #333;
    background: rgba(0, 0, 0, 0.1);
    pointer-events: none;
    z-index: 100;
    box-sizing: border-box;
}

/* Large zoom result panel - appears to the right */
.zoom-result-panel {
    display: none;
    position: absolute;
    top: 0;
    left: calc(100% + 20px);
    width: 550px;
    height: 550px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    background-repeat: no-repeat;
    z-index: 999;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    overflow: hidden;
}

.zoom-result-panel.active {
    display: block;
}

/* Hide lens on hover - just show zoomed panel */
.product-page-image-main:hover .magnifier-box {
    display: block;
}

.product-page-image-main:hover img {
    opacity: 1;
}

/* Hide zoom on smaller desktop screens where there's no room */
@media (max-width: 1200px) {
    .zoom-result-panel {
        width: 450px;
        height: 450px;
    }
}

@media (max-width: 1024px) {
    .zoom-result-panel {
        display: none !important;
    }

    .magnifier-box {
        display: none !important;
    }

    .product-page-image-main {
        cursor: pointer;
    }
}

/* Hide magnifier on mobile */
@media (max-width: 768px) {
    .zoom-result-panel {
        display: none !important;
    }

    .magnifier-box {
        display: none !important;
    }

    .product-page-image-main {
        cursor: pointer;
    }

    .product-page-image-main img {
        cursor: pointer;
    }
}

/* ============================================
   SIMPLE MOBILE FULL-SCREEN GALLERY
   ============================================ */

.mobile-gallery {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 9999;
    flex-direction: column;
}

.mobile-gallery.show {
    display: flex;
}

/* Simple Header */
.mobile-gallery-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    padding-top: max(16px, env(safe-area-inset-top));
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    background: transparent;
}

/* iOS-style Close Button */
.mobile-close-btn {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: none;
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.33, 1, 0.68, 1),
        background 0.2s ease;
}

.mobile-close-btn:active {
    transform: scale(0.9);
    background: rgba(255, 255, 255, 0.3);
}

/* Minimal Counter */
.mobile-counter {
    color: rgba(255, 255, 255, 0.9);
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

/* Gallery Content */
.mobile-gallery-content {
    flex: 1;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    touch-action: pan-x;
}

/* Smooth Slides */
.mobile-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.25s ease-out;
    will-change: transform;
}

.mobile-slides.dragging {
    transition: none;
}

.mobile-slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.mobile-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto;
    border-radius: 2px;
    touch-action: none;
    transition: transform 0.15s ease-out;
    transform-origin: center center;
}

/* iOS-style Dot Indicators */
.mobile-gallery-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    padding-bottom: max(20px, env(safe-area-inset-bottom));
    gap: 6px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 10;
}

.mobile-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    transform: scale(1);
}

.mobile-dot:active {
    transform: scale(0.8);
}

.mobile-dot.active {
    background: rgba(255, 255, 255, 0.95);
    transform: scale(1.15);
}

/* Hide elements not needed */
.mobile-nav-btn,
.mobile-share-btn,
.mobile-header-actions,
.mobile-zoom-hint {
    display: none !important;
}

/* Prevent body scroll when gallery is open */
body.gallery-open {
    overflow: hidden;
}

/* Thumbnail slider - optimized for smooth mobile scrolling */
#product-image-slider {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    padding: 10px 0;
    /* Remove smooth scroll-behavior as it can cause lag */
}

#product-image-slider:active {
    cursor: grabbing;
}

#product-image-slider::-webkit-scrollbar {
    height: 6px;
}

#product-image-slider::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

#product-image-slider::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
}

#product-image-slider::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.image-list {
    flex-shrink: 0;
    width: 90px;
    height: 120px;
    aspect-ratio: 3/4;
    object-fit: cover;
    cursor: pointer;
    border: 2px solid transparent;
    border-radius: 4px;
    transition: border-color 0.3s ease;
    user-select: none;
    -webkit-user-drag: none;
}

.image-list:hover {
    border-color: #ddd;
}

.image-list.selected {
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

@media (max-width: 480px) {
    .image-list {
        width: 70px;
        height: 70px;
    }
}

/* No loading animation for instant display */


/** Responsive */
@media (max-width: 768px) {
    .product-page-container {
        padding: 20px 8px;
    }

    .single-product {
        max-width: 100%;
        padding: 0 4px;
    }

    .product-page-row {
        flex-direction: column;
    }

    .product-page-col-6 {
        width: 100%;
    }

    .product-page-image-main {
        max-width: 100%;
        /* Maintain the same 651:831 aspect ratio on mobile */
        aspect-ratio: 651 / 831;
    }

    .product-page-image-slider {
        max-width: 100%;
    }

    .product-page-image-slider img {
        width: 70px;
        /* Smaller thumbnails on mobile */
        aspect-ratio: 651 / 831;
    }

    .offer-price {
        font-size: 32px;
    }

    .product {
        padding: 0 4px;
    }
}

@media (max-width: 480px) {
    .product-page-image-slider img {
        width: 60px;
        /* Even smaller on very small screens */
        aspect-ratio: 651 / 831;
    }
}

/* Stock */
/* Modern Stock Status with Icons */
/* .stock-status {
    margin: 15px 0;
}

.stock-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.stock-label.in-stock {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stock-label.out-of-stock {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.stock-label.in-stock::before {
    content: "✓";
    font-size: 16px;
    font-weight: bold;
}

.stock-label.out-of-stock::before {
    content: "✕";
    font-size: 16px;
    font-weight: bold;
} */


/* styles to grey out unavailable options */
/* For color swatches */
.color-input:disabled+label {
    opacity: 0.3;
    cursor: not-allowed;
    position: relative;
}

.color-input:disabled+label::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2px;
    height: 120%;
    background: #ff0000;
    transform: translate(-50%, -50%) rotate(45deg);
}

.color-input:disabled+label.out-of-stock {
    filter: grayscale(100%);
}

/* For size/text options */
.size-input:disabled+label {
    opacity: 0.4;
    cursor: not-allowed;
    background-color: #f5f5f5 !important;
    color: #999 !important;
    text-decoration: line-through;
    pointer-events: none;
}

/* Removed: Out of Stock text removed - visual styling only */

/* General disabled state */
label.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}


/* ADD-ON COMPONENT STYLES */
.product-addons-section {
    margin-bottom: 20px;
}

.addon-card {
    display: flex;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-family: inherit;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    -webkit-tap-highlight-color: transparent;
}

.addon-card:hover {
    border-color: #bfa05f;
    background-color: #fcfcfc;
}

.addon-checkbox-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.addon-checkbox-input:checked+.addon-card {
    border-color: #d4af37;
    background-color: #fffdf5;
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.15);
}

.addon-tick-box {
    height: 24px;
    width: 24px;
    min-width: 24px;
    border: 2px solid #ccc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    transition: all 0.2s ease;
}

.addon-tick-box::after {
    content: '';
    display: block;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    opacity: 0;
    margin-bottom: 2px;
}

.addon-checkbox-input:checked+.addon-card .addon-tick-box {
    background-color: #d4af37;
    border-color: #d4af37;
}

.addon-checkbox-input:checked+.addon-card .addon-tick-box::after {
    opacity: 1;
}

.addon-image-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 6px;
    overflow: hidden;
    background-color: #f0f0f0;
    margin-right: 15px;
    flex-shrink: 0;
}

.addon-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.addon-details {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.addon-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    line-height: 1.2;
}

.addon-description {
    font-size: 13px;
    color: #666;
    margin-bottom: 4px;
}

.addon-price {
    font-size: 15px;
    font-weight: 700;
    color: #d4af37;
}

.addon-price-original {
    text-decoration: line-through;
    color: #999;
    font-size: 12px;
    font-weight: 400;
    margin-right: 5px;
}

.button.heart {
    position: relative !important;
    transition: all 0.3s ease !important;
}

.button.heart.active {
    background: #fee2e2 !important;
    color: #dc2626 !important;
}

.button.heart.active i {
    color: #dc2626 !important;
}

.wishlist-count {
    position: absolute !important;
    top: -6px !important;
    right: -6px !important;
    background: #dc2626 !important;
    color: white !important;
    border-radius: 50% !important;
    width: 18px !important;
    height: 18px !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10 !important;
}

/* Size Chart */
/* Size Chart Button */
.size-chart-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-left: 12px;
    padding: 4px 12px;
    background: #f5f5f5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    transition: all 0.2s;
}

.size-chart-btn:hover {
    background: #e8e8e8;
    color: #333;
    border-color: #ccc;
}

.size-chart-btn i {
    font-size: 16px;
}

/* Size Chart Modal */
.size-chart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
}

.size-chart-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.size-chart-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.size-chart-modal-content {
    position: relative;
    background: white;
    border-radius: 12px;
    max-width: 90%;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
    z-index: 1;
}

.size-chart-close-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #333;
    z-index: 2;
    transition: all 0.2s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.size-chart-close-btn:hover {
    background: white;
    transform: rotate(90deg);
}

.size-chart-modal-content h3 {
    padding: 20px 24px;
    margin: 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 20px;
    font-weight: 600;
}

.size-chart-image-container {
    padding: 24px;
    max-height: calc(90vh - 80px);
    overflow: auto;
}

.size-chart-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .size-chart-btn {
        font-size: 11px;
        padding: 3px 8px;
        margin-left: 8px;
    }

    .size-chart-modal-content {
        max-width: 95%;
        max-height: 95vh;
    }

    .size-chart-modal-content h3 {
        font-size: 18px;
        padding: 16px 20px;
    }

    .size-chart-image-container {
        padding: 16px;
    }
}

/* Out of Stock Button Styles */
/* ============================================ */


.button.out-of-stock-btn {
    background-color: #9ca3af !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.button.out-of-stock-btn:hover {
    background-color: #9ca3af !important;
    transform: none !important;
    box-shadow: none !important;
}

.button.out-of-stock-btn i {
    margin-right: 6px;
}

/* Disabled state - extra safety */
.button:disabled,
.button[disabled] {
    background-color: #9ca3af !important;
    color: #fff !important;
    cursor: not-allowed !important;
    opacity: 0.6 !important;
    pointer-events: none !important;
}

.button:disabled:hover,
.button[disabled]:hover {
    background-color: #9ca3af !important;
    transform: none !important;
}

/* Reset Modal Defaults */
/* ============================================
   DELIVERY & RETURNS MODAL - FIXED Z-INDEX
   ============================================ */

/* Main Modal Container */
#warrantyInfoModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    /* High z-index */
    outline: 0;
}

#warrantyInfoModal.active {
    display: block;
}

/* Modal Backdrop - BEHIND dialog */
#warrantyInfoModal .modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.65);
    z-index: 1;
    cursor: pointer;
}

/* Modal Dialog - ABOVE backdrop */
.dr-modal-dialog {
    position: fixed;
    /* Changed from relative */
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 800px;
    pointer-events: auto;
    z-index: 10;
    max-height: 90vh;
}

/* Rest of CSS remains the same... */


/* Modal Content - Main Container */
.dr-modal-main {
    position: relative;
    background-color: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}

/* Modal Header */
.dr-modal-header {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    padding: 24px 28px;
    position: relative;
    flex-shrink: 0;
}

.dr-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dr-header-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    flex-shrink: 0;
}

.dr-header-text {
    flex: 1;
}

.dr-header-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    line-height: 1.3;
}

.dr-header-subtitle {
    margin: 4px 0 0 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.dr-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    line-height: 1;
}

.dr-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.dr-close-btn:active {
    transform: scale(0.95);
}

/* Modal Body */
.dr-modal-body {
    padding: 28px;
    overflow-y: auto;
    flex: 1;
    background: #ffffff;
}

/* Info Section */
.dr-info-section {
    margin-bottom: 32px;
}

.dr-info-section:last-child {
    margin-bottom: 0;
}

.dr-section-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.dr-section-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 20px;
    flex-shrink: 0;
}

.dr-icon-delivery {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
}

.dr-icon-returns {
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 100%);
}

.dr-icon-help {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

.dr-section-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

/* Section Body */
.dr-section-body {
    padding-left: 58px;
}

/* Info Items */
.dr-info-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 16px;
}

.dr-info-item:last-child {
    margin-bottom: 0;
}

.dr-info-item i {
    font-size: 20px;
    margin-top: 2px;
    flex-shrink: 0;
}

.dr-info-item span {
    color: #4b5563;
    font-size: 15px;
    line-height: 1.6;
}

/* Highlight Boxes */
.dr-highlight-box {
    display: flex;
    gap: 14px;
    padding: 16px 18px;
    border-radius: 10px;
    margin-bottom: 16px;
    align-items: flex-start;
    border-left: 4px solid;
}

.dr-highlight-box:last-child {
    margin-bottom: 0;
}

.dr-highlight-box i {
    font-size: 22px;
    flex-shrink: 0;
    margin-top: 2px;
}

.dr-highlight-box div,
.dr-highlight-box span,
.dr-highlight-box small {
    font-size: 15px;
    line-height: 1.6;
}

.dr-box-warning {
    background-color: #fef3c7;
    border-left-color: #f59e0b;
    color: #92400e;
}

.dr-box-info {
    background-color: #dbeafe;
    border-left-color: #3b82f6;
    color: #1e3a8a;
}

.dr-box-danger {
    background-color: #fee2e2;
    border-left-color: #ef4444;
    color: #7f1d1d;
}

.dr-box-success {
    background-color: #d1fae5;
    border-left-color: #10b981;
    color: #064e3b;
}

/* Subtitle */
.dr-subtitle {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    color: #6b7280;
    margin: 24px 0 18px 0;
    letter-spacing: 0.8px;
}

/* Steps */
.dr-steps {
    margin-bottom: 20px;
}

.dr-step {
    display: flex;
    gap: 18px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.dr-step:last-child {
    margin-bottom: 0;
}

.dr-step-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
    font-size: 18px;
}

.dr-step-content {
    flex: 1;
    padding-top: 2px;
}

.dr-step-content strong {
    display: block;
    margin-bottom: 6px;
    color: #111827;
    font-size: 16px;
    font-weight: 600;
}

.dr-step-content p {
    margin: 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Note List */
.dr-note-list {
    margin: 12px 0 0 0;
    padding-left: 24px;
    list-style-type: disc;
}

.dr-note-list li {
    margin-bottom: 10px;
    color: #064e3b;
    font-size: 14px;
    line-height: 1.6;
}

.dr-note-list li:last-child {
    margin-bottom: 0;
}

/* Divider */
.dr-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e5e7eb 20%, #e5e7eb 80%, transparent);
    margin: 32px 0;
}

/* Contact Grid */
.dr-contact-grid {
    display: grid;
    gap: 14px;
}

.dr-contact {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 18px;
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 11px;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dr-contact:hover {
    background-color: #fef3f3;
    border-color: #dc2626;
    transform: translateX(6px);
    box-shadow: 0 4px 16px rgba(220, 38, 38, 0.15);
}

.dr-contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.dr-contact-email {
    background-color: rgba(59, 130, 246, 0.1);
    color: #1e40af;
}

.dr-contact-phone {
    background-color: rgba(220, 38, 38, 0.1);
    color: #be123c;
}

.dr-contact-whatsapp {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.dr-contact-info {
    flex: 1;
}

.dr-contact-info small {
    display: block;
    font-size: 11px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    font-weight: 600;
    margin-bottom: 4px;
}

.dr-contact-info strong {
    display: block;
    font-size: 16px;
    color: #1f2937;
    font-weight: 600;
}

.dr-contact-arrow {
    color: #9ca3af;
    font-size: 18px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.dr-contact:hover .dr-contact-arrow {
    color: #dc2626;
    transform: translateX(6px);
}

/* Helper Classes */
.dr-text-muted {
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.dr-flex {
    display: flex;
}

.dr-flex-center {
    display: flex;
    align-items: center;
}

.dr-flex-gap-2 {
    gap: 8px;
}

.dr-mb-2 {
    margin-bottom: 8px;
}

.dr-mb-0 {
    margin-bottom: 0;
}

/* Custom Scrollbar */
.dr-modal-body::-webkit-scrollbar {
    width: 10px;
}

.dr-modal-body::-webkit-scrollbar-track {
    background: #f3f4f6;
    border-radius: 10px;
}

.dr-modal-body::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    border-radius: 10px;
}

.dr-modal-body::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
}

/* Fade In Animation */
@keyframes drFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

#warrantyInfoModal.show .dr-modal-main {
    animation: drFadeIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .dr-modal-dialog {
        width: 100%;
        max-width: 100%;
        margin: 0;
        height: 100vh;
    }

    .dr-modal-main {
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .dr-modal-header {
        padding: 20px;
    }

    .dr-header-icon {
        width: 42px;
        height: 42px;
        font-size: 20px;
    }

    .dr-header-title {
        font-size: 19px;
    }

    .dr-header-subtitle {
        font-size: 13px;
    }

    .dr-close-btn {
        top: 16px;
        right: 16px;
        width: 32px;
        height: 32px;
        font-size: 20px;
    }

    .dr-modal-body {
        padding: 20px 16px;
    }

    .dr-section-body {
        padding-left: 0;
    }

    .dr-section-header {
        margin-bottom: 16px;
    }

    .dr-section-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .dr-section-title {
        font-size: 16px;
    }

    .dr-info-item {
        margin-bottom: 14px;
    }

    .dr-info-item i {
        font-size: 18px;
    }

    .dr-info-item span {
        font-size: 14px;
    }

    .dr-highlight-box {
        padding: 14px 16px;
        font-size: 14px;
    }

    .dr-highlight-box i {
        font-size: 20px;
    }

    .dr-step-num {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }

    .dr-step-content strong {
        font-size: 15px;
    }

    .dr-step-content p {
        font-size: 13px;
    }

    .dr-contact {
        padding: 14px 16px;
    }

    .dr-contact-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .dr-contact-info strong {
        font-size: 14px;
    }

    .dr-divider {
        margin: 24px 0;
    }

    .dr-info-section {
        margin-bottom: 24px;
    }
}

@media (max-width: 480px) {
    .dr-header-content {
        gap: 12px;
    }

    .dr-header-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }

    .dr-header-title {
        font-size: 17px;
    }

    .dr-contact:hover {
        transform: translateX(3px);
    }
}

/* end of delivery and returns modal */
/* ============================================
   MODERN CART SUCCESS MODAL
   ============================================ */

.cart-success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    animation: fadeIn 0.3s ease;
}

.cart-success-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1;
}

.cart-success-content {
    position: relative;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px 30px 30px;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    z-index: 2;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* Success Icon Animation */
.cart-success-icon {
    text-align: center;
    margin-bottom: 20px;
}

.checkmark-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: scaleIn 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.checkmark {
    width: 35px;
    height: 20px;
    border-left: 4px solid white;
    border-bottom: 4px solid white;
    transform: rotate(-45deg);
    animation: checkmarkDraw 0.4s ease 0.2s forwards;
    opacity: 0;
}

/* Success Text */
.cart-success-title {
    font-size: 26px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 8px 0;
    text-align: center;
}

.cart-success-subtitle {
    font-size: 15px;
    color: #6b7280;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Product Info */
.cart-product-info {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: #f9fafb;
    border-radius: 12px;
    margin-bottom: 20px;
}

.cart-product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
}

.cart-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cart-product-details {
    flex: 1;
}

.cart-product-details h4 {
    font-size: 16px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px 0;
    line-height: 1.4;
}

.cart-modal-variant {
    font-size: 13px;
    color: #6b7280;
    margin: 0 0 10px 0;
}

/* Cart Modal Attributes */
.cart-modal-attributes {
    margin-bottom: 8px;
}

.cart-modal-attributes .attr-item {
    display: inline-block;
    font-size: 12px;
    background: #e5e7eb;
    color: #374151;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.cart-modal-attributes .attr-item strong {
    color: #111827;
}

/* Cart Modal Add-ons */
.cart-modal-addons {
    margin-bottom: 8px;
}

.cart-modal-addons .addon-title {
    font-size: 11px;
    font-weight: 600;
    color: #059669;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.cart-modal-addons .addon-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    background: #d1fae5;
    color: #065f46;
    padding: 3px 8px;
    border-radius: 4px;
    margin-right: 5px;
    margin-bottom: 5px;
}

.cart-modal-addons .addon-item i {
    font-size: 10px;
}

.cart-modal-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-modal-qty {
    font-size: 14px;
    color: #6b7280;
}

.cart-modal-total {
    font-size: 16px;
    font-weight: 700;
    color: #dc2626;
}

/* Cart Summary */
.cart-summary {
    background: #f9fafb;
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.cart-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-size: 14px;
    color: #6b7280;
}

.cart-summary-row:last-child {
    margin-bottom: 0;
}

.cart-summary-row.total {
    padding-top: 10px;
    border-top: 2px dashed #e5e7eb;
    font-size: 16px;
    color: #111827;
}

.cart-summary-row strong {
    font-weight: 700;
}

/* Action Buttons */
.cart-modal-actions {
    display: flex;
    gap: 12px;
}

.btn-continue,
.btn-view-cart {
    flex: 1;
    padding: 14px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-continue {
    background: #f3f4f6;
    color: #374151;
}

.btn-continue:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.btn-view-cart {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #ffffff;
}

.btn-view-cart:hover {
    background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Close Button */
.cart-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f3f4f6;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #6b7280;
    transition: all 0.3s ease;
}

.cart-modal-close:hover {
    background: #dc2626;
    color: #ffffff;
    transform: rotate(90deg);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

@keyframes checkmarkDraw {
    to {
        opacity: 1;
    }
}

/* Scrollbar */
.cart-success-content::-webkit-scrollbar {
    width: 8px;
}

.cart-success-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.cart-success-content::-webkit-scrollbar-thumb {
    background: #dc2626;
    border-radius: 10px;
}

/* Mobile Responsive */
@media (max-width: 576px) {
    .cart-success-content {
        width: 95%;
        padding: 30px 20px 20px;
        border-radius: 16px 16px 0 0;
        max-height: 85vh;
    }

    .checkmark-circle {
        width: 70px;
        height: 70px;
    }

    .cart-success-title {
        font-size: 22px;
    }

    .cart-product-info {
        padding: 15px;
    }

    .cart-product-image {
        width: 70px;
        height: 70px;
    }

    .cart-product-details h4 {
        font-size: 15px;
    }

    .cart-modal-actions {
        flex-direction: column;
    }

    .btn-continue,
    .btn-view-cart {
        width: 100%;
    }
}