/* Cart page uses unified fonts from style.css */
body {
    font-family: 'Source Sans Pro', sans-serif;
}

.cart-title,
.order-summary h3 {
    font-family: 'Playfair Display', serif;
}

/* ===== COUPON TOGGLE CONTAINER ===== */
.coupon-toggle-container {
    margin-bottom: 20px;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    overflow: hidden;
}

.cart-gift-message-container {
    margin: 20px 0;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: all 0.3s ease;
}


.cart-gift-header {
    padding: 14px 16px;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    cursor: pointer;
    background: #fafafa;
    transition: 0.3s;
}

.cart-gift-header:hover {
    background: #f3f3f3;
}

.cart-gift-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 15px;
    /* Padding set to 0 when closed */
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    /* Prevent typing when closed */
}

.cart-gift-content.active {
    max-height: 300px;
    /* Large enough to fit content */
    opacity: 1;
    padding: 29px 6px;
    pointer-events: auto;

}

.cart-gift-content textarea {
    width: 100%;
    height: 80px;
    display: block;
    margin-bottom: 10px;
}

.cart-gift-content textarea:focus {
    border-color: #d4af37;
    box-shadow: 0 0 5px rgba(212, 175, 55, 0.3);
}

.cart-gift-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.cart-gift-footer button {
    background: #000;
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
}

/* Wrapper for perfect center */
.trust-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 40px 0 20px;
}

/* Main box */
.luxury-trust-badges {
    display: flex;
    gap: 40px;
    align-items: center;

    background: #ffffff;
    padding: 20px 35px;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
}

/* Each item */
.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

/* Divider between items */
.trust-item:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -20px;
    height: 30px;
    width: 1px;
    background: #eee;
}

/* Icon */
.icon-box {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4af37, #f7e7a9);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 16px;
}

/* Text */
.trust-text h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #111;
}

.trust-text p {
    margin: 2px 0 0;
    font-size: 12px;
    color: #777;
}

/* Responsive */
/* ================= MOBILE TRUST BADGES ================= */
@media (max-width: 768px) {

    .trust-wrapper {
        width: 100%;
        margin: 25px 0 100px;
        padding: 0 10px;
    }

    .luxury-trust-badges {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr;
        gap: 14px;

        padding: 16px;
        border-radius: 16px;
    }

    .trust-item {
        width: 100%;
        justify-content: flex-start;
        align-items: center;

        padding: 12px;
        border-radius: 12px;

        background: #fafafa;
        border: 1px solid #f1f1f1;
    }

    .trust-item:not(:last-child)::after {
        display: none;
    }

    .icon-box {
        min-width: 42px;
        min-height: 42px;

        width: 42px;
        height: 42px;

        font-size: 14px;
    }

    .trust-text {
        text-align: left;
    }

    .trust-text h4 {
        font-size: 13px;
        margin-bottom: 2px;
    }

    .trust-text p {
        font-size: 11px;
        line-height: 1.4;
    }
}

.gift-footer button:hover {
    background: #333;
}

#gift-save-msg {
    margin-top: 8px;
    font-size: 12px;
    color: green;
}

#char-count {
    font-size: 12px;
    color: #888;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.coupon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: background-color 0.3s;
    user-select: none;
}

.coupon-header:hover {
    background: #e9ecef;
}

.coupon-header span {
    font-weight: 500;
    color: #495057;
    font-size: 14px;
}

.coupon-header i {
    color: #6c757d;
    transition: transform 0.3s;
}

.coupon-content {
    padding: 20px;
    background: white;
    border-top: 1px solid #dee2e6;
}

.coupon-applied-state {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: #e8f5e8;
    border: 1px solid #28a745;
    border-radius: 5px;
    margin-top: 10px;
}

.coupon-applied-state span {
    color: #155724;
    font-weight: 500;
    font-size: 14px;
}

.remove-coupon-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    transition: background-color 0.3s;
}

.remove-coupon-btn:hover {
    background: #c82333;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.coupon-input-group input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
}

.coupon-input-group button {
    background: #007bff;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.coupon-input-group button:hover {
    background: #0056b3;
}

#coupon-message {
    margin-top: 5px;
    font-size: 12px;
    font-weight: 500;
}

/* ===== MAIN CONTAINER ===== */
.cart-container {
    max-width: 1400px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: 'Poppins', sans-serif;
    color: #4A403A;
}

.cart-title {
    font-size: 34px;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ===== LAYOUT ===== */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 30px;
}

/* ===== CART ITEMS ===== */
.cart-items {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.cart-item {
    display: grid;
    grid-template-columns: 100px 1fr auto auto;
    gap: 20px;
    align-items: center;

    background: #fff;
    padding: 20px;
    border-radius: 14px;
    border: 1px solid #eee;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
    position: relative;
    transition: all 0.3s ease;
    margin-bottom: 27px;
}

/* Force all grid items to the first row on desktop to prevent extra vertical whitespace */
.cart-item>* {
    grid-row: 1;
}

.item-price {
    grid-column: 3;
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
    text-align: right;
}

.cart-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.item-img {
    grid-column: 1;
    width: 100px;
    height: 100px;
    border-radius: 10px;
    overflow: hidden;
    background: #f8f6f3;
}

.item-img img,
.item-img video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* DETAILS - Desktop */
.item-details {
    grid-column: 2;
}

.item-details h3 {
    font-size: 16px;
    margin: 0 0 8px 0;
    font-weight: 600;
    color: #1a1a1a;
}

.item-details p {
    font-size: 13px;
    color: #8D817A;
    margin: 0 0 12px 0;
}

/* QUANTITY - Desktop */
.item-qty {
    display: flex;
    align-items: center;
    gap: 10px;
}

.item-qty button {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.2s ease;
    color: #333;
}

.item-qty button:hover {
    background: #f5f5f5;
    border-color: #c9a84c;
    color: #c9a84c;
}

.item-qty button:active {
    transform: scale(0.95);
}

.item-qty span {
    font-weight: 600;
    min-width: 20px;
    text-align: center;
    font-size: 15px;
}

.item-qty span {
    font-weight: 600;
}

/* REMOVE BUTTON - Desktop (Right side) */
.remove-item {
    grid-column: 4;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: #F3F0EA;
    border: 1px solid #ddd;
    border-radius: 6px;
    line-height: 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    color: black;
    font-size: 16px;
    padding: 0;
    flex-shrink: 0;
    margin-left: 10px;
}

.remove-item i {
    display: flex;
    align-items: center;
    justify-content: center;
}

.remove-item:hover {
    background: #fff8f3;
    border-color: #c9a84c;
    color: #c9a84c;
    transform: scale(1.08);
    box-shadow: 0 4px 12px rgba(201, 168, 76, 0.2);
}

.remove-item:active {
    transform: scale(0.95);
}

.remove-item:focus {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

.remove-item:focus:not(:focus-visible) {
    outline: none;
}

/* ===== ORDER SUMMARY ===== */
.order-summary {
    background: #fff;
    padding: 28px;
    border-radius: 16px;
    border: 1px solid #eee;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    height: fit-content;
}

@media (min-width: 992px) {
    .cart-layout .order-summary {
        position: sticky;
        top: 130px;
        /* Keep below global sticky header */
    }
}

.order-summary h3 {
    font-size: 22px;
    margin-bottom: 20px;
    font-weight: 600;
}

/* ===== SUMMARY ROWS ===== */
.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
}

.summary-row strong {
    font-weight: 600;
}

.total-row {
    font-size: 18px;
    font-weight: 600;
    padding: 15px 0;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-row .total-label {
    color: #333;
    font-weight: 600;
}

.total-row .total-amount {
    color: #C9A84C;
    font-weight: 700;
    font-size: 20px;
}

/* Divider */
.summary-divider {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

/* Discount */
.discount-applied {
    color: #2e7d32;
    font-weight: 500;
}

.text-success {
    color: #2e7d32;
}

/* Gold color highlight */
.gold-text {
    color: #C9A84C;
    font-weight: 700;
}

/* ===== COUPON ===== */
.coupon-container {
    margin-top: 20px;
}

.coupon-container label {
    font-size: 13px;
    display: block;
    margin-bottom: 6px;
}

.coupon-input-group {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;

}

.coupon-input-group input {
    flex: 1;
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ddd;
    outline: none;
    transition: 0.2s;
}

.coupon-input-group input:focus {
    border-color: #C9A84C;
}

.coupon-input-group button {
    padding: 10px 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.coupon-input-group button:hover {
    background: #333;
}

#coupon-message {
    font-size: 12px;
    margin-top: 8px;
    color: #888;
}

/* ===== CHECKOUT BUTTON ===== */
.check-btn {
    display: block;
    width: 100%;
    padding: 16px;
    margin-top: 20px;
    /* ✅ spacing added */

     background: #062037;
    color: #fff !important;

    border: none;
    border-radius: 12px;

    font-weight: 600;
    letter-spacing: 0.8px;
    text-align: center;
    text-decoration: none;

    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* HOVER EFFECT */
.check-btn:hover {
    background: #0a2f52;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.25);
}

/* ACTIVE CLICK EFFECT */
.check-btn:active {
    transform: scale(0.98);
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    margin-top: 20px;
    font-size: 12px;
    color: #8D817A;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.trust-badges span {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ==========================================
   CHECKOUT PROGRESS RESPONSIVE
========================================== */

.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    margin: 30px 0 50px;
    padding: 0 10px;
}

.checkout-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 55px;
    flex-shrink: 0;
}

.checkout-progress .circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #f3f3f3;
    border: 2px solid #ddd;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
}

.checkout-progress .step p {
    margin-top: 8px;
    font-size: 13px;
    text-align: center;
    white-space: nowrap;
}

.checkout-progress .line {
    flex: 1;
    max-width: 80px;
    height: 2px;
    background: #ddd;
    margin: 0 8px;
}

.checkout-progress .line.active {
    background: #C9A84C;
}

/* Active */
.checkout-progress .step.active .circle {
    background: #C9A84C;
    border-color: #C9A84C;
    color: #fff;
}

.checkout-progress .step.active p {
    color: #C9A84C;
    font-weight: 600;
}

/* Completed */
.checkout-progress .step.completed .circle {
    background: #198754;
    border-color: #198754;
    color: #fff;
}


@media (max-width: 768px) {

    .checkout-progress {
        padding: 0;
    }

    .checkout-progress .circle {
        width: 36px;
        height: 36px;
        font-size: 13px;
    }

    .checkout-progress .step p {
        font-size: 11px;
    }

    .checkout-progress .line {
        max-width: 45px;
        margin: 0 5px;
    }
}

/* LINE */
.line {
    flex: 1;
    height: 2px;
    background: #e5e5e5;
    position: relative;
    top: -10px;
}

/* ACTIVE LINE */
.line.active {
    background: #000;
}

.progress-line {
    transition: width 0.4s ease-in-out;
}

.step span {
    transition: all 0.3s ease;
}

/* CLICKABLE STEPS */
.step.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.step.clickable:hover {
    transform: translateY(-2px);
}

.step.clickable:hover .circle {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.step.clickable:hover p {
    color: #000;
    font-weight: 600;
}

.step.completed.clickable:hover .circle {
    background: #8c6e3a;
}

/* Container for the Empty State */
.empty-cart-message {
    padding: 100px 20px;
    background: #FAF6F0;
    border: 1px solid #FAF6F0;
    border-radius: 4px;
    /* Subtle rounding for a high-end feel */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

}

/* Icon Styling */
.empty-cart-message i.fa-shopping-bag {
    color: #d4af37 !important;
    /* Luxury Gold */
    margin-bottom: 25px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.empty-cart-message:hover i.fa-shopping-bag {
    opacity: 0.8;
}

.zayyora-remove-toast {
    border-radius: 4px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15) !important;
}

.zayyora-timer-bar {
    background: #c9a84c !important;
    height: 2px !important;
}

/* Typography */
.empty-cart-message h3 {
    font-family: 'Playfair Display', serif;
    /* Or your brand's luxury font */
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.empty-cart-message p {
    font-size: 16px;
    color: #777;
    max-width: 350px;
    line-height: 1.6;
    margin-bottom: 30px;
}

/* The Action Button */
.empty-cart-message .btn-dark {
    background-color: #1a1a1a;
    color: #fff;
    padding: 14px 45px;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    border: 1px solid #1a1a1a;
    border-radius: 0;
    /* Sharp corners look more premium than rounded pill */
    transition: all 0.3s ease;
}

.empty-cart-message .btn-dark:hover {
    background-color: transparent;
    color: #1a1a1a;
    transform: translateY(-2px);
}

/* Disabled State for "Buy Now" */
.disabled-btn {
    background-color: #e0e0e0 !important;
    border-color: #e0e0e0 !important;
    color: #999 !important;
    cursor: not-allowed;
    box-shadow: none !important;
}

/* =========================================================
   MOBILE STICKY ORDER SUMMARY
========================================================= */

.mobile-order-summary {
    display: none;
}

/* TABLET + MOBILE */
@media (max-width: 991px) {

    .cart-container {
        padding: 0 14px;
    }

    .cart-layout {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .order-summary.desktop-summary {
        display: none !important;
    }

    .cart-item {
        grid-template-columns: 80px 1fr auto auto;
        grid-template-rows: 1fr;
        gap: 20px;
        padding: 16px;
        border-radius: 12px;
        align-items: center;
    }

    .cart-item>* {
        grid-row: 1;
    }

    .remove-item {
        position: static;
        grid-column: 4;
        grid-row: 1;
        margin-left: 10px;
    }

    /* Image - Tablet */
    .item-img {
        grid-column: 1;
        grid-row: 1;
        width: 80px;
        height: 80px;
        border-radius: 8px;
    }

    /* Details - Tablet */
    .item-details {
        grid-column: 2;
        grid-row: 1;
        padding-right: 15px;
    }

    .item-details h3 {
        font-size: 14px;
        margin-bottom: 4px;
    }

    .item-details p {
        font-size: 12px;
        margin-bottom: 8px;
    }

    /* Quantity row - Tablet */
    .item-qty {
        margin-top: 4px;
    }

    .item-qty button {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .item-qty span {
        font-size: 13px;
    }

    /* Price - Tablet */
    .item-price {
        grid-column: 3;
        grid-row: 1;
        text-align: right;
        font-size: 18px;
        font-weight: 600;
        color: #1a1a1a;
        margin-left: 15px;
        margin-right: 15px;
    }




    .mobile-order-summary {
        display: block !important;
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        z-index: 9999;
        background: #fff;
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.10);
        border-radius: 20px 20px 0 0;
    }

    /* Always-visible bottom section */
    .mobile-bottom-bar {
        padding: 12px 16px 16px;
        background: #fff;
        border-radius: 20px 20px 0 0;
        border-top: 1px solid #eee;
    }

    /* Price + toggle row */
    .mobile-summary-bar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        cursor: pointer;
        padding: 0 0 10px 0;
        margin-bottom: 10px;
        border-bottom: 1px solid #f0f0f0;
        background: transparent;
        border-radius: 0;
    }

    .mobile-summary-left {
        display: flex;
        flex-direction: column;
        gap: 2px;
    }

    .mobile-summary-title {
        font-size: 11px;
        color: #999;
        text-transform: uppercase;
        letter-spacing: 0.5px;
    }

    .mobile-summary-left strong {
        font-size: 20px;
        font-weight: 700;
        color: #1a1a1a;
    }

    .mobile-summary-right {
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 13px;
        font-weight: 600;
        color: #555;
    }

    .mobile-summary-right i {
        font-size: 12px;
        transition: transform 0.3s ease;
    }

    /* Checkout button */
    .mobile-checkout-btn {
        display: block;
        width: 100%;
        padding: 14px;
          background: #062037;
    color: #fff !important;
        text-align: center;
        text-decoration: none !important;
        border-radius: 10px;
        font-size: 14px;
        font-weight: 600;
        letter-spacing: 0.5px;
        transition: background 0.3s ease;
        box-sizing: border-box;
    }

    .mobile-checkout-btn:hover {
        background: #0a2f52;
    color: #fff !important;
    }

    /* Drawer */
    .mobile-summary-drawer {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: #fff;
        padding: 0 16px;
    }

    .mobile-summary-drawer.active {
        max-height: 70vh;
        overflow-y: auto;
        padding: 16px 16px 8px;
        border-top: 1px solid #f0f0f0;
    }

    .mobile-summary-drawer .summary-row {
        display: flex;
        justify-content: space-between;
        margin: 12px 0;
        font-size: 14px;
        color: #333;
    }

    .mobile-summary-drawer .total-row {
        border-top: 1px solid #eee;
        padding-top: 14px;
        margin-top: 14px;
        font-size: 17px;
        font-weight: 700;
    }

    /* Page spacing so content isn't hidden behind sticky bar */
    .wishlist-actions {
        padding-bottom: 160px;
    }

    .trust-wrapper {
        margin-bottom: 160px;
    }

    /* EMPTY CART */
    .empty-cart-message {
        margin-left: 0;
        padding: 60px 20px;
    }

}

/* ===================================
   MOBILE CART FIX
=================================== */
@media (max-width: 767px) {

    .cart-item {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
        padding: 15px;
        position: relative;
    }

    .item-img {
        width: 110px;
        min-width: 110px;
        height: 110px;
        border-radius: 10px;
        overflow: hidden;
    }

    .item-img img,
    .item-img video {
        width: 100%;
        height: 100%;
        object-fit: cover;

    }

    .item-content {
        flex: 1;
    }

    .item-details {
        text-align: left;
        padding-right: 35px;
    }

    .item-details h3 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .item-details p {
        font-size: 12px;
    }

    .item-qty {
        justify-content: flex-start;
        margin-top: 10px;
    }

    .item-qty button {
        width: 32px;
        height: 32px;
        border-radius: 6px;
    }

    .item-price {
        margin-top: 10px;
        font-size: 20px;
        font-weight: 700;
        text-align: left;
        border: none;
        padding: 0;
    }

    .remove-item {
        position: absolute;
        top: 10px;
        right: 10px;
    }


    .remove-item i {
        font-size: 14px;
        line-height: 1;
    }
}

/* SMALL MOBILE */
@media (max-width: 576px) {

    .cart-title {
        font-size: 26px;
    }

    .checkout-progress {
        overflow-x: auto;
        gap: 10px;
        padding-bottom: 10px;
    }

    .step p {
        font-size: 11px;
    }

    .circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .coupon-input-group {
        flex-direction: column;
    }

    .coupon-input-group button {
        width: 100%;
    }

    .luxury-trust-badges {
        border-radius: 14px;
    }

}

/* ===== CONTINUE SHOPPING BUTTON ===== */
.wishlist-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 24px;
    margin-left: 0;
}

.continue-shopping-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: transparent;
    border: 1.5px solid #062037;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.continue-shopping-btn:hover {
    border-color: #062037 !important;
    background-color: #062037;
    color: white !important;
    transform: translateX(-3px);
}

.continue-shopping-btn svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.continue-shopping-btn:hover svg {
    transform: translateX(-3px);
}

/* Prevent grid rows from stretching */
.cart-layout {
    align-items: start;
}

@media (max-width: 991px) {
    .wishlist-actions {
        grid-column: 1;
        justify-content: center;
        margin-top: 15px;
        padding-bottom: 120px;
        /* space for mobile sticky bar */
        margin-left: 0;
    }

    .continue-shopping-btn {
        justify-content: center;
        padding: 14px 28px;
    }
}

@media (max-width: 576px) {
    .wishlist-actions {
        padding-bottom: 0px;
    }

    .continue-shopping-btn {
        font-size: 13px;
        padding: 12px 20px;
    }
}

/* ===== MOBILE COUPON IN DRAWER ===== */
.mobile-coupon-section {
    margin: 10px 0 6px;
    padding: 12px;
    background: #fafafa;
    border-radius: 10px;
    border: 1px solid #eee;
}

.mobile-coupon-section .mcs-label {
    font-size: 12px;
    font-weight: 600;
    color: #555;
    display: block;
    margin-bottom: 8px;
}

.mobile-coupon-input-row {
    display: flex;
    gap: 8px;
}

.mobile-coupon-input-row input {
    flex: 1;
    padding: 9px 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 12px;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
}

.mobile-coupon-input-row input:focus {
    border-color: #C9A84C;
}

.mobile-coupon-input-row button {
    padding: 9px 16px;
    background: #062037;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.mobile-coupon-input-row button:hover {
    background: #333;
}

.mobile-coupon-applied {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: #e8f5e9;
    border: 1px solid #28a745;
    border-radius: 8px;
}

.mobile-coupon-applied span {
    color: #155724;
    font-weight: 500;
    font-size: 13px;
}

.mobile-coupon-applied .remove-coupon-btn {
    font-size: 11px;
    padding: 4px 10px;
}

#mobile-coupon-message {
    font-size: 11px;
    margin-top: 6px;
    min-height: 14px;
}

/* Available coupons list in mobile */
.mobile-available-coupons {
    margin-top: 10px;
    max-height: 150px;
    overflow-y: auto;
}

.mobile-available-coupons .mac-title {
    font-size: 11px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.mobile-coupon-chip {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 10px;
    border: 1px dashed #d1d1d1;
    border-radius: 6px;
    margin-bottom: 6px;
    cursor: pointer;
    transition: background 0.2s;
}

.mobile-coupon-chip:active {
    background: #f0ede6;
}

.mobile-coupon-chip strong {
    color: #b8860b;
    font-size: 12px;
}

.mobile-coupon-chip .chip-save {
    font-size: 11px;
    font-weight: 600;
    color: #28a745;
}

.mobile-coupon-chip .chip-tagline {
    font-size: 10px;
    color: #888;
    margin-top: 2px;
}

/* Mobile discount row */
.mobile-discount-note {
    font-size: 10px;
    color: #856404;
    background: #fff3cd;
    border: 1px solid #ffc107;
    border-radius: 4px;
    padding: 6px 8px;
    margin: 6px 0 0;
    display: none;
}

/* ============================================================
   CHECKOUT PROGRESS BAR - RESPONSIVE WITH VISIBLE LINES
   ============================================================ */

.checkout-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

/* Individual Step */
.checkout-progress .step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
    position: relative;
    z-index: 2;
}

/* Completed Steps (Past) */
.checkout-progress .step.completed {
    opacity: 1;
}

.checkout-progress .step.completed .circle {
    background: #1f7a3d;
    color: #fff;
    border: 2px solid #1f7a3d;
}

.checkout-progress .step.completed p {
    color: #1a1a1a;
    font-weight: 600;
}

/* Active Step (Current) */
.checkout-progress .step.active {
    opacity: 1;
}

.checkout-progress .step.active .circle {
    background: #C9A84C;
    color: #fff;
    border: 2px solid #C9A84C;
    box-shadow: 0 0 12px rgba(201, 168, 76, 0.4);
}

.checkout-progress .step.active p {
    color: #C9A84C;
    font-weight: 700;
}

/* Future Steps (Gray) */
.checkout-progress .step:not(.completed):not(.active) .circle {
    background: transparent;
    border: 2px solid #ddd;
    color: #999;
}

/* Circle Styling */
.checkout-progress .circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 16px;
    transition: all 0.3s ease;
}

/* Step Text */
.checkout-progress p {
    font-size: 13px;
    margin: 0;
    text-align: center;
    transition: color 0.3s ease;
    color: #999;
}

/* Connecting Lines */
.checkout-progress .line {
    width: 60px;
    height: 3px;
    background: #ddd;
    transition: background 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.checkout-progress .line.active {
    background: #C9A84C;
}

/* ═══════════════════════════════════════════════════════════════
   TABLET VIEW (≤ 991px)
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 991px) {
    .checkout-progress {
        gap: 15px;
        margin: 30px 0;
    }

    .checkout-progress .step {
        min-width: auto;
    }

    .checkout-progress .circle {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .checkout-progress p {
        font-size: 12px;
    }

    .checkout-progress .line {
        width: 50px;
        height: 2px;
    }
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE VIEW (≤ 576px) - LINES VISIBLE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 576px) {
    .checkout-progress {
        gap: 10px;
        margin: 25px 0;
        padding: 0 10px;
        -webkit-overflow-scrolling: touch;
    }

    /* Hide scrollbar for mobile */
    .checkout-progress::-webkit-scrollbar {
        display: none;
    }

    .checkout-progress {
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .checkout-progress .step {
        min-width: 65px;
        flex-shrink: 0;
    }

    .checkout-progress .circle {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .checkout-progress p {
        font-size: 10px;
        margin-top: 4px;
    }

    /* IMPORTANT: Show lines on mobile */
    .checkout-progress .line {
        height: 2px;
        flex-shrink: 0;
        display: block !important;
    }

    .checkout-progress .line.active {
        background: #C9A84C;
    }

    .checkout-progress .line:not(.active) {
        background: #ddd;
    }
}

/* ═══════════════════════════════════════════════════════════════
   CLICKABLE STATES
   ═══════════════════════════════════════════════════════════════ */

.checkout-progress .step.clickable {
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-progress .step.clickable:hover {
    transform: translateY(-2px);
}

.checkout-progress .step.clickable:hover .circle {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.checkout-progress .step.clickable:hover p {
    color: #000;
    font-weight: 600;
}

.checkout-progress .step.completed.clickable:hover .circle {
    background: #197f2e;
}

@media (max-width: 768px) {
    .remove-item {
        width: 36px;
        height: 36px;
        font-size: 14px;
        border-width: 1px;
    }

    .remove-item i {
        width: 14px;
        height: 14px;
    }
}


@media (max-width: 480px) {
    .cart-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .item-img {
        width: 100%;
        height: 220px;
        max-width: 220px;
    }

    .item-details {
        width: 100%;
        text-align: center;
    }

    .item-qty {
        justify-content: center;
    }

    .item-price {
        text-align: center;
        font-size: 22px;
        margin-top: 8px;
    }

    .remove-item {
        top: 12px;
        right: 12px;
    }

    /* Quantity - Small Mobile */
    .item-qty button {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .item-qty span {
        font-size: 13px;
    }



    .remove-item i {
        font-size: 18px;
    }
}

@media (max-width: 480px) {

    .checkout-progress {
        justify-content: space-between;
        gap: 0;
    }

    .checkout-progress .step {
        min-width: 45px;
    }

    .checkout-progress .circle {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .checkout-progress .step p {
        font-size: 9px;
        margin-top: 5px;
    }

    .checkout-progress .line {
        max-width: 25px;
        margin: 0 3px;
    }
}

/* ============================================================
   EXTRA SMALL MOBILE VIEW (≤ 360px)
   ============================================================ */

@media (max-width: 360px) {
    .cart-item {
        gap: 8px;
        padding: 10px;
    }

    .item-img {
        height: 140px;
    }

    .item-details h3 {
        font-size: 13px;
    }

    .item-details p {
        font-size: 10px;
    }

    .item-qty button {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .item-qty span {
        font-size: 12px;
    }

    .item-price {
        font-size: 15px;
    }

    .remove-item {
        width: 32px;
        height: 32px;
        background: #F3F0EA;
        border: 1px solid #ddd;
        border-radius: 6px;
        line-height: 16px;
    }

    .remove-item i {
        font-size: 16px;

    }
}

/* ============================================================
   ANIMATION FOR REMOVE ACTION
   ============================================================ */

.cart-item.removing {
    animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }

    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

/* ============================================================
   TOAST NOTIFICATIONS
   ============================================================ */

.Urja-remove-toast {
    border-radius: 12px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
}

.Urja-timer-bar {
    background: linear-gradient(90deg, #c9a84c, #b8860b) !important;
    height: 3px !important;
}

/* ============================================================
   EMPTY CART MESSAGE
   ============================================================ */

.empty-cart-message {
    padding: 60px 20px;
    background: #fdfdfd;
    border: 1px solid #f2f2f2;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.empty-cart-message i {
    color: #d4af37 !important;
    margin-bottom: 25px;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.empty-cart-message:hover i {
    opacity: 0.8;
}

.empty-cart-message h3 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    color: #1a1a1a;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.empty-cart-message p {
    font-size: 15px;
    color: #777;
    max-width: 350px;
    line-height: 1.6;
    margin-bottom: 30px;
    text-align: center;
}


/* ============================================================
   ACCESSIBILITY
   ============================================================ */

.remove-item:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 2px;
}

.item-qty button:focus-visible {
    outline: 2px solid #c9a84c;
    outline-offset: 1px;
}

/* High contrast mode */
@media (prefers-contrast: more) {
    .cart-item {
        border: 2px solid #000;
    }

    .remove-item {
        border-width: 2px;
    }

    .item-qty button {
        border-width: 2px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    .cart-item,
    .remove-item,
    .item-qty button {
        transition: none;
    }

    .cart-item.removing {
        animation: none;
        opacity: 0;
    }
}

/* ============================================================
   LAYOUT GRID ADJUSTMENTS
   ============================================================ */

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Centering the empty cart message */
.cart-layout.cart-empty {
    display: block !important;
    width: 100% !important;
}

.cart-layout.cart-empty .cart-left-column {
    max-width: 800px !important;
    margin: 0 auto !important;
    width: 100% !important;
}



/* ============================================================
   PRINT STYLES
   ============================================================ */

@media print {
    .remove-item {
        display: none;
    }

    .cart-item {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }
}