/* =========================================================
   MY SCI â€” LUXURY YELLOW / WHITE DESIGN SYSTEM
   Single-file stylesheet
   Works with the existing PHP/HTML without changing markup.
   ========================================================= */

/* ---------- DESIGN TOKENS ---------- */
:root {
    --yellow: #f4c400;
    --yellow-strong: #e8b600;
    --yellow-soft: #fff8d6;
    --yellow-pale: #fffdf1;

    --ink: #171717;
    --ink-soft: #3e3e3e;
    --muted: #747474;

    --white: #ffffff;
    --cream: #fbfaf6;
    --line: #e9e6dc;
    --line-strong: #d8d3c5;

    --danger: #c62828;
    --success: #2e7d32;

    --shadow-sm: 0 6px 18px rgba(24, 20, 8, .06);
    --shadow-md: 0 16px 45px rgba(24, 20, 8, .09);
    --shadow-lg: 0 28px 70px rgba(24, 20, 8, .13);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --container: 1180px;

    --font-sans:
        "Noto Sans Thai",
        "Noto Sans",
        "Leelawadee UI",
        "Tahoma",
        "Arial",
        sans-serif;

    --font-display:
        "Noto Sans Thai",
        "Noto Sans",
        "Leelawadee UI",
        "Tahoma",
        Arial,
        sans-serif;
}

/* ---------- RESET ---------- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--ink);
    background:
        radial-gradient(circle at 90% 0%, rgba(244, 196, 0, .08), transparent 30rem),
        var(--cream);
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

img,
svg,
video {
    display: block;
    max-width: 100%;
}

img {
    height: auto;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: pointer;
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    color: var(--ink);
    font-family: var(--font-display);
    line-height: 1.15;
    letter-spacing: -.035em;
}

h1,
h2,
h3 {
    font-weight: 850;
}

p {
    color: var(--ink-soft);
}

::selection {
    background: var(--yellow);
    color: var(--ink);
}

:focus-visible {
    outline: 3px solid rgba(244, 196, 0, .48);
    outline-offset: 3px;
}

/* ---------- GLOBAL LAYOUT ---------- */
.container {
    width: min(calc(100% - 40px), var(--container));
    margin-inline: auto;
}

main {
    min-height: 60vh;
}

.section {
    padding: 88px 0;
}

.section-title,
.home-section-title {
    margin-bottom: 36px;
}

.section-title h2,
.home-section-title h2 {
    margin-bottom: 8px;
    font-size: clamp(30px, 4vw, 48px);
}

.section-title p,
.home-section-title p {
    margin-bottom: 0;
    color: var(--muted);
}

/* ---------- HEADER ---------- */
header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .92);
    border-bottom: 1px solid rgba(233, 230, 220, .9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--ink);
    font-weight: 900;
    letter-spacing: -.025em;
}

.logo>span {
    font-size: 19px;
}

.logo-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    background: var(--ink);
    color: var(--yellow);
    font-size: 13px;
    font-weight: 950;
    letter-spacing: .04em;
    box-shadow: 0 7px 18px rgba(23, 23, 23, .13);
}

nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--ink-soft);
    font-size: 14px;
    font-weight: 800;
    transition:
        color .2s ease,
        background .2s ease,
        transform .2s ease;
}

nav a:hover {
    color: var(--ink);
    background: var(--yellow-soft);
    transform: translateY(-1px);
}

nav a:last-child {
    background: var(--ink);
    color: var(--white);
}

nav a:last-child:hover {
    background: #2a2a2a;
    color: var(--yellow);
}

/* ---------- BUTTONS ---------- */
.btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 20px;
    border: 1px solid var(--yellow);
    border-radius: 999px;
    background: var(--yellow);
    color: var(--ink);
    font-size: 15px;
    font-weight: 900;
    line-height: 1.2;
    box-shadow: 0 8px 20px rgba(244, 196, 0, .18);
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease,
        border-color .2s ease;
}

.btn:hover {
    background: var(--yellow-strong);
    border-color: var(--yellow-strong);
    transform: translateY(-2px);
    box-shadow: 0 13px 28px rgba(244, 196, 0, .25);
}

.btn:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--white);
    border-color: var(--line-strong);
    color: var(--ink);
    box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
    background: var(--yellow-pale);
    border-color: var(--yellow);
    color: var(--ink);
}

.btn-full {
    width: 100%;
}

button.btn:disabled,
.btn[disabled] {
    transform: none;
    box-shadow: none;
}

/* ---------- HOME HERO ---------- */
.home-hero {
    position: relative;
    overflow: hidden;
    padding: 88px 0 78px;
    background:
        linear-gradient(135deg, #fff 0%, #fffdf3 55%, #fff8d6 100%);
    border-bottom: 1px solid var(--line);
}

.home-hero::before {
    content: "";
    position: absolute;
    width: 480px;
    height: 480px;
    right: -170px;
    top: -220px;
    border-radius: 50%;
    background: rgba(244, 196, 0, .13);
    pointer-events: none;
}

.home-hero-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.02fr .98fr;
    align-items: center;
    gap: 70px;
}

.home-hero-content {
    max-width: 650px;
}

.home-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 20px;
    color: var(--ink);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .14em;
}

.home-hero-label span {
    width: 28px;
    height: 3px;
    border-radius: 999px;
    background: var(--yellow);
}

.home-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(60px, 10vw, 118px);
    line-height: .9;
    letter-spacing: -.075em;
}

.home-hero h1 strong {
    color: var(--yellow-strong);
}

.home-hero p {
    max-width: 570px;
    margin-bottom: 30px;
    color: var(--ink-soft);
    font-size: clamp(16px, 2vw, 20px);
}

.home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.home-hero-image {
    min-height: 460px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.hero-placeholder {
    position: relative;
    width: min(100%, 500px);
    aspect-ratio: 1 / 1;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border: 1px solid rgba(23, 23, 23, .08);
    border-radius: var(--radius-xl);

    background: #f8f8f8;

    box-shadow: var(--shadow-lg);
}


/* รูปเสื้อ */
.hero-placeholder img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;
    object-position: center;

    border-radius: inherit;

    transition: transform .3s ease;
}


/* เอฟเฟกต์ตอนเอาเมาส์ชี้ */
.hero-placeholder:hover img {
    transform: scale(1.03);
}

/* ---------- HOME PRODUCTS ---------- */
.home-products {
    padding: 92px 0;
    background: var(--white);
}

.home-section-title>span {
    display: inline-block;
    margin-bottom: 9px;
    color: var(--yellow-strong);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: .13em;
}

.home-product-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}

.home-product-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow-sm);
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.home-product-card:hover {
    transform: translateY(-5px);
    border-color: #e7d57c;
    box-shadow: var(--shadow-md);
}

.home-product-image {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: #f5f3ec;
}

.home-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.home-product-card:hover .home-product-image img {
    transform: scale(1.025);
}

.home-product-info {
    padding: 25px;
}

.home-product-version {
    display: inline-block;
    margin-bottom: 7px;
    color: var(--yellow-strong);
    font-size: 11px;
    font-weight: 950;
    letter-spacing: .14em;
}

.home-product-info h3 {
    margin-bottom: 5px;
    font-size: 25px;
}

.home-product-info p {
    margin-bottom: 20px;
    color: var(--muted);
}

.home-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.home-product-price {
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.home-product-price strong {
    font-size: 31px;
    line-height: 1;
    letter-spacing: -.04em;
}

.home-product-price span {
    color: var(--muted);
    font-size: 12px;
}

/* ---------- GENERIC CARDS ---------- */
.summary-card,
.cart-box,
.checkout-box {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.summary-card {
    padding: 26px;
}

.summary-card h2,
.summary-card h3 {
    margin-bottom: 0;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 11px 0;
    color: var(--ink-soft);
}

.summary-row strong {
    color: var(--ink);
    font-weight: 900;
}

.summary-total {
    margin-top: 12px;
    padding-top: 14px;
    border-top: 2px solid var(--ink);
}

.summary-total .summary-row {
    padding-bottom: 0;
}

.summary-total strong {
    font-size: 21px;
}

/* ---------- FORMS ---------- */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--ink);
    font-size: 14px;
    font-weight: 850;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 11px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    outline: none;
    background: var(--white);
    color: var(--ink);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .015);
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

input::placeholder,
textarea::placeholder {
    color: #a0a0a0;
}

input:hover,
select:hover,
textarea:hover {
    border-color: #c7c1b0;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--yellow-strong);
    background: #fffefa;
    box-shadow: 0 0 0 4px rgba(244, 196, 0, .13);
}

textarea {
    min-height: 125px;
    resize: vertical;
}

input[type="number"] {
    appearance: textfield;
    -moz-appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    margin: 0;
    opacity: 1;
}

input[type="tel"] {
    letter-spacing: .03em;
}

/* ---------- ALERTS ---------- */
.alert {
    margin: 0 0 22px;
    padding: 14px 16px;
    border-radius: 13px;
    border: 1px solid;
    font-weight: 700;
}

.alert-error {
    color: #8f2020;
    background: #fff2f2;
    border-color: #efc0c0;
}

.alert-success {
    color: #22662a;
    background: #f0f8f1;
    border-color: #b8dbbd;
}

/* ---------- CART ---------- */
.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 350px;
    gap: 30px;
    align-items: start;
}

.cart-title {
    padding: 65px 0 30px;
}

.cart-title h1 {
    margin-bottom: 8px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1;
}

.cart-title p {
    margin-bottom: 0;
    color: var(--muted);
}

.cart-box {
    padding: 25px;
}

.add-product {
    margin-bottom: 24px;
    padding: 25px;
    border: 1px solid #efdc82;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(145deg, #fffdf1, #fff8d6);
}

.add-product h2 {
    margin-bottom: 18px;
    font-size: 24px;
}

.product-select-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.version-option,
.size-option,
.type-option,
.receive-option {
    position: relative;
}

.version-option input,
.size-option input,
.type-option input,
.receive-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.version-option label,
.size-option label,
.type-option label,
.receive-option label {
    margin: 0;
    cursor: pointer;
}

.version-option label {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 2px solid var(--line);
    border-radius: 13px;
    background: var(--white);
    font-size: 16px;
    font-weight: 900;
    transition: .2s ease;
}

.version-option label:hover,
.size-option label:hover,
.type-option label:hover,
.receive-option label:hover {
    border-color: var(--yellow);
}

.version-option input:checked+label {
    border-color: var(--yellow);
    background: #fffdf0;
    box-shadow: 0 0 0 4px rgba(244, 196, 0, .11);
}

.size-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 8px;
}

.size-option label {
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: var(--white);
    font-weight: 850;
    transition: .2s ease;
}

.size-option input:checked+label {
    border-color: var(--yellow);
    background: var(--yellow);
    color: var(--ink);
}

.quantity-input {
    display: flex;
    align-items: center;
    gap: 10px;
}

.quantity-input input {
    width: 120px;
    text-align: center;
}

.cart-list {
    display: flex;
    flex-direction: column;
}

.cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.cart-row:last-child {
    border-bottom: 0;
}

.cart-product-name {
    font-size: 17px;
    font-weight: 900;
}

.cart-product-detail {
    margin-top: 3px;
    color: var(--muted);
    font-size: 14px;
}

.cart-price {
    margin-top: 6px;
    color: var(--ink);
    font-weight: 850;
    white-space: nowrap;
}

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cart-quantity input {
    width: 78px;
    min-height: 42px;
    text-align: center;
}

.remove-button {
    padding: 7px 10px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--danger);
    font-weight: 850;
}

.remove-button:hover {
    background: #fff1f1;
}

.empty-cart {
    padding: 60px 20px;
    text-align: center;
}

.empty-cart-icon {
    margin-bottom: 14px;
    font-size: 54px;
}

.empty-cart h2 {
    margin-bottom: 8px;
}

.empty-cart p {
    margin-bottom: 24px;
    color: var(--muted);
}

/* ---------- CHECKOUT ---------- */
.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 30px;
    align-items: start;
}

.checkout-header {
    padding: 65px 0 30px;
}

.checkout-header h1 {
    margin-bottom: 8px;
    font-size: clamp(36px, 6vw, 58px);
    line-height: 1;
}

.checkout-header p {
    margin-bottom: 0;
    color: var(--muted);
}

.checkout-box {
    padding: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-grid .full {
    grid-column: 1 / -1;
}

.required {
    color: var(--danger);
}

.field-error {
    margin-top: 5px;
    color: var(--danger);
    font-size: 13px;
    font-weight: 650;
}

.type-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.type-option label {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--white);
    text-align: center;
    transition: .2s ease;
}

.type-option input:checked+label {
    border-color: var(--yellow);
    background: var(--yellow-soft);
    box-shadow: 0 0 0 4px rgba(244, 196, 0, .11);
}

.receive-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.receive-option label {
    min-height: 120px;
    display: block;
    padding: 20px;
    border: 1px solid var(--line-strong);
    border-radius: 15px;
    background: var(--white);
    transition: .2s ease;
}

.receive-option input:checked+label {
    border-color: var(--yellow);
    background: var(--yellow-soft);
    box-shadow: 0 0 0 4px rgba(244, 196, 0, .11);
}

.receive-title {
    margin-bottom: 5px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 900;
}

.receive-description {
    color: var(--muted);
    font-size: 14px;
}

.shipping-box {
    margin-top: 15px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #faf9f5;
}

/* ---------- FOOTER ---------- */
footer {
    margin-top: 80px;
    padding: 45px 0;
    background: var(--ink);
    color: #d7d7d7;
    text-align: center;
}

footer strong {
    display: inline-block;
    margin-bottom: 5px;
    color: var(--yellow);
    font-size: 20px;
    font-weight: 950;
    letter-spacing: -.02em;
}

footer br+br {
    line-height: 1;
}

/* ---------- STICKY SUMMARY ---------- */
aside>.summary-card[style*="sticky"],
.summary-card[style*="position:sticky"] {
    position: sticky !important;
    top: 100px;
}

/* ---------- SMALL INLINE ELEMENTS ---------- */
small {
    color: var(--muted) !important;
}

hr {
    border: 0;
    border-top: 1px solid var(--line);
}

/* ---------- RESPONSIVE: TABLET ---------- */
@media (max-width: 1000px) {
    .home-hero-grid {
        gap: 40px;
    }

    .home-hero {
        padding: 65px 0;
    }

    .home-hero-image {
        min-height: 380px;
    }

    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }

    aside>.summary-card[style*="sticky"],
    .summary-card[style*="position:sticky"] {
        position: static !important;
    }
}

/* ---------- RESPONSIVE: MOBILE ---------- */
@media (max-width: 700px) {
    .container {
        width: min(calc(100% - 28px), var(--container));
    }

    .header-inner {
        min-height: 68px;
    }

    .logo-mark {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .logo>span {
        font-size: 17px;
    }

    nav {
        gap: 3px;
    }

    nav a {
        min-height: 38px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .home-hero {
        padding: 40px 0 45px;
    }

    .home-hero-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(120px, .85fr);
        gap: 15px;
        align-items: center;
    }

    .home-hero-content {
        max-width: none;
    }

    .home-hero h1 {
        font-size: clamp(42px, 12vw, 65px);
    }

    .home-hero p {
        font-size: 14px;
        line-height: 1.6;
    }

    .home-hero-image {
        min-height: 0;
        width: 100%;
    }

    .home-hero-actions {
        gap: 8px;
    }

    .home-hero-actions .btn {
        padding: 10px 14px;
        font-size: 13px;
    }

    .hero-placeholder {
        max-width: 430px;
        max-width: none;
        aspect-ratio: 1 / 1;
        border-radius: 18px;
    }

    .home-products,
    .section {
        padding: 60px 0;
    }

    .home-product-grid {
        grid-template-columns: 1fr;
    }

    .home-product-bottom {
        align-items: stretch;
    }

    .home-product-btn {
        flex-shrink: 0;
    }

    .cart-title,
    .checkout-header {
        padding: 45px 0 24px;
    }

    .cart-box,
    .checkout-box {
        padding: 20px;
        border-radius: 18px;
    }

    .add-product {
        padding: 20px;
        border-radius: 18px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-grid .full {
        grid-column: auto;
    }

    .type-grid,
    .receive-grid {
        grid-template-columns: 1fr;
    }

    .product-select-grid {
        grid-template-columns: 1fr;
    }

    .size-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }

    .cart-row {
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 10px;
    }

    .cart-quantity {
        grid-column: 2;
        grid-row: 1 / span 2;
    }

    .cart-row>div:last-child {
        grid-column: 1;
    }

    .cart-price {
        margin-top: 7px;
    }

    .summary-card {
        padding: 20px;
    }

    footer {
        margin-top: 55px;
    }
}

/* ---------- VERY SMALL PHONES ---------- */
@media (max-width: 420px) {

    .container {
        width: min(calc(100% - 22px), var(--container));
    }

    .header-inner {
        gap: 8px;
    }

    nav a:first-child {
        display: none;
    }

    /* ยังคงรูปไว้ด้านข้าง */
    .home-hero-grid {
        grid-template-columns: minmax(0, 1.2fr) minmax(100px, .8fr);
        gap: 10px;
    }

    .home-hero h1 {
        font-size: clamp(38px, 12vw, 52px);
    }

    .home-hero p {
        font-size: 13px;
    }

    .home-hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .home-hero-actions .btn {
        width: 100%;
        font-size: 12px;
        padding: 9px 8px;
    }

    .hero-placeholder {
        width: 100%;
        aspect-ratio: 1 / 1;
        border-radius: 15px;
    }

    .hero-placeholder img {
        padding: 3px;
    }

    .home-product-info {
        padding: 20px;
    }

    .home-product-bottom {
        flex-direction: column;
        align-items: stretch;
    }

    .home-product-btn {
        width: 100%;
    }

    .size-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .quantity-input input {
        width: 105px;
    }

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

    .cart-quantity {
        grid-column: 1;
        grid-row: auto;
    }

    .cart-row>div:last-child {
        grid-column: 1;
    }
}

/* ---------- REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* ---------- PRINT ---------- */
@media print {
    header {
        position: static;
        background: var(--white);
        box-shadow: none;
    }

    nav,
    .btn,
    button,
    footer {
        display: none !important;
    }

    body {
        background: var(--white);
    }

    .summary-card,
    .cart-box,
    .checkout-box,
    .home-product-card {
        box-shadow: none;
        break-inside: avoid;
    }
}