/* =========================================================
   AESPL CART PAGE
   Premium WooCommerce Cart
   Collection Page Spacing Reference
   Fully Responsive
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {

    --aespl-cart-bg: #f7f5ee;
    --aespl-cart-surface: #fffdf8;
    --aespl-cart-surface-soft: #faf8f1;

    --aespl-cart-primary: #0d4a38;
    --aespl-cart-primary-dark: #073426;
    --aespl-cart-primary-soft: #e8f0eb;

    --aespl-cart-text: #17352b;
    --aespl-cart-muted: #68736d;

    --aespl-cart-border: rgba(13, 74, 56, 0.13);
    --aespl-cart-border-strong: rgba(13, 74, 56, 0.23);

    --aespl-cart-accent: #c89b43;
    --aespl-cart-danger: #b03d38;

    --aespl-cart-radius: 20px;
    --aespl-cart-radius-sm: 11px;

    --aespl-cart-shadow:
        0 16px 45px rgba(12, 48, 35, 0.07);

    --aespl-cart-shadow-hover:
        0 20px 50px rgba(12, 48, 35, 0.11);
}


/* =========================================================
   PAGE
   ========================================================= */

.aespl-cart-page {

    width: 100%;
    max-width: 100%;
    min-width: 0;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 92% 5%,
            rgba(213, 168, 74, 0.07),
            transparent 22%
        ),
        var(--aespl-cart-bg);

    color: var(--aespl-cart-text);

    font-family:
        "Hanken Grotesk",
        Arial,
        sans-serif;

    font-size: 15px;
    line-height: 1.5;
}


.aespl-cart-page *,
.aespl-cart-page *::before,
.aespl-cart-page *::after {
    box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.aespl-cart-container {

    width: min(
        var(--container),
        calc(100% - 32px)
    );

    max-width: 100%;

    margin-left: auto;
    margin-right: auto;
}


/* =========================================================
   CART HEADER
   ========================================================= */

.aespl-cart-header {

    padding: 42px 0 30px;

    background:
        radial-gradient(
            circle at 88% 30%,
            rgba(213, 168, 74, 0.10),
            transparent 27%
        );
}


.aespl-cart-header .aespl-cart-container {

    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 40px;
}


.aespl-cart-header__content {

    min-width: 0;
    width: 100%;
}


.aespl-cart-eyebrow,
.aespl-cart-empty__eyebrow,
.aespl-cart-summary__eyebrow {

    display: block;

    margin: 0 0 12px;

    color: var(--aespl-cart-primary);

    font-size: 0.70rem;
    font-weight: 800;

    letter-spacing: 0.21em;
    line-height: 1.3;

    text-transform: uppercase;
}


.aespl-cart-title {

    max-width: 100%;

    margin: 0;

    color: var(--aespl-cart-primary);

    font-family:
        "Fraunces",
        Georgia,
        "Times New Roman",
        serif;

    font-size:
        clamp(50px, 6.3vw, 78px);

    font-weight: 400;

    line-height: 0.94;

    letter-spacing: -0.045em;

    overflow-wrap: break-word;
}


.aespl-cart-description {

    width: 100%;
    max-width: 650px;

    margin: 17px 0 0;

    color: var(--aespl-cart-muted);

    font-size: 0.92rem;
    line-height: 1.7;
}


.aespl-cart-description strong {

    color: var(--aespl-cart-primary);
    font-weight: 800;
}


/* =========================================================
   CART COUNT
   ========================================================= */

.aespl-cart-header__count {

    flex: 0 0 auto;

    display: inline-flex;

    align-items: center;

    gap: 10px;

    min-height: 54px;

    padding: 8px 16px 8px 9px;

    border:
        1px solid var(--aespl-cart-border);

    border-radius: 999px;

    background:
        rgba(255, 253, 248, 0.94);

    box-shadow:
        0 7px 22px rgba(12, 48, 35, 0.04);
}


.aespl-cart-header__count-number {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    border-radius: 50%;

    background:
        var(--aespl-cart-primary);

    color: #fff;

    font-size: 0.82rem;
    font-weight: 800;
}


.aespl-cart-header__count-label {

    color: var(--aespl-cart-primary);

    font-size: 0.72rem;
    font-weight: 800;

    letter-spacing: 0.09em;

    text-transform: uppercase;
}


/* =========================================================
   CART CONTENT
   ========================================================= */

.aespl-cart-content {

    width: 100%;
    max-width: 100%;

    padding: 0 0 78px;
}


.aespl-cart-content > .aespl-cart-container {

    display: grid;

    grid-template-columns:
        minmax(0, 1.7fr)
        minmax(330px, 0.82fr);

    align-items: start;

    gap: 30px;
}


/* =========================================================
   FORM
   ========================================================= */

.aespl-cart-form {

    position: relative;

    min-width: 0;
}


/* =========================================================
   PRODUCTS CARD
   ========================================================= */

.aespl-cart-products {

    position: relative;

    overflow: hidden;

    border:
        1px solid var(--aespl-cart-border);

    border-radius:
        var(--aespl-cart-radius);

    background:
        var(--aespl-cart-surface);

    box-shadow:
        var(--aespl-cart-shadow);
}


.aespl-cart-products__header {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        165px;

    align-items: center;

    min-height: 58px;

    padding: 0 30px;

    border-bottom:
        1px solid var(--aespl-cart-border);

    color: var(--aespl-cart-muted);

    font-size: 0.70rem;
    font-weight: 800;

    letter-spacing: 0.17em;

    text-transform: uppercase;
}


.aespl-cart-products__header span:last-child {
    text-align: right;
}


/* =========================================================
   PRODUCT ITEM
   ========================================================= */

.aespl-cart-item {

    display: grid;

    grid-template-columns:
        124px
        minmax(0, 1fr)
        165px;

    gap: 25px;

    align-items: center;

    padding: 28px 30px;

    border-bottom:
        1px solid var(--aespl-cart-border);

    transition:
        background 0.2s ease,
        opacity 0.2s ease;
}


.aespl-cart-item:hover {

    background:
        rgba(248, 246, 238, 0.48);
}


.aespl-cart-item:last-child {
    border-bottom: 0;
}


/* =========================================================
   IMAGE
   ========================================================= */

.aespl-cart-item__image {

    width: 124px;
    height: 124px;

    min-width: 0;
}


.aespl-cart-item__image-link {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    overflow: hidden;

    border:
        1px solid var(--aespl-cart-border);

    border-radius: 15px;

    background:
        linear-gradient(
            145deg,
            #f7f5ed,
            #eeece3
        );

    box-shadow:
        inset 0 0 0 1px
        rgba(255, 255, 255, 0.45);

    text-decoration: none;
}


.aespl-cart-item__image img {

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    transition:
        transform 0.35s ease;
}


.aespl-cart-item__image-link:hover img {
    transform: scale(1.055);
}


/* =========================================================
   DETAILS
   ========================================================= */

.aespl-cart-item__details {
    min-width: 0;
}


.aespl-cart-item__title {

    margin: 0;

    color:
        var(--aespl-cart-primary);

    font-family:
        "Fraunces",
        Georgia,
        "Times New Roman",
        serif;

    font-size: 1.38rem;

    font-weight: 500;

    letter-spacing: -0.018em;

    line-height: 1.2;
}


.aespl-cart-item__title a {

    color: inherit;

    text-decoration: none;
}


.aespl-cart-item__title a:hover {
    color:
        var(--aespl-cart-accent);
}


.aespl-cart-item__meta {

    margin-top: 8px;

    color:
        var(--aespl-cart-muted);

    font-size: 0.82rem;

    line-height: 1.55;
}


.aespl-cart-item__meta dl {

    display: flex;

    flex-wrap: wrap;

    gap: 4px 12px;

    margin: 0;
}


.aespl-cart-item__meta dt,
.aespl-cart-item__meta dd {
    margin: 0;
}


.aespl-cart-item__meta dt {

    color:
        var(--aespl-cart-primary);

    font-weight: 700;
}


.aespl-cart-item__meta dd p {
    margin: 0;
}


.aespl-cart-item__price {

    margin-top: 10px;

    color:
        var(--aespl-cart-text);

    font-size: 0.96rem;

    font-weight: 700;
}


.aespl-cart-item__price del {

    margin-right: 8px;

    color: #8b928d;

    font-size: 0.78rem;

    font-weight: 400;
}


.aespl-cart-item__price ins {

    color:
        var(--aespl-cart-primary);

    text-decoration: none;
}


/* =========================================================
   CONTROLS
   ========================================================= */

.aespl-cart-item__controls {

    display: flex;

    align-items: center;

    flex-wrap: nowrap;

    gap: 14px;

    margin-top: 18px;
}


.aespl-cart-quantity {

    display: inline-flex;

    align-items: center;

    width: fit-content;
    height: 46px;

    overflow: hidden;

    border:
        1px solid
        var(--aespl-cart-border-strong);

    border-radius: 11px;

    background: #fff;
}


.aespl-quantity-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 41px;
    height: 100%;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        var(--aespl-cart-primary);

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease;
}


.aespl-quantity-button:hover {

    background:
        var(--aespl-cart-primary-soft);
}


.aespl-quantity-button:active {
    background: var(--aespl-cart-primary);
    color: #fff;
}


.aespl-quantity-button svg {
    width: 16px;
    height: 16px;
}


.aespl-cart-quantity .quantity {

    display: flex;

    align-items: center;

    height: 100%;

    margin: 0;
}


.aespl-cart-quantity .qty {

    width: 44px;
    height: 100%;

    padding: 0;

    border: 0;
    outline: 0;

    background: transparent;

    color:
        var(--aespl-cart-primary);

    font-family: inherit;

    font-size: 0.92rem;
    font-weight: 800;

    text-align: center;

    appearance: textfield;
}


.aespl-cart-quantity .qty::-webkit-outer-spin-button,
.aespl-cart-quantity .qty::-webkit-inner-spin-button {

    margin: 0;

    appearance: none;
}


.aespl-cart-quantity .qty:focus {
    outline: none !important;
    box-shadow: none !important;
    border: 0 !important;
}


/* =========================================================
   REMOVE / DELETE BUTTON
   ========================================================= */

.aespl-cart-item__remove {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    flex: 0 0 46px;

    padding: 0;

    border:
        1px solid
        rgba(176, 61, 56, 0.10);

    border-radius: 50%;

    background:
        rgba(176, 61, 56, 0.075);

    color:
        var(--aespl-cart-danger);

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.22s ease,
        border-color 0.22s ease,
        color 0.22s ease,
        transform 0.22s ease,
        box-shadow 0.22s ease;
}


.aespl-cart-item__remove:hover {

    background:
        rgba(176, 61, 56, 0.13);

    border-color:
        rgba(176, 61, 56, 0.20);

    color: #962d29;

    transform:
        translateY(-1px);

    box-shadow:
        0 6px 16px
        rgba(176, 61, 56, 0.12);
}


.aespl-cart-item__remove:active {

    transform: scale(0.94);

    box-shadow: none;
}


.aespl-cart-item__remove-icon {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;
}


.aespl-cart-item__remove-icon svg {

    display: block;

    width: 19px;
    height: 19px;

    color: currentColor;

    transition:
        transform 0.22s ease;
}


.aespl-cart-item__remove:hover
.aespl-cart-item__remove-icon svg {

    transform: scale(1.06);
}


.aespl-cart-item__remove:focus-visible {

    outline:
        2px solid
        var(--aespl-cart-danger);

    outline-offset: 3px;
}


/* =========================================================
   ITEM TOTAL
   ========================================================= */

.aespl-cart-item__total {

    align-self: center;

    color:
        var(--aespl-cart-primary);

    font-size: 1.06rem;

    font-weight: 800;

    text-align: right;
}


.aespl-cart-item__total .amount {

    color: inherit;

    white-space: nowrap;
}


/* =========================================================
   PRODUCTS FOOTER
   ========================================================= */

.aespl-cart-products__footer {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 24px 30px;

    background:
        rgba(249, 247, 239, 0.52);
}


.aespl-cart-continue {

    display: inline-flex;

    align-items: center;

    gap: 9px;

    color:
        var(--aespl-cart-primary);

    font-size: 0.88rem;

    font-weight: 800;

    text-decoration: none;
}


.aespl-cart-continue:hover {
    color:
        var(--aespl-cart-accent);
}


.aespl-cart-continue__icon {
    display: inline-flex;
}


.aespl-cart-continue svg {

    width: 18px;
    height: 18px;
}


.aespl-cart-update {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    min-height: 46px;

    padding: 0 20px;

    border:
        1px solid
        var(--aespl-cart-primary);

    border-radius: 9px;

    background: transparent;

    color:
        var(--aespl-cart-primary);

    font-family: inherit;

    font-size: 0.82rem;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.aespl-cart-update svg {

    width: 16px;
    height: 16px;
}


.aespl-cart-update:hover {

    background:
        var(--aespl-cart-primary);

    color: #fff;

    transform:
        translateY(-1px);
}


/* =========================================================
   SUMMARY
   ========================================================= */

.aespl-cart-summary {

    position: sticky;

    top: 28px;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid var(--aespl-cart-border);

    border-radius:
        var(--aespl-cart-radius);

    background:
        var(--aespl-cart-surface);

    box-shadow:
        var(--aespl-cart-shadow);
}


.aespl-cart-summary__content {

    padding: 32px;
}


.aespl-cart-summary__header {

    padding-bottom: 24px;

    border-bottom:
        1px solid var(--aespl-cart-border);
}


.aespl-cart-summary__header h2 {

    margin: 0;

    color:
        var(--aespl-cart-primary);

    font-family:
        "Fraunces",
        Georgia,
        serif;

    font-size: 2.05rem;

    font-weight: 500;

    letter-spacing: -0.025em;

    line-height: 1.1;
}


/* =========================================================
   COUPON
   ========================================================= */

.aespl-cart-coupon {

    border-bottom:
        1px solid var(--aespl-cart-border);
}


/* ---------------------------------------------------------
   COUPON TOGGLE
   --------------------------------------------------------- */

.aespl-cart-coupon__toggle {

    display: flex;

    align-items: center;
    justify-content: space-between;

    width: 100%;

    min-height: 60px;

    padding: 0;

    border: 0;

    background: transparent;

    color:
        var(--aespl-cart-text);

    font-family: inherit;

    font-size: 0.90rem;

    font-weight: 700;

    text-align: left;

    cursor: pointer;
}


.aespl-cart-coupon__toggle svg {

    width: 18px;
    height: 18px;

    transition:
        transform 0.25s ease;
}


.aespl-cart-coupon__toggle[aria-expanded="true"] svg {

    transform:
        rotate(180deg);
}


/* ---------------------------------------------------------
   COUPON FORM
   --------------------------------------------------------- */

.aespl-cart-coupon__form {

    padding: 0 0 20px;
}


.aespl-cart-coupon__fields {

    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    gap: 9px;
}


.aespl-cart-coupon__fields input {

    width: 100%;

    min-height: 46px;

    padding: 0 14px;

    border:
        1px solid
        var(--aespl-cart-border-strong);

    border-radius: 9px;

    outline: 0;

    background: #fff;

    color:
        var(--aespl-cart-text);

    font-family: inherit;

    font-size: 0.84rem;
}


.aespl-cart-coupon__fields input:focus {

    border-color:
        var(--aespl-cart-primary);
}


.aespl-cart-coupon__button {

    min-height: 46px;

    padding: 0 18px;

    border: 0;

    border-radius: 9px;

    background:
        var(--aespl-cart-primary);

    color: #fff;

    font-family: inherit;

    font-size: 0.80rem;

    font-weight: 800;

    cursor: pointer;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}


.aespl-cart-coupon__button:hover {

    background:
        var(--aespl-cart-primary-dark);

    transform:
        translateY(-1px);
}


/* ---------------------------------------------------------
   APPLIED COUPON
   --------------------------------------------------------- */

.aespl-cart-coupon__applied {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 14px;

    width: 100%;

    min-height: 60px;

    padding: 0;

    color:
        var(--aespl-cart-primary);
}


.aespl-cart-coupon__applied-code {

    display: inline-flex;

    align-items: center;

    min-width: 0;

    max-width: calc(100% - 42px);

    padding: 7px 12px;

    border:
        1px solid
        rgba(13, 74, 56, 0.16);

    border-radius: 7px;

    background:
        var(--aespl-cart-primary-soft);

    color:
        var(--aespl-cart-primary);

    font-family: inherit;

    font-size: 0.78rem;

    font-weight: 800;

    letter-spacing: 0.045em;

    line-height: 1.2;

    overflow: hidden;

    text-overflow: ellipsis;

    white-space: nowrap;
}


.aespl-cart-coupon__remove {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    width: 30px;
    height: 30px;

    flex: 0 0 30px;

    padding: 0;

    border:
        1px solid
        rgba(176, 61, 56, 0.10);

    border-radius: 50%;

    background:
        rgba(176, 61, 56, 0.055);

    color:
        var(--aespl-cart-danger);

    text-decoration: none;

    cursor: pointer;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        transform 0.2s ease;
}


.aespl-cart-coupon__remove:hover {

    background:
        rgba(176, 61, 56, 0.11);

    border-color:
        rgba(176, 61, 56, 0.18);

    color:
        #962d29;

    transform:
        scale(1.06);
}


.aespl-cart-coupon__remove:active {

    transform:
        scale(0.94);
}


.aespl-cart-coupon__remove svg {

    display: block;

    width: 14px;
    height: 14px;

    color: currentColor;
}


/* =========================================================
   SUMMARY ROWS
   ========================================================= */

.aespl-cart-summary__row {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    min-height: 62px;

    border-bottom:
        1px solid var(--aespl-cart-border);

    color:
        var(--aespl-cart-muted);

    font-size: 0.88rem;
}


.aespl-cart-summary__row strong {

    color:
        var(--aespl-cart-text);

    font-weight: 700;

    text-align: right;
}


.aespl-cart-summary__row--discount strong {

    color:
        var(--aespl-cart-primary);
}


/* =========================================================
   TOTAL
   ========================================================= */

.aespl-cart-summary__total {

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 27px 0;

    border-bottom:
        1px solid var(--aespl-cart-border);
}


.aespl-cart-summary__total span {

    color:
        var(--aespl-cart-primary);

    font-size: 0.94rem;

    font-weight: 800;
}


.aespl-cart-summary__total strong {

    color:
        var(--aespl-cart-primary);

    font-size: 1.48rem;

    font-weight: 800;

    text-align: right;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.aespl-cart-button {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 58px;

    border-radius: 10px;

    font-family: inherit;

    font-size: 0.86rem;

    font-weight: 800;

    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.aespl-cart-button svg {

    width: 19px;
    height: 19px;
}


.aespl-cart-button--checkout {

    width: 100%;

    margin-top: 24px;

    background:
        var(--aespl-cart-primary);

    color: #fff;

    box-shadow:
        0 10px 25px
        rgba(13, 74, 56, 0.16);
}


.aespl-cart-button--checkout:hover {

    background:
        var(--aespl-cart-primary-dark);

    color: #fff;

    transform:
        translateY(-2px);

    box-shadow:
        0 14px 30px
        rgba(13, 74, 56, 0.21);
}


.aespl-cart-button--primary {

    padding: 0 26px;

    background:
        var(--aespl-cart-primary);

    color: #fff;
}


.aespl-cart-button--primary:hover {

    background:
        var(--aespl-cart-primary-dark);

    color: #fff;
}


/* =========================================================
   SECURITY
   ========================================================= */

.aespl-cart-summary__secure {

    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    margin-top: 18px;

    color:
        var(--aespl-cart-muted);

    font-size: 0.72rem;

    line-height: 1.5;

    text-align: center;
}


.aespl-cart-summary__secure-icon {

    display: inline-flex;

    color:
        var(--aespl-cart-primary);
}


.aespl-cart-summary__secure svg {

    width: 17px;
    height: 17px;
}


/* =========================================================
   PROMISE
   ========================================================= */

.aespl-cart-promise {

    padding: 0 0 78px;
}


.aespl-cart-promise__grid {

    display: grid;

    grid-template-columns:
        repeat(4, minmax(0, 1fr));

    overflow: hidden;

    border:
        1px solid
        var(--aespl-cart-border);

    border-radius:
        var(--aespl-cart-radius);

    background:
        var(--aespl-cart-surface);

    box-shadow:
        0 10px 35px
        rgba(12, 48, 35, 0.045);
}


.aespl-cart-promise__item {

    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 96px;

    padding: 20px 24px;

    border-right:
        1px solid
        var(--aespl-cart-border);
}


.aespl-cart-promise__item:last-child {
    border-right: 0;
}


.aespl-cart-promise__icon {

    display: inline-flex;

    align-items: center;
    justify-content: center;

    flex: 0 0 auto;

    width: 44px;
    height: 44px;

    border:
        1px solid
        rgba(13, 74, 56, 0.10);

    border-radius: 50%;

    background:
        var(--aespl-cart-primary-soft);

    color:
        var(--aespl-cart-primary);
}


.aespl-cart-promise__icon svg {

    width: 21px;
    height: 21px;
}


.aespl-cart-promise__item strong,
.aespl-cart-promise__item span {
    display: block;
}


.aespl-cart-promise__item strong {

    color:
        var(--aespl-cart-primary);

    font-size: 0.84rem;

    font-weight: 800;
}


.aespl-cart-promise__item span {

    margin-top: 4px;

    color:
        var(--aespl-cart-muted);

    font-size: 0.70rem;

    line-height: 1.45;
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.aespl-cart-empty {

    padding: 20px 0 100px;
}


.aespl-cart-empty__card {

    max-width: 800px;

    margin: 0 auto;

    padding: 80px 44px;

    border:
        1px solid
        var(--aespl-cart-border);

    border-radius: 24px;

    background:
        var(--aespl-cart-surface);

    box-shadow:
        var(--aespl-cart-shadow);

    text-align: center;
}


.aespl-cart-empty__icon {

    display: flex;

    align-items: center;
    justify-content: center;

    width: 84px;
    height: 84px;

    margin: 0 auto 26px;

    border-radius: 50%;

    background:
        var(--aespl-cart-primary-soft);

    color:
        var(--aespl-cart-primary);
}


.aespl-cart-empty__icon svg {

    width: 46px;
    height: 46px;
}


.aespl-cart-empty__card h1 {

    max-width: 620px;

    margin: 0 auto;

    color:
        var(--aespl-cart-primary);

    font-family:
        "Fraunces",
        Georgia,
        serif;

    font-size:
        clamp(2.3rem, 4vw, 3.5rem);

    font-weight: 500;

    letter-spacing: -0.04em;

    line-height: 1.04;
}


.aespl-cart-empty__card p {

    max-width: 570px;

    margin: 20px auto 30px;

    color:
        var(--aespl-cart-muted);

    font-size: 0.98rem;

    line-height: 1.75;
}


/* =========================================================
   LOADING / SKELETON
   ========================================================= */

.aespl-cart-loading {

    position: absolute;

    inset: 0;

    z-index: 50;

    display: none;

    overflow: hidden;

    border-radius: inherit;

    background:
        rgba(255, 253, 248, 0.92);

    backdrop-filter: blur(3px);
}


.aespl-cart-form.is-loading
.aespl-cart-loading,

.aespl-cart-summary.is-loading
.aespl-cart-loading {

    display: block;
}


.aespl-cart-loading__products {

    padding: 58px 30px 0;
}


.aespl-cart-skeleton-product {

    display: grid;

    grid-template-columns:
        124px
        minmax(0, 1fr)
        165px;

    gap: 25px;

    align-items: center;

    min-height: 150px;

    padding: 28px 0;

    border-bottom:
        1px solid var(--aespl-cart-border);
}


.aespl-skeleton {

    display: block;

    overflow: hidden;

    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            #e7e5dd 20%,
            #f6f4ed 50%,
            #e7e5dd 80%
        );

    background-size: 220% 100%;

    animation:
        aespl-cart-skeleton
        1.45s ease-in-out infinite;
}


.aespl-skeleton--image {

    width: 124px;
    height: 124px;

    border-radius: 15px;
}


.aespl-cart-skeleton-product__content {

    display: flex;

    flex-direction: column;

    gap: 11px;
}


.aespl-skeleton--title {

    width: min(300px, 78%);

    height: 21px;
}


.aespl-skeleton--text {

    width: min(210px, 58%);

    height: 14px;
}


.aespl-skeleton--quantity {

    width: 115px;

    height: 38px;

    margin-top: 5px;
}


.aespl-skeleton--price {

    width: 105px;

    height: 19px;

    margin-left: auto;
}


.aespl-cart-summary__loading {

    inset: 0;

    padding: 32px;

    border-radius: inherit;
}


.aespl-cart-summary__loading
.aespl-skeleton {

    margin-bottom: 19px;
}


.aespl-skeleton--summary-title {

    width: 58%;

    height: 28px;

    margin-top: 5px;
}


.aespl-skeleton--summary-row {

    width: 100%;

    height: 16px;
}


.aespl-skeleton--summary-total {

    width: 100%;

    height: 38px;

    margin-top: 12px;
}


.aespl-skeleton--summary-button {

    width: 100%;

    height: 58px;

    margin-top: 8px;
}


@keyframes aespl-cart-skeleton {

    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}


/* =========================================================
   HIDE WOOCOMMERCE CART NOTICES
   ========================================================= */

body.woocommerce-cart
.woocommerce-notices-wrapper {

    display: none !important;
}

.aespl-cart-update {
    display: none !important;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.aespl-cart-quantity .qty:focus,
.aespl-cart-quantity .qty:focus-visible {
    outline: none !important;
    outline-offset: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
}


/* =========================================================
   1150px
   ========================================================= */

@media (max-width: 1150px) {

    .aespl-cart-container {

        width:
            calc(100% - 44px);

        max-width: 100%;
    }


    .aespl-cart-content > .aespl-cart-container {

        grid-template-columns:
            minmax(0, 1.55fr)
            minmax(310px, 0.85fr);

        gap: 24px;
    }


    .aespl-cart-item {

        grid-template-columns:
            105px
            minmax(0, 1fr)
            125px;

        gap: 19px;

        padding: 23px;
    }


    .aespl-cart-item__image {

        width: 105px;
        height: 105px;
    }


    .aespl-cart-products__header {

        grid-template-columns:
            minmax(0, 1fr)
            125px;

        padding: 0 23px;
    }


    .aespl-cart-products__footer {

        padding:
            20px 23px;
    }


    .aespl-cart-summary__content {

        padding: 25px;
    }


    .aespl-cart-promise__item {

        padding: 17px;
    }


    .aespl-cart-promise__icon {

        width: 39px;
        height: 39px;
    }


    .aespl-cart-skeleton-product {

        grid-template-columns:
            105px
            minmax(0, 1fr)
            125px;

        gap: 19px;
    }


    .aespl-skeleton--image {

        width: 105px;
        height: 105px;
    }


    .aespl-cart-item__remove {

        width: 42px;
        height: 42px;

        flex-basis: 42px;
    }


    .aespl-cart-item__remove-icon svg {

        width: 18px;
        height: 18px;
    }
}


/* =========================================================
   980px
   ========================================================= */

@media (max-width: 980px) {

    .aespl-cart-header {

        padding:
            38px 0 28px;
    }


    .aespl-cart-content > .aespl-cart-container {

        grid-template-columns: 1fr;
    }


    .aespl-cart-summary {

        position: relative;

        top: auto;
    }


    .aespl-cart-promise__grid {

        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .aespl-cart-promise__item:nth-child(2) {
        border-right: 0;
    }


    .aespl-cart-promise__item:nth-child(-n + 2) {

        border-bottom:
            1px solid
            var(--aespl-cart-border);
    }
}


/* =========================================================
   760px
   Mobile
   ========================================================= */

@media (max-width: 760px) {

    .aespl-cart-container {

        width:
            calc(100% - 28px);

        max-width:
            calc(100% - 28px);
    }


    /* -----------------------------------------
       HEADER
       ----------------------------------------- */

    .aespl-cart-header {

        padding:
            30px 0 24px;
    }


    .aespl-cart-header .aespl-cart-container {

        align-items: flex-start;

        flex-direction: column;

        gap: 17px;
    }


    .aespl-cart-title {

        width: 100%;

        max-width: 100%;

        font-size:
            clamp(46px, 14vw, 68px);

        line-height: 0.96;
    }


    .aespl-cart-description {

        width: 100%;

        max-width: 100%;

        margin-top: 15px;

        font-size: 0.84rem;

        line-height: 1.7;
    }


    .aespl-cart-header__count {

        min-height: 50px;

        padding:
            7px 14px 7px 8px;
    }


    .aespl-cart-header__count-number {

        width: 34px;
        height: 34px;
    }


    /* -----------------------------------------
       CONTENT
       ----------------------------------------- */

    .aespl-cart-content {

        padding-bottom: 60px;
    }


    .aespl-cart-products {

        border-radius: 15px;
    }


    .aespl-cart-products__header {

        grid-template-columns:
            1fr auto;

        min-height: 50px;

        padding:
            0 16px;

        font-size: 0.62rem;
    }


    /* -----------------------------------------
       PRODUCT ITEM
       FIXED MOBILE LAYOUT
       ----------------------------------------- */

    .aespl-cart-item {

        /*
         * IMAGE | DETAILS | TOTAL
         */

        grid-template-columns:
            86px
            minmax(0, 1fr)
            68px;

        grid-template-areas:
            "image details total";

        column-gap: 14px;

        row-gap: 0;

        align-items: start;

        padding:
            18px 16px;
    }


    .aespl-cart-item__image {

        grid-area: image;

        width: 86px;
        height: 86px;
    }


    .aespl-cart-item__details {

        grid-area: details;

        min-width: 0;
    }


    .aespl-cart-item__total {

        grid-area: total;

        align-self: start;

        width: 100%;

        padding-top: 3px;

        font-size: 0.82rem;

        line-height: 1.35;

        text-align: right;

        white-space: nowrap;
    }


    .aespl-cart-item__total .amount {

        display: inline-block;

        white-space: nowrap;
    }


    .aespl-cart-item__title {

        font-size: 1.08rem;

        line-height: 1.18;

        overflow-wrap: anywhere;
    }


    .aespl-cart-item__meta {

        margin-top: 6px;

        font-size: 0.74rem;
    }


    .aespl-cart-item__price {

        margin-top: 7px;

        font-size: 0.86rem;
    }


    /* -----------------------------------------
       QUANTITY + DELETE
       ----------------------------------------- */

    .aespl-cart-item__controls {

        display: flex;

        align-items: center;

        flex-wrap: nowrap;

        gap: 8px;

        margin-top: 10px;

        min-width: 0;
    }


    .aespl-cart-quantity {

        height: 40px;

        flex: 0 0 auto;
    }


    .aespl-quantity-button {

        width: 34px;

        flex: 0 0 34px;
    }


    .aespl-cart-quantity .qty {

        width: 36px;

        font-size: 0.82rem;
    }


    /* -----------------------------------------
       DELETE
       ----------------------------------------- */

    .aespl-cart-item__remove {

        width: 38px;
        height: 38px;

        flex: 0 0 38px;

        padding: 0;

        border-radius: 50%;
    }


    .aespl-cart-item__remove-icon {

        width: 100%;
        height: 100%;
    }


    .aespl-cart-item__remove-icon svg {

        width: 16px;
        height: 16px;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .aespl-cart-products__footer {

        flex-wrap: wrap;

        padding:
            17px 16px;

        gap: 12px;
    }


    .aespl-cart-continue {

        font-size: 0.78rem;
    }


    .aespl-cart-update {

        min-height: 40px;

        padding:
            0 15px;

        font-size: 0.72rem;
    }


    /* -----------------------------------------
       SUMMARY
       ----------------------------------------- */

    .aespl-cart-summary {

        border-radius: 15px;
    }


    .aespl-cart-summary__content {

        padding:
            23px 18px;
    }


    .aespl-cart-summary__header {

        padding-bottom: 18px;
    }


    .aespl-cart-summary__header h2 {

        font-size: 1.78rem;
    }


    .aespl-cart-summary__row {

        min-height: 56px;

        font-size: 0.84rem;
    }


    .aespl-cart-summary__total {

        padding:
            22px 0;
    }


    .aespl-cart-summary__total span {

        font-size: 0.88rem;
    }


    .aespl-cart-summary__total strong {

        font-size: 1.30rem;
    }


    .aespl-cart-button--checkout {

        min-height: 54px;

        font-size: 0.82rem;
    }


    /* -----------------------------------------
       COUPON
       ----------------------------------------- */

    .aespl-cart-coupon__toggle {

        min-height: 55px;

        font-size: 0.84rem;
    }


    .aespl-cart-coupon__applied {

        min-height: 55px;

        gap: 10px;
    }


    .aespl-cart-coupon__applied-code {

        max-width: calc(100% - 40px);

        padding:
            6px 10px;

        font-size: 0.72rem;
    }


    .aespl-cart-coupon__remove {

        width: 28px;
        height: 28px;

        flex-basis: 28px;
    }


    .aespl-cart-coupon__remove svg {

        width: 13px;
        height: 13px;
    }


    /* -----------------------------------------
       PROMISE
       ----------------------------------------- */

    .aespl-cart-promise {

        padding-bottom: 52px;
    }


    .aespl-cart-promise__grid {

        grid-template-columns: 1fr;

        border-radius: 15px;
    }


    .aespl-cart-promise__item {

        min-height: 77px;

        padding:
            15px 17px;

        border-right: 0;

        border-bottom:
            1px solid
            var(--aespl-cart-border);
    }


    .aespl-cart-promise__item:last-child {
        border-bottom: 0;
    }


    .aespl-cart-promise__icon {

        width: 37px;
        height: 37px;
    }


    .aespl-cart-promise__icon svg {

        width: 19px;
        height: 19px;
    }


    .aespl-cart-promise__item strong {

        font-size: 0.78rem;
    }


    .aespl-cart-promise__item span {

        font-size: 0.65rem;
    }


    /* -----------------------------------------
       EMPTY CART
       ----------------------------------------- */

    .aespl-cart-empty {

        padding:
            10px 0 58px;
    }


    .aespl-cart-empty__card {

        padding:
            54px 21px;

        border-radius: 18px;
    }


    .aespl-cart-empty__icon {

        width: 70px;
        height: 70px;
    }


    .aespl-cart-empty__icon svg {

        width: 39px;
        height: 39px;
    }


    .aespl-cart-empty__card h1 {

        font-size: 2.2rem;
    }


    .aespl-cart-empty__card p {

        font-size: 0.84rem;
    }


    /* -----------------------------------------
       SKELETON
       ----------------------------------------- */

    .aespl-cart-loading__products {

        padding:
            50px 16px 0;
    }


    .aespl-cart-skeleton-product {

        grid-template-columns:
            86px
            minmax(0, 1fr);

        grid-template-areas:
            "image content"
            "image price";

        gap:
            10px 14px;

        min-height: 120px;

        padding:
            18px 0;
    }


    .aespl-skeleton--image {

        grid-area: image;

        width: 86px;
        height: 86px;
    }


    .aespl-cart-skeleton-product__content {

        grid-area: content;
    }


    .aespl-skeleton--price {

        grid-area: price;

        width: 75px;

        margin-left: 0;
    }


    .aespl-cart-summary__loading {

        padding:
            23px 18px;
    }
}


/* =========================================================
   500px
   Small Mobile
   ========================================================= */

@media (max-width: 500px) {

    .aespl-cart-container {

        width:
            calc(100% - 24px);

        max-width:
            calc(100% - 24px);
    }


    /* -----------------------------------------
       HEADER
       ----------------------------------------- */

    .aespl-cart-header {

        padding:
            24px 0 20px;
    }


    .aespl-cart-eyebrow {

        margin-bottom: 9px;

        font-size: 0.62rem;
    }


    .aespl-cart-title {

        font-size: 46px;

        line-height: 0.96;
    }


    .aespl-cart-description {

        margin-top: 14px;

        font-size: 0.76rem;

        line-height: 1.7;
    }


    .aespl-cart-header__count {

        min-height: 46px;

        padding:
            6px 12px 6px 7px;
    }


    .aespl-cart-header__count-number {

        width: 31px;
        height: 31px;

        font-size: 0.72rem;
    }


    .aespl-cart-header__count-label {

        font-size: 0.63rem;
    }


    /* -----------------------------------------
       CONTENT
       ----------------------------------------- */

    .aespl-cart-content {

        padding-bottom: 48px;
    }


    /* -----------------------------------------
       PRODUCT ITEM
       FIXED 500px LAYOUT
       ----------------------------------------- */

    .aespl-cart-item {

        grid-template-columns:
            74px
            minmax(0, 1fr)
            62px;

        grid-template-areas:
            "image details total";

        column-gap: 11px;

        row-gap: 0;

        padding:
            15px 11px;
    }


    .aespl-cart-item__image {

        grid-area: image;

        width: 74px;
        height: 74px;
    }


    .aespl-cart-item__details {

        grid-area: details;

        min-width: 0;
    }


    .aespl-cart-item__total {

        grid-area: total;

        align-self: start;

        width: 100%;

        padding-top: 2px;

        font-size: 0.76rem;

        line-height: 1.3;

        text-align: right;

        white-space: nowrap;
    }


    .aespl-cart-item__title {

        font-size: 0.98rem;

        line-height: 1.16;

        overflow-wrap: anywhere;
    }


    .aespl-cart-item__meta {

        font-size: 0.65rem;
    }


    .aespl-cart-item__price {

        font-size: 0.76rem;
    }


    /* -----------------------------------------
       CONTROLS
       ----------------------------------------- */

    .aespl-cart-item__controls {

        gap: 7px;

        margin-top: 8px;

        flex-wrap: nowrap;
    }


    .aespl-cart-quantity {

        height: 36px;

        flex: 0 0 auto;
    }


    .aespl-quantity-button {

        width: 30px;

        flex: 0 0 30px;
    }


    .aespl-cart-quantity .qty {

        width: 31px;

        font-size: 0.76rem;
    }


    /* -----------------------------------------
       DELETE
       ----------------------------------------- */

    .aespl-cart-item__remove {

        width: 35px;
        height: 35px;

        flex: 0 0 35px;
    }


    .aespl-cart-item__remove-icon svg {

        width: 15px;
        height: 15px;
    }


    /* -----------------------------------------
       FOOTER
       ----------------------------------------- */

    .aespl-cart-products__footer {

        padding:
            14px 11px;
    }


    .aespl-cart-continue {

        font-size: 0.70rem;
    }


    .aespl-cart-update {

        min-height: 36px;

        padding:
            0 11px;

        font-size: 0.65rem;
    }


    /* -----------------------------------------
       SUMMARY
       ----------------------------------------- */

    .aespl-cart-summary__content {

        padding:
            19px 14px;
    }


    .aespl-cart-summary__header h2 {

        font-size: 1.58rem;
    }


    /* -----------------------------------------
       COUPON
       ----------------------------------------- */

    .aespl-cart-coupon__fields {

        grid-template-columns: 1fr;
    }


    .aespl-cart-coupon__button {

        width: 100%;
    }


    .aespl-cart-coupon__applied {

        min-height: 53px;
    }


    .aespl-cart-coupon__applied-code {

        max-width: calc(100% - 38px);

        padding:
            6px 9px;

        font-size: 0.70rem;
    }


    .aespl-cart-coupon__remove {

        width: 27px;
        height: 27px;

        flex-basis: 27px;
    }


    .aespl-cart-coupon__remove svg {

        width: 12px;
        height: 12px;
    }


    .aespl-cart-summary__secure {

        font-size: 0.63rem;
    }


    /* -----------------------------------------
       PROMISE
       ----------------------------------------- */

    .aespl-cart-promise__item {

        padding:
            13px 14px;
    }


    /* -----------------------------------------
       SKELETON
       ----------------------------------------- */

    .aespl-cart-loading__products {

        padding:
            45px 11px 0;
    }


    .aespl-cart-skeleton-product {

        grid-template-columns:
            74px
            minmax(0, 1fr);
    }


    .aespl-skeleton--image {

        width: 74px;
        height: 74px;
    }
}


/* =========================================================
   360px
   ========================================================= */

@media (max-width: 360px) {

    .aespl-cart-container {

        width:
            calc(100% - 20px);

        max-width:
            calc(100% - 20px);
    }


    .aespl-cart-title {

        font-size: 42px;
    }


    /* -----------------------------------------
       PRODUCT ITEM
       EXTRA SMALL MOBILE
       ----------------------------------------- */

    .aespl-cart-item {

        grid-template-columns:
            65px
            minmax(0, 1fr)
            58px;

        grid-template-areas:
            "image details total";

        column-gap: 8px;

        row-gap: 0;

        padding:
            14px 9px;
    }


    .aespl-cart-item__image {

        grid-area: image;

        width: 65px;
        height: 65px;
    }


    .aespl-cart-item__details {

        grid-area: details;

        min-width: 0;
    }


    .aespl-cart-item__total {

        grid-area: total;

        align-self: start;

        padding-top: 1px;

        font-size: 0.70rem;

        text-align: right;

        white-space: nowrap;
    }


    .aespl-cart-item__title {

        font-size: 0.91rem;

        line-height: 1.14;
    }


    .aespl-cart-item__price {

        font-size: 0.70rem;
    }


    .aespl-cart-item__controls {

        flex-wrap: nowrap;

        gap: 6px;

        margin-top: 7px;
    }


    .aespl-cart-quantity {

        height: 33px;

        flex: 0 0 auto;
    }


    .aespl-quantity-button {

        width: 27px;

        flex: 0 0 27px;
    }


    .aespl-cart-quantity .qty {

        width: 28px;

        font-size: 0.72rem;
    }


    .aespl-cart-item__remove {

        width: 32px;
        height: 32px;

        flex: 0 0 32px;
    }


    .aespl-cart-item__remove-icon svg {

        width: 14px;
        height: 14px;
    }


    /* -----------------------------------------
       APPLIED COUPON
       ----------------------------------------- */

    .aespl-cart-coupon__applied {

        min-height: 50px;

        gap: 8px;
    }


    .aespl-cart-coupon__applied-code {

        max-width: calc(100% - 36px);

        padding:
            5px 8px;

        font-size: 0.66rem;
    }


    .aespl-cart-coupon__remove {

        width: 26px;
        height: 26px;

        flex-basis: 26px;
    }


    .aespl-cart-coupon__remove svg {

        width: 11px;
        height: 11px;
    }
}


/* =========================================================
   MOBILE SAFETY
   ========================================================= */

@media (max-width: 760px) {

    .aespl-cart-page img,
    .aespl-cart-page svg,
    .aespl-cart-page video,
    .aespl-cart-page iframe {

        max-width: 100%;
    }


    .aespl-cart-page input,
    .aespl-cart-page select,
    .aespl-cart-page button,
    .aespl-cart-page textarea {

        max-width: 100%;
    }
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .aespl-skeleton {

        animation: none;
    }


    .aespl-cart-item__image img,
    .aespl-cart-button,
    .aespl-quantity-button,
    .aespl-cart-update,
    .aespl-cart-coupon__toggle svg,
    .aespl-cart-coupon__remove,
    .aespl-cart-item__remove,
    .aespl-cart-item__remove-icon svg {

        transition: none;
    }
}