/* =========================================================
   SHINA HOME — CART EXPERIENCE 1.0
   ========================================================= */

@property --sc-angle { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

body.shina-cart {
    --sc-paper: #F7F4EE;
    --sc-ink: #1F1E1A;
    --sc-muted: rgba(31, 30, 26, .66);
    --sc-line: rgba(31, 30, 26, .12);
    --sc-sand: #C2AA86;
    --sc-sand-deep: #94794F;
    --sc-red: #D8362B;
    --sc-red-deep: #B3231A;
    --sc-grad: linear-gradient(135deg, #E3D2B1 0%, #C2AA86 52%, #AE9468 100%);
    --sc-red-grad: linear-gradient(135deg, #EE5A4B 0%, #D8362B 55%, #B3231A 100%);
    --sc-ease: cubic-bezier(.2, .7, .2, 1);
    --sc-font: 'Inter', 'Noto Sans Georgian', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --sc-card: rgba(255, 255, 255, .68);
    --sc-shadow: 0 30px 60px -34px rgba(70, 55, 30, .38), 0 1px 0 rgba(255, 255, 255, .9) inset;

    /* theme + WooCommerce block colours → sand, not blue */
    --wp-admin-theme-color: #94794F;
    --wp-admin-theme-color-darker-10: #7B6340;
    --theme-palette-color-1: #94794F;
    --theme-palette-color-2: #7B6340;
    --theme-link-initial-color: #1F1E1A;
    --theme-link-hover-color: #94794F;
    --theme-form-field-border-focus-color: #94794F;
    --theme-button-background-initial-color: #C2AA86;
    --theme-button-background-hover-color: #1F1E1A;
    --theme-button-text-initial-color: #1F1E1A;
    --theme-button-text-hover-color: #F7F4EE;

    background: var(--sc-paper) !important;
    color: var(--sc-ink);
    font-family: var(--sc-font);
    -webkit-font-smoothing: antialiased;
}
body.shina-cart button,
body.shina-cart input,
body.shina-cart select,
body.shina-cart textarea { font-family: inherit; }
body.shina-cart ::selection { background: rgba(194, 170, 134, .45); }
body.shina-cart #main,
body.shina-cart .site-main,
body.shina-cart .ct-container,
body.shina-cart .ct-container-full { background-color: transparent; }
body.shina-cart #header.ct-header,
body.shina-cart #header.ct-header [data-row] { background: var(--sc-paper) !important; }

/* aurora light */
body.shina-cart::before,
body.shina-cart::after {
    content: "";
    position: fixed; z-index: -1;
    pointer-events: none;
    border-radius: 50%;
    filter: blur(70px);
}
body.shina-cart::before {
    width: 60vw; height: 60vw; top: -25vw; left: -15vw;
    background: radial-gradient(circle, rgba(255, 255, 255, .95), transparent 65%);
    animation: scDrift 22s ease-in-out infinite alternate;
}
body.shina-cart::after {
    width: 52vw; height: 52vw; bottom: -22vw; right: -12vw;
    background: radial-gradient(circle, rgba(194, 170, 134, .32), transparent 65%);
    animation: scDrift 26s ease-in-out infinite alternate-reverse;
}
@keyframes scDrift { from { transform: translate3d(0,0,0) scale(1); } to { transform: translate3d(4vw,3vw,0) scale(1.15); } }

/* ---------- Page title ---------- */
body.shina-cart .entry-title,
body.shina-cart .page-title,
body.shina-cart h1.wp-block-post-title {
    font-size: clamp(34px, 4vw, 58px);
    line-height: 1.05;
    letter-spacing: -.03em;
    font-weight: 650;
    color: var(--sc-ink);
}
body.shina-cart .woocommerce-breadcrumb,
body.shina-cart .ct-breadcrumbs { font-size: 12px; font-weight: 600; letter-spacing: .06em; color: var(--sc-muted); }

/* =========================================================
   FREE-DELIVERY BAR
   ========================================================= */

.shina-ci-ship {
    max-width: 1240px;
    margin: 0 auto 24px;
    padding: 18px 22px 20px;
    border-radius: 22px;
    background: var(--sc-card, rgba(255,255,255,.68));
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 24px 50px -36px rgba(70, 55, 30, .4);
    font-family: var(--sc-font, inherit);
}
.shina-ci-ship-text { margin-bottom: 12px; font-size: 15px; font-weight: 650; color: #1F1E1A; }
.shina-ci-ship-track { height: 10px; border-radius: 999px; background: rgba(31, 30, 26, .08); overflow: hidden; }
.shina-ci-ship-track i {
    display: block; height: 100%; width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, #E3D2B1, #C2AA86, #94794F);
    background-size: 200% 100%;
    animation: scShimmer 3s linear infinite;
    transition: width 1s cubic-bezier(.2, .7, .2, 1);
}
.shina-ci-ship.is-done .shina-ci-ship-text::before { content: "✓"; display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 10px; border-radius: 50%; background: #3FA66B; color: #fff; font-size: 12px; }
.shina-ci-ship.is-done .shina-ci-ship-track i { background: linear-gradient(90deg, #7CCB9C, #3FA66B); }
@keyframes scShimmer { to { background-position: -200% 0; } }

/* =========================================================
   BLOCK CART — LAYOUT
   ========================================================= */

body.shina-cart .wp-block-woocommerce-cart { max-width: 1240px; margin-inline: auto; }
body.shina-cart .wc-block-components-sidebar-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: clamp(24px, 3vw, 44px);
    align-items: start;
    margin: 0;
}
body.shina-cart .wc-block-components-sidebar-layout .wc-block-components-main,
body.shina-cart .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ---------- Items as cards ---------- */
body.shina-cart table.wc-block-cart-items { display: block; margin: 0; border: 0; }
body.shina-cart .wc-block-cart-items thead { display: none; }
body.shina-cart .wc-block-cart-items tbody { display: grid; gap: 16px; }
body.shina-cart .wc-block-cart-items__row {
    display: grid !important;
    grid-template-columns: 116px minmax(0, 1fr) auto;
    align-items: center;
    gap: 6px 24px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 26px;
    background: var(--sc-card);
    box-shadow: var(--sc-shadow);
    transition: transform .45s var(--sc-ease), box-shadow .45s ease;
    animation: scRise .8s var(--sc-ease) both;
}
body.shina-cart .wc-block-cart-items__row:nth-child(2) { animation-delay: .07s; }
body.shina-cart .wc-block-cart-items__row:nth-child(3) { animation-delay: .14s; }
body.shina-cart .wc-block-cart-items__row:nth-child(4) { animation-delay: .21s; }
body.shina-cart .wc-block-cart-items__row:nth-child(n+5) { animation-delay: .28s; }
@keyframes scRise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
body.shina-cart .wc-block-cart-items__row:hover { transform: translateY(-3px); box-shadow: 0 40px 70px -34px rgba(70, 55, 30, .45), 0 1px 0 rgba(255,255,255,.9) inset; }
body.shina-cart .wc-block-cart-items__row td { display: block; padding: 0 !important; border: 0 !important; width: auto !important; }

body.shina-cart .wc-block-cart-item__image a { display: block; }
body.shina-cart .wc-block-cart-item__image img {
    display: block;
    width: 116px; height: 116px;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 18px;
    background: #ECE5D8;
    transition: transform .8s var(--sc-ease);
}
body.shina-cart .wc-block-cart-items__row:hover .wc-block-cart-item__image img { transform: scale(1.04); }
body.shina-cart .wc-block-cart-item__image a { overflow: hidden; border-radius: 18px; }

body.shina-cart .wc-block-components-product-name {
    display: block;
    margin-bottom: 8px;
    font-size: 17px;
    line-height: 1.35;
    font-weight: 650;
    letter-spacing: -.01em;
    color: var(--sc-ink);
    text-decoration: none;
}
body.shina-cart .wc-block-components-product-name:hover { color: var(--sc-sand-deep); }
body.shina-cart .wc-block-cart-item__prices,
body.shina-cart .wc-block-components-product-price { font-size: 15px; font-weight: 600; color: var(--sc-muted); }
body.shina-cart .wc-block-components-product-price__regular,
body.shina-cart .wc-block-components-product-price del { color: rgba(31, 30, 26, .4); font-weight: 500; }
body.shina-cart .wc-block-components-product-price__value.is-discounted,
body.shina-cart .wc-block-components-product-price ins { color: var(--sc-red); text-decoration: none; font-weight: 700; }
body.shina-cart .wc-block-cart-item__total .wc-block-components-product-price { font-size: 19px; font-weight: 750; letter-spacing: -.02em; color: var(--sc-ink); }
body.shina-cart .wc-block-cart-item__total { text-align: right; align-self: center; }

body.shina-cart .wc-block-components-sale-badge,
body.shina-cart .wc-block-components-product-badge {
    display: inline-block;
    padding: 5px 11px;
    border: 0;
    border-radius: 999px;
    background: var(--sc-red-grad);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .04em;
    text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(216, 54, 43, .3);
}
body.shina-cart .wc-block-components-product-metadata,
body.shina-cart .wc-block-components-product-metadata__description { font-size: 14px; line-height: 1.55; color: var(--sc-muted); }

/* quantity pill + remove */
body.shina-cart .wc-block-cart-item__quantity { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; }
body.shina-cart .wc-block-components-quantity-selector {
    height: 44px;
    width: auto;
    border: 1px solid var(--sc-line);
    border-radius: 999px;
    background: #fff;
    overflow: hidden;
}
body.shina-cart .wc-block-components-quantity-selector::after { display: none; }
body.shina-cart .wc-block-components-quantity-selector__input {
    width: 44px;
    border: 0 !important;
    background: transparent;
    font-size: 15px;
    font-weight: 700;
    color: var(--sc-ink);
    box-shadow: none !important;
}
body.shina-cart .wc-block-components-quantity-selector__button {
    width: 40px; height: 100%;
    color: var(--sc-ink);
    opacity: 1;
    transition: background .25s ease;
}
body.shina-cart .wc-block-components-quantity-selector__button:hover:not(:disabled) { background: rgba(194, 170, 134, .32); }
body.shina-cart .wc-block-cart-item__remove-link {
    font-size: 13px;
    font-weight: 600;
    color: var(--sc-muted);
    text-decoration: none;
    border-bottom: 1px solid var(--sc-line);
    transition: color .25s ease, border-color .25s ease;
}
body.shina-cart .wc-block-cart-item__remove-link:hover { color: var(--sc-red); border-color: var(--sc-red); }

/* =========================================================
   BLOCK CART — SUMMARY CARD
   ========================================================= */

body.shina-cart .wc-block-components-sidebar-layout .wc-block-cart__sidebar {
    position: sticky;
    top: 112px;
    isolation: isolate;
    padding: 28px 26px 26px !important;
    border-radius: 28px;
    background: rgba(255, 255, 255, .72);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: var(--sc-shadow);
}
body.shina-cart .wc-block-cart__sidebar::before {
    content: "";
    position: absolute; inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: conic-gradient(from var(--sc-angle), rgba(194,170,134,.25) 0%, rgba(194,170,134,.25) 62%, #F0E2C6 80%, #C2AA86 90%, rgba(194,170,134,.25) 100%);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
    pointer-events: none;
    animation: scAngle 6s linear infinite;
}
@keyframes scAngle { to { --sc-angle: 360deg; } }

body.shina-cart .wc-block-cart__totals-title {
    padding: 0 0 14px !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .16em !important;
    text-transform: uppercase;
    color: var(--sc-sand-deep);
    text-align: left !important;
}
body.shina-cart .wc-block-components-totals-wrapper { padding: 14px 0 !important; border-color: var(--sc-line) !important; }
body.shina-cart .wc-block-components-totals-item { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; }
body.shina-cart .wc-block-components-totals-item__label { font-weight: 500; color: var(--sc-muted); }
body.shina-cart .wc-block-components-totals-item__value { font-weight: 650; color: var(--sc-ink); }
body.shina-cart .wc-block-components-totals-discount .wc-block-components-totals-item__value,
body.shina-cart .wc-block-components-totals-discount__coupon-list-item { color: var(--sc-red); }
body.shina-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__label {
    font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--sc-ink);
}
body.shina-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
    font-size: 32px; font-weight: 750; letter-spacing: -.035em; color: var(--sc-ink);
}
body.shina-cart .wc-block-components-totals-footer-item-tax { font-size: 13px; color: var(--sc-muted); }

/* coupon */
body.shina-cart .wc-block-components-totals-coupon .wc-block-components-panel__button {
    padding: 0; font-size: 14px; font-weight: 700; color: var(--sc-sand-deep);
}
body.shina-cart .wc-block-components-totals-coupon__form { gap: 8px; }
body.shina-cart .wc-block-components-text-input input[type=text],
body.shina-cart .wc-block-components-text-input input[type=email],
body.shina-cart .wc-block-components-text-input input[type=tel] {
    height: 52px;
    border: 1px solid var(--sc-line);
    border-radius: 999px;
    background: #fff;
    padding-inline: 20px;
    font-size: 15px;
    transition: border-color .3s ease, box-shadow .3s ease;
}
body.shina-cart .wc-block-components-text-input input:focus {
    border-color: var(--sc-sand-deep);
    box-shadow: 0 0 0 4px rgba(194, 170, 134, .3);
    outline: 0;
}
body.shina-cart .wc-block-components-text-input label { font-size: 14px; }
body.shina-cart .wc-block-components-totals-coupon__button {
    min-height: 52px; padding: 0 22px;
    border: 1px solid var(--sc-line) !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: var(--sc-ink) !important;
    font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
    transition: background .3s ease, transform .3s var(--sc-ease);
}
body.shina-cart .wc-block-components-totals-coupon__button:hover { background: var(--sc-grad) !important; border-color: transparent !important; transform: translateY(-2px); }

/* shipping */
body.shina-cart .wc-block-components-shipping-rates-control .wc-block-components-radio-control__option { border-radius: 16px; }
body.shina-cart .wc-block-components-radio-control__input:checked { border-color: var(--sc-sand-deep) !important; }
body.shina-cart .wc-block-components-radio-control__input:checked::before { background: var(--sc-sand-deep) !important; }

/* savings + trust (injected) */
.shina-ci-save { display: flex; align-items: center; gap: 12px; margin: 4px 0 16px; font-family: var(--sc-font, inherit); }
.shina-ci-save-pill {
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, #EE5A4B, #B3231A);
    color: #fff; font-size: 13px; font-weight: 800;
    box-shadow: 0 6px 16px rgba(216, 54, 43, .35);
}
.shina-ci-save-text { font-size: 15px; font-weight: 700; color: #B3231A; }
.shina-ci-trust { list-style: none; margin: 18px 0 0; padding: 0; font-family: var(--sc-font, inherit); }
.shina-ci-trust li {
    position: relative;
    padding: 9px 0 9px 30px;
    font-size: 14px; font-weight: 500; color: rgba(31, 30, 26, .7);
}
.shina-ci-trust li::before {
    content: "✓";
    position: absolute; left: 0; top: 9px;
    width: 20px; height: 20px;
    display: grid; place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #E3D2B1, #AE9468);
    color: #fff; font-size: 11px; font-weight: 800;
}

/* ---------- Buttons ---------- */
body.shina-cart .wc-block-cart__submit-button,
body.shina-cart .wc-proceed-to-checkout a.checkout-button,
body.shina-cart .shina-ci-cta,
body.shina-cart .shina-ci-sticky-btn,
body.shina-cart .return-to-shop a.button,
body.shina-cart .woocommerce-cart-form button[name=update_cart],
body.shina-cart .coupon button.button {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 58px;
    padding: 0 34px;
    border: 0 !important;
    border-radius: 999px !important;
    background: var(--sc-grad) !important;
    color: var(--sc-ink) !important;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    text-decoration: none !important;
    cursor: pointer;
    box-shadow: 0 14px 34px rgba(169, 143, 104, .42), inset 0 1px 0 rgba(255, 255, 255, .55);
    transition: transform .35s var(--sc-ease), box-shadow .35s ease, filter .35s ease;
}
body.shina-cart .wc-block-cart__submit-button,
body.shina-cart .wc-proceed-to-checkout a.checkout-button { width: 100%; margin: 0; }
body.shina-cart .wc-block-cart__submit-button::after,
body.shina-cart .wc-proceed-to-checkout a.checkout-button::after { content: "→"; font-size: 17px; letter-spacing: 0; transition: transform .35s var(--sc-ease); }
body.shina-cart .wc-block-cart__submit-button::before,
body.shina-cart .wc-proceed-to-checkout a.checkout-button::before,
body.shina-cart .shina-ci-cta::before {
    content: "";
    position: absolute; z-index: -1; inset: 0;
    background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .65) 50%, transparent 70%);
    transform: translateX(-120%);
}
body.shina-cart .wc-block-cart__submit-button:hover,
body.shina-cart .wc-proceed-to-checkout a.checkout-button:hover,
body.shina-cart .shina-ci-cta:hover,
body.shina-cart .shina-ci-sticky-btn:hover,
body.shina-cart .return-to-shop a.button:hover,
body.shina-cart .woocommerce-cart-form button[name=update_cart]:hover,
body.shina-cart .coupon button.button:hover {
    transform: translateY(-3px);
    filter: saturate(1.1) brightness(1.03);
    color: var(--sc-ink) !important;
    box-shadow: 0 22px 46px rgba(169, 143, 104, .55), 0 0 0 6px rgba(194, 170, 134, .2), inset 0 1px 0 rgba(255, 255, 255, .6);
}
body.shina-cart .wc-block-cart__submit-button:hover::before,
body.shina-cart .wc-proceed-to-checkout a.checkout-button:hover::before,
body.shina-cart .shina-ci-cta:hover::before { animation: scShine 1s var(--sc-ease); }
@keyframes scShine { to { transform: translateX(120%); } }
body.shina-cart .wc-block-cart__submit-button:hover::after,
body.shina-cart .wc-proceed-to-checkout a.checkout-button:hover::after { transform: translateX(5px); }
body.shina-cart .wc-block-cart__submit-button:active { transform: translateY(-1px) scale(.985); }
body.shina-cart .wc-block-components-button__text { font-weight: inherit; }

/* =========================================================
   EMPTY CART
   ========================================================= */

body.shina-cart .wp-block-woocommerce-empty-cart-block { text-align: center; padding-block: clamp(20px, 4vw, 56px); }
body.shina-cart .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 650;
    letter-spacing: -.02em;
    color: var(--sc-ink);
}
body.shina-cart .wp-block-woocommerce-empty-cart-block .with-empty-cart-icon::before { color: var(--sc-sand); opacity: .8; }
.shina-ci-cta { width: fit-content; margin: 22px auto 10px; }
.shina-ci-cta span { font-size: 17px; letter-spacing: 0; }
body.shina-cart .wp-block-woocommerce-empty-cart-block h2:not(.with-empty-cart-icon) {
    margin: clamp(30px, 5vw, 60px) 0 24px;
    font-size: clamp(24px, 2.6vw, 34px);
    font-weight: 650;
    letter-spacing: -.02em;
}
body.shina-cart .wc-block-grid__product {
    padding: 12px 12px 18px;
    border-radius: 24px;
    background: var(--sc-card);
    border: 1px solid rgba(255, 255, 255, .9);
    box-shadow: 0 24px 50px -34px rgba(70, 55, 30, .35);
    transition: transform .5s var(--sc-ease);
}
body.shina-cart .wc-block-grid__product:hover { transform: translateY(-6px); }
body.shina-cart .wc-block-grid__product-image img { aspect-ratio: 1 / 1; object-fit: cover; border-radius: 16px; }
body.shina-cart .wc-block-grid__product-title { font-size: 15px; font-weight: 600; line-height: 1.4; color: var(--sc-ink); }
body.shina-cart .wc-block-grid__product-price { font-size: 15px; font-weight: 700; }
body.shina-cart .wc-block-grid__product-price ins { color: var(--sc-red); text-decoration: none; }
body.shina-cart .wc-block-grid__product-onsale {
    border: 0; border-radius: 999px;
    background: var(--sc-red-grad); color: #fff;
    font-weight: 800; box-shadow: 0 8px 20px rgba(216, 54, 43, .35);
}
body.shina-cart .wc-block-grid__product .wp-block-button__link {
    border: 1px solid var(--sc-line); border-radius: 999px;
    background: transparent; color: var(--sc-ink);
    font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    transition: background .3s ease, transform .3s var(--sc-ease);
}
body.shina-cart .wc-block-grid__product .wp-block-button__link:hover { background: var(--sc-grad); border-color: transparent; transform: translateY(-2px); }

/* notices */
body.shina-cart .wc-block-components-notice-banner,
body.shina-cart .woocommerce-message,
body.shina-cart .woocommerce-info {
    border: 1px solid var(--sc-line);
    border-radius: 16px;
    background: rgba(255, 255, 255, .82);
    color: var(--sc-ink);
}
body.shina-cart .wc-block-components-notice-banner.is-success { border-left: 4px solid var(--sc-sand); }
body.shina-cart .wc-block-components-notice-banner.is-error,
body.shina-cart .woocommerce-error { border-left: 4px solid var(--sc-red); border-radius: 16px; }

/* =========================================================
   CLASSIC CART (shortcode) — same look
   ========================================================= */

body.shina-cart table.shop_table.cart { display: block; border: 0; background: none; }
body.shina-cart table.shop_table.cart thead { display: none; }
body.shina-cart table.shop_table.cart tbody { display: grid; gap: 16px; }
body.shina-cart table.shop_table.cart tr.cart_item {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr) auto auto;
    grid-template-areas: "thumb name qty sub";
    align-items: center;
    gap: 10px 22px;
    padding: 16px 52px 16px 16px;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 26px;
    background: var(--sc-card);
    box-shadow: var(--sc-shadow);
    animation: scRise .8s var(--sc-ease) both;
}
body.shina-cart table.shop_table.cart tr.cart_item td { display: block; padding: 0; border: 0; background: none; }
body.shina-cart td.product-thumbnail { grid-area: thumb; }
body.shina-cart td.product-thumbnail img { width: 112px; height: 112px; object-fit: cover; border-radius: 18px; }
body.shina-cart td.product-name { grid-area: name; font-size: 17px; font-weight: 650; }
body.shina-cart td.product-name a { color: var(--sc-ink); text-decoration: none; }
body.shina-cart td.product-price { display: none !important; }
body.shina-cart td.product-quantity { grid-area: qty; }
body.shina-cart td.product-subtotal { grid-area: sub; font-size: 19px; font-weight: 750; text-align: right; }
body.shina-cart td.product-subtotal::before,
body.shina-cart td.product-quantity::before,
body.shina-cart td.product-name::before,
body.shina-cart td.product-thumbnail::before,
body.shina-cart td.product-price::before { display: none !important; content: none !important; }
body.shina-cart td.product-remove { position: absolute; top: 14px; right: 14px; }
body.shina-cart td.product-remove a.remove {
    display: grid; place-items: center;
    width: 30px; height: 30px;
    border-radius: 50%;
    background: rgba(31, 30, 26, .07);
    color: var(--sc-ink) !important;
    font-size: 18px; line-height: 1;
    transition: background .25s ease, color .25s ease;
}
body.shina-cart td.product-remove a.remove:hover { background: var(--sc-red); color: #fff !important; }
body.shina-cart .woocommerce-cart-form .quantity { display: inline-flex; border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; overflow: hidden; }
body.shina-cart .woocommerce-cart-form .quantity input.qty { border: 0 !important; background: transparent !important; font-weight: 700; box-shadow: none !important; }
body.shina-cart td.actions { display: flex !important; flex-wrap: wrap; gap: 12px; padding: 4px 0 0 !important; border: 0; background: none; }
body.shina-cart td.actions .coupon { display: flex; flex: 1 1 320px; gap: 8px; }
body.shina-cart td.actions .coupon input#coupon_code {
    flex: 1; height: 54px; padding-inline: 22px;
    border: 1px solid var(--sc-line); border-radius: 999px; background: #fff; font-size: 15px;
}
body.shina-cart td.actions .coupon input#coupon_code:focus { border-color: var(--sc-sand-deep); box-shadow: 0 0 0 4px rgba(194,170,134,.3); outline: 0; }
body.shina-cart .woocommerce-cart-form button[name=update_cart],
body.shina-cart .coupon button.button { min-height: 54px; padding: 0 26px; }
body.shina-cart .woocommerce-cart-form button[name=update_cart]:disabled { opacity: .45; }
body.shina-cart .cart-collaterals { margin-top: 28px; }
body.shina-cart .cart-collaterals .cart_totals {
    float: none; width: 100%; max-width: 440px; margin-left: auto;
    padding: 28px 26px;
    border-radius: 28px;
    background: rgba(255, 255, 255, .72);
    box-shadow: var(--sc-shadow);
}
body.shina-cart .cart_totals h2 { font-size: 12px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--sc-sand-deep); }
body.shina-cart .cart_totals th { font-size: 14px; font-weight: 500; color: var(--sc-muted); }
body.shina-cart .cart_totals td { font-weight: 650; }
body.shina-cart .cart_totals .order-total td,
body.shina-cart .cart_totals .order-total .amount { font-size: 28px; font-weight: 750; letter-spacing: -.03em; }
body.shina-cart .cart-empty.woocommerce-info { text-align: center; font-size: 18px; font-weight: 600; }
body.shina-cart .return-to-shop { text-align: center; }
body.shina-cart .return-to-shop a.button { display: inline-flex; width: fit-content; }

/* =========================================================
   MOBILE STICKY CHECKOUT BAR
   ========================================================= */

.shina-ci-sticky {
    position: fixed;
    left: 50%; bottom: 12px;
    z-index: 9990;
    width: min(560px, calc(100vw - 24px));
    display: none;
    align-items: center;
    gap: 14px;
    padding: 10px 10px 10px 20px;
    border: 1px solid rgba(31, 30, 26, .1);
    border-radius: 999px;
    background: rgba(252, 250, 246, .88);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    box-shadow: 0 24px 60px rgba(41, 41, 35, .22);
    transform: translate(-50%, 160%);
    transition: transform .6s cubic-bezier(.2, .7, .2, 1);
    font-family: var(--sc-font, inherit);
}
.shina-ci-sticky.is-visible { transform: translate(-50%, 0); }
.shina-ci-sticky-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.15; }
.shina-ci-sticky-info small { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: rgba(31, 30, 26, .55); }
.shina-ci-sticky-info strong { margin-top: 3px; font-size: 20px; font-weight: 750; letter-spacing: -.02em; color: #1F1E1A; }
body.shina-cart .shina-ci-sticky-btn { min-height: 50px; padding: 0 24px; font-size: 12px; width: auto; flex: 0 0 auto; }
body.shina-cart .shina-ci-sticky-btn i { font-style: normal; font-size: 16px; letter-spacing: 0; }

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1000px) {
    body.shina-cart .wc-block-components-sidebar-layout { grid-template-columns: minmax(0, 1fr); }
    body.shina-cart .wc-block-components-sidebar-layout .wc-block-cart__sidebar { position: relative; top: 0; }
    .shina-ci-sticky { display: flex; }
    body.shina-cart .cart-collaterals .cart_totals { max-width: none; }
}

@media (max-width: 689px) {
    .shina-ci-ship { padding: 15px 16px 17px; border-radius: 18px; }
    body.shina-cart .wc-block-cart-items__row {
        grid-template-columns: 92px minmax(0, 1fr);
        gap: 10px 16px;
        padding: 14px;
        border-radius: 22px;
    }
    body.shina-cart .wc-block-cart-item__image img { width: 92px; height: 92px; }
    body.shina-cart .wc-block-cart-item__total { grid-column: 1 / -1; text-align: right; padding-top: 4px !important; border-top: 1px solid var(--sc-line) !important; }
    body.shina-cart .wc-block-components-product-name { font-size: 16px; }
    body.shina-cart .wc-block-components-sidebar-layout .wc-block-cart__sidebar { padding: 22px 18px 20px !important; border-radius: 24px; }
    body.shina-cart .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-size: 28px; }

    body.shina-cart table.shop_table.cart tr.cart_item {
        grid-template-columns: 92px minmax(0, 1fr);
        grid-template-areas: "thumb name" "qty sub";
        padding: 14px 48px 14px 14px;
        gap: 12px 16px;
    }
    body.shina-cart td.product-thumbnail img { width: 92px; height: 92px; }
    body.shina-cart td.product-subtotal { align-self: center; }
    body.shina-cart td.actions .coupon { flex-basis: 100%; }
    .shina-ci-cta { width: 100%; }
}

@media (min-width: 1001px) { .shina-ci-sticky { display: none !important; } }

@media (prefers-reduced-motion: reduce) {
    body.shina-cart *, body.shina-cart *::before, body.shina-cart *::after,
    .shina-ci-sticky, .shina-ci-ship-track i { animation: none !important; transition: none !important; }
}
