/* Cart Page Styling - High-End Design */
.cart-page {
    background-color: #f8f9fa;
    min-height: 100vh;
}

.page-banner {
    background-image: url(https://futurcrop.com/wp-content/uploads/2023/06/ingeniero-agronomo-1-1.jpeg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.page-banner-box {
    background-color: rgba(0, 0, 0, 0.4);
    padding: 60px 40px;
    text-align: center;
    width: 90%;
    max-width: 1000px;
}

.page-banner-heading {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff !important;
    letter-spacing: 5px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.page-banner-sub-heading {
    font-size: 2.2rem;
    font-family: "Georgia", serif;
    color: #fff !important;
    font-style: italic;
}

.cart-icon-bar {
    background-color: #d4af37;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75%;
    margin: 50px auto 40px;
    position: relative;
    z-index: 10;
    border-radius: 2px;
}

.cart-icon-bar i {
    font-size: 2rem;
    color: #fff;
}

/* Cart Table Layout */
.cart-table {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.cart-table-header {
    background-color: #f8f9fa;
    padding: 15px 30px;
    font-weight: 500;
    color: #666;
    font-size: 1.1rem;
    font-family: "Georgia", serif;
    border-bottom: 1px solid #eee;
}

/* Cart-wide currency (match pest details topbar look) */
.cart-currency-toolbar {
    background-color: #fff;
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #d4af37;
}

.cart-currency-toolbar-inner {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px 12px;
}

.cart-currency-toolbar-text {
    flex: 1 1 220px;
    min-width: 0;
}

.cart-currency-label {
    display: block;
    margin: 0 0 6px 0;
    font-family: "Georgia", serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #555;
    letter-spacing: 0.02em;
}

.cart-currency-hint {
    margin: 0;
    font-size: 0.85rem;
    color: #888;
    line-height: 1.45;
    max-width: 36rem;
}

.cart-currency-control {
    flex: 0 0 auto;
}

.cart-currency-select {
    min-width: 92px;
    max-width: 170px;
    height: 32px;
    border-radius: 3px;
    border: 1px solid #cfd5db;
    background: transparent;
    color: #333;
    font-weight: 600;
    font-size: 0.8rem;
    box-shadow: none;
    padding: 6px 34px 6px 12px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath fill='%23000' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px 14px;
    cursor: pointer;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Some browsers keep native select look unless forced */
body#shop-cart .cart-currency-select {
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.cart-currency-select:focus {
    outline: none !important;
    border-color: #9a7b26 !important;
    box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.25) !important;
}

.cart-currency-select:hover {
    border-color: #9a7b26 !important;
}

#shop-cart .cart-currency-select option,
.cart-currency-select option {
    background: #fff;
    color: #1a1a1a;
    font-weight: 600;
}

@media (max-width: 576px) {
    .cart-currency-toolbar {
        padding: 12px 14px;
    }

    .cart-currency-control {
        width: 100%;
    }

    .cart-currency-select {
        width: 100%;
        min-width: 0;
    }
}

.cart-item-row {
    background-color: #fff;
    margin-bottom: 15px !important;
    padding: 20px 30px !important;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease;
}

.cart-item-row:hover {
    transform: translateY(-2px);
}

.cart-product-img-v2 {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 2px;
}

.product-name-v2 {
    font-size: 1.1rem;
    color: #444;
    font-weight: 500;
}

.cart-remove-btn {
    font-size: 30px !important;
    color: #bbb !important;
    transition: color 0.2s;
    background: none;
    border: none;
    line-height: 1;
}

.cart-remove-btn:hover {
    color: #ff4757 !important;
}

/* Summary Section */
.cart-summary-v2 {
    background: transparent;
    padding: 0;
}

.summary-card-v2 {
    background: #fff;
    padding: 15px 25px;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.btn-update-cart-v2 {
    background-color: #a29bfe;
    color: #fff;
    font-weight: 700;
    padding: 12px;
    text-transform: uppercase;
    border-radius: 4px;
    border: none;
    transition: background 0.2s;
}

.btn-update-cart-v2:hover {
    background-color: #6c5ce7;
    color: #fff;
}

.btn-payment-v2 {
    background-color: #6c5ce7;
    color: #fff !important;
    font-weight: 700;
    padding: 15px;
    text-transform: uppercase;
    font-size: 1.1rem;
    border-radius: 4px;
    border: none;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.3);
}

.btn-payment-v2:hover {
    background-color: #5b4cc4;
    color: #fff !important;
}

.continue-shopping {
    font-weight: 500;
    color: #888 !important;
    font-size: 1rem;
    display: inline-flex;
    align-items: center;
    margin-top: 20px;
}

.continue-shopping:hover {
    color: #666 !important;
}

/* You May Be Interested In Section */
.interested-section {
    margin-top: 80px;
    margin-bottom: 60px;
    max-width: 1100px;
    margin-left: auto;
    margin-right: auto;
}

.interested-heading {
    font-size: 2.8rem;
    font-weight: 700;
    color: #1d1d1d;
    margin-bottom: 35px;
    font-family: "Georgia", serif;
}

.interested-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: 4px;
    display: flex;
    padding: 25px;
    gap: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.interested-card:hover {
    transform: translateY(-5px);
}

.interested-image {
    flex: 0 0 280px;
    height: 280px;
}

.interested-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.interested-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.interested-title {
    font-size: 1.8rem;
    color: #446084;
    margin-bottom: 10px;
    font-weight: 400;
    font-family: serif;
}

.interested-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 20px;
}

.interested-desc {
    color: #777;
    font-size: 1.05rem;
    line-height: 1.5;
    margin-bottom: 25px;
    max-width: 90%;
}

.interested-btn {
    background-color: #6c5ce7;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 1.1rem;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
}

.interested-btn i {
    font-size: 1.2rem;
}

.interested-btn:hover {
    background-color: #5b4cc4;
    color: #fff;
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.4);
}

/* Responsive Interested Section */
@media (max-width: 992px) {
    .interested-card {
        padding: 20px;
        gap: 20px;
    }

    .interested-image {
        flex: 0 0 220px;
        height: 220px;
    }
}

@media (max-width: 768px) {
    .interested-card {
        flex-direction: column;
        align-items: center;
        text-align: left;
    }

    .interested-image {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        flex: none;
    }

    .interested-content {
        width: 100%;
    }

    .interested-heading {
        font-size: 2.2rem;
        text-align: center;
    }

    .interested-btn {
        width: 100%;
        justify-content: center;
    }

    .interested-desc {
        max-width: 100%;
    }
}