.lse-luxury-cart,
.lse-luxury-cart * {
    box-sizing: border-box;
}

.lse-cart-trigger {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    padding: 0;
    border: 1px solid rgba(59, 36, 22, 0.18);
    border-radius: 999px;
    background: #fbf7ed;
    color: #3b2416;
    cursor: pointer;
    transition: background-color 220ms ease, color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}

.lse-cart-trigger:hover,
.lse-cart-trigger:focus-visible {
    transform: translateY(-1px);
    outline: none;
}

.lse-cart-trigger-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.lse-cart-trigger-icon svg {
    display: block;
}

.lse-cart-badge {
    position: absolute;
    top: -7px;
    right: -7px;
    z-index: 2;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 999px;
    background: #3b2416;
    color: #fff;
    font-size: 12px;
    line-height: 22px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.12);
}

.lse-cart-badge.is-empty {
    opacity: 0.72;
}

.lse-cart-overlay {
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(59, 36, 22, 0.35);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 280ms ease, visibility 280ms ease;
}

.lse-cart-drawer {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99999;
    width: 420px;
    max-width: 100vw;
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    background: #fbf7ed;
    color: #3b2416;
    transform: translateX(100%);
    transition: transform 360ms cubic-bezier(0.22, 0.61, 0.36, 1);
    box-shadow: -24px 0 60px rgba(33, 21, 12, 0.18);
    -webkit-overflow-scrolling: touch;
}

.lse-luxury-cart.is-open .lse-cart-overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.lse-luxury-cart.is-open .lse-cart-drawer {
    transform: translateX(0);
}

body.lse-cart-is-open {
    overflow: hidden;
}

.lse-cart-close {
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 1;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #3b2416;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, transform 180ms ease;
}

.lse-cart-close:hover,
.lse-cart-close:focus-visible {
    background: rgba(59, 36, 22, 0.08);
    transform: rotate(90deg);
    outline: none;
}

.lse-cart-status {
    position: sticky;
    top: 0;
    z-index: 3;
    display: none;
    width: 100%;
    padding: 10px 24px;
    background: #3b2416;
    color: #fff;
    font-size: 13px;
    text-align: center;
    font-family: Arial, Helvetica, sans-serif;
}

.lse-cart-status.is-visible {
    display: block;
}

.lse-cart-panel-content {
    min-height: 100%;
    padding: 34px 26px 24px;
    display: flex;
    flex-direction: column;
}

.lse-cart-section {
    width: 100%;
}

.lse-cart-heading {
    margin: 0 0 24px;
    color: #3b2416;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.lse-cart-items {
    display: grid;
    gap: 20px;
}

.lse-cart-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 28px 18px 26px;
    background: #f4f0e6;
}

.lse-cart-item-media,
.lse-cart-item-media a {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lse-cart-item-media img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.lse-cart-item-body {
    min-width: 0;
}

.lse-cart-item-topline {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.lse-cart-item-name {
    display: block;
    flex: 1;
    margin: 0;
    color: #2f2118;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    text-decoration: none;
}

.lse-cart-item-name:hover {
    text-decoration: underline;
}

.lse-cart-remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    margin-top: -2px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: rgba(59, 36, 22, 0.62);
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.lse-cart-remove:hover,
.lse-cart-remove:focus-visible {
    color: #3b2416;
    background: rgba(59, 36, 22, 0.08);
    outline: none;
}

.lse-cart-item-description {
    margin: 4px 0 20px;
    color: #2f2118;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.35;
}

.lse-cart-item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.lse-quantity-control {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    width: 126px;
    height: 34px;
    gap: 0;
    padding: 0;
    border: 1px solid #d8ccbe;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.22);
}

.lse-quantity-button,
.lse-quantity-input {
    height: 32px;
    background: transparent;
    color: #3b2416;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    line-height: 1;
    text-align: center;
}

.lse-quantity-button {
    flex: 0 0 auto;
    width: 30px;
    padding: 0;
    border: 0;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease;
}

.lse-quantity-button:hover,
.lse-quantity-button:focus-visible {
    background: rgba(59, 36, 22, 0.08);
    outline: none;
}

.lse-quantity-input {
    flex: 0 0 auto;
    width: 64px;
    border: 1px solid #3b2416;
    border-radius: 2px;
    appearance: textfield;
    -moz-appearance: textfield;
    padding: 0;
    font-weight: 500;
}

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

.lse-cart-item-price {
    color: #3b2416;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;
    white-space: nowrap;
}

.lse-empty-cart {
    margin: 0;
    padding: 28px 18px;
    background: #f4f0e6;
    color: #3b2416;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    text-align: center;
}

.lse-cart-recommendations-section {
    margin-top: 82px;
}

.lse-recommendations-heading {
    margin-bottom: 34px;
}

.lse-recommendations-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
}

.lse-recommendation-card {
    position: relative;
    min-width: 0;
    text-align: center;
}

.lse-recommendation-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.lse-recommendation-image-wrap {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 230px;
    margin-bottom: 22px;
}

.lse-recommendation-image-wrap img {
    display: block;
    max-width: 82%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    transition: transform 220ms ease;
}

.lse-recommendation-link:hover img {
    transform: translateY(-4px);
}

.lse-recommendation-name {
    display: block;
    color: #2f2118;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25;
}

.lse-recommendation-price {
    display: block;
    margin-top: 12px;
    color: #3b2416;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px;
    line-height: 1.2;
}

.lse-recommendation-add {
    position: absolute;
    top: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #3b2416;
    line-height: 1;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.lse-recommendation-bookmark-icon {
    display: block;
    width: 13px;
    height: 17px;
}

.lse-recommendation-add:hover,
.lse-recommendation-add:focus-visible {
    background: #3b2416;
    color: #fff;
    transform: translateY(-1px);
    outline: none;
}

.lse-cart-actions {
    display: grid;
    gap: 12px;
    margin-top: auto;
    padding-top: 34px;
}

.lse-cart-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 52px;
    padding: 16px 24px;
    border-radius: 0;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.lse-cart-button:hover,
.lse-cart-button:focus-visible {
    text-decoration: none;
    transform: translateY(-1px);
    outline: none;
}

.lse-cart-button-primary {
    border: 1px solid #3b2416;
    background: #3b2416;
    color: #fff;
}

.lse-cart-button-primary:hover,
.lse-cart-button-primary:focus-visible {
    background: #23140c;
    color: #fff;
}

.lse-cart-button-secondary {
    border: 1px solid #3b2416;
    background: #fbf7ed;
    color: #3b2416;
}

.lse-cart-button-secondary:hover,
.lse-cart-button-secondary:focus-visible {
    background: #f4f0e6;
    color: #3b2416;
}

.lse-luxury-cart.is-loading .lse-cart-drawer {
    cursor: progress;
}

@media (max-width: 640px) {
    .lse-cart-drawer {
        width: 100vw;
    }

    .lse-cart-panel-content {
        padding: 30px 18px 20px;
    }

    .lse-cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
        padding: 22px 14px;
    }

    .lse-cart-item-media img {
        width: 64px;
        height: 64px;
    }

    .lse-recommendations-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .lse-recommendation-image-wrap {
        height: 180px;
    }

    .lse-recommendation-name {
        font-size: 14px;
    }

    .lse-recommendation-price {
        font-size: 13px;
    }
}

/* Maison Rinae updates */
.lse-cart-drawer {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.lse-cart-panel-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding-bottom: 0;
}

.lse-cart-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    margin-top: auto;
    padding: 16px 0 20px;
    background: #fbf7ed;
    box-shadow: 0 -18px 28px rgba(251, 247, 237, 0.92);
}

.lse-quantity-control {
    display: grid;
    grid-template-columns: 20px 39px 20px;
    align-items: stretch;
    justify-content: stretch;
    width: 81px;
    height: 36px;
    min-width: 81px;
    max-width: 81px;
    gap: 0;
    overflow: hidden;
}

.lse-quantity-button,
.lse-quantity-input {
    min-width: 0;
    width: auto;
    height: 34px;
    min-height: 0;
    line-height: 1;
}

.lse-quantity-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    font-size: 16px;
}

.lse-quantity-input {
    width: 39px;
    border-top-width: 0;
    border-bottom-width: 0;
    border-radius: 0;
    font-size: 18px;
}

.lse-recommendations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.lse-recommendation-add.is-wishlisted {
    background: #3b2416;
    color: #fff;
}

.lse-recommendation-add.is-wishlisted svg path {
    fill: currentColor;
}

.lse-recommendation-add.is-loading {
    opacity: 0.6;
    cursor: progress;
}
