/* ==========================================================================
   TARA COMMERCE STYLES (Cart Drawer, Cart Page, Checkout Page)
   Design System: Tara Architectural Lighting - Minimalist Warm Luxury
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Cart Drawer & Backdrop
   -------------------------------------------------------------------------- */
.tara-cart-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(25, 24, 23, 0.55);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition:
        opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.5s cubic-bezier(0.22, 1, 0.36, 1) !important;
    will-change: opacity, visibility !important;
}

.tara-cart-drawer {
    position: fixed;
    z-index: 9999;
    inset: 0 auto 0 0;
    width: min(390px, 94vw);
    background: #ffffff;
    display: flex;
    flex-direction: column;
    transform: translateX(-102%);
    transition:
        transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.6s ease !important;
    will-change: transform !important;
    padding: 30px 24px 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.16);
    color: #181818;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.tara-cart-open {
    overflow: hidden;
}

.tara-cart-open .tara-cart-backdrop {
    opacity: 1;
    visibility: visible;
}

.tara-cart-open .tara-cart-drawer {
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .tara-cart-drawer,
    .tara-cart-backdrop {
        transition: none !important;
    }
}

.tara-cart-drawer__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 24px;
}

.tara-cart-drawer__head h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0;
    color: #181818;
    letter-spacing: -0.2px;
}

.tara-cart-drawer__close-link {
    border: none;
    background: transparent;
    font-size: 12px;
    color: #888888;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-family: inherit;
    transition: color 0.15s ease;
}

.tara-cart-drawer__close-link:hover {
    color: #181818;
}

.tara-cart-drawer__items {
    overflow-y: auto;
    flex: 1;
    padding-inline-end: 2px;
}

.tara-cart-row {
    position: relative;
    display: flex !important;
    flex-direction: row !important;
    align-items: stretch !important;
    gap: 16px !important;
    padding: 20px 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    box-sizing: border-box !important;
    direction: rtl !important;
    text-align: right !important;
}

.tara-cart-row__thumb {
    width: 76px !important;
    height: 76px !important;
    background: #f7f7f7 !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
    border: 1px solid #f0f0f0 !important;
}

.tara-cart-row__thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain !important;
    display: block !important;
    mix-blend-mode: multiply !important;
}

.tara-cart-row__no-img {
    width: 100% !important;
    height: 100% !important;
    background: #f0f0f0 !important;
}

.tara-cart-row__content {
    flex: 1 1 auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    padding: 0 !important;
    text-align: right !important;
    min-width: 0 !important;
}

.tara-cart-row__title {
    color: #181818;
    text-decoration: none;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.45;
    margin: 0 0 4px;
    transition: color 0.15s ease;
    white-space: normal;
    word-break: break-word;
}

.tara-cart-row__title:hover {
    color: #555555;
}

.tara-cart-row__subtitle {
    color: #8c8c8c;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 12px;
    display: block;
}

.tara-cart-row__price {
    font-size: 13.5px;
    font-weight: 500;
    color: #181818;
    margin-top: auto;
}

.tara-cart-row__actions {
    flex-shrink: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: flex-end !important;
    min-height: 76px !important;
}

.tara-cart-row__remove-btn {
    border: none;
    background: transparent;
    padding: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.15s ease;
    margin: 0;
}

.tara-cart-row__remove-btn:hover {
    opacity: 1;
}

.tara-cart-row__remove-btn img {
    width: 10px;
    height: 10px;
    display: block;
}

.tara-cart-qty-box {
    position: relative;
    display: inline-block;
    user-select: none;
}

.tara-cart-qty-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 44px;
    height: 30px;
    padding: 0 8px;
    background: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 0 !important;
    cursor: pointer;
    font-family: inherit;
    font-size: 13.5px;
    font-weight: 500;
    color: #181818;
    line-height: 1;
    direction: rtl;
    user-select: none;
    transition: border-color 0.15s ease, background-color 0.15s ease;
    box-sizing: border-box;
}

.tara-cart-qty-trigger:hover,
.tara-cart-qty-box.is-open .tara-cart-qty-trigger {
    border-color: #181818;
}

.tara-cart-qty-val {
    font-size: 13.5px;
    font-weight: 500;
    color: #181818;
    line-height: 1;
}

.tara-cart-qty-icon {
    width: 9px;
    height: 5px;
    display: block;
    pointer-events: none;
    transition: transform 0.2s ease;
}

.tara-cart-qty-box.is-open .tara-cart-qty-icon {
    transform: rotate(180deg);
}

.tara-cart-qty-menu {
    position: absolute;
    bottom: calc(100% + 4px);
    inset-inline-start: 0;
    width: 100%;
    min-width: 48px;
    max-height: 155px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #181818;
    border-radius: 0 !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
    z-index: 100;
    padding: 2px 0;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.tara-cart-qty-menu[hidden] {
    display: none !important;
}

.tara-cart-qty-item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
    font-size: 13px;
    font-weight: 500;
    color: #181818;
    cursor: pointer;
    text-align: center;
    user-select: none;
    border-radius: 0 !important;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.tara-cart-qty-item:hover {
    background: #f4f4f4;
    color: #000000;
}

.tara-cart-qty-item.is-selected {
    background: #181818;
    color: #ffffff;
    font-weight: 600;
}

.tara-cart-qty-item.is-selected:hover {
    background: #2b2b2b;
    color: #ffffff;
}

.tara-cart-qty-menu::-webkit-scrollbar {
    width: 4px;
}

.tara-cart-qty-menu::-webkit-scrollbar-thumb {
    background: #c0c0c0;
}

.tara-cart-empty {
    text-align: center;
    padding: 48px 16px;
    color: #777;
}

.tara-cart-empty p {
    font-size: 14px;
    margin: 0 0 16px;
}

.tara-cart-empty a {
    display: inline-block;
    color: #181818;
    text-decoration: underline;
    font-size: 13px;
}

.tara-cart-drawer__foot {
    padding-top: 18px;
    border-top: 1px solid #181818;
    margin-top: 8px;
}

.tara-cart-drawer__total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    font-size: 14px;
    color: #181818;
}

.tara-cart-drawer__total span {
    font-size: 14px;
    font-weight: 500;
    color: #181818;
}

.tara-cart-drawer__total strong {
    font-size: 14px;
    font-weight: 600;
    color: #181818;
}

.tara-cart-drawer__checkout,
.tara-cart-drawer__foot > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #1c1d24;
    color: #ffffff !important;
    text-decoration: none;
    border: 0;
    width: 100%;
    min-height: 48px;
    height: 48px;
    border-radius: 0 !important;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s ease;
    box-sizing: border-box;
}

.tara-cart-drawer__checkout:hover,
.tara-cart-drawer__foot > a:hover {
    background: #000000;
}

.tara-cart-drawer__foot small {
    display: block;
    text-align: center;
    color: #888888;
    font-size: 11.5px;
    margin-top: 14px;
    line-height: 1.4;
}

.tara-checkout-submit,
.tara-cart-summary__checkout,
.tara-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--tara-ink, #191817);
    color: #ffffff !important;
    text-decoration: none;
    border: 0;
    width: 100%;
    min-height: 52px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        transform 0.15s ease,
        box-shadow 0.2s ease;
    box-sizing: border-box;
}

.tara-checkout-submit:hover,
.tara-cart-summary__checkout:hover,
.tara-btn-primary:hover {
    background: #2f2d2a;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(25, 24, 23, 0.14);
}

.tara-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: var(--tara-ink, #191817) !important;
    text-decoration: none;
    border: 1px solid #dcd8d0;
    width: 100%;
    min-height: 48px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.tara-btn-secondary:hover {
    background: #faf8f5;
    border-color: #beb9ae;
}

.tara-cart-drawer__foot small {
    display: block;
    text-align: center;
    color: var(--tara-muted, #77736f);
    font-size: 12px;
    margin-top: 12px;
}

.tara-cart-empty {
    text-align: center;
    padding: 48px 16px;
    color: var(--tara-muted, #77736f);
}

.tara-cart-empty a {
    display: inline-block;
    margin-top: 14px;
    color: var(--tara-ink, #191817);
    text-decoration: underline;
    font-weight: 500;
}

/* --------------------------------------------------------------------------
   2. Base Commerce Layout & Typography
   -------------------------------------------------------------------------- */
.tara-commerce {
    max-width: 1440px;
    margin: 0 auto;
    padding: 36px var(--page-gutter, 40px) 90px;
    direction: rtl;
    text-align: right;
    box-sizing: border-box;
}

.tara-commerce h1 {
    font-size: 28px;
    font-weight: 600;
    color: var(--tara-ink, #191817);
    margin: 0 0 8px;
    letter-spacing: -0.02em;
}

.tara-commerce-subtitle {
    color: var(--tara-muted, #77736f);
    font-size: 14px;
    margin: 0 0 28px;
}

/* --------------------------------------------------------------------------
   3. Stepper Progress Bar
   -------------------------------------------------------------------------- */
.tara-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0 auto 36px;
    max-width: 760px;
    padding: 16px 20px;
    background: #ffffff;
    border: 1px solid var(--tara-border, #e8e5df);
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}

.tara-step-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--tara-muted, #77736f);
    font-size: 13.5px;
    text-decoration: none;
    transition: color 0.2s ease;
}

.tara-step-item.is-active {
    color: var(--tara-ink, #191817);
    font-weight: 600;
}

.tara-step-item.is-completed {
    color: #15803d;
    font-weight: 500;
}

.tara-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #faf8f5;
    border: 1px solid #dcd8d0;
    font-size: 12px;
    font-weight: 600;
    color: var(--tara-muted, #77736f);
    transition: all 0.2s ease;
}

.tara-step-item.is-active .tara-step-num {
    background: var(--tara-ink, #191817);
    border-color: var(--tara-ink, #191817);
    color: #ffffff;
}

.tara-step-item.is-completed .tara-step-num {
    background: #dcfce7;
    border-color: #86efac;
    color: #15803d;
}

.tara-step-divider {
    flex: 1;
    height: 1px;
    background: var(--tara-border, #e8e5df);
    min-width: 24px;
}

.tara-step-divider.is-active {
    background: var(--tara-ink, #191817);
}

/* --------------------------------------------------------------------------
   4. Alerts & Notifications
   -------------------------------------------------------------------------- */
.tara-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    line-height: 1.5;
}

.tara-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #166534;
}

.tara-alert--warning {
    background: #fefce8;
    border: 1px solid #fef08a;
    color: #854d0e;
}

.tara-alert--error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.tara-alert svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

.tara-alert-close {
    margin-inline-start: auto;
    background: transparent;
    border: 0;
    font-size: 18px;
    cursor: pointer;
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.15s ease;
}

.tara-alert-close:hover {
    opacity: 1;
}

/* --------------------------------------------------------------------------
   5. Cart Page Specific Grid & Elements
   -------------------------------------------------------------------------- */
.tara-cart-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.tara-cart-panel {
    background: #ffffff;
    border: 1px solid var(--tara-border, #e8e5df);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.tara-cart-table-head {
    display: grid;
    grid-template-columns: 1fr 140px 140px 140px 48px;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tara-border, #e8e5df);
    color: var(--tara-muted, #77736f);
    font-size: 13px;
    font-weight: 500;
    align-items: center;
}

.tara-cart-item-card {
    display: grid;
    grid-template-columns: 1fr 140px 140px 140px 48px;
    gap: 16px;
    padding: 20px 0;
    border-bottom: 1px solid #f0ede6;
    align-items: center;
    transition: background-color 0.15s ease;
}

.tara-cart-item-card:last-child {
    border-bottom: 0;
    padding-bottom: 8px;
}

.tara-cart-item__product {
    display: flex;
    align-items: center;
    gap: 16px;
}

.tara-cart-item__thumb {
    width: 88px;
    height: 88px;
    border-radius: 10px;
    background: #faf8f5;
    border: 1px solid #f0ede6;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;
}

.tara-cart-item__thumb img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 6px;
    box-sizing: border-box;
    transition: transform 0.25s ease;
}

.tara-cart-item__thumb:hover img {
    transform: scale(1.05);
}

.tara-cart-item__info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.tara-cart-item__title {
    font-size: 15px;
    font-weight: 600;
    color: var(--tara-ink, #191817);
    text-decoration: none;
    line-height: 1.4;
    transition: color 0.15s ease;
}

.tara-cart-item__title:hover {
    color: #4a4744;
}

.tara-cart-item__meta {
    font-size: 12.5px;
    color: var(--tara-muted, #77736f);
}

.tara-cart-item__unit-price {
    font-size: 14px;
    color: var(--tara-muted, #77736f);
}

/* Stepper Quantity Control */
.tara-qty-stepper {
    display: inline-flex;
    align-items: center;
    border: 1px solid #dcd8d0;
    border-radius: 8px;
    background: #faf8f5;
    overflow: hidden;
    height: 38px;
}

.tara-qty-btn {
    width: 34px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    cursor: pointer;
    color: var(--tara-ink, #191817);
    font-size: 16px;
    transition: background-color 0.15s ease;
}

.tara-qty-btn:hover {
    background: #ede9e1;
}

.tara-qty-input {
    width: 44px;
    height: 38px;
    border: 0;
    background: #ffffff;
    text-align: center;
    font-size: 14px;
    font-weight: 600;
    color: var(--tara-ink, #191817);
    font-family: inherit;
    -moz-appearance: textfield;
    appearance: textfield;
}

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

.tara-cart-item__total-price {
    font-size: 15px;
    font-weight: 600;
    color: var(--tara-ink, #191817);
}

.tara-cart-item__remove-btn {
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: transparent;
    color: var(--tara-muted, #77736f);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tara-cart-item__remove-btn:hover {
    color: #b91c1c;
    background: #fef2f2;
}

/* --------------------------------------------------------------------------
   6. Sidebar Order Summary Box (Sticky)
   -------------------------------------------------------------------------- */
.tara-summary-card {
    background: #ffffff;
    border: 1px solid var(--tara-border, #e8e5df);
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 96px;
}

.tara-summary-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 20px;
    color: var(--tara-ink, #191817);
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tara-border, #e8e5df);
    display: flex;
    align-items: center;
    gap: 8px;
}

.tara-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: var(--tara-muted, #77736f);
}

.tara-summary-row span:last-child {
    color: var(--tara-ink, #191817);
    font-weight: 500;
}

.tara-summary-row.is-discount span:last-child {
    color: #15803d;
    font-weight: 600;
}

.tara-summary-divider {
    height: 1px;
    background: var(--tara-border, #e8e5df);
    margin: 14px 0;
}

.tara-summary-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding: 14px 0;
    margin-bottom: 18px;
}

.tara-summary-total-row span:first-child {
    font-size: 16px;
    font-weight: 600;
    color: var(--tara-ink, #191817);
}

.tara-summary-total-row span:last-child {
    font-size: 22px;
    font-weight: 700;
    color: var(--tara-ink, #191817);
}

/* Trust Perks List */
.tara-trust-list {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #f0ede6;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tara-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12.5px;
    color: var(--tara-muted, #77736f);
}

.tara-trust-item svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: #4a4744;
}

/* --------------------------------------------------------------------------
   7. Checkout Page Specific Grid & Sections
   -------------------------------------------------------------------------- */
.tara-checkout-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.tara-checkout-main {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.tara-checkout-card {
    background: #ffffff;
    border: 1px solid var(--tara-border, #e8e5df);
    border-radius: 14px;
    padding: 26px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

.tara-checkout-card__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--tara-border, #e8e5df);
}

.tara-checkout-card__title {
    font-size: 17px;
    font-weight: 600;
    margin: 0;
    color: var(--tara-ink, #191817);
    display: flex;
    align-items: center;
    gap: 10px;
}

.tara-checkout-card__badge {
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #f0fdf4;
    color: #166534;
    border: 1px solid #bbf7d0;
}

/* User Identity Section */
.tara-user-badge-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #faf8f5;
    border: 1px solid #e8e5df;
    border-radius: 10px;
    padding: 16px 20px;
}

.tara-user-info {
    display: flex;
    align-items: center;
    gap: 14px;
}

.tara-user-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #191817;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 16px;
}

.tara-user-details strong {
    display: block;
    font-size: 15px;
    color: var(--tara-ink, #191817);
}

.tara-user-details span {
    font-size: 13px;
    color: var(--tara-muted, #77736f);
}

/* Radio Choice Cards (Address, Shipping, Payment) */
.tara-radio-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tara-radio-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border: 1px solid #dcd8d0;
    border-radius: 12px;
    background: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tara-radio-card:hover {
    border-color: #8c8882;
    background: #faf9f6;
}

.tara-radio-card.is-selected,
.tara-radio-card:has(input[type="radio"]:checked) {
    border-color: var(--tara-ink, #191817);
    background: #faf8f5;
    box-shadow: 0 0 0 1px var(--tara-ink, #191817);
}

.tara-radio-input {
    appearance: none;
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid #b5b0a7;
    border-radius: 50%;
    outline: none;
    margin: 3px 0 0;
    cursor: pointer;
    flex-shrink: 0;
    display: grid;
    place-content: center;
    transition: border-color 0.15s ease;
}

.tara-radio-input::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tara-ink, #191817);
    transform: scale(0);
    transition: transform 0.15s ease-in-out;
}

.tara-radio-input:checked {
    border-color: var(--tara-ink, #191817);
}

.tara-radio-input:checked::before {
    transform: scale(1);
}

.tara-radio-card__body {
    flex: 1;
}

.tara-radio-card__title {
    font-size: 14.5px;
    font-weight: 600;
    color: var(--tara-ink, #191817);
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.tara-radio-card__desc {
    font-size: 13px;
    color: var(--tara-muted, #77736f);
    line-height: 1.5;
}

/* Form Controls & Floating Labels */
.tara-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
}

.tara-form-label {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tara-ink, #191817);
}

.tara-form-control {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #dcd8d0;
    border-radius: 8px;
    background: #ffffff;
    font-size: 14px;
    font-family: inherit;
    color: var(--tara-ink, #191817);
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
    box-sizing: border-box;
}

.tara-form-control:focus {
    outline: none;
    border-color: var(--tara-ink, #191817);
    box-shadow: 0 0 0 3px rgba(25, 24, 23, 0.08);
}

.tara-form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

/* Coupon Box */
.tara-coupon-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.tara-coupon-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #dcd8d0;
    border-radius: 8px;
    font-family: inherit;
    font-size: 13.5px;
    direction: ltr;
    text-align: left;
}

.tara-coupon-btn {
    padding: 10px 18px;
    background: #faf8f5;
    border: 1px solid #dcd8d0;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--tara-ink, #191817);
    cursor: pointer;
    transition: all 0.15s ease;
}

.tara-coupon-btn:hover {
    background: #ebe7de;
}

/* Mini Order Products in Summary */
.tara-summary-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 240px;
    overflow-y: auto;
    padding-inline-end: 4px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--tara-border, #e8e5df);
    padding-bottom: 14px;
}

.tara-summary-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tara-summary-item__img {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: #faf8f5;
    border: 1px solid #f0ede6;
    object-fit: contain;
    padding: 2px;
    flex-shrink: 0;
}

.tara-summary-item__details {
    flex: 1;
    font-size: 13px;
    line-height: 1.4;
}

.tara-summary-item__title {
    color: var(--tara-ink, #191817);
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 180px;
}

.tara-summary-item__qty {
    color: var(--tara-muted, #77736f);
    font-size: 12px;
}

.tara-summary-item__price {
    font-size: 13px;
    font-weight: 600;
    color: var(--tara-ink, #191817);
}

/* --------------------------------------------------------------------------
   8. Empty State View
   -------------------------------------------------------------------------- */
.tara-empty-cart-card {
    background: #ffffff;
    border: 1px solid var(--tara-border, #e8e5df);
    border-radius: 16px;
    padding: 72px 24px;
    text-align: center;
    max-width: 640px;
    margin: 32px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.tara-empty-icon-box {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: #faf8f5;
    border: 1px solid #ede8de;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--tara-muted, #77736f);
    margin-bottom: 24px;
}

.tara-empty-cart-card h2 {
    font-size: 22px;
    font-weight: 600;
    margin: 0 0 10px;
    color: var(--tara-ink, #191817);
}

.tara-empty-cart-card p {
    font-size: 14.5px;
    color: var(--tara-muted, #77736f);
    margin: 0 0 28px;
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. Responsive Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .tara-cart-page-grid,
    .tara-checkout-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .tara-summary-card {
        position: static;
        top: auto;
    }
}

@media (max-width: 768px) {
    .tara-commerce {
        padding: 24px 16px 60px;
    }

    .tara-commerce h1 {
        font-size: 24px;
    }

    .tara-cart-table-head {
        display: none;
    }

    .tara-cart-item-card {
        grid-template-columns: 76px 1fr;
        gap: 12px;
        position: relative;
        padding: 16px 0;
    }

    .tara-cart-item__product {
        grid-column: 1 / -1;
    }

    .tara-cart-item__unit-price {
        display: none;
    }

    .tara-cart-item__qty {
        grid-column: 1 / 2;
    }

    .tara-cart-item__total {
        grid-column: 2 / 3;
        display: flex;
        justify-content: flex-end;
        align-items: center;
    }

    .tara-cart-item__remove {
        position: absolute;
        top: 14px;
        left: 0;
    }

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

    .tara-steps-bar {
        font-size: 12px;
        padding: 12px 14px;
        gap: 6px;
    }

    .tara-step-num {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
}
