.glamour-cart-drawer {
    font-family: inherit;
}

.glamour-cart-drawer__header {
    border-bottom: 1px solid #ececec;
    padding: 1.25rem 1.5rem 1rem;
}

.glamour-cart-drawer__title {
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.75rem;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.glamour-cart-drawer__promo {
    padding: 0 1.5rem 1rem;
}

.glamour-cart-drawer__urgency {
    font-size: 0.9rem;
    line-height: 1.45;
    margin: 0 0 0.85rem;
}

.glamour-cart-drawer__urgency-timer {
    font-weight: 700;
}

.glamour-cart-drawer__shipping-text {
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0 0 0.5rem;
}

.glamour-cart-drawer__shipping-text strong {
    font-weight: 700;
}

.glamour-cart-drawer__progress {
    background: #e8e8e8;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
    position: relative;
}

.glamour-cart-drawer__progress-fill {
    background: #22a06b;
    border-radius: 999px;
    height: 100%;
    transition: width 0.3s ease;
}

.glamour-cart-drawer__progress-star {
    color: #22a06b;
    font-size: 0.95rem;
    line-height: 1;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

.glamour-cart-drawer__added {
    align-items: flex-start;
    background: #f3f3f3;
    border-radius: 4px;
    display: flex;
    font-size: 0.85rem;
    gap: 0.65rem;
    line-height: 1.4;
    margin: 0 1.5rem 1rem;
    padding: 0.75rem 0.85rem;
}

.glamour-cart-drawer__added-icon {
    flex: 0 0 auto;
    font-size: 1rem;
    line-height: 1;
    margin-top: 0.1rem;
}

.glamour-cart-drawer__items {
    display: grid;
    gap: 1.25rem;
    padding: 0 1.5rem 1rem;
}

.glamour-cart-drawer__item {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: 72px 1fr;
}

.glamour-cart-drawer__item-image {
    border-radius: 4px;
    display: block;
    height: 72px;
    object-fit: cover;
    width: 72px;
}

.glamour-cart-drawer__item-name {
    color: #111;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    margin: 0;
    text-decoration: none;
}

.glamour-cart-drawer__item-body {
    min-width: 0;
}

.glamour-cart-drawer__item-row {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.glamour-cart-drawer__item-meta {
    align-items: flex-start;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: space-between;
    margin-top: 0.5rem;
}

.glamour-cart-drawer__item-meta-main {
    flex: 1;
    min-width: 0;
}

.glamour-cart-drawer__item-price {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.glamour-cart-drawer__item-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.65rem;
    margin-top: 0.35rem;
}

.glamour-cart-drawer__item-option {
    align-items: baseline;
    background: #f4f4f5;
    border-radius: 0.25rem;
    color: #52525b;
    display: inline-flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.2rem 0.35rem;
    line-height: 1.35;
    max-width: 100%;
    padding: 0.15rem 0.45rem;
}

.glamour-cart-drawer__item-option-label {
    color: #3f3f46;
    font-weight: 600;
}

.glamour-cart-drawer__item-option-link {
    color: #2563eb;
    text-decoration: underline;
    word-break: break-all;
}

.glamour-cart-drawer__qty {
    align-items: center;
    border: 1px solid #ddd;
    border-radius: 4px;
    display: inline-flex;
    gap: 0.35rem;
    padding: 0.15rem 0.35rem;
}

.glamour-cart-drawer__qty button {
    background: transparent;
    border: 0;
    cursor: pointer;
    font-size: 1rem;
    line-height: 1;
    min-width: 1.25rem;
    padding: 0.15rem;
}

.glamour-cart-drawer__qty-value {
    font-size: 0.9rem;
    min-width: 1rem;
    text-align: center;
}

.glamour-cart-drawer__remove {
    background: transparent;
    border: 0;
    color: #666;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 0;
    text-decoration: underline;
}

.glamour-cart-drawer__footer {
    border-top: 1px solid #ececec;
    padding: 1rem 1.5rem 1.5rem;
}

.glamour-cart-drawer__footer-actions {
    border-bottom: 1px solid #ececec;
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 1rem;
}

.glamour-cart-drawer__footer-action {
    align-items: center;
    background: transparent;
    border: 0;
    color: #444;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    font: inherit;
    font-size: 0.82rem;
    gap: 0.45rem;
    justify-content: center;
    padding: 0.85rem 0.5rem;
    text-decoration: none;
    transition: color 0.15s ease;
}

.glamour-cart-drawer__footer-action:hover {
    color: #111;
}

.glamour-cart-drawer__footer-action-icon {
    align-items: center;
    color: #111;
    display: inline-flex;
    height: 1.5rem;
    justify-content: center;
    width: 1.5rem;
}

.glamour-cart-drawer__footer-action-icon svg {
    display: block;
    height: 100%;
    width: 100%;
}

.glamour-cart-drawer__footer-action--active {
    color: #111;
}

.glamour-cart-drawer__footer-action--active .glamour-cart-drawer__footer-action-icon {
    color: #111;
}

.glamour-cart-drawer__footer-action--active span:last-child {
    font-weight: 600;
}

.glamour-cart-drawer__footer-action + .glamour-cart-drawer__footer-action {
    border-left: 1px solid #ececec;
}

.glamour-cart-drawer__totals {
    border-bottom: 1px solid #ececec;
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
}

.glamour-cart-drawer__total-row {
    align-items: baseline;
    color: #666;
    display: flex;
    font-size: 0.95rem;
    justify-content: space-between;
}

.glamour-cart-drawer__total-row--grand {
    color: #111;
    font-size: 1.05rem;
    font-weight: 700;
}

.glamour-cart-drawer__cta {
    display: grid;
    gap: 0.85rem;
}

.glamour-cart-drawer__view-cart {
    color: #111;
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-align: center;
    text-decoration: underline;
    text-transform: uppercase;
    width: 100%;
}

.glamour-cart-drawer__view-cart:hover {
    color: #000;
}

.glamour-cart-drawer__guest-hint {
    color: #666;
    font-size: 0.82rem;
    line-height: 1.45;
    margin: 0;
    text-align: center;
}

.glamour-cart-drawer__checkout {
    background: #111;
    border-radius: 4px;
    color: #fff;
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    padding: 0.95rem 1rem;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    width: 100%;
}

.glamour-coupon-host {
    margin: 0;
    padding: 0;
}

.glamour-coupon-host__toggle {
    display: none;
}

.glamour-cart-drawer__coupon-applied {
    align-items: center;
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 0.35rem;
}

.glamour-cart-drawer__coupon-code {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    color: #047857;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.15rem 0.65rem;
}

.glamour-cart-drawer__coupon-remove {
    background: transparent;
    border: 0;
    color: #888;
    cursor: pointer;
    font-size: 1.15rem;
    line-height: 1;
    padding: 0;
}

.glamour-cart-drawer__coupon-remove:hover {
    color: #c0392b;
}

.glamour-cart-page {
    margin-left: auto;
    margin-right: auto;
    max-width: 960px;
    width: 100%;
}

.glamour-cart-page .glamour-cart-drawer__title {
    text-align: center;
}

.glamour-cart-page .glamour-cart-drawer__item {
    align-items: start;
    gap: 1.25rem;
    grid-template-columns: 96px 1fr;
}

.glamour-cart-page .glamour-cart-drawer__item-image {
    height: 96px;
    width: 96px;
}

.glamour-cart-page .glamour-cart-drawer__item-row {
    align-items: center;
    flex-direction: row;
    gap: 1.25rem;
    justify-content: space-between;
}

.glamour-cart-page .glamour-cart-drawer__item-name {
    flex: 1;
    font-size: 1rem;
    min-width: 0;
    padding-right: 0.5rem;
}

.glamour-cart-page .glamour-cart-drawer__item-meta {
    justify-content: space-between;
    margin-top: 0.4rem;
    width: 100%;
}

.glamour-cart-page .glamour-cart-drawer__item-meta-main {
    padding-right: 1rem;
}

.glamour-cart-page .glamour-cart-drawer__item-price {
    font-size: 1rem;
}

.glamour-cart-page .glamour-cart-drawer__item-options {
    margin-top: 0.45rem;
}

.glamour-cart-page .glamour-cart-drawer__item-option {
    font-size: 0.82rem;
}

.glamour-cart-page .glamour-cart-drawer__qty {
    flex-shrink: 0;
}

.glamour-cart-page .glamour-cart-drawer__items {
    gap: 1.75rem;
}

.glamour-cart-page .glamour-cart-drawer__promo,
.glamour-cart-page .glamour-cart-drawer__added,
.glamour-cart-page .glamour-cart-drawer__items {
    padding-left: 0;
    padding-right: 0;
}

.glamour-cart-page .glamour-cart-drawer__footer {
    padding-left: 0;
    padding-right: 0;
}

.glamour-cart-page #cart-coupon {
    max-width: 100%;
}

.glamour-cart-page #cart-coupon .flex.justify-between {
    align-items: center;
    border-top: 0;
    padding-top: 0;
}


.glamour-cart-note-popup {
    inset: 0;
    position: fixed;
    z-index: 1100;
}

.glamour-cart-note-popup__overlay {
    background: rgba(0, 0, 0, 0.45);
    border: 0;
    cursor: pointer;
    height: 100%;
    inset: 0;
    position: absolute;
    width: 100%;
}

.glamour-cart-note-popup__dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
    left: 50%;
    max-height: calc(100vh - 2rem);
    max-width: 420px;
    padding: 1.25rem;
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100% - 2rem);
}

.glamour-cart-note-popup__header {
    align-items: center;
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.85rem;
}

.glamour-cart-note-popup__title {
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0;
}

.glamour-cart-note-popup__close {
    background: transparent;
    border: 0;
    color: #666;
    cursor: pointer;
    font-size: 1.5rem;
    line-height: 1;
    padding: 0.15rem 0.35rem;
}

.glamour-cart-note-popup__textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    font: inherit;
    line-height: 1.45;
    min-height: 120px;
    padding: 0.75rem;
    resize: vertical;
    width: 100%;
}

.glamour-cart-note-popup__textarea:focus {
    border-color: #111;
    outline: none;
}

.glamour-cart-note-popup__actions {
    display: flex;
    gap: 0.75rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.glamour-cart-note-popup__cancel,
.glamour-cart-note-popup__save {
    border-radius: 4px;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    padding: 0.65rem 1rem;
}

.glamour-cart-note-popup__cancel {
    background: #f3f3f3;
    border: 1px solid #ddd;
    color: #333;
}

.glamour-cart-note-popup__save {
    background: #111;
    border: 0;
    color: #fff;
    font-weight: 600;
}

.glamour-cart-note-popup__save:disabled {
    cursor: not-allowed;
    opacity: 0.65;
}

@media (max-width: 768px) {
    .glamour-cart-drawer__title {
        font-size: 1.5rem;
    }

    .glamour-cart-drawer__header,
    .glamour-cart-drawer__promo,
    .glamour-cart-drawer__added,
    .glamour-cart-drawer__items,
    .glamour-cart-drawer__footer {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .glamour-cart-page .glamour-cart-drawer__item-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.65rem;
    }

    .glamour-cart-page .glamour-cart-drawer__item {
        grid-template-columns: 72px 1fr;
    }

    .glamour-cart-page .glamour-cart-drawer__item-image {
        height: 72px;
        width: 72px;
    }
}
