/* ============================================================
   Velgrina Cart Page — Production CSS
   Brand: teal #2E7D8C, black #1E2022, border #D1D5DB, bg #F4F5F4
   ============================================================ */

/* --- Page container --- */
.checkout-cart-index .page-main {
    max-width: 1300px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 768px) {
    .checkout-cart-index .page-main {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* ============================================================
   LAYOUT: Cart wrapper (items left, summary right)
   ============================================================ */
.velgrina-cart {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding-bottom: 6rem;
}

@media (min-width: 1024px) {
    .velgrina-cart {
        flex-direction: row;
        gap: 2rem;
        align-items: flex-start;
        padding-bottom: 2rem;
    }
}

.velgrina-cart__main {
    flex: 1;
    min-width: 0;
}

.velgrina-cart__sidebar {
    width: 100%;
}

@media (min-width: 1024px) {
    .velgrina-cart__sidebar {
        width: 380px;
        flex-shrink: 0;
        position: sticky;
        top: 1rem;
    }
}

/* ============================================================
   CART HEADER
   ============================================================ */
.velgrina-cart__header {
    margin-bottom: 1.25rem;
}

.velgrina-cart__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.375rem;
    font-weight: 600;
    color: #1E2022;
    letter-spacing: -0.01em;
    margin: 0;
}

@media (min-width: 768px) {
    .velgrina-cart__title {
        font-size: 1.625rem;
    }
}

.velgrina-cart__title-icon {
    width: 1.5rem;
    height: 1.5rem;
    color: #2E7D8C;
    flex-shrink: 0;
}

.velgrina-cart__count {
    font-weight: 400;
    color: #6B7280;
    font-size: 1rem;
}

/* ============================================================
   CART ITEMS LIST
   ============================================================ */
.velgrina-cart-item-wrap {
    list-style: none;
}

.velgrina-cart-item-wrap + .velgrina-cart-item-wrap {
    border-top: 1px solid #D1D5DB;
}

/* ============================================================
   CART ITEM
   ============================================================ */
.velgrina-cart-item {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 0;
}

@media (min-width: 768px) {
    .velgrina-cart-item {
        gap: 1.5rem;
        padding: 1.5rem 0;
    }
}

/* --- Item Image --- */
.velgrina-cart-item__img {
    display: block;
    width: 100px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background-color: #F4F5F4;
}

@media (min-width: 768px) {
    .velgrina-cart-item__img {
        width: 120px;
        height: 145px;
    }
}

.velgrina-cart-item__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* --- Item Info --- */
.velgrina-cart-item__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.velgrina-cart-item__top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.velgrina-cart-item__details {
    flex: 1;
    min-width: 0;
}

/* --- Item Name --- */
.velgrina-cart-item__name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1E2022;
    line-height: 1.4;
    margin: 0 0 0.375rem;
}

@media (min-width: 768px) {
    .velgrina-cart-item__name {
        font-size: 1rem;
    }
}

.velgrina-cart-item__name a {
    color: inherit;
    text-decoration: none;
}

.velgrina-cart-item__name a:hover {
    color: #2E7D8C;
}

/* --- Campaign discount badge in cart --- */
.velgrina-cart-item__discount-badge {
    display: inline-flex;
    align-items: center;
    background: var(--cb, #E84044);
    color: var(--ct, #fff);
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    padding: 2px 8px;
    margin-bottom: 4px;
}

/* --- Delivery --- */
.velgrina-cart-item__delivery {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #2E7D8C;
    margin: 0 0 0.5rem;
}

.velgrina-cart-item__delivery svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

/* --- Options --- */
.velgrina-cart-item__options {
    margin: 0.375rem 0 0;
}

.velgrina-cart-item__option {
    display: flex;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #6B7280;
    line-height: 1.5;
}

.velgrina-cart-item__option dt {
    font-weight: 500;
    color: #4B5563;
    white-space: nowrap;
}

.velgrina-cart-item__option dd {
    margin: 0;
}

/* --- Messages --- */
.velgrina-cart-item__message {
    font-size: 0.8125rem;
    padding: 0.375rem 0.625rem;
    border-radius: 0.25rem;
    margin-top: 0.375rem;
}

.velgrina-cart-item__message--error {
    background-color: #FEF2F2;
    color: #B91C1C;
}

.velgrina-cart-item__message--notice {
    background-color: #FFFBEB;
    color: #92400E;
}

/* --- Price --- */
.velgrina-cart-item__price {
    flex-shrink: 0;
    text-align: right;
    font-size: 1rem;
    font-weight: 600;
    color: #1E2022;
    white-space: nowrap;
}

@media (min-width: 768px) {
    .velgrina-cart-item__price {
        font-size: 1.0625rem;
    }
}

/* --- Bottom row: actions + qty --- */
.velgrina-cart-item__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: 0.75rem;
}

/* --- Actions (remove/edit) --- */
.velgrina-cart-item__actions {
    display: flex;
    gap: 0.75rem;
}

.velgrina-cart-item__actions a,
.velgrina-cart-item__actions button {
    font-size: 0.8125rem;
    color: #9CA3AF;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.15s ease;
}

.velgrina-cart-item__actions a:hover,
.velgrina-cart-item__actions button:hover {
    color: #B91C1C;
}

/* --- Quantity Selector --- */
.velgrina-cart-item__qty {
    display: flex;
    align-items: center;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    overflow: hidden;
    height: 2.25rem;
}

.velgrina-cart-item__qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2.25rem;
    height: 100%;
    background: #F4F5F4;
    border: none;
    color: #1E2022;
    font-size: 1.125rem;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.15s ease, color 0.15s ease;
    padding: 0;
    line-height: 1;
}

.velgrina-cart-item__qty-btn:hover:not(:disabled) {
    background-color: #2E7D8C;
    color: #fff;
}

.velgrina-cart-item__qty-btn:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.velgrina-cart-item__qty-input {
    width: 2.75rem;
    height: 100%;
    text-align: center;
    border: none;
    border-left: 1px solid #D1D5DB;
    border-right: 1px solid #D1D5DB;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #1E2022;
    background: #fff;
    padding: 0;
    -moz-appearance: textfield;
    appearance: textfield;
}

.velgrina-cart-item__qty-input::-webkit-outer-spin-button,
.velgrina-cart-item__qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.velgrina-cart-item__qty-input:focus {
    outline: 2px solid #2E7D8C;
    outline-offset: -2px;
}

/* ============================================================
   SUMMARY SIDEBAR
   ============================================================ */
.velgrina-cart__summary {
    background-color: #F4F5F4;
    border: 1px solid #D1D5DB;
    border-radius: 0.75rem;
    padding: 1.5rem;
}

.velgrina-cart__summary-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1E2022;
    margin: 0 0 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #D1D5DB;
}

/* ============================================================
   TOTALS
   ============================================================ */
.velgrina-totals {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.velgrina-totals__row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9375rem;
    color: #4B5563;
}

.velgrina-totals__row--grand {
    padding-top: 0.75rem;
    margin-top: 0.375rem;
    border-top: 2px solid #1E2022;
    font-size: 1.125rem;
    font-weight: 700;
    color: #1E2022;
}

.velgrina-totals__row--discount {
    color: #1E2022;
    font-weight: 500;
}

.velgrina-totals__row--discount > span:last-child {
    color: #2E7D8C;
    font-size: 0.9375rem;
    font-weight: 700;
}

.velgrina-totals__row--discount small {
    display: inline-block;
    margin-left: 0.25rem;
    color: #6B7280;
    font-size: 0.75rem;
    font-weight: 400;
}

.velgrina-totals__discount-source {
    display: inline-flex;
    align-items: center;
    background: var(--cb, #E84044);
    color: var(--ct, #fff);
    font-size: 0.5625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 2px 6px;
    margin-left: 6px;
    vertical-align: middle;
}

.velgrina-totals__discount-amount {
    color: #2E7D8C;
    font-size: 0.9375rem;
    font-weight: 700;
}

.velgrina-totals__free {
    color: #2E7D8C;
    font-weight: 600;
}

/* Campaign sub-label below the discount row */
.velgrina-totals__campaign-sub {
    font-size: 0.6875rem;
    color: #9CA3AF;
    font-weight: 400;
    margin-top: -6px;
    margin-bottom: 4px;
    padding-left: 0;
}

/* Original subtotal (strikethrough when savings exist) */
.velgrina-totals__original-price {
    text-decoration: line-through;
    color: #9CA3AF;
    font-weight: 400;
    font-size: 0.875rem;
}

/* Net subtotal row after campaign discount */
.velgrina-totals__row--net {
    font-weight: 500;
    color: #6B7280;
    font-size: 0.8125rem;
}

/* Cart item campaign badge — more prominent */
.velgrina-cart-item__discount-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--cb, #E84044);
    color: var(--ct, #fff);
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    margin-bottom: 3px;
}

.velgrina-totals__note {
    font-size: 0.75rem;
    color: #9CA3AF;
    margin: 0.625rem 0 0;
}

/* ============================================================
   SHIPPING PROGRESS BAR
   ============================================================ */
.velgrina-cart__shipping-bar {
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #D1D5DB;
}

.velgrina-cart__shipping-free {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2E7D8C;
    font-size: 0.875rem;
    font-weight: 600;
}

.velgrina-cart__shipping-free svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
}

.velgrina-cart__shipping-msg {
    font-size: 0.875rem;
    color: #4B5563;
    margin: 0 0 0.625rem;
}

.velgrina-cart__shipping-msg span {
    font-weight: 700;
    color: #2E7D8C;
}

.velgrina-cart__progress-track {
    width: 100%;
    height: 0.5rem;
    background-color: #E5E7EB;
    border-radius: 9999px;
    overflow: hidden;
}

.velgrina-cart__progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2E7D8C, #3A9BAD);
    border-radius: 9999px;
    transition: width 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.velgrina-cart__ship-today {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.875rem;
    padding: 0.625rem 0.75rem;
    border: 1px solid #BAE6FD;
    border-radius: 8px;
    background: #F0F9FF;
    color: #0369A1;
    font-size: 0.8125rem;
    line-height: 1.4;
}

.velgrina-cart__ship-today-main {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    min-width: 0;
}

.velgrina-cart__ship-today-icon {
    flex-shrink: 0;
    margin-top: 1px;
}

.velgrina-cart__ship-today-copy strong {
    font-weight: 800;
}

.velgrina-cart__ship-today-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-left: 1.625rem;
}

.velgrina-cart__ship-today-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    padding: 0.1875rem 0.625rem;
    border-radius: 9999px;
    background: #16A34A;
    color: #FFFFFF;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.3;
    white-space: nowrap;
}

.velgrina-cart__ship-today-logo {
    width: auto;
    height: 1.25rem;
    flex-shrink: 0;
}

@media (min-width: 420px) {
    .velgrina-cart__ship-today {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }

    .velgrina-cart__ship-today-main {
        flex: 1 1 auto;
    }

    .velgrina-cart__ship-today-meta {
        flex: 0 0 auto;
        padding-left: 0;
    }
}

/* ============================================================
   DESKTOP CHECKOUT CTA (inside sidebar)
   ============================================================ */
.velgrina-cart__checkout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    width: 100%;
    padding: 1rem 1.5rem;
    margin-top: 1.25rem;
    background: #2E7D8C;
    color: #FFFFFF;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px rgba(46, 125, 140, 0.25);
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.velgrina-cart__checkout-btn:hover,
.velgrina-cart__checkout-btn:focus {
    background: #246876;
    color: #FFFFFF;
    box-shadow: 0 6px 18px rgba(46, 125, 140, 0.35);
}
.velgrina-cart__checkout-btn:active {
    transform: translateY(1px);
}
.velgrina-cart__checkout-arrow {
    width: 1.125rem;
    height: 1.125rem;
    transition: transform 0.2s ease;
}
.velgrina-cart__checkout-btn:hover .velgrina-cart__checkout-arrow {
    transform: translateX(3px);
}

/* ============================================================
   TRUST BADGES (under checkout CTA)
   ============================================================ */
.velgrina-cart__trust {
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.velgrina-cart__trust-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    color: #4B5563;
    line-height: 1.4;
}
.velgrina-cart__trust-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
    color: #2E7D8C;
}

/* ============================================================
   COUPON
   ============================================================ */
.velgrina-coupon {
    margin-top: 1rem;
}

.velgrina-coupon__form {
    margin: 0;
}

.velgrina-coupon__row {
    display: flex;
    align-items: center;
    gap: 0;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.15s ease;
}

.velgrina-coupon__row:focus-within {
    border-color: #2E7D8C;
    box-shadow: 0 0 0 3px rgba(46, 125, 140, 0.1);
}

.velgrina-coupon__icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #9CA3AF;
    flex-shrink: 0;
    margin-left: 0.75rem;
}

.velgrina-coupon__input {
    flex: 1;
    border: none;
    padding: 0.6875rem 0.75rem;
    font-size: 0.875rem;
    color: #1E2022;
    background: transparent;
    min-width: 0;
}

.velgrina-coupon__input::placeholder {
    color: #9CA3AF;
}

.velgrina-coupon__input:focus {
    outline: none;
}

.velgrina-coupon__input:disabled {
    background-color: #F9FAFB;
    color: #6B7280;
}

.velgrina-coupon__btn {
    flex-shrink: 0;
    padding: 0.6875rem 1.25rem;
    background-color: #2E7D8C;
    color: #fff;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: background-color 0.15s ease;
    white-space: nowrap;
}

.velgrina-coupon__btn:hover {
    background-color: #256A77;
}

.velgrina-coupon__btn--cancel {
    background-color: #6B7280;
}

.velgrina-coupon__btn--cancel:hover {
    background-color: #4B5563;
}

/* ============================================================
   MOBILE UPSELL (below sidebar on mobile)
   ============================================================ */
.velgrina-cart__mobile-upsell {
    display: block;
    order: 3;
}

@media (min-width: 1024px) {
    .velgrina-cart__mobile-upsell {
        display: none;
    }
}

/* Hide desktop upsell on mobile (rendered inside __main) */
.velgrina-cart__main > .velgrina-cart-upsell {
    display: none;
}

@media (min-width: 1024px) {
    .velgrina-cart__main > .velgrina-cart-upsell {
        display: block;
    }
}

/* ============================================================
   UPSELL CAROUSEL
   ============================================================ */
.velgrina-cart-upsell {
    margin-top: 2rem;
}

.velgrina-cart-upsell__header {
    margin-bottom: 1rem;
}

.velgrina-cart-upsell__title {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1E2022;
    margin: 0;
}

.velgrina-cart-upsell__title-icon {
    width: 1.25rem;
    height: 1.25rem;
    color: #2E7D8C;
    flex-shrink: 0;
}

/* Horizontal scroll container */
.velgrina-cart-upsell__scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #D1D5DB transparent;
    padding-bottom: 0.5rem;
}

.velgrina-cart-upsell__scroll::-webkit-scrollbar {
    height: 4px;
}

.velgrina-cart-upsell__scroll::-webkit-scrollbar-track {
    background: transparent;
}

.velgrina-cart-upsell__scroll::-webkit-scrollbar-thumb {
    background-color: #D1D5DB;
    border-radius: 9999px;
}

/* --- Upsell Card --- */
.velgrina-cart-upsell__card {
    flex: 0 0 160px;
    scroll-snap-align: start;
    border: 1px solid #D1D5DB;
    border-radius: 0.5rem;
    overflow: hidden;
    background: #fff;
    display: flex;
    flex-direction: column;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

@media (min-width: 768px) {
    .velgrina-cart-upsell__card {
        flex: 0 0 180px;
    }
}

.velgrina-cart-upsell__card:hover {
    border-color: #2E7D8C;
    box-shadow: 0 2px 8px rgba(46, 125, 140, 0.1);
}

.velgrina-cart-upsell__card-img {
    display: block;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    background-color: #F4F5F4;
}

.velgrina-cart-upsell__card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.velgrina-cart-upsell__card:hover .velgrina-cart-upsell__card-img img {
    transform: scale(1.04);
}

.velgrina-cart-upsell__card-info {
    padding: 0.625rem 0.625rem 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.velgrina-cart-upsell__card-name {
    font-size: 0.8125rem;
    font-weight: 500;
    color: #1E2022;
    text-decoration: none;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.velgrina-cart-upsell__card-name:hover {
    color: #2E7D8C;
}

.velgrina-cart-upsell__card-prices {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: auto;
    padding-top: 0.25rem;
}

.velgrina-cart-upsell__card-old {
    font-size: 0.75rem;
    color: #9CA3AF;
    text-decoration: line-through;
}

.velgrina-cart-upsell__card-price {
    font-size: 0.875rem;
    font-weight: 700;
    color: #1E2022;
}

.velgrina-cart-upsell__card-form {
    padding: 0.5rem 0.625rem 0.625rem;
}

.velgrina-cart-upsell__add-btn {
    display: block;
    width: 100%;
    padding: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 600;
    text-align: center;
    color: #2E7D8C;
    background: transparent;
    border: 1.5px solid #2E7D8C;
    border-radius: 0.375rem;
    cursor: pointer;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.velgrina-cart-upsell__add-btn:hover {
    background-color: #2E7D8C;
    color: #fff;
}

/* ============================================================
   MOBILE STICKY CHECKOUT BAR
   ============================================================ */
.velgrina-cart-sticky-checkout {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    background-color: #fff;
    border-top: 1px solid #D1D5DB;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.08);
}

@media (min-width: 1024px) {
    .velgrina-cart-sticky-checkout {
        display: none;
    }
}

.velgrina-cart-sticky-checkout__total {
    display: flex;
    flex-direction: column;
}

.velgrina-cart-sticky-checkout__label {
    font-size: 0.75rem;
    color: #6B7280;
    font-weight: 400;
}

.velgrina-cart-sticky-checkout__price {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1E2022;
}

.velgrina-cart-sticky-checkout__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8125rem 2rem;
    background-color: #2E7D8C;
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 0.15s ease, transform 0.1s ease;
}

.velgrina-cart-sticky-checkout__btn:hover {
    background-color: #256A77;
}

.velgrina-cart-sticky-checkout__btn:active {
    transform: scale(0.98);
}

/* ============================================================
   UTILITIES & RESETS for cart page
   ============================================================ */

/* Reset list styles inside cart form */
#shopping-cart-table ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Hide default Magento cart table header on Hyva */
.checkout-cart-index .cart.table-wrapper thead,
.checkout-cart-index .cart.table-wrapper .col.qty .label {
    display: none;
}

/* Price display inside item (Hyva renders spans) */
.velgrina-cart-item__price .price {
    font-size: inherit;
    font-weight: inherit;
    color: inherit;
}

/* ============================================================
   CART UX OVERHAUL 2026-05-04
   Stronger structure for desktop and mobile cart views.
   ============================================================ */
.checkout-cart-index .page-main {
    max-width: 1280px;
    padding-left: 20px;
    padding-right: 20px;
}

.checkout-cart-index .columns .column.main {
    min-height: 680px;
}

.checkout-cart-index .velgrina-cart {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 32px;
    align-items: start;
    padding-top: 10px;
    padding-bottom: 56px;
}

.checkout-cart-index .velgrina-cart__main {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.checkout-cart-index .velgrina-cart__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 4px;
    padding-bottom: 18px;
    border-bottom: 1px solid #E5E7EB;
}

.checkout-cart-index .velgrina-cart__title {
    gap: 10px;
    font-size: 28px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 0;
}

.checkout-cart-index .velgrina-cart__title-icon {
    width: 22px;
    height: 22px;
}

.checkout-cart-index .velgrina-cart__count {
    font-size: 15px;
    color: #64748B;
}

.checkout-cart-index .velgrina-cart__subtitle {
    margin: 8px 0 0;
    color: #64748B;
    font-size: 14px;
    line-height: 1.5;
}

.checkout-cart-index .velgrina-cart__continue {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 9px 14px;
    border: 1px solid #D1D5DB;
    border-radius: 8px;
    color: #374151;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    background: #FFFFFF;
}

.checkout-cart-index .velgrina-cart__continue:hover,
.checkout-cart-index .velgrina-cart__continue:focus {
    border-color: #2E7D8C;
    color: #2E7D8C;
}

.checkout-cart-index #shopping-cart-table ul {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.checkout-cart-index .velgrina-cart-item-wrap + .velgrina-cart-item-wrap {
    border-top: 0;
}

.checkout-cart-index .velgrina-cart-item {
    align-items: stretch;
    gap: 18px;
    padding: 18px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.checkout-cart-index .velgrina-cart-item__img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 132px;
    height: 132px;
    border: 1px solid #EEF2F7;
    border-radius: 8px;
    background: #F8FAFC;
}

.checkout-cart-index .velgrina-cart-item__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.checkout-cart-index .velgrina-cart-item__info {
    min-height: 132px;
}

.checkout-cart-index .velgrina-cart-item__top {
    align-items: flex-start;
    gap: 18px;
}

.checkout-cart-index .velgrina-cart-item__name {
    max-width: 560px;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 650;
    letter-spacing: 0;
}

.checkout-cart-index .velgrina-cart-item__delivery {
    display: inline-flex;
    margin-bottom: 0;
    padding: 5px 8px;
    border-radius: 8px;
    background: #F0FDFB;
    color: #2E7D8C;
    font-size: 13px;
    font-weight: 500;
}

.checkout-cart-index .velgrina-cart-item__price {
    min-width: 128px;
    padding-top: 2px;
    font-size: 18px;
    font-weight: 800;
}

.checkout-cart-index .velgrina-cart-item__bottom {
    margin-top: 18px;
    align-items: flex-end;
}

.checkout-cart-index .velgrina-cart-item__actions {
    align-items: center;
    min-height: 38px;
}

.checkout-cart-index .velgrina-cart-item__actions a,
.checkout-cart-index .velgrina-cart-item__actions button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #94A3B8;
    text-decoration: none;
}

.checkout-cart-index .velgrina-cart-item__actions a:hover,
.checkout-cart-index .velgrina-cart-item__actions button:hover {
    border-color: #FECACA;
    background: #FEF2F2;
    color: #B91C1C;
}

.checkout-cart-index .velgrina-cart-item__qty {
    height: 38px;
    border-color: #CBD5E1;
    background: #FFFFFF;
}

.checkout-cart-index .velgrina-cart-item__qty-btn {
    width: 40px;
    background: #F8FAFC;
}

.checkout-cart-index .velgrina-cart-item__qty-input {
    width: 48px;
    font-size: 15px;
    font-weight: 700;
}

.checkout-cart-index .velgrina-cart__sidebar {
    width: 380px;
}

.checkout-cart-index .velgrina-cart__summary {
    position: relative;
    overflow: hidden;
    border: 1px solid #D7DEE8;
    border-radius: 8px;
    background: #FFFFFF;
    padding: 24px;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.checkout-cart-index .velgrina-cart__summary::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: #2E7D8C;
}

.checkout-cart-index .velgrina-cart__summary-title {
    margin-bottom: 18px;
    padding: 2px 0 16px;
    border-bottom: 1px solid #E5E7EB;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 750;
    letter-spacing: 0;
}

.checkout-cart-index .velgrina-coupon {
    margin: 0 0 18px;
}

.checkout-cart-index .velgrina-coupon__row {
    height: 50px;
    border-color: #D7DEE8;
    border-radius: 8px;
}

.checkout-cart-index .velgrina-coupon__input {
    font-size: 14px;
    font-weight: 500;
}

.checkout-cart-index .velgrina-coupon__btn {
    align-self: stretch;
    min-width: 74px;
    background: #2E7D8C;
    font-size: 14px;
}

.checkout-cart-index .velgrina-coupon__btn--cancel {
    background: #64748B;
}

.checkout-cart-index .velgrina-totals {
    gap: 10px;
}

.checkout-cart-index .velgrina-totals__row {
    font-size: 15px;
    line-height: 1.45;
}

.checkout-cart-index .velgrina-totals__row > span:last-child {
    color: #111827;
    font-weight: 650;
}

.checkout-cart-index .velgrina-totals__row--discount {
    padding: 0;
    margin: 0;
    border: none;
    background: none;
    color: #1E2022;
    box-shadow: none;
}

.checkout-cart-index .velgrina-totals__row--discount > span:first-child {
    font-weight: 500;
    font-size: 14px;
}

.checkout-cart-index .velgrina-totals__row--discount > span:last-child {
    color: #2E7D8C;
    font-size: 15px;
    font-weight: 700;
}

.checkout-cart-index .velgrina-totals__row--discount small {
    margin-left: 0;
    color: #6B7280;
    font-size: 11px;
    font-weight: 400;
}

.checkout-cart-index .velgrina-totals__free {
    color: #0F766E;
    font-weight: 800;
}

.checkout-cart-index .velgrina-totals__row--grand {
    margin-top: 6px;
    padding-top: 16px;
    border-top: 2px solid #111827;
    font-size: 19px;
}

.checkout-cart-index .velgrina-totals__row--grand > span:last-child {
    font-size: 21px;
    font-weight: 900;
}

.checkout-cart-index .velgrina-totals__note {
    margin-top: 6px;
    font-size: 12px;
    color: #94A3B8;
}

.checkout-cart-index .velgrina-cart__shipping-bar {
    margin-top: 18px;
    padding-top: 16px;
    border-top-color: #E5E7EB;
}

.checkout-cart-index .velgrina-cart__shipping-free {
    padding: 10px 12px;
    border-radius: 8px;
    background: #F0FDFB;
    color: #0F766E;
}

.checkout-cart-index .velgrina-cart__checkout-btn {
    min-height: 56px;
    margin-top: 16px;
    border-radius: 8px;
    background: #2E7D8C;
    font-size: 16px;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(46, 125, 140, 0.22);
}

.checkout-cart-index .velgrina-cart__trust {
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
}

.checkout-cart-index .velgrina-cart__trust-item {
    color: #475569;
    font-size: 13px;
}

.checkout-cart-index .velgrina-cart-upsell {
    margin-top: 8px;
    padding: 18px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
}

.checkout-cart-index .velgrina-cart-upsell__title {
    font-size: 18px;
    letter-spacing: 0;
}

.checkout-cart-index .velgrina-cart-upsell__scroll {
    gap: 12px;
}

.checkout-cart-index .velgrina-cart-upsell__card {
    flex-basis: 178px;
    border-color: #D7DEE8;
    border-radius: 8px;
}

.checkout-cart-index .velgrina-cart-upsell__card-img {
    background: #F8FAFC;
}

.checkout-cart-index .velgrina-cart-upsell__card-img img {
    object-fit: contain;
}

@media (max-width: 1180px) {
    .checkout-cart-index .velgrina-cart {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 24px;
    }

    .checkout-cart-index .velgrina-cart__sidebar {
        width: 360px;
    }
}

@media (max-width: 1023px) {
    .checkout-cart-index .velgrina-cart {
        display: flex;
        flex-direction: column;
        gap: 22px;
        padding-bottom: 96px;
    }

    .checkout-cart-index .velgrina-cart__sidebar {
        width: 100%;
        position: static;
    }

    .checkout-cart-index .velgrina-cart__summary {
        box-shadow: 0 10px 28px rgba(15, 23, 42, 0.06);
    }
}

@media (max-width: 767px) {
    .checkout-cart-index .page-main {
        padding-left: 14px;
        padding-right: 14px;
    }

    .checkout-cart-index .velgrina-cart__header {
        flex-direction: column;
        gap: 12px;
        padding-bottom: 14px;
    }

    .checkout-cart-index .velgrina-cart__title {
        font-size: 24px;
    }

    .checkout-cart-index .velgrina-cart__continue {
        width: 100%;
    }

    .checkout-cart-index .velgrina-cart-item {
        display: grid;
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 14px;
        padding: 14px;
    }

    .checkout-cart-index .velgrina-cart-item__img {
        width: 96px;
        height: 96px;
    }

    .checkout-cart-index .velgrina-cart-item__info {
        min-height: 0;
    }

    .checkout-cart-index .velgrina-cart-item__top {
        flex-direction: column;
        gap: 10px;
    }

    .checkout-cart-index .velgrina-cart-item__name {
        font-size: 15px;
    }

    .checkout-cart-index .velgrina-cart-item__delivery {
        padding: 0;
        background: transparent;
        font-size: 12px;
    }

    .checkout-cart-index .velgrina-cart-item__price {
        min-width: 0;
        text-align: left;
        font-size: 17px;
    }

    .checkout-cart-index .velgrina-cart-item__bottom {
        grid-column: 1 / -1;
        margin-top: 12px;
    }

    .checkout-cart-index .velgrina-cart__summary {
        padding: 18px;
    }

    .checkout-cart-index .velgrina-totals__row--discount {
        margin-left: 0;
        margin-right: 0;
    }

    .checkout-cart-index .velgrina-cart-sticky-checkout {
        padding: 12px 14px;
    }

    .checkout-cart-index .velgrina-cart-sticky-checkout__btn {
        padding-left: 18px;
        padding-right: 18px;
    }
}

/* ============================================================
   UX AUDIT PASS 2026-05-04
   Empty cart state: turn the default plain message into a usable path.
   ============================================================ */
.checkout-cart-index .velgrina-cart-empty {
    width: min(100%, 720px);
    margin: 42px auto 64px;
    padding: 34px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
    text-align: center;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.checkout-cart-index .velgrina-cart-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    border-radius: 999px;
    background: #F0FDFB;
    color: #2E7D8C;
}

.checkout-cart-index .velgrina-cart-empty__icon svg {
    width: 30px;
    height: 30px;
}

.checkout-cart-index .velgrina-cart-empty__eyebrow {
    margin: 0 0 8px;
    color: #2E7D8C;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.checkout-cart-index .velgrina-cart-empty__title {
    margin: 0;
    color: #111827;
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.checkout-cart-index .velgrina-cart-empty__text {
    max-width: 520px;
    margin: 14px auto 0;
    color: #475569;
    font-size: 16px;
    line-height: 1.65;
}

.checkout-cart-index .velgrina-cart-empty__actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.checkout-cart-index .velgrina-cart-empty__primary,
.checkout-cart-index .velgrina-cart-empty__secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none;
}

.checkout-cart-index .velgrina-cart-empty__primary {
    border: 1px solid #2E7D8C;
    background: #2E7D8C;
    color: #FFFFFF;
    box-shadow: 0 12px 26px rgba(46, 125, 140, 0.18);
}

.checkout-cart-index .velgrina-cart-empty__primary:hover,
.checkout-cart-index .velgrina-cart-empty__primary:focus {
    background: #246876;
}

.checkout-cart-index .velgrina-cart-empty__secondary {
    border: 1px solid #D7DEE8;
    background: #FFFFFF;
    color: #111827;
}

.checkout-cart-index .velgrina-cart-empty__secondary:hover,
.checkout-cart-index .velgrina-cart-empty__secondary:focus {
    border-color: #2E7D8C;
    color: #2E7D8C;
}

.checkout-cart-index .velgrina-cart-empty__trust {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin: 26px 0 0;
    padding: 18px 0 0;
    border-top: 1px solid #E5E7EB;
    list-style: none;
}

.checkout-cart-index .velgrina-cart-empty__trust li {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #475569;
    font-size: 13px;
    font-weight: 650;
}

.checkout-cart-index .velgrina-cart-empty__trust svg {
    width: 17px;
    height: 17px;
    color: #2E7D8C;
    flex: 0 0 auto;
}

.checkout-cart-index .cart-empty {
    width: min(100%, 720px);
    margin: 42px auto 64px;
    padding: 34px;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    background: #FFFFFF;
    text-align: center;
    box-shadow: 0 18px 48px rgba(15, 23, 42, 0.08);
}

.checkout-cart-index .cart-empty > div::before {
    content: "";
    display: block;
    width: 58px;
    height: 58px;
    margin: 0 auto 16px;
    border-radius: 999px;
    background-color: #F0FDFB;
    background-image: url("data:image/svg+xml,%3Csvg fill='none' viewBox='0 0 24 24' stroke='%232E7D8C' stroke-width='1.5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M15.75 10.5V6a3.75 3.75 0 1 0-7.5 0v4.5m11.356-1.993 1.263 12A1.125 1.125 0 0 1 19.75 21.75H4.25a1.125 1.125 0 0 1-1.12-1.243l1.264-12A1.125 1.125 0 0 1 5.513 7.5h12.974c.576 0 1.059.435 1.119 1.007Z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 30px 30px;
}

.checkout-cart-index .cart-empty p:first-child {
    margin: 0;
    color: #111827;
    font-family: 'Poppins', ui-sans-serif, system-ui, sans-serif;
    font-size: 42px;
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0;
}

.checkout-cart-index .cart-empty p:first-child::before {
    content: "Yeni bir seçim için hazır";
    display: block;
    margin-bottom: 8px;
    color: #2E7D8C;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    line-height: 1.3;
    text-transform: uppercase;
}

.checkout-cart-index .cart-empty p:first-child::after {
    content: "Favori mutfak aksesuarlarınızı seçin, kuponunuzu uygulayın ve güvenli ödemeye devam edin.";
    display: block;
    max-width: 520px;
    margin: 14px auto 0;
    color: #475569;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
}

.checkout-cart-index .cart-empty .mt-4 {
    margin-top: 24px;
}

.checkout-cart-index .cart-empty .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid #2E7D8C;
    border-radius: 8px;
    background: #2E7D8C;
    color: #FFFFFF;
    font-size: 0;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(46, 125, 140, 0.18);
}

.checkout-cart-index .cart-empty .btn::after {
    content: "Alışverişe Başla";
    font-size: 14px;
}

.checkout-cart-index .cart-empty .btn:hover,
.checkout-cart-index .cart-empty .btn:focus {
    background: #246876;
}

@media (max-width: 767px) {
    .checkout-cart-index .velgrina-cart-empty {
        margin: 18px auto 42px;
        padding: 24px 18px;
    }

    .checkout-cart-index .velgrina-cart-empty__title {
        font-size: 34px;
    }

    .checkout-cart-index .velgrina-cart-empty__actions,
    .checkout-cart-index .velgrina-cart-empty__trust {
        grid-template-columns: 1fr;
        flex-direction: column;
    }

    .checkout-cart-index .velgrina-cart-empty__primary,
    .checkout-cart-index .velgrina-cart-empty__secondary {
        width: 100%;
    }

    .checkout-cart-index .cart-empty {
        margin: 18px auto 42px;
        padding: 24px 18px;
    }

    .checkout-cart-index .cart-empty p:first-child {
        font-size: 34px;
    }

    .checkout-cart-index .cart-empty .btn {
        width: 100%;
    }
}
