/* Main Layout */


.giftbox_section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    color: #ffffff;
}


.back-button {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 1.4rem;
    border: 1px solid #ffffff;
    padding: 1rem 1.5rem;
    background: transparent;
    cursor: pointer;
    width: 20rem;
}

.back-button i {
    margin-right: 1rem;
}


/* Left Column - Checkout Process */
.checkout-process {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.checkout-step {
    border: 1px solid #ddd;
    border-radius: 0;
    overflow: hidden;
}

.step-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid #eee;
}

.step-title {
    font-size: 1.6rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
}

.step-number {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    color: #000000;
    font-size: 1.4rem;
}

.step-content {
    padding: 2rem;
}

/* Gift & Packaging Options */
.wrapping-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.wrapping-option {
    position: relative;
    border-radius: 1rem;
}

.wrapping-option:hover {
    border-color: #000;
}

.option-title {
    margin-bottom: 1rem;
    font-size: 1.4rem;
    color: #ffffff;
}

.wrapping-option i {
    font-size: 5rem;
    margin-bottom: 2rem;
    color: #ffffff;
}

.wrapping-price {
    font-size: 1.4rem;
    margin-top: 1rem;
}

.no-wrapping {
    display: flex;
    align-items: center;
    margin-top: 2rem;
    font-size: 1.4rem;
}

.no-wrapping input {
    margin-right: 1rem;
}

.wrapping-option input[type="checkbox"] {
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
    z-index: 2;
}

.wrapping-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid #767676;
    padding: 3rem 2rem;
    width: 100%;
    cursor: pointer;
}

.wrapping-option input[type="checkbox"]:checked+label {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}


.wrapping-option input[type="checkbox"]:checked+label i,
.wrapping-option input[type="checkbox"]:checked+label div {
    color: #000000;
    transition: all 0.3s ease;
}

.wrapping-option input[type="checkbox"]:checked+label {
    color: #000000;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.continue-btn {
    width: 100%;
    padding: 1.5rem;
    background-color: #fff;
    border: 1px solid #ffffff;
    font-size: 1.6rem;
    cursor: pointer;
    margin-top: 2rem;
    transition: all 0.3s ease;
    color: black;
}

/* .continue-btn:hover {
            background-color: #c7c7c7;
            color: #000000;
        } */

/* Right Column - Order Summary */
.order-summary {
    /* background-color: #fff; */
    border-radius: 0;
    padding: 2rem;
    height: fit-content;
}

.summary-header {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 1.5rem;
}

.shipment-info {
    font-size: 1.4rem;
    color: #ffffff;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #000000;
    margin-bottom: 2rem;
}

.product-items {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    height: 41rem;
    overflow-y: scroll;
    scrollbar-width: none;
}

.product-item {
    display: grid;
    grid-template-columns: 12rem 1fr;
    gap: 2rem;
    position: relative;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.product-image {
    width: 100%;
    /* height: 30rem; */
    background-color: #424242;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0.5rem;
}

.product-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.product-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr 1fr 1fr;
}

.product-name {
    grid-column: 1 / span 1;
    grid-row: 1 / span 1;
}

.product-brand {
    font-size: 1.2rem;
    color: #c7c7c7;
    margin-bottom: 1rem;
    grid-column: 1 / span2;
    grid-row: 2 / span 1;
}

.product-variant {
    grid-column: 1 / span 1;
    grid-row: 3 / span 1;
}

.product-id {
    grid-column: 1 / span 1;
    grid-row: 4 / span 1;
}

.product-price {
    grid-column: 1 / span 1;
    grid-row: 5 / span 1;
}

.product-name {
    font-size: 1.6rem;
    font-weight: bold;
    margin-bottom: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.product-brand {
    font-size: 1.5rem;
    color: #c7c7c7;
    margin-bottom: 1rem;
}

.product-variant {
    display: flex;
    gap: 1rem;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-color {
    display: flex;
    align-items: center;
}

.color-dot {
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    margin-right: 0.5rem;
}

.green-dot {
    background-color: #4a6b4a;
    /* Lush green color */
}

.pink-dot {
    background-color: #f5a8c0;
    /* Pinky color */
}

.product-id {
    font-size: 1.2rem;
    color: #c7c7c7;
    margin-bottom: 1rem;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.current-price {
    font-size: 1.6rem;
    font-weight: bold;
}

.original-price {
    font-size: 1.2rem;
    color: #c7c7c7;
    text-decoration: line-through;
}

.quantity-controls {
    display: flex;
    align-items: center;
    grid-column: 2 / span 1;
    grid-row: 5 / span 1;
    justify-content: end;
}

.quantity-btn {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    border: 1px solid #ddd;
    font-size: 1.6rem;
    cursor: pointer;
}

.quantity {
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.discount-tag {
    background-color: #46864a;
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 0.3rem;
}

.remove-item {
    font-size: 1.6rem;
    cursor: pointer;
}

/* Order Summary Totals */
.summary-totals {
    margin-top: 2rem;
}

.total-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
}

.total-label {
    color: #ffffff;
}

.free-label {
    color: #ffffff;
}

.grand-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
    margin-top: 1.5rem;
    font-size: 1.6rem;
    font-weight: bold;
}

.tax-note {
    font-size: 1.2rem;
    color: #c7c7c7;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

/* Payment Options */
.payment-options {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.payment-option {
    width: 5rem;
    height: 3.5rem;
    border: 1px solid #ddd;
    border-radius: 0.3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background-color: #fff;
}

.payment-option.visa {
    background-color: #1a1f71;
    /* Visa blue */
}

.payment-option.paypal {
    background-color: #003087;
    /* PayPal blue */
}

.payment-option.mastercard {
    background-color: #000000;
}

.payment-option.apple-pay {
    background-color: #000;
}

.payment-option.amazon-pay {
    background-color: #FF9900;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .giftbox_section {
        grid-template-columns: 1fr;
    }

    .wrapping-options {
        grid-template-columns: 1fr;
    }

    .product-item {
        grid-template-columns: 8rem 1fr;
    }

    /* .product-image {
        height: 30rem;
    } */
}

.discount-value-container {
    display: flex;
    justify-content: end;
    gap: 0.8rem;
    grid-column: 2 / span 1;
    grid-row: 1 / span 1;
    align-items: center;
}

/* Payment Method Tabs */
.payment-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 1px solid #767676;
}

.payment-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 2rem;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    border-bottom: 2px solid transparent;
    color: #ffffff;
}

.payment-tab i {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.payment-tab span {
    font-size: 1.4rem;
}

.payment-tab.active {
    opacity: 1;
    border-bottom: 2px solid #ffffff;
}

/* Payment Content */
.payment-content {
    display: none;
    margin-bottom: 2rem;
}

.payment-content.active {
    display: block;
}

/* Payment Options Grid */
.payment-options-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-option-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    border: 1px solid #767676;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option-item:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.payment-option-item img {
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
}

.payment-option-item i {
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.payment-option-item span {
    font-size: 1.2rem;
    text-align: center;
}


/* Netbanking */
.popular-banks h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.other-banks {
    margin-top: 2rem;
}

.other-banks label {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.other-banks select {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #767676;
    background-color: transparent;
    color: #ffffff;
    font-size: 1.4rem;
}


/* Responsive */
@media (max-width: 768px) {
    .payment-options-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .card-details-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .payment-tabs {
        flex-direction: column;
    }

    .payment-options-grid {
        grid-template-columns: 1fr;
    }
}

/* Bank Grid Layout */
.banks-grid {
    margin-bottom: 2rem;
}

.bank-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
    display: none;
}

.bank-row.active {
    display: grid;
}

.bank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1rem;
    border: 1px solid #767676;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: #000;
}

.bank-item:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
}

.bank-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.bank-item span {
    font-size: 1.2rem;
    text-align: center;
    color: #ffffff;
}

.more-btn {
    cursor: pointer;
}



/* Responsive styles */
@media (max-width: 768px) {
    .bank-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* Credit Card Form Styles */

.card-details-display .label {
    font-size: 1.2rem;
    color: #999;
    margin-bottom: 0.5rem;
}

.card-details-display .value {
    font-size: 1.4rem;
    color: #ffffff;
    text-transform: uppercase;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: #ffffff;
}

.form-group input {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #333;
    background-color: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 1.4rem;
    border-radius: 0.4rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    border-color: #ffffff;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.card-details-row {
    display: flex;
    gap: 2rem;
}

.expiry-group,
.cvv-group {
    flex: 1;
}

.expiry-inputs {
    display: flex;
    align-items: center;
}

.expiry-inputs input {
    width: 45%;
}

.expiry-separator {
    margin: 0 0.5rem;
    color: #ffffff;
    font-size: 1.8rem;
}

.save-card-option {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.save-card-option input[type="checkbox"] {
    width: 1.8rem;
    height: 1.8rem;
    accent-color: #ffffff;
}

.save-card-option label {
    color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .card-details-row {
        flex-direction: column;
        gap: 1.5rem;
    }
}