.header-banner {
    padding: 60px 20px 40px;
    position: relative;
    overflow: hidden;
    background-repeat: no-repeat !important;
    background-size: cover;
    background-position: center;
}

small.text-error {
    color: red;
    margin-top: 4px;
    margin-left: 2px;
}

.header-banner::after {}

.header-banner h1 {
    font-size: 41px;
    font-weight: 700;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.breadcrumb {
    display: flex;
    gap: 10px;
    align-items: center;
    font-size: 20px;
    color: #666;
    position: relative;
    z-index: 1;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
    font-size: 20px;
}

.breadcrumb a:hover {
    color: #333;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 335px;
    gap: 20px;
    align-items: start;
    margin-top: 25px;
}

.cart-table-wrapper {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #cdcdcd54;
}

.cart-table {
    width: 100%;
    border-collapse: collapse;
}

.cart-table thead {
    background-color: #eeeeee;
}

.cart-table th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}

.cart-table td {
    padding: 25px 20px;
    border-bottom: 1px solid #f0f0f0;
    vertical-align: middle;
}

.cart-table tbody tr:last-child td {
    border-bottom: none;
}

.product-cell {
    display: flex;
    gap: 20px;
    align-items: center;
}

.product-image {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

.product-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1a1a1a;
}

.product-status {
    display: inline-block;
    color: #22c55e;
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 4px;
}

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

.product-meta {
    color: #999;
    font-size: 14px;
}

.price-cell {
    font-size: 20px;
    font-weight: 600;
    color: #000000;
}

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

.quantity-control {
    display: inline-flex;
    align-items: center;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-control button {
    width: 36px;
    height: 36px;
    border: none;
    background: white;
    color: #666;
    cursor: pointer;
    font-size: 25px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: unset;
}

.quantity-control button:hover {
    background: #f5f5f5;
    color: #333;
}

.quantity-control input {
    width: 40px;
    border: none;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    -moz-appearance: textfield;
}

.quantity-control input::-webkit-outer-spin-button,
.quantity-control input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.total-cell {
    font-size: 18px;
    font-weight: 600;
    color: #1a1a1a;
}

.remove-cell {
    text-align: center;
}

.remove-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #fee;
    color: #ef4444;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    padding: unset;
    justify-content: center;
}

.remove-btn:hover {
    background: #fdd;
    transform: scale(1.05);
}

.cart-summary {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    font-size: 18px;
}

.summary-row.subtotal {
    border-bottom: 1px solid #f0f0f0;
}

.summary-row.tax {
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.summary-row.total {
    padding-top: 20px;
    font-size: 20px;
    font-weight: 700;
}

.summary-row .label {
    font-weight: 500;
}

.summary-row .value {
    font-weight: 600;
    font-size: 18px;
}

.summary-row.total .value {
    font-size: 18px;
    color: #1a1a1a;
}

.shipping-note {
    color: #888;
    font-size: 15px;
    margin-top: -10px;
    padding-bottom: 20px;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #1a1a1a;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    margin-bottom: 15px;
    width: 100%;
    display: block;
    text-align: center;
}

.checkout-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.continue-shopping {
    text-align: center;
    margin-top: 0px;
}

.continue-shopping a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.continue-shopping a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.cart-summary h2 {
    font-size: 23px;
}

@media (max-width: 1200px) {
    .cart-layout {
        grid-template-columns: 1fr 340px;
    }
}

@media (max-width: 968px) {
    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-banner h1 {
        font-size: 2rem;
    }

    .cart-table-wrapper {
        overflow-x: auto;
    }

    .cart-table {
        min-width: 650px;
    }

    .product-cell {
        gap: 12px;
        /* flex-direction: column; */
        align-items: start;
    }

    .product-image {
        width: 85px;
        height: 85px;
    }

    .product-info h3 {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .header-banner {
        padding: 40px 15px 30px;
    }

    .header-banner h1 {
        font-size: 1.75rem;
    }

    .container {
        padding: 20px 15px;
    }

    .cart-summary {
        padding: 20px;
    }

    .summary-row {
        padding: 12px 0;
    }
}


.checkout {
    display: grid;
    grid-template-columns: 1fr 500px;
    gap: 20px;
    align-items: start;
    padding: 30px 0px;
}

.checkout .checkout__left {
    background-color: #fff;
    padding: 23px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.checkout .checkout__right {
    position: sticky;
    top: 20px;
}

.checkout .section-title {
    font-size: 25px;
    font-weight: 600;
    margin-bottom: 17px;
    color: #1a1a1a;
    margin-top: 20px;
}

.checkout .login-prompt {
    color: #666;
    margin-bottom: 20px;
    font-size: 18px;
}

.checkout .login-link {
    color: #000;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 0px;
}

.checkout .login-link:hover {
    text-decoration: underline;
}

.checkout .shipping-section,
.checkout .billing-section,
.checkout .payment-section {
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e5e5e5;
}

.checkout .payment-section {
    border-bottom: none;
}

.checkout .checkout-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.checkout .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.checkout .form-group {
    display: flex;
    flex-direction: column;
}

.checkout .form-group--email {
    flex: 1;
}

.checkout .form-group--phone {
    flex: 1;
}

.checkout .form-group--half {
    flex: 1;
}

.checkout .form-label {
    font-size: 19px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #333;
}

.checkout .form-input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s;
    height: 45px;
    background-color: #fff;
}

.checkout .form-input:focus {
    outline: none;
    border-color: #4a90e2;
}

.checkout .form-input--phone {
    border: none;
    padding: 0;
}

.checkout .phone-input {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding-left: 10px;
}

.checkout .phone-input__flag {
    font-size: 18px;
}

.checkout .phone-input__code {
    color: #666;
    font-size: 14px;
}

.checkout .form-textarea {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 18px;
    font-family: inherit;
    resize: vertical;
    width: 100%;
}

.checkout .form-textarea:focus {
    outline: none;
    border-color: #4a90e2;
}

.checkout .form-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 20px;
}

.checkout .checkbox-input {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkout .checkbox-label {
    font-size: 18px;
    color: #333;
    cursor: pointer;
    font-weight: 500;
    line-height: 1.2;
}

.checkout .payment-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.checkout .payment-option {
    border: 1px solid #d1d5db;
    border-radius: 6px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
}

.checkout .payment-option:has(.payment-radio:checked) {
    border-color: #4a90e2;
    background-color: #f0f7ff;
}

.checkout .payment-option__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.checkout .payment-radio {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkout .payment-option__text {
    flex: 1;
    font-size: 20px;
    color: #333;
}

.checkout .payment-option__logo {
    height: 24px;
    width: auto;
}

.checkout .payment-option__note {
    margin-top: 0px;
    margin-left: 0px;
    font-size: 17px;
    color: #666;
    line-height: 1.5;
    font-weight: 400;
}

.checkout .terms-text {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

.checkout .terms-link {
    color: #4a90e2;
    text-decoration: none;
}

.checkout .terms-link:hover {
    text-decoration: underline;
}

.checkout .checkout-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
}

.checkout .btn-back {
    color: #666;
    text-decoration: none;
    font-size: 18px;
    padding: 12px 24px;
    border-radius: 6px;
    transition: background-color 0.2s;
    padding-left: 0px;
}

.checkout .btn-back:hover {
    background-color: #f5f5f5;
}

.checkout .btn-checkout {
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 50px;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkout .btn-checkout:hover {
    background-color: #1d4ed8;
}

.checkout .order-summary {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.checkout .order-summary__header {
    background-color: #e9e9e9;
    padding: 15px 24px 15px;
}

.checkout .order-summary__title {
    font-size: 21px;
    font-weight: 600;
    color: #333;
}

.checkout .store-info {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background-color: #fef3c7;
}

.checkout .store-info__icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.checkout .store-info__name {
    font-weight: 600;
    font-size: 14px;
    display: block;
    margin-bottom: 4px;
}

.checkout .store-info__rating {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
}

.checkout .stars {
    color: #fbbf24;
    font-size: 12px;
}

.checkout .store-info__reviews {
    color: #666;
}

.checkout .product-item {
    display: flex;
    gap: 16px;
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
    position: relative;
}

.checkout .product-item__badge {
    position: absolute;
    top: 24px;
    left: 24px;
    width: 24px;
    height: 24px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.checkout .product-item__image {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 6px;
    margin-left: 30px;
}

.checkout .product-item__details {
    flex: 1;
}

.checkout .product-item__name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
    color: #333;
}

.checkout .product-item__specs {
    font-size: 16px;
    color: #666;
    margin-bottom: 12px;
}

.checkout .product-item__quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout .qty-btn {
    width: 28px;
    height: 28px;
    border: 1px solid #d1d5db;
    background-color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
    padding: unset;
}

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

.checkout .qty-input {
    width: 50px;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 4px;
    padding: 6px;
    font-size: 14px;
}

.checkout .product-item__price {
    text-align: right;
}

.checkout .product-item__current {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.checkout .product-item__original {
    display: block;
    font-size: 16px;
    color: #666;
}

.checkout .shipping-method {
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.checkout .shipping-method__title {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
}

.checkout .shipping-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    cursor: pointer;
}

.checkout .shipping-radio {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkout .shipping-option__text {
    font-size: 17px;
    color: #333;
    font-weight: 500;
}

.checkout .order-totals {
    padding: 24px;
    border-bottom: 1px solid #e5e5e5;
}

.checkout .order-totals__row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-size: 19px;
    color: #666;
}

.checkout .order-totals__row--total {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #e5e5e5;
}

.checkout .order-totals__amount {
    color: #2563eb;
}

.checkout .coupon-section {
    padding: 24px;
}

.checkout .coupon-toggle {
    width: 100%;
    background-color: #fff;
    border: 1px dashed #d1d5db;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 20px;
    font-weight: 500;
    color: #333;
    text-align: left;
    transition: background-color 0.2s;
    margin-bottom: 16px;
}

.checkout .coupon-toggle:hover {
    background-color: #f9fafb;
}

.checkout .coupon-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
    max-height: 400px;
    overflow-y: auto;
}

.checkout .coupon-item {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.checkout .coupon-item__badge {
    background-color: #dc2626;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 18px;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
}

.checkout .coupon-item__price {
    background-color: #10b981;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    min-width: 80px;
    text-align: center;
}

.checkout .coupon-item__info {
    flex: 1;
}

.checkout .coupon-item__details {
    flex: 1;
}

.checkout .coupon-item__desc {
    font-size: 18px;
    color: #666;
    margin-bottom: 8px;
    line-height: 1.5;
}

.checkout .coupon-item__code-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkout .coupon-item__code {
    background-color: #f3f4f6;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 15px;
    font-family: 'Courier New', monospace;
    color: #333;
    border: 1px dashed #d1d5db;
}

.checkout .coupon-item__btn {
    background-color: #2563eb;
    color: #fff;
    border: none;
    padding: 8px 26px;
    border-radius: 4px;
    font-size: 17px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.checkout .coupon-item__btn:hover {
    background-color: #1d4ed8;
}

.checkout .coupon-link {
    display: block;
    text-align: center;
    color: #4a90e2;
    font-size: 22px;
    text-decoration: none;
    padding: 8px;
}

.checkout .coupon-link:hover {
    text-decoration: underline;
}

@media (max-width: 1200px) {
    .checkout .checkout {
        grid-template-columns: 1fr;
    }

    .checkout .checkout__right {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {

    .checkout {
        grid-template-columns: 1fr;
    }

    .checkout .container {
        padding: 0 16px;
    }

    .checkout .main {
        padding: 20px 0;
    }

    .checkout .checkout__left {
        padding: 24px 16px;
    }

    .checkout .form-row {
        grid-template-columns: 1fr;
    }

    .checkout .section-title {
        font-size: 20px;
    }

    .checkout .checkout-actions {
        flex-direction: column-reverse;
        gap: 12px;
    }

    .checkout .btn-checkout,
    .checkout .btn-back {
        width: 100%;
        text-align: center;
    }

    .checkout .product-item {
        flex-wrap: wrap;
    }

    .checkout .product-item__badge {
        top: 16px;
        left: 16px;
    }

    .checkout .product-item__image {
        margin-left: 30px;
    }

    .checkout .product-item__price {
        width: 100%;
        text-align: left;
        margin-top: 12px;
    }
}

@media (max-width: 480px) {
    .checkout .header__title {
        font-size: 24px;
    }

    .checkout .order-summary__header,
    .checkout .store-info,
    .checkout .product-item,
    .checkout .shipping-method,
    .checkout .order-totals,
    .checkout .coupon-section {
        padding: 16px;
    }

    .checkout .coupon-item {
        flex-direction: column;
    }

    .checkout .coupon-item__badge,
    .checkout .coupon-item__price {
        align-self: flex-start;
    }
}

.checkout .order-summary .product-item:after {
    content: "";
    background: none;
    display: none;
}

section.shipping-section h2 {
    margin-top: 0px !important;
}

div#passwordSection input {
    padding: 12px 16px;
    border: 1px solid #d1d5db;
    border-radius: 5px;
    font-size: 14px;
    width: 100%;
    transition: border-color 0.2s;
    height: 45px;
}

div#passwordSection {
    gap: 15px;
}

div#passwordSection input:focus {
    outline: none;
    border-color: #4a90e2;
}
