/* =========================================================
   AGENT STEFAN WEBSHOP
   ========================================================= */


/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --shop-navy: #12366b;
    --shop-blue: #2377e8;
    --shop-blue-dark: #1559b4;

    --shop-white: #ffffff;
    --shop-page: #f5f8fc;
    --shop-soft: #eef5ff;

    --shop-text: #25384f;
    --shop-muted: #63758a;
    --shop-border: #d8e3f0;

    --shop-success: #18794e;
    --shop-danger: #a51d1d;
    --shop-danger-bg: #fff1f1;
    --shop-warning: #8a5a00;
    --shop-warning-bg: #fff8df;

    --shop-radius: 20px;

    --shop-shadow:
        0 12px 34px rgba(0, 0, 0, 0.20);
}


/* =========================================================
   SHARED WEBSHOP / ORDER LAYOUT
   ========================================================= */

.webshop-main,
.order-main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 36px 0 64px;
}

.webshop-main *,
.order-main * {
    box-sizing: border-box;
}

.order-shell,
.cart-shell,
.checkout-review-shell {
    display: block;
}


/* =========================================================
   WEBSHOP HERO
   ========================================================= */

.webshop-hero {
    position: relative;
    overflow: hidden;

    margin-bottom: 30px;
    padding: 42px 46px;

    border: 1px solid rgba(255, 255, 255, 0.7);
    border-radius: 24px;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #f1f6ff 58%,
            #dfeeff 100%
        );

    box-shadow: var(--shop-shadow);
}

.webshop-hero::after {
    content: "■";

    position: absolute;
    top: 50%;
    right: 52px;

    transform:
        translateY(-50%)
        rotate(-7deg);

    font-size: 95px;
    opacity: 0.08;

    pointer-events: none;
}

.webshop-hero-content {
    position: relative;
    z-index: 2;

    max-width: 700px;
}

.webshop-hero-label {
    display: inline-flex;
    align-items: center;

    margin-bottom: 16px;
    padding: 7px 13px;

    border-radius: 999px;

    background: var(--shop-blue);
    color: #ffffff;

    font-size: 0.82rem;
    font-weight: 800;
}

.webshop-hero h1 {
    margin: 0 0 12px;

    color: var(--shop-navy);

    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.08;
}

.webshop-hero p {
    margin: 0;

    color: var(--shop-text);

    font-size: 1.05rem;
    line-height: 1.65;
}


/* =========================================================
   WEBSHOP PRODUCT SECTION
   ========================================================= */

.webshop-products-section {
    margin-bottom: 30px;
    padding: 34px;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 24px;

    background: rgba(255, 255, 255, 0.96);

    box-shadow: var(--shop-shadow);
}

.webshop-section-heading {
    margin: 0 auto 28px;

    text-align: center;
}

.webshop-section-heading > span {
    display: inline-block;

    margin-bottom: 7px;

    color: var(--shop-blue);

    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.webshop-section-heading h2 {
    margin: 0 0 8px;

    color: var(--shop-navy);

    font-size: clamp(1.7rem, 4vw, 2.25rem);
}

.webshop-section-heading p {
    margin: 0;

    color: var(--shop-muted);

    line-height: 1.6;
}


/* =========================================================
   PRODUCT GRID
   ========================================================= */

.webshop-product-grid {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(260px, 320px));

    justify-content: center;

    gap: 24px;
}


/* =========================================================
   PRODUCT CARD
   ========================================================= */

.webshop-product-card {
    display: flex;
    flex-direction: column;

    overflow: hidden;

    border: 1px solid var(--shop-border);
    border-radius: 18px;

    background: #ffffff;

    box-shadow:
        0 8px 24px rgba(18, 54, 107, 0.10);

    transition:
        transform 0.18s ease,
        box-shadow 0.18s ease;
}

.webshop-product-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 14px 30px rgba(18, 54, 107, 0.16);
}


/* =========================================================
   PRODUCT IMAGE
   ========================================================= */

.webshop-product-image-wrapper {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    height: 300px;
    padding: 22px;

    border-bottom: 1px solid var(--shop-border);

    background:
        linear-gradient(
            145deg,
            #f8fbff,
            #eaf2fd
        );
}

.webshop-product-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter:
        drop-shadow(
            0 8px 8px rgba(0, 0, 0, 0.14)
        );
}

.webshop-product-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    height: 100%;

    font-size: 4rem;
}

.webshop-product-label {
    position: absolute;
    top: 14px;
    left: 14px;

    padding: 6px 11px;

    border-radius: 999px;

    background: var(--shop-blue);
    color: #ffffff;

    font-size: 0.72rem;
    font-weight: 800;

    box-shadow:
        0 4px 12px rgba(35, 119, 232, 0.25);
}


/* =========================================================
   PRODUCT CONTENT
   ========================================================= */

.webshop-product-content {
    display: flex;
    flex: 1;
    flex-direction: column;

    padding: 22px;
}

.webshop-product-content h3 {
    margin: 0 0 9px;

    color: var(--shop-navy);

    font-size: 1.3rem;
    line-height: 1.3;
}

.webshop-product-description {
    margin: 0 0 17px;

    color: var(--shop-text);

    font-size: 0.94rem;
    line-height: 1.6;
}

.webshop-product-price {
    margin-top: auto;

    color: var(--shop-navy);

    font-size: 1.75rem;
    font-weight: 900;
}

.webshop-shipping-note {
    margin: 5px 0 16px;

    color: var(--shop-success);

    font-size: 0.82rem;
    font-weight: 700;
}


/* =========================================================
   PRIMARY WEBSHOP BUTTON
   ========================================================= */

.webshop-buy-button {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    margin-top: 5px;
    padding: 13px 18px;

    border: 0;
    border-radius: 11px;

    background: var(--shop-blue);
    color: #ffffff;

    font: inherit;
    font-weight: 800;
    text-decoration: none;

    cursor: pointer;

    box-shadow:
        0 6px 16px rgba(35, 119, 232, 0.22);

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.webshop-buy-button:hover {
    background: var(--shop-blue-dark);

    transform: translateY(-1px);
}

.webshop-buy-button:focus-visible {
    outline: 3px solid rgba(35, 119, 232, 0.30);
    outline-offset: 3px;
}

.webshop-cart-form {
    margin-top: 5px;
}


/* =========================================================
   WEBSHOP CART LINK
   ========================================================= */

.webshop-cart-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin-top: 22px;
    padding: 12px 18px;

    border-radius: 11px;

    background: var(--shop-navy);
    color: #ffffff;

    font-weight: 800;
    text-decoration: none;

    transition:
        background 0.15s ease,
        transform 0.15s ease;
}

.webshop-cart-link:hover {
    background: var(--shop-blue);

    transform: translateY(-1px);
}


/* =========================================================
   EXTERNAL PRODUCT
   ========================================================= */

.webshop-external-note {
    display: block;

    margin-top: 14px;
    padding: 11px 14px;

    border-radius: 10px;

    background: var(--shop-soft);
    color: var(--shop-navy);

    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}


/* =========================================================
   EMPTY WEBSHOP
   ========================================================= */

.webshop-empty-state {
    max-width: 650px;

    margin: 0 auto;
    padding: 42px 28px;

    border: 1px dashed #b8c9df;
    border-radius: 18px;

    background: var(--shop-page);

    text-align: center;
}

.webshop-empty-icon {
    margin-bottom: 12px;

    font-size: 3rem;
}

.webshop-empty-state h3 {
    margin: 0 0 9px;

    color: var(--shop-navy);

    font-size: 1.3rem;
}

.webshop-empty-state p {
    margin: 0;

    color: var(--shop-muted);

    line-height: 1.6;
}


/* =========================================================
   WEBSHOP INFO CARDS
   ========================================================= */

.webshop-info-section {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 18px;
}

.webshop-info-card {
    display: flex;
    align-items: flex-start;

    gap: 14px;

    min-width: 0;

    padding: 20px;

    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow: var(--shop-shadow);
}

.webshop-info-icon {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 11px;

    background: var(--shop-soft);

    font-size: 1.25rem;
}

.webshop-info-card h3 {
    margin: 1px 0 5px;

    color: var(--shop-navy);

    font-size: 1rem;
}

.webshop-info-card p {
    margin: 0;

    color: var(--shop-muted);

    font-size: 0.86rem;
    line-height: 1.55;
}


/* =========================================================
   SHARED ORDER HEADING
   ========================================================= */

.order-heading {
    margin-bottom: 26px;
    padding: 32px 36px;

    border-radius: 22px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);
}

.order-heading > span,
.order-section-label {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--shop-blue);

    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.order-heading h1 {
    margin: 0 0 8px;

    color: var(--shop-navy);

    font-size: clamp(2rem, 5vw, 2.8rem);
}

.order-heading p {
    margin: 0;

    color: var(--shop-muted);

    line-height: 1.6;
}


/* =========================================================
   CART
   ========================================================= */

.cart-heading {
    margin-bottom: 26px;
    padding: 32px 36px;

    border-radius: 22px;

    background: rgba(255, 255, 255, 0.97);

    box-shadow: var(--shop-shadow);
}

.cart-heading > span {
    display: inline-block;

    margin-bottom: 8px;

    color: var(--shop-blue);

    font-size: 0.82rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-heading h1 {
    margin: 0 0 8px;

    color: var(--shop-navy);
}

.cart-heading p {
    margin: 0;

    color: var(--shop-muted);
}

.cart-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.6fr)
        minmax(280px, 0.7fr);

    align-items: start;

    gap: 24px;
}

.cart-products {
    display: grid;

    gap: 16px;
}

.cart-product {
    display: grid;

    grid-template-columns:
        130px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    padding: 18px;

    border: 1px solid var(--shop-border);
    border-radius: 18px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);
}

.cart-product-image {
    display: flex;
    align-items: center;
    justify-content: center;

    height: 130px;
    padding: 10px;

    border-radius: 12px;

    background: var(--shop-soft);
}

.cart-product-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.cart-product-image span {
    font-size: 2.5rem;
}

.cart-product-info h2 {
    margin: 0 0 6px;

    color: var(--shop-navy);

    font-size: 1.2rem;
}

.cart-unit-price {
    margin: 0 0 15px;

    color: var(--shop-muted);
}

.cart-quantity-form {
    display: flex;
    flex-wrap: wrap;
    align-items: center;

    gap: 8px;
}

.cart-quantity-form label {
    color: var(--shop-text);

    font-weight: 800;
}

.cart-quantity-form input {
    width: 65px;

    padding: 8px;

    border: 1px solid var(--shop-border);
    border-radius: 8px;
}

.cart-quantity-form button,
.cart-remove-form button {
    padding: 8px 11px;

    border: 0;
    border-radius: 8px;

    font: inherit;
    font-weight: 800;

    cursor: pointer;
}

.cart-quantity-form button {
    background: var(--shop-blue);
    color: #ffffff;
}

.cart-quantity-form button:hover {
    background: var(--shop-blue-dark);
}

.cart-remove-form {
    margin-top: 9px;
}

.cart-remove-form button {
    background: #fbe9e9;
    color: var(--shop-danger);
}

.cart-product-total {
    color: var(--shop-navy);

    font-size: 1.25rem;
    font-weight: 900;

    white-space: nowrap;
}


/* =========================================================
   CART SUMMARY
   ========================================================= */

.cart-summary {
    position: sticky;
    top: 20px;

    padding: 26px;

    border: 1px solid var(--shop-border);
    border-radius: 18px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);
}

.cart-summary-label {
    color: var(--shop-blue);

    font-size: 0.78rem;
    font-weight: 900;
    text-transform: uppercase;
}

.cart-summary h2 {
    margin: 6px 0 20px;

    color: var(--shop-navy);
}

.cart-summary-row,
.cart-summary-total {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    padding: 10px 0;

    color: var(--shop-text);
}

.cart-summary-total {
    margin-top: 8px;
    padding-top: 16px;

    border-top: 1px solid var(--shop-border);

    color: var(--shop-navy);

    font-size: 1.08rem;
}

.cart-checkout-button {
    display: block;

    margin-top: 20px;
    padding: 14px 18px;

    border-radius: 10px;

    background: var(--shop-blue);
    color: #ffffff;

    font-weight: 900;
    text-align: center;
    text-decoration: none;
}

.cart-checkout-button:hover {
    background: var(--shop-blue-dark);
}

.cart-continue-link {
    display: block;

    margin-top: 14px;

    color: var(--shop-navy);

    font-weight: 800;
    text-align: center;
    text-decoration: none;
}


/* =========================================================
   EMPTY CART
   ========================================================= */

.cart-empty {
    max-width: 600px;

    margin: 0 auto;
    padding: 45px 30px;

    border-radius: 20px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);

    text-align: center;
}

.cart-empty-icon {
    margin-bottom: 12px;

    font-size: 3.5rem;
}

.cart-empty h2 {
    margin: 0 0 8px;

    color: var(--shop-navy);
}

.cart-empty p {
    margin: 0 0 20px;

    color: var(--shop-muted);
}


/* =========================================================
   CHECKOUT / BESTELLEN
   ========================================================= */

.order-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 0.95fr)
        minmax(0, 1.05fr);

    align-items: start;

    gap: 24px;
}

.order-products-card,
.order-form-card {
    padding: 26px;

    border: 1px solid var(--shop-border);
    border-radius: 20px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);
}

.order-products-card h2,
.order-form-card h2 {
    margin: 0 0 22px;

    color: var(--shop-navy);
}


/* =========================================================
   CHECKOUT PRODUCT LIST
   ========================================================= */

.order-product-list {
    display: grid;

    gap: 12px;
}

.order-cart-product {
    display: grid;

    grid-template-columns:
        72px
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 14px;

    padding: 12px;

    border: 1px solid var(--shop-border);
    border-radius: 14px;

    background: var(--shop-soft);
}

.order-cart-image {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    overflow: hidden;

    border-radius: 10px;

    background: #ffffff;
}

.order-cart-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.order-cart-image span {
    font-size: 2rem;
}

.order-cart-info h3 {
    margin: 0 0 5px;

    color: var(--shop-navy);

    font-size: 1rem;
}

.order-cart-info p {
    margin: 0;

    color: var(--shop-muted);

    font-size: 0.9rem;
}

.order-cart-total {
    color: var(--shop-navy);

    white-space: nowrap;
}


/* =========================================================
   CHECKOUT CART SUMMARY
   ========================================================= */

.order-cart-summary {
    margin-top: 20px;
    padding-top: 12px;

    border-top: 1px solid var(--shop-border);
}

.order-cart-summary > div {
    display: flex;
    justify-content: space-between;

    gap: 16px;

    padding: 8px 0;

    color: var(--shop-text);
}

.order-cart-grand-total {
    margin-top: 6px;
    padding-top: 15px !important;

    border-top: 1px solid var(--shop-border);

    color: var(--shop-navy) !important;

    font-size: 1.08rem;
}

.order-edit-cart {
    display: inline-block;

    margin-top: 18px;

    color: var(--shop-blue);

    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   ORDER FORM
   ========================================================= */

.order-form {
    display: grid;

    gap: 17px;
}

.order-form-row {
    display: grid;

    grid-template-columns:
        minmax(120px, 0.65fr)
        minmax(0, 1.35fr);

    gap: 14px;
}

.order-field {
    display: grid;

    gap: 7px;
}

.order-field label {
    color: var(--shop-text);

    font-size: 0.88rem;
    font-weight: 800;
}

.order-field input,
.order-field select {
    width: 100%;

    padding: 12px 13px;

    border: 1px solid var(--shop-border);
    border-radius: 10px;

    background: #ffffff;
    color: var(--shop-text);

    font: inherit;
}

.order-field input:focus,
.order-field select:focus {
    border-color: var(--shop-blue);

    outline: 3px solid rgba(35, 119, 232, 0.12);
}

.order-next-step {
    margin-top: 6px;
    padding-top: 18px;

    border-top: 1px solid var(--shop-border);
}

.order-next-step p {
    margin: 0 0 13px;

    color: var(--shop-muted);

    font-size: 0.9rem;
}

.order-continue-button {
    width: 100%;

    padding: 14px 18px;

    border: 0;
    border-radius: 11px;

    background: var(--shop-blue);
    color: #ffffff;

    font: inherit;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 6px 16px rgba(35, 119, 232, 0.22);
}

.order-continue-button:hover {
    background: var(--shop-blue-dark);
}


/* =========================================================
   CHECKOUT VALIDATION
   ========================================================= */

.order-errors {
    padding: 15px 17px;

    border: 1px solid #dca3a3;
    border-radius: 11px;

    background: var(--shop-danger-bg);
    color: #8f1f1f;
}

.order-errors strong {
    display: block;

    margin-bottom: 7px;
}

.order-errors ul {
    margin: 0;
    padding-left: 20px;
}

.order-errors li + li {
    margin-top: 4px;
}


/* =========================================================
   END REVIEW
   ========================================================= */

.checkout-review-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.2fr)
        minmax(300px, 0.8fr);

    align-items: start;

    gap: 24px;
}

.checkout-review-card {
    padding: 26px;

    border: 1px solid var(--shop-border);
    border-radius: 20px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);
}

.checkout-review-card h2 {
    margin: 0 0 22px;

    color: var(--shop-navy);
}


/* =========================================================
   END REVIEW ADDRESS
   ========================================================= */

.checkout-address {
    display: grid;

    gap: 5px;

    padding: 18px;

    border-radius: 14px;

    background: var(--shop-soft);
    color: var(--shop-text);
}

.checkout-address strong {
    margin-bottom: 4px;

    color: var(--shop-navy);

    font-size: 1.05rem;
}

.checkout-email {
    display: grid;

    gap: 5px;

    margin-top: 16px;
    padding: 18px;

    border: 1px solid var(--shop-border);
    border-radius: 14px;
}

.checkout-email span {
    color: var(--shop-muted);

    font-size: 0.85rem;
}

.checkout-email strong {
    color: var(--shop-navy);

    overflow-wrap: anywhere;
}

.checkout-change-button {
    display: inline-block;

    margin-top: 18px;

    color: var(--shop-blue);

    font-weight: 800;
    text-decoration: none;
}


/* =========================================================
   FINAL ORDER CARD
   ========================================================= */

.checkout-final-card {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 20px;

    margin-top: 24px;
    padding: 28px;

    border: 1px solid var(--shop-border);
    border-radius: 20px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);
}

.checkout-final-card h2 {
    margin: 0 0 7px;

    color: var(--shop-navy);
}

.checkout-final-card p {
    margin: 0;

    color: var(--shop-muted);
}

.checkout-final-total {
    display: grid;

    gap: 3px;

    min-width: 150px;

    text-align: right;
}

.checkout-final-total span {
    color: var(--shop-muted);

    font-size: 0.85rem;
}

.checkout-final-total strong {
    color: var(--shop-navy);

    font-size: 1.5rem;
}

.checkout-place-order-form {
    grid-column: 1 / -1;

    margin: 0;
}

.checkout-payment-button {
    width: 100%;

    padding: 15px 20px;

    border: 0;
    border-radius: 11px;

    background: var(--shop-blue);
    color: #ffffff;

    font: inherit;
    font-weight: 900;

    cursor: pointer;
}

.checkout-payment-button:hover {
    background: var(--shop-blue-dark);
}

.checkout-payment-button:disabled {
    cursor: not-allowed;

    opacity: 0.55;
}

.checkout-payment-disabled {
    grid-column: 1 / -1;

    margin-top: -10px !important;

    color: var(--shop-muted);

    font-size: 0.85rem;
    text-align: center;
}


/* =========================================================
   ORDER RECEIVED
   ========================================================= */

.order-received {
    max-width: 780px;

    margin: 0 auto;
    padding: 42px 36px;

    border: 1px solid var(--shop-border);
    border-radius: 22px;

    background: #ffffff;

    box-shadow: var(--shop-shadow);

    text-align: center;
}

.order-received-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 72px;
    height: 72px;

    margin: 0 auto 18px;

    border-radius: 50%;

    background: #e7f7ef;
    color: var(--shop-success);

    font-size: 2rem;
    font-weight: 900;
}

.order-received h1 {
    margin: 4px 0 10px;

    color: var(--shop-navy);
}

.order-received-intro {
    max-width: 620px;

    margin: 0 auto;

    color: var(--shop-muted);

    line-height: 1.65;
}


/* =========================================================
   ORDER RECEIVED DETAILS
   ========================================================= */

.order-received-details {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 12px;

    margin: 28px 0;
}

.order-received-details > div {
    display: grid;

    gap: 5px;

    min-width: 0;

    padding: 16px 12px;

    border-radius: 12px;

    background: var(--shop-soft);
}

.order-received-details span {
    color: var(--shop-muted);

    font-size: 0.8rem;
}

.order-received-details strong {
    color: var(--shop-navy);

    overflow-wrap: anywhere;
}


/* =========================================================
   PAYMENT INSTRUCTIONS
   ========================================================= */

.order-payment-instructions {
    margin: 30px 0;
    padding: 28px;

    border: 1px solid var(--shop-border);
    border-radius: 18px;

    background: var(--shop-page);

    text-align: left;
}

.order-payment-instructions h2 {
    margin: 0 0 8px;

    color: var(--shop-navy);

    font-size: 1.5rem;
}

.order-payment-instructions > p {
    margin: 0 0 20px;

    color: var(--shop-muted);

    line-height: 1.6;
}


/* =========================================================
   PAYMENT DETAILS
   ========================================================= */

.order-payment-details {
    display: grid;

    gap: 10px;
}

.order-payment-details > div {
    display: grid;

    grid-template-columns:
        minmax(150px, 0.7fr)
        minmax(0, 1.3fr);

    align-items: center;

    gap: 18px;

    padding: 14px 16px;

    border: 1px solid var(--shop-border);
    border-radius: 11px;

    background: #ffffff;
}

.order-payment-details span {
    color: var(--shop-muted);

    font-size: 0.86rem;
    font-weight: 700;
}

.order-payment-details strong {
    color: var(--shop-navy);

    font-size: 0.96rem;

    overflow-wrap: anywhere;
}


/* =========================================================
   PAYMENT WARNING
   ========================================================= */

.order-payment-warning {
    margin-top: 20px;
    padding: 18px;

    border: 1px solid #ead38c;
    border-radius: 12px;

    background: var(--shop-warning-bg);
    color: #674500;
}

.order-payment-warning > strong {
    display: block;

    margin-bottom: 8px;

    color: var(--shop-warning);

    font-size: 1rem;
}

.order-payment-warning p {
    margin: 0;

    line-height: 1.6;
}

.order-payment-warning p + p {
    margin-top: 10px;
}


/* =========================================================
   ORDER RECEIVED EMAIL INFORMATION
   ========================================================= */

.order-received-email {
    max-width: 650px;

    margin: 18px auto;

    color: var(--shop-muted);

    line-height: 1.65;
}

.order-received-email strong {
    color: var(--shop-navy);

    overflow-wrap: anywhere;
}

.order-received > .webshop-buy-button {
    max-width: 320px;

    margin: 28px auto 0;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 850px) {

    .webshop-info-section {
        grid-template-columns: 1fr;
    }

    .cart-layout,
    .order-layout,
    .checkout-review-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 600px) {

    .webshop-main,
    .order-main {
        width: calc(100% - 20px);

        padding-top: 20px;
    }

    /* Webshop */

    .webshop-hero {
        padding: 30px 24px;
    }

    .webshop-hero::after {
        right: 15px;

        font-size: 70px;
    }

    .webshop-products-section {
        padding: 26px 16px;
    }

    .webshop-product-grid {
        grid-template-columns: 1fr;
    }

    .webshop-product-image-wrapper {
        height: 280px;
    }

    .webshop-info-card {
        padding: 18px;
    }

    /* Shared headings */

    .order-heading,
    .cart-heading {
        padding: 26px 22px;
    }

    /* Cart */

    .cart-product {
        grid-template-columns:
            90px
            minmax(0, 1fr);
    }

    .cart-product-image {
        height: 90px;
    }

    .cart-product-total {
        grid-column: 1 / -1;

        text-align: right;
    }

    /* Checkout */

    .order-products-card,
    .order-form-card {
        padding: 22px 18px;
    }

    .order-form-row {
        grid-template-columns: 1fr;
    }

    .order-cart-product {
        grid-template-columns:
            60px
            minmax(0, 1fr);
    }

    .order-cart-image {
        width: 60px;
        height: 60px;
    }

    .order-cart-total {
        grid-column: 1 / -1;

        text-align: right;
    }

    /* Final review */

    .checkout-review-card,
    .checkout-final-card {
        padding: 20px 18px;
    }

    .checkout-final-card {
        grid-template-columns: 1fr;
    }

    .checkout-final-total {
        text-align: left;
    }

    /* Order received */

    .order-received {
        padding: 30px 20px;
    }

    .order-received-details {
        grid-template-columns: 1fr;
    }

    .order-payment-instructions {
        padding: 22px 16px;
    }

    .order-payment-details > div {
        grid-template-columns: 1fr;

        gap: 5px;
    }
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .webshop-product-card,
    .webshop-buy-button,
    .webshop-cart-link {
        transition: none;
    }
}