/* Minimal Cart Design - Premium E-commerce Style */

/* Container */
.minimal-cart-container {
    background: #ffffff;
    min-height: 100vh;
    padding: 40px 0 80px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: #2c2c2c;
    font-size: 14px;
}

/* Cart Header */
.cart-minimal-header {
    text-align: center;
    margin-bottom: 50px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.cart-minimal-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #2c2c2c;
    margin: 0;
    font-family: Georgia, serif;
}

/* Table Header */
.cart-table-header {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 20px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #666;
}

.header-product {
    text-align: left;
}

.header-quantity {
    text-align: center;
}

.header-total {
    text-align: right;
}

/* Cart Item */
.cart-minimal-item {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 20px;
    padding: 30px 0;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
}

/* Product Column */
.item-product {
    display: flex;
    gap: 20px;
}

.product-image-wrapper {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    border: 1px solid #e5e5e5;
    border-radius: 1px;
    overflow: hidden;
    background: #fafafa;
}

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

.product-info {
    flex: 1;
}

.product-title {
    font-size: 15px;
    font-weight: 400;
    color: #2c2c2c;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.product-options-minimal {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
}

.option-item {
    font-size: 13px;
    color: #666;
    display: block;
    white-space: pre-wrap;
}

.product-price {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
}

.option-item.option-more {
    color: #999;
    font-size: 12px;
    font-style: italic;
}

.btn-remove-minimal {
    background: none;
    border: none;
    color: #999;
    font-size: 13px;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s;
}

.btn-remove-minimal:hover {
    color: #d32f2f;
}

/* Quantity Column */
.item-quantity-minimal {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 5px;
}

.quantity-selector-minimal {
    display: inline-flex;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn {
    width: 36px;
    height: 36px;
    border: none;
    background: #ffffff;
    color: #666;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #f5f5f5;
    color: #2c2c2c;
}

.qty-input {
    width: 50px;
    height: 36px;
    border: none;
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    text-align: center;
    font-size: 14px;
    color: #2c2c2c;
    background: #ffffff;
}

/* Total Column */


.item-total-minimal {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    text-align: left;
    padding-top: 15px;
    flex-wrap: wrap;
}

.total-action-buttons {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
}

.total-action-buttons .btn-remove-minimal {
    font-size: 14px;
}

@media (min-width: 992px) {
    .item-total-minimal {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-start;
        text-align: right;
        gap: 8px;
    }

    .total-action-buttons {
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        gap: 8px;
    }
}

/* Cart Item Actions Wrapper */
.cart-item-actions {
    display: contents;
}

/* Order Summary */
.order-summary-minimal {
    position: sticky;
    top: 20px;
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    padding: 30px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 15px;
}

.summary-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.summary-value-large {
    font-size: 20px;
    font-weight: 500;
    color: #2c2c2c;
}

.summary-shipping-note {
    font-size: 12px;
    color: #999;
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e5e5e5;
}

.order-note-section {
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-note-label {
    font-size: 11px;
    letter-spacing: 1px;
    font-weight: 600;
    text-transform: uppercase;
    color: #666;
}

.order-note-textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 4px;
    font-size: 13px;
    color: #2c2c2c;
    resize: vertical;
    font-family: inherit;
}

.order-note-textarea:focus {
    outline: none;
    border-color: #2c2c2c;
}

.order-note-help {
    font-size: 11px;
    color: #999;
}

/* Checkout Button */
.btn-checkout-minimal {
    width: 100%;
    padding: 16px;
    background: #ea580c;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    margin-bottom: 20px;
    box-shadow: 0 8px 16px rgba(234, 88, 12, 0.25);
}

.btn-checkout-minimal:hover {
    background: #c2410c;
    transform: translateY(-1px);
    box-shadow: 0 10px 18px rgba(194, 65, 12, 0.28);
}

.btn-checkout-minimal:active {
    transform: translateY(0);
    box-shadow: 0 6px 12px rgba(194, 65, 12, 0.24);
}

/* Payment Icons */
.payment-icons {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #e5e5e5;
}

.payment-label {
    display: block;
    font-size: 11px;
    color: #999;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.payment-icon {
    width: 38px;
    height: 24px;
    object-fit: contain;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.payment-icon:hover {
    opacity: 1;
}

/* Empty Cart */
.empty-cart-minimal {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-icon {
    font-size: 64px;
    color: #e5e5e5;
    margin-bottom: 20px;
}

.empty-cart-title {
    font-size: 24px;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 12px;
}

.empty-cart-text {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
}

.btn-start-shopping-minimal {
    display: inline-block;
    padding: 14px 40px;
    background: #2c2c2c;
    color: #ffffff;
    text-decoration: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: background 0.2s;
}

.btn-start-shopping-minimal:hover {
    background: #1a1a1a;
    color: #ffffff;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 991px) {
    .cart-table-header {
        display: none;
    }

    .cart-minimal-item {
        grid-template-columns: 1fr;
        gap: 0;
        padding: 20px 0;
        display: flex;
        flex-direction: column;
    }

    /* Mobilde görsel solda küçük, bilgiler sağda */
    .item-product {
        flex-direction: row;
        gap: 15px;
        width: 100%;
        margin-bottom: 15px;
    }

    .product-image-wrapper {
        width: 120px;
        height: 120px;
        flex-shrink: 0;
        border-radius: 8px;
    }

    .product-info {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
    }

    .product-title {
        font-size: 15px;
        margin-bottom: 6px;
        line-height: 1.3;
    }

    .product-options-minimal {
        margin-bottom: 6px;
    }

    .option-item {
        font-size: 12px;
    }

    .product-price {
        font-size: 14px;
        margin-bottom: 8px;
        color: #666;
    }

    /* Quantity, Total ve Remove tek satırda yan yana */
    .cart-item-actions {
        display: flex !important;
        align-items: center;
        gap: 12px;
        width: 100%;
        margin-top: 12px;
    }

    .item-quantity-minimal {
        display: inline-flex;
        align-items: center;
        padding-top: 0;
        margin-right: 0;
    }

    .quantity-selector-minimal {
        border: 1px solid #e5e5e5;
        border-radius: 4px;
    }

    .qty-btn {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }

    .qty-input {
        width: 45px;
        height: 32px;
        font-size: 13px;
    }

    .item-total-minimal {
        display: inline-flex;
        align-items: center;
        text-align: left;
        padding-top: 0;
        margin-right: auto;
    }

    .total-amount {
        font-size: 16px;
        font-weight: 600;
    }

    .order-summary-minimal {
        position: static;
        margin-top: 30px;
        padding: 25px;
    }

    .summary-value-large {
        font-size: 22px;
    }
}

@media (max-width: 576px) {
    .minimal-cart-container {
        padding: 20px 15px 40px;
    }

    .cart-minimal-header {
        margin-bottom: 25px;
        padding-bottom: 15px;
    }

    .cart-minimal-title {
        font-size: 28px;
    }

    .cart-minimal-item {
        padding: 20px 0;
        border-bottom: 1px solid #e5e5e5;
    }

    /* Mobilde görsel daha küçük */
    .item-product {
        gap: 12px;
        margin-bottom: 12px;
    }

    .product-image-wrapper {
        width: 100px;
        height: 100px;
    }

    .product-title {
        font-size: 14px;
        margin-bottom: 5px;
    }

    .option-item {
        font-size: 11px;
    }

    .product-price {
        font-size: 13px;
        margin-bottom: 6px;
    }

    .btn-remove-minimal {
        font-size: 11px;
        padding: 5px 10px;
    }

    /* Quantity, Total ve Remove yan yana */
    .cart-item-actions {
        gap: 10px;
        margin-top: 10px;
    }

    .item-quantity-minimal {
        margin-right: 0;
    }

    .qty-btn {
        width: 30px;
        height: 30px;
        font-size: 13px;
    }

    .qty-input {
        width: 40px;
        height: 30px;
        font-size: 12px;
    }

    .total-amount {
        font-size: 15px;
    }

    /* Order Summary */
    .order-summary-minimal {
        padding: 20px;
        border-radius: 8px;
    }

    .summary-row {
        margin-bottom: 12px;
    }

    .summary-label {
        font-size: 13px;
    }

    .summary-value-large {
        font-size: 20px;
    }

    .summary-shipping-note {
        font-size: 11px;
        margin-bottom: 18px;
        padding-bottom: 18px;
    }

    .order-note-section {
        margin-bottom: 20px;
    }

    .order-note-label {
        font-size: 10px;
    }

    .order-note-textarea {
        font-size: 14px;
        padding: 10px;
    }

    .btn-checkout-minimal {
        padding: 14px;
        font-size: 12px;
        letter-spacing: 1px;
    }

    .payment-icons {
        padding-top: 15px;
    }

    .payment-label {
        font-size: 10px;
        margin-bottom: 10px;
    }

    .payment-methods {
        gap: 6px;
    }

    .payment-icon {
        width: 34px;
        height: 22px;
    }
}
