@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&display=swap');


/* =====================================================
   FOOD CITY SHOP
===================================================== */

:root {

    --background: #f5f6f1;
    --background-soft: #eef0ea;

    --white: #ffffff;

    --text: #171c18;
    --text-soft: #3f4741;
    --muted: #828b84;

    --green: #315a40;
    --green-dark: #244431;
    --green-light: #e7eee7;

    --danger: #c44949;

    --border: rgba(37, 59, 43, 0.08);
    --border-strong: rgba(37, 59, 43, 0.14);

    --radius-large: 30px;
    --radius-card: 25px;
    --radius-medium: 15px;
    --radius-small: 10px;

    --shadow-card:
        0 6px 20px rgba(20, 32, 24, 0.025),
        0 18px 40px rgba(20, 32, 24, 0.035);

    --shadow-card-hover:
        0 12px 28px rgba(20, 32, 24, 0.05),
        0 28px 60px rgba(20, 32, 24, 0.08);

    --ease:
        cubic-bezier(0.22, 1, 0.36, 1);
}


/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(76, 112, 85, 0.07),
            transparent 28%
        ),
        var(--background);

    color: var(--text);

    font-family:
        'Manrope',
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        sans-serif;

    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;

    padding-bottom: 60px;
}

button,
input,
textarea,
select {
    font: inherit;
}


/* =====================================================
   SCROLLBAR
===================================================== */

::-webkit-scrollbar {
    width: 7px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: rgba(51, 77, 59, 0.23);
    border-radius: 50px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(51, 77, 59, 0.4);
}


/* =====================================================
   HEADER
===================================================== */

.site-header {

    position: sticky;
    top: 0;
    z-index: 100;

    height: 72px;

    background:
        rgba(247, 248, 244, 0.86);

    border-bottom:
        1px solid rgba(33, 52, 39, 0.055);

    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
}

.header-inner {

    width:
        min(
            1180px,
            calc(100% - 48px)
        );

    height: 100%;

    margin: 0 auto;

    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =====================================================
   LOGO
===================================================== */

.logo {

    display: inline-flex;
    align-items: flex-start;

    color: var(--text);

    text-decoration: none;

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -0.055em;
}

.logo-dot {

    width: 5px;
    height: 5px;

    margin-top: 4px;
    margin-left: 4px;

    border-radius: 50%;

    background: var(--green);
}


/* =====================================================
   NAVIGATION
===================================================== */

.navigation {

    display: flex;
    align-items: center;

    gap: 28px;
}

.nav-link {

    position: relative;

    color: var(--muted);

    text-decoration: none;

    font-size: 13px;
    font-weight: 600;

    transition:
        color 350ms var(--ease);
}

.nav-link::after {

    content: "";

    position: absolute;

    left: 50%;
    bottom: -7px;

    width: 0;
    height: 1px;

    background: var(--text);

    transform: translateX(-50%);

    transition:
        width 380ms var(--ease);
}

.nav-link:hover {
    color: var(--text);
}

.nav-link:hover::after {
    width: 100%;
}


/* =====================================================
   CART BUTTON
===================================================== */

.cart-button {

    display: flex;
    align-items: center;

    gap: 8px;

    padding:
        10px
        12px
        10px
        15px;

    border: none;

    border-radius: 100px;

    background: var(--text);
    color: #ffffff;

    cursor: pointer;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 8px 22px rgba(15, 25, 18, 0.11);

    transition:
        transform 420ms var(--ease),
        background 420ms var(--ease),
        box-shadow 420ms var(--ease);
}

.cart-icon {

    width: 16px;
    height: 16px;
}

.cart-counter {

    min-width: 27px;
    height: 27px;

    padding: 0 7px;

    display: flex;
    align-items: center;
    justify-content: center;

    background:
        rgba(255, 255, 255, 0.12);

    border-radius: 100px;

    font-size: 11px;
}

.cart-button:hover {

    background: var(--green);

    transform: translateY(-2px);

    box-shadow:
        0 13px 30px rgba(39, 73, 51, 0.16);
}

.cart-button:active {

    transform: scale(0.97);

    transition-duration: 120ms;
}

.cart-bump {

    animation:
        cartBump
        430ms
        var(--ease);
}

@keyframes cartBump {

    0% {
        transform: scale(1);
    }

    45% {
        transform: scale(1.045);
    }

    100% {
        transform: scale(1);
    }
}


/* =====================================================
   MAIN
===================================================== */

main {

    width:
        min(
            1180px,
            calc(100% - 48px)
        );

    margin: 0 auto;

    padding-top: 26px;
}


/* =====================================================
   HERO
===================================================== */

.hero {

    overflow: hidden;

    border:
        1px solid rgba(55, 83, 62, 0.07);

    border-radius:
        var(--radius-large);

    background:
        radial-gradient(
            circle at 4% 20%,
            rgba(87, 123, 95, 0.14),
            transparent 34%
        ),
        radial-gradient(
            circle at 78% 0%,
            rgba(255, 255, 255, 0.92),
            transparent 40%
        ),
        linear-gradient(
            125deg,
            #edf1e9 0%,
            #f6f7f3 58%,
            #f8f8f5 100%
        );
}

.hero-content {

    min-height: 250px;

    padding:
        36px
        50px
        34px;

    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-label {

    margin-bottom: 12px;

    color:
        rgba(49, 90, 64, 0.67);

    font-size: 9px;
    font-weight: 800;

    letter-spacing: 0.18em;
}

.hero-title {

    max-width: 720px;

    color: var(--text);

    font-size:
        clamp(
            40px,
            4.4vw,
            58px
        );

    font-weight: 800;

    line-height: 1.04;

    letter-spacing: -0.065em;
}

.hero-bottom {

    margin-top: 25px;

    display: flex;
    align-items: center;

    gap: 17px;
}

.hero-description {

    color: var(--muted);

    font-size: 13px;
    font-weight: 500;
}

.hero-description::after {

    content: "";

    display: inline-block;

    width: 3px;
    height: 3px;

    margin:
        0
        3px
        3px
        13px;

    border-radius: 50%;

    background:
        rgba(49, 90, 64, 0.42);
}

.minimum-order {

    display: flex;
    align-items: center;

    gap: 7px;

    padding:
        8px
        12px;

    border:
        1px solid rgba(48, 79, 57, 0.08);

    border-radius: 100px;

    background:
        rgba(255, 255, 255, 0.52);
}

.minimum-order-label {

    color: var(--muted);

    font-size: 11px;
    font-weight: 500;
}

.minimum-order strong {

    color: var(--green-dark);

    font-size: 12px;
    font-weight: 800;
}


/* =====================================================
   CATALOG
===================================================== */

.catalog {
    margin-top: 48px;
}

.catalog-header {

    margin-bottom: 25px;

    padding-left: 3px;
}

.catalog h2 {

    color: var(--text);

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.05em;
}


/* =====================================================
   PRODUCT GRID
===================================================== */

.products {

    display: grid;

    grid-template-columns:
        repeat(
            auto-fill,
            minmax(280px, 1fr)
        );

    gap: 22px;
}


/* =====================================================
   PRODUCT CARD
===================================================== */

.product-card {

    display: flex;
    flex-direction: column;

    padding: 16px;

    overflow: hidden;

    background:
        rgba(255, 255, 255, 0.94);

    border:
        1px solid var(--border);

    border-radius:
        var(--radius-card);

    box-shadow:
        var(--shadow-card);

    transition:
        transform 520ms var(--ease),
        box-shadow 520ms var(--ease),
        border-color 520ms var(--ease);
}

.product-card:hover {

    transform: translateY(-6px);

    border-color:
        var(--border-strong);

    box-shadow:
        var(--shadow-card-hover);
}


/* =====================================================
   PRODUCT IMAGE
===================================================== */

.product-image {

    position: relative;

    height: 205px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 21px;

    overflow: hidden;

    border-radius: 19px;

    background:
        radial-gradient(
            circle at 50% 38%,
            #ffffff 0%,
            #f1f3ee 70%,
            #e9ede7 100%
        );

    font-size: 70px;

    user-select: none;

    transition:
        transform 650ms var(--ease);
}

.product-image::after {

    content: "";

    position: absolute;

    top: -70px;
    right: -70px;

    width: 130px;
    height: 130px;

    border-radius: 50%;

    background:
        rgba(255, 255, 255, 0.65);

    opacity: 0;

    transition:
        opacity 650ms var(--ease),
        transform 750ms var(--ease);
}

.product-card:hover .product-image {
    transform: scale(1.016);
}

.product-card:hover .product-image::after {

    opacity: 1;

    transform:
        translate(-50px, 50px);
}


/* =====================================================
   PRODUCT TEXT
===================================================== */

.product-card h3 {

    margin:
        0
        5px
        7px;

    color: var(--text);

    font-size: 17px;
    font-weight: 700;

    letter-spacing: -0.035em;
}

.product-card p {

    min-height: 40px;

    margin:
        0
        5px
        19px;

    color: var(--muted);

    font-size: 12.5px;
    font-weight: 500;

    line-height: 1.55;
}

.product-card strong {

    margin:
        auto
        5px
        15px;

    color: var(--text);

    font-size: 17px;
    font-weight: 800;

    letter-spacing: -0.03em;
}

.action-container {
    width: 100%;
}


/* =====================================================
   ADD BUTTON
===================================================== */

.product-card .add-btn {

    width: 100%;

    padding:
        13px
        16px;

    border: none;

    border-radius: 13px;

    background: var(--text);
    color: #ffffff;

    cursor: pointer;

    font-size: 12.5px;
    font-weight: 700;

    transition:
        transform 380ms var(--ease),
        background 380ms var(--ease),
        box-shadow 380ms var(--ease);
}

.product-card .add-btn:hover {

    background: var(--green);

    transform: translateY(-2px);

    box-shadow:
        0 10px 24px rgba(37, 76, 51, 0.16);
}

.product-card .add-btn:active {

    transform: scale(0.97);

    transition-duration: 110ms;
}


/* =====================================================
   QUANTITY
===================================================== */

.quantity-controls {

    height: 46px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 4px;

    background:
        var(--background-soft);

    border:
        1px solid rgba(40, 60, 47, 0.045);

    border-radius: 14px;
}

.quantity-controls button {

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border:
        1px solid rgba(34, 52, 40, 0.055);

    border-radius: 11px;

    background: #ffffff;

    color: var(--text);

    cursor: pointer;

    font-size: 16px;
    font-weight: 600;

    transition:
        transform 340ms var(--ease),
        background 340ms var(--ease),
        box-shadow 340ms var(--ease);
}

.quantity-controls button:hover {

    transform:
        translateY(-1px)
        scale(1.045);

    box-shadow:
        0 6px 15px rgba(20, 35, 25, 0.07);
}

.quantity-controls button:active {

    transform: scale(0.9);

    background:
        var(--green-light);

    transition-duration: 90ms;
}

.quantity-controls span {

    color: var(--text);

    font-size: 12.5px;
    font-weight: 700;
}


/* =====================================================
   MODAL
===================================================== */

.modal {

    position: fixed;

    inset: 0;

    z-index: 1000;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;

    background:
        rgba(13, 22, 16, 0.30);

    opacity: 0;
    visibility: hidden;

    pointer-events: none;

    backdrop-filter: blur(0);
    -webkit-backdrop-filter: blur(0);

    transition:
        opacity 420ms var(--ease),
        backdrop-filter 500ms var(--ease),
        visibility 420ms;
}

.modal.active {

    opacity: 1;
    visibility: visible;

    pointer-events: auto;

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.modal-content {

    width: 100%;
    max-width: 530px;

    max-height:
        calc(100vh - 40px);

    overflow-y: auto;

    padding: 30px;

    background:
        rgba(255, 255, 255, 0.98);

    border:
        1px solid rgba(255, 255, 255, 0.6);

    border-radius: 28px;

    box-shadow:
        0 35px 90px rgba(10, 20, 13, 0.22);

    opacity: 0;

    transform:
        translateY(18px)
        scale(0.975);

    transition:
        opacity 400ms var(--ease),
        transform 520ms var(--ease);
}

.modal.active .modal-content {

    opacity: 1;

    transform:
        translateY(0)
        scale(1);
}


/* =====================================================
   STEPS
===================================================== */

.checkout-step {
    display: none;
}

.checkout-step.active {
    display: block;
}


/* =====================================================
   MODAL HEADER
===================================================== */

.modal-header {

    display: flex;
    align-items: flex-start;
    justify-content: space-between;

    gap: 20px;

    margin-bottom: 22px;
}

.modal-label {

    display: block;

    margin-bottom: 4px;

    color: var(--green);

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.11em;

    text-transform: uppercase;
}

.modal-header h2,
.success-content h2 {

    color: var(--text);

    font-size: 25px;
    font-weight: 800;

    letter-spacing: -0.045em;
}

.modal-close-x {

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;

    background:
        var(--background-soft);

    color: var(--text-soft);

    cursor: pointer;

    font-size: 20px;
    font-weight: 400;

    transition:
        transform 300ms var(--ease),
        background 300ms var(--ease);
}

.modal-close-x:hover {

    background: #e4e8e1;

    transform: rotate(6deg);
}

.modal-close-x:active {
    transform: scale(0.9);
}


/* =====================================================
   CART ITEMS
===================================================== */

#cart-items {

    max-height: 285px;

    overflow-y: auto;

    margin-bottom: 18px;

    padding-right: 5px;
}

.cart-item {

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 14px;

    padding:
        14px
        0;

    border-bottom:
        1px solid rgba(30, 50, 37, 0.07);
}

.cart-item:last-child {
    border-bottom: none;
}

#cart-items .cart-item button {

    border:
        1px solid rgba(30, 50, 37, 0.07) !important;

    background:
        #f0f2ed !important;

    color:
        var(--text) !important;

    border-radius:
        9px !important;

    transition:
        transform 330ms var(--ease),
        background 330ms var(--ease),
        box-shadow 330ms var(--ease) !important;
}

#cart-items .cart-item button:hover {

    background:
        #ffffff !important;

    transform:
        translateY(-1px)
        scale(1.04);
}

#cart-items .cart-item button:active {

    transform:
        scale(0.9);

    transition-duration: 90ms;
}


/* =====================================================
   TOTAL
===================================================== */

.cart-total {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 14px;

    padding-top: 16px;

    border-top:
        1px solid var(--border);
}

.cart-total > span {

    color: var(--muted);

    font-size: 13px;
    font-weight: 600;
}

.cart-total strong {

    color: var(--text);

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -0.035em;
}


/* =====================================================
   MINIMUM MESSAGE
===================================================== */

.minimum-message {

    min-height: 18px;

    margin-bottom: 18px;

    color: var(--muted);

    font-size: 11.5px;
    font-weight: 500;

    text-align: right;
}

.minimum-message.ready {

    color: var(--green);

    font-weight: 700;
}


/* =====================================================
   MODAL BUTTONS
===================================================== */

.modal-actions {

    display: grid;

    grid-template-columns:
        1fr
        1.1fr;

    gap: 10px;
}

.modal-actions button,
.checkout-form-actions button {

    min-height: 46px;

    padding:
        12px
        16px;

    border: none;

    border-radius: 13px;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 350ms var(--ease),
        background 350ms var(--ease),
        box-shadow 350ms var(--ease),
        opacity 350ms var(--ease);
}

#close-cart,
.secondary-btn {

    background:
        #edf0eb;

    color:
        var(--text-soft);
}

#close-cart:hover,
.secondary-btn:hover {

    background:
        #e3e7e1;

    transform: translateY(-1px);
}

.primary-btn {

    border: none;

    background: var(--text);

    color: #ffffff;

    cursor: pointer;

    box-shadow:
        0 7px 18px rgba(20, 30, 23, 0.1);

    transition:
        transform 350ms var(--ease),
        background 350ms var(--ease),
        box-shadow 350ms var(--ease),
        opacity 350ms var(--ease);
}

.primary-btn:hover:not(:disabled) {

    background: var(--green);

    transform: translateY(-2px);

    box-shadow:
        0 11px 25px rgba(38, 76, 51, 0.17);
}

.primary-btn:disabled {

    opacity: 0.45;

    cursor: not-allowed;

    box-shadow: none;
}


/* =====================================================
   MANAGER NOTE
===================================================== */

.manager-note {

    display: flex;
    align-items: flex-start;

    gap: 12px;

    margin-bottom: 23px;

    padding:
        14px
        15px;

    border:
        1px solid rgba(48, 88, 61, 0.09);

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            rgba(232, 240, 232, 0.75),
            rgba(247, 249, 246, 0.8)
        );
}

.manager-note-icon {

    width: 29px;
    height: 29px;

    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--green);

    color: #ffffff;

    font-size: 12px;
    font-weight: 800;
}

.manager-note strong {

    display: block;

    margin-bottom: 3px;

    color: var(--text);

    font-size: 12px;
    font-weight: 800;
}

.manager-note p {

    color: var(--muted);

    font-size: 11px;
    font-weight: 500;

    line-height: 1.55;
}


/* =====================================================
   FORM
===================================================== */

#checkout-form {

    display: flex;
    flex-direction: column;

    gap: 16px;
}

.form-group {

    display: flex;
    flex-direction: column;

    gap: 7px;
}

.form-group label {

    color: var(--text-soft);

    font-size: 11.5px;
    font-weight: 700;
}

.form-group label span {
    color: var(--green);
}

.form-group label small {

    margin-left: 5px;

    color: var(--muted);

    font-size: 10px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {

    width: 100%;

    border:
        1px solid var(--border);

    outline: none;

    border-radius: 13px;

    background:
        #f7f8f5;

    color: var(--text);

    font-size: 13px;
    font-weight: 500;

    transition:
        border-color 300ms var(--ease),
        background 300ms var(--ease),
        box-shadow 300ms var(--ease);
}

.form-group input {

    height: 47px;

    padding:
        0
        14px;
}

.form-group textarea {

    min-height: 88px;

    padding:
        13px
        14px;

    resize: vertical;

    line-height: 1.5;
}

.form-group input::placeholder,
.form-group textarea::placeholder {

    color:
        #a5aca7;
}

.form-group input:focus,
.form-group textarea:focus {

    background: #ffffff;

    border-color:
        rgba(49, 90, 64, 0.3);

    box-shadow:
        0 0 0 4px rgba(49, 90, 64, 0.055);
}

.form-group input.invalid,
.form-group textarea.invalid {

    border-color:
        rgba(196, 73, 73, 0.45);

    background:
        rgba(196, 73, 73, 0.025);
}

.field-error {

    min-height: 13px;

    color: var(--danger);

    font-size: 10px;
    font-weight: 600;
}


/* =====================================================
   CHECKOUT SUMMARY
===================================================== */

.checkout-summary {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-top: 2px;

    padding:
        16px
        0;

    border-top:
        1px solid var(--border);

    border-bottom:
        1px solid var(--border);
}

.checkout-summary span {

    color: var(--muted);

    font-size: 12px;
    font-weight: 600;
}

.checkout-summary strong {

    color: var(--text);

    font-size: 20px;
    font-weight: 800;

    letter-spacing: -0.035em;
}

.checkout-summary strong span {

    color: inherit;

    font-size: inherit;
    font-weight: inherit;
}


/* =====================================================
   CHECKOUT ACTIONS
===================================================== */

.checkout-form-actions {

    display: grid;

    grid-template-columns:
        0.7fr
        1.3fr;

    gap: 10px;
}

.submit-order-btn {

    min-height: 48px;
}


/* =====================================================
   SUCCESS
===================================================== */

.success-content {

    padding:
        16px
        5px
        3px;

    text-align: center;
}

.success-icon {

    width: 58px;
    height: 58px;

    margin:
        0
        auto
        20px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: var(--green);

    color: #ffffff;

    font-size: 22px;
    font-weight: 800;

    box-shadow:
        0 12px 30px rgba(49, 90, 64, 0.18);
}

.success-content .modal-label {

    margin-bottom: 6px;
}

.success-text {

    margin-top: 12px;

    color: var(--muted);

    font-size: 13px;
    font-weight: 500;

    line-height: 1.6;
}

.success-text strong {
    color: var(--text);
}

.success-manager-note {

    margin:
        24px
        0;

    padding:
        16px;

    border:
        1px solid rgba(49, 90, 64, 0.08);

    border-radius: 16px;

    background:
        var(--background-soft);
}

.success-manager-note strong {

    display: block;

    margin-bottom: 5px;

    color: var(--text);

    font-size: 12px;
    font-weight: 800;
}

.success-manager-note p {

    color: var(--muted);

    font-size: 11px;
    font-weight: 500;

    line-height: 1.55;
}

.success-close {

    width: 100%;

    min-height: 48px;

    border-radius: 13px;

    font-size: 12px;
    font-weight: 700;
}


/* =====================================================
   FOOTER
===================================================== */

footer {

    margin-top: 75px;

    color:
        #99a19b;

    text-align: center;

    font-size: 11px;
    font-weight: 500;
}


/* =====================================================
   MOBILE
===================================================== */

@media (max-width: 700px) {

    body {
        padding-bottom: 40px;
    }

    .site-header {
        height: 65px;
    }

    .header-inner {

        width:
            calc(100% - 30px);
    }

    .logo {
        font-size: 17px;
    }

    .navigation {
        gap: 10px;
    }

    .nav-link {
        display: none;
    }

    .cart-button {

        padding:
            9px
            10px
            9px
            12px;

        font-size: 11px;
    }

    main {

        width:
            calc(100% - 26px);

        padding-top: 14px;
    }

    .hero {
        border-radius: 23px;
    }

    .hero-content {

        min-height: 225px;

        padding:
            28px
            24px;
    }

    .hero-title {

        font-size: 36px;

        line-height: 1.04;
    }

    .hero-bottom {

        margin-top: 22px;

        flex-direction: column;
        align-items: flex-start;

        gap: 10px;
    }

    .hero-description::after {
        display: none;
    }

    .catalog {
        margin-top: 38px;
    }

    .catalog h2 {
        font-size: 22px;
    }

    .products {

        grid-template-columns: 1fr;

        gap: 15px;
    }

    .product-card {

        padding: 14px;

        border-radius: 22px;
    }

    .product-image {

        height: 185px;

        border-radius: 17px;
    }

    .modal {

        align-items: flex-end;

        padding: 10px;
    }

    .modal-content {

        max-width: none;

        max-height:
            calc(100vh - 20px);

        padding: 22px;

        border-radius: 24px;
    }

    .cart-item {

        flex-direction: column;

        align-items: flex-start;
    }

    .modal-actions,
    .checkout-form-actions {

        grid-template-columns: 1fr;
    }

    #back-to-cart {
        order: 2;
    }

    .submit-order-btn {
        order: 1;
    }

    footer {
        margin-top: 55px;
    }

}


/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {

        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

}