/*
 * Tradie Quick Order
 *
 * Aesthetic direction: "Trade Counter" -- the digital equivalent of a
 * building-supplies order pad. Industrial, utilitarian, no-nonsense, with
 * Clicksteel red as the action accent on warm-paper / dark-navy surfaces.
 * Monospaced SKUs pull from the technical-catalogue tradition.
 * Mobile-first: each product is a self-contained card on phones; on
 * wider screens the cards collapse into a denser table-like row.
 *
 * Brand palette (Clicksteel):
 *   Primary red   #ff0c3a    Hover red     #e0002e
 *   Dark brand    #011f30    Secondary nav rgba(0, 56, 87, x)
 *
 * Brand typography:
 *   Display: Bebas Neue (headlines, uppercase labels)
 *   Body:    Montserrat
 */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Montserrat:wght@400;500;600;700;800&display=swap');

.ecml-qo {
    --qo-ink:           #011f30;  /* Clicksteel dark brand */
    --qo-ink-muted:     #5b6772;
    --qo-paper:         #ffffff;
    --qo-paper-deep:    #f1efe9;
    --qo-surface:       #ffffff;
    --qo-line:          #e3ddc9;
    --qo-line-strong:   #011f30;
    --qo-primary:       #011f30;  /* Clicksteel dark brand */
    --qo-primary-ink:   #ffffff;
    --qo-secondary:     #003857;  /* Clicksteel secondary navy */
    --qo-accent:        #ff0c3a;  /* Clicksteel red */
    --qo-accent-deep:   #e0002e;  /* Clicksteel hover red */
    --qo-accent-ink:    #ffffff;
    --qo-success:       #1f7a3a;
    --qo-danger:        #b8261c;

    --qo-radius:        4px;
    --qo-radius-lg:     10px;

    --qo-shadow-sm:     0 1px 0 rgba(1, 31, 48, 0.04), 0 1px 3px rgba(1, 31, 48, 0.07);
    --qo-shadow-md:     0 6px 22px rgba(1, 31, 48, 0.10);

    --qo-font-display:  'Bebas Neue', Impact, "Arial Narrow", sans-serif;
    --qo-font-body:     'Montserrat', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --qo-mono: ui-monospace, "SF Mono", "Cascadia Mono", "JetBrains Mono", Menlo, Consolas, "Liberation Mono", monospace;

    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: clamp(20px, 4vw, 40px) clamp(16px, 4vw, 32px) clamp(60px, 8vw, 96px);
    color: var(--qo-ink);
    font-family: var(--qo-font-body);
    font-size: 15px;
    line-height: 1.5;
    background: #ffffff;
    border-radius: var(--qo-radius-lg);
}

.ecml-qo *,
.ecml-qo *::before,
.ecml-qo *::after {
    box-sizing: border-box;
}

.ecml-qo button {
    font: inherit;
    cursor: pointer;
}

/* ===================================================================== */
/* Gate (non-trade visitors)                                              */
/* ===================================================================== */

.ecml-qo__gate {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
    padding: 48px 36px 40px;
    background: var(--qo-surface);
    border: 1px solid var(--qo-line);
    border-radius: var(--qo-radius-lg);
    box-shadow: var(--qo-shadow-md);
    text-align: center;
    overflow: hidden;
}

.ecml-qo__gate::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 6px;
    background: repeating-linear-gradient(
        90deg,
        var(--qo-accent) 0 24px,
        var(--qo-ink) 24px 48px
    );
}

.ecml-qo__gate-mark {
    display: inline-flex;
    align-items: flex-end;
    gap: 4px;
    height: 38px;
    margin-bottom: 22px;
}

.ecml-qo__gate-stripe {
    width: 10px;
    background: var(--qo-ink);
    border-radius: 2px 2px 0 0;
}

.ecml-qo__gate-stripe:nth-child(1) { height: 60%; background: var(--qo-accent); }
.ecml-qo__gate-stripe:nth-child(2) { height: 100%; background: var(--qo-ink); }
.ecml-qo__gate-stripe:nth-child(3) { height: 80%; background: var(--qo-secondary); }

.ecml-qo__gate-title {
    margin: 0 0 10px;
    font-family: var(--qo-font-display);
    font-size: clamp(34px, 5vw, 44px);
    font-weight: 400; /* Bebas Neue has only regular weight */
    letter-spacing: 0.01em;
    line-height: 1;
    text-transform: uppercase;
}

.ecml-qo__gate-copy {
    margin: 0 0 26px;
    color: var(--qo-ink-muted);
    font-size: 15px;
    line-height: 1.55;
}

.ecml-qo__gate-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 22px;
}

.ecml-qo__gate-fineprint {
    margin: 0;
    color: var(--qo-ink-muted);
    font-size: 13px;
    line-height: 1.55;
}

/* ===================================================================== */
/* Header                                                                 */
/* ===================================================================== */

.ecml-qo__header {
    margin-bottom: 22px;
}

.ecml-qo__header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.ecml-qo__eyebrow {
    margin: 0 0 4px;
    color: var(--qo-ink-muted);
    font-family: var(--qo-mono);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.ecml-qo__title {
    margin: 0;
    font-family: var(--qo-font-display);
    font-size: clamp(40px, 6vw, 60px);
    font-weight: 400; /* Bebas Neue */
    letter-spacing: 0.005em;
    line-height: 0.95;
    text-transform: uppercase;
}

.ecml-qo__lede {
    margin: 0;
    max-width: 60ch;
    color: var(--qo-ink-muted);
    font-size: 14px;
    line-height: 1.6;
}

/* ===================================================================== */
/* Search bar                                                             */
/* ===================================================================== */

.ecml-qo__searchbar {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 12px 0;
    margin-bottom: 6px;
    background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, rgba(255, 255, 255, 0) 100%);
    backdrop-filter: blur(2px);
}

.ecml-qo__search {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    background: var(--qo-surface);
    border: 2px solid var(--qo-ink);
    border-radius: var(--qo-radius);
    box-shadow: 4px 4px 0 0 var(--qo-ink);
    transition: box-shadow 120ms ease, transform 120ms ease;
}

.ecml-qo__search:focus-within {
    box-shadow: 6px 6px 0 0 var(--qo-accent);
    transform: translate(-2px, -2px);
}

.ecml-qo__search-icon {
    flex: 0 0 auto;
    color: var(--qo-ink);
}

.ecml-qo__search-input {
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    color: var(--qo-ink);
    font-family: inherit;
    font-size: 16px; /* >=16 to prevent iOS zoom */
    font-weight: 500;
    line-height: 1.4;
    outline: none;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.ecml-qo__search-input::placeholder {
    color: var(--qo-ink-muted);
    font-weight: 400;
}

.ecml-qo__search-input::-webkit-search-cancel-button { display: none; }

.ecml-qo__search-clear {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    padding: 0;
    color: var(--qo-ink);
    background: var(--qo-paper-deep);
    border: 0;
    border-radius: 999px;
    transition: background-color 120ms ease;
}

.ecml-qo__search-clear:hover,
.ecml-qo__search-clear:focus-visible {
    background: var(--qo-ink);
    color: var(--qo-surface);
    outline: none;
}

/* ===================================================================== */
/* Filters (category + sort dropdowns)                                    */
/* ===================================================================== */

.ecml-qo__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 14px 0 22px;
}

.ecml-qo__filter {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1 1 200px;
    min-width: 160px;
}

.ecml-qo__filter-label {
    color: var(--qo-ink-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ecml-qo__select {
    width: 100%;
    padding: 11px 34px 11px 12px;
    color: var(--qo-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    background: var(--qo-surface) no-repeat right 12px center / 12px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%23011f30' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    border: 1.5px solid var(--qo-line);
    border-radius: var(--qo-radius);
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
    transition: border-color 120ms ease, box-shadow 120ms ease;
}

.ecml-qo__select:hover { border-color: var(--qo-ink); }

.ecml-qo__select:focus {
    border-color: var(--qo-ink);
    outline: none;
    box-shadow: 0 0 0 3px rgba(1, 31, 48, 0.10);
}

.ecml-qo__select:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

/* ===================================================================== */
/* Linear-metre length control                                            */
/* ===================================================================== */

.ecml-qo__lm {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ecml-qo__lm-label {
    color: var(--qo-ink-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ecml-qo__lm-field {
    display: inline-flex;
    align-items: stretch;
    align-self: flex-start;
    border: 1.5px solid var(--qo-ink);
    border-radius: var(--qo-radius);
    overflow: hidden;
    background: var(--qo-surface);
}

.ecml-qo__lm-input {
    width: 70px;
    padding: 8px 0;
    color: var(--qo-ink);
    font-family: var(--qo-mono);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    background: transparent;
    border: 0;
    border-left: 1.5px solid var(--qo-line);
    border-right: 1.5px solid var(--qo-line);
    -moz-appearance: textfield;
}

.ecml-qo__lm-input::-webkit-inner-spin-button,
.ecml-qo__lm-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ecml-qo__lm-input:focus {
    outline: 2px solid var(--qo-accent);
    outline-offset: -2px;
}

.ecml-qo__lm-total {
    color: var(--qo-ink);
    font-family: var(--qo-mono);
    font-size: 13px;
    font-weight: 700;
}

/* ===================================================================== */
/* Results grid                                                           */
/* ===================================================================== */

.ecml-qo__results {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-height: 240px;
}

/* Loading skeleton */
.ecml-qo__skeleton {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ecml-qo__skeleton span {
    display: block;
    height: 92px;
    border-radius: var(--qo-radius);
    background:
        linear-gradient(90deg, transparent 0, rgba(14, 15, 18, 0.06) 40%, transparent 80%),
        var(--qo-surface);
    background-size: 200% 100%, 100% 100%;
    background-repeat: no-repeat;
    border: 1px solid var(--qo-line);
    animation: ecml-qo-shimmer 1.2s linear infinite;
}

.ecml-qo__skeleton span:nth-child(2) { animation-delay: 0.1s; }
.ecml-qo__skeleton span:nth-child(3) { animation-delay: 0.2s; }
.ecml-qo__skeleton span:nth-child(4) { animation-delay: 0.3s; }

@keyframes ecml-qo-shimmer {
    0%   { background-position: -150% 0, 0 0; }
    100% { background-position: 150% 0,  0 0; }
}

/* Empty / error state */
.ecml-qo__empty {
    padding: 56px 24px;
    text-align: center;
    color: var(--qo-ink-muted);
    background: var(--qo-surface);
    border: 1px dashed var(--qo-line);
    border-radius: var(--qo-radius);
}

.ecml-qo__empty-title {
    margin: 0 0 6px;
    color: var(--qo-ink);
    font-size: 17px;
    font-weight: 700;
}

.ecml-qo__empty-body {
    margin: 0;
    font-size: 14px;
}

/* ===================================================================== */
/* Product row                                                            */
/* ===================================================================== */

.ecml-qo__row {
    position: relative;
    display: grid;
    gap: 14px;
    padding: 16px;
    background: var(--qo-surface);
    border: 1px solid var(--qo-line);
    border-radius: var(--qo-radius);
    box-shadow: var(--qo-shadow-sm);
    transition: border-color 120ms ease, box-shadow 120ms ease, transform 120ms ease;

    /* Mobile-first: card layout */
    grid-template-columns: 72px 1fr;
    grid-template-areas:
        "thumb meta"
        "variation variation"
        "controls controls";
}

.ecml-qo__row:hover {
    border-color: var(--qo-ink);
}

.ecml-qo__row.is-justadded {
    animation: ecml-qo-pulse 700ms ease-out;
    border-color: var(--qo-success);
}

@keyframes ecml-qo-pulse {
    0%   { box-shadow: 0 0 0 0 rgba(31, 122, 58, 0.45); }
    100% { box-shadow: 0 0 0 14px rgba(31, 122, 58, 0); }
}

.ecml-qo__thumb {
    grid-area: thumb;
    position: relative;
    width: 72px;
    height: 72px;
    border-radius: var(--qo-radius);
    background: var(--qo-paper-deep);
    overflow: hidden;
    border: 1px solid var(--qo-line);
}

.ecml-qo__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ecml-qo__meta {
    grid-area: meta;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.ecml-qo__name {
    margin: 0;
    color: var(--qo-ink);
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
}

.ecml-qo__name:hover {
    color: var(--qo-accent);
    text-decoration: underline;
}

.ecml-qo__sku {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--qo-ink-muted);
    font-family: var(--qo-mono);
    font-size: 12px;
    line-height: 1.4;
    letter-spacing: 0.02em;
}

.ecml-qo__sku::before {
    content: "SKU";
    padding: 2px 5px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    background: var(--qo-paper-deep);
    color: var(--qo-ink);
    border-radius: 2px;
}

.ecml-qo__stock {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    margin-top: 2px;
    color: var(--qo-success);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ecml-qo__stock::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}

.ecml-qo__stock.is-out {
    color: var(--qo-danger);
}

.ecml-qo__variation {
    grid-area: variation;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ecml-qo__attribute {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ecml-qo__variation-label {
    color: var(--qo-ink-muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.ecml-qo__variation-select {
    width: 100%;
    padding: 10px 32px 10px 12px;
    color: var(--qo-ink);
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    background: var(--qo-surface) no-repeat right 10px center / 12px;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'><path d='M2 4l4 4 4-4' fill='none' stroke='%230e0f12' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
    border: 1.5px solid var(--qo-line);
    border-radius: var(--qo-radius);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 120ms ease;
}

.ecml-qo__variation-select:hover,
.ecml-qo__variation-select:focus {
    border-color: var(--qo-ink);
    outline: none;
}

.ecml-qo__variation-select.is-required {
    border-color: var(--qo-danger);
    background-color: rgba(184, 38, 28, 0.04);
}

.ecml-qo__controls {
    grid-area: controls;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.ecml-qo__price {
    flex: 1 1 auto;
    min-width: 0;
    color: var(--qo-ink);
    font-size: 17px;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.ecml-qo__price ins,
.ecml-qo__price bdi { text-decoration: none; }

.ecml-qo__price del {
    margin-right: 6px;
    color: var(--qo-ink-muted);
    font-size: 13px;
    font-weight: 500;
}

.ecml-qo__qty {
    display: inline-flex;
    align-items: stretch;
    flex: 0 0 auto;
    border: 1.5px solid var(--qo-ink);
    border-radius: var(--qo-radius);
    overflow: hidden;
    background: var(--qo-surface);
}

.ecml-qo__qty-btn {
    width: 36px;
    padding: 0;
    color: var(--qo-ink);
    font-size: 18px;
    font-weight: 700;
    background: transparent;
    border: 0;
    transition: background-color 120ms ease;
}

.ecml-qo__qty-btn:hover,
.ecml-qo__qty-btn:focus-visible {
    background: var(--qo-paper-deep);
    outline: none;
}

.ecml-qo__qty-input {
    width: 48px;
    padding: 8px 0;
    color: var(--qo-ink);
    font-family: var(--qo-mono);
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    background: transparent;
    border: 0;
    border-left: 1.5px solid var(--qo-line);
    border-right: 1.5px solid var(--qo-line);
    -moz-appearance: textfield;
}

.ecml-qo__qty-input::-webkit-inner-spin-button,
.ecml-qo__qty-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.ecml-qo__qty-input:focus {
    outline: 2px solid var(--qo-accent);
    outline-offset: -2px;
}

/* Add button: Clicksteel red, the trade-counter CTA */
.ecml-qo__add {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    color: var(--qo-accent-ink);
    font-family: var(--qo-font-display);
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: var(--qo-accent);
    border: 1.5px solid var(--qo-ink);
    border-radius: var(--qo-radius);
    box-shadow: 3px 3px 0 0 var(--qo-ink);
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.ecml-qo__add:hover,
.ecml-qo__add:focus-visible {
    background: var(--qo-accent-deep);
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 0 var(--qo-ink);
}

.ecml-qo__add:active {
    transform: translate(1px, 1px);
    box-shadow: 1px 1px 0 0 var(--qo-ink);
}

.ecml-qo__add[disabled],
.ecml-qo__add.is-loading {
    cursor: not-allowed;
    background: var(--qo-paper-deep);
    color: var(--qo-ink-muted);
    box-shadow: none;
    transform: none;
}

.ecml-qo__add.is-success {
    background: var(--qo-success);
    color: #fff;
    box-shadow: 3px 3px 0 0 var(--qo-ink);
}

.ecml-qo__add-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid currentColor;
    border-top-color: transparent;
    border-radius: 50%;
    animation: ecml-qo-spin 700ms linear infinite;
}

@keyframes ecml-qo-spin { to { transform: rotate(360deg); } }

.ecml-qo__row-error {
    grid-column: 1 / -1;
    margin: 4px 0 0;
    padding: 8px 12px;
    color: var(--qo-danger);
    font-size: 13px;
    font-weight: 600;
    background: rgba(184, 38, 28, 0.08);
    border-left: 3px solid var(--qo-danger);
    border-radius: 0 var(--qo-radius) var(--qo-radius) 0;
}

/* ===================================================================== */
/* Btn (gate)                                                             */
/* ===================================================================== */

.ecml-qo__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    color: var(--qo-ink);
    font-family: var(--qo-font-display);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    text-decoration: none;
    background: var(--qo-surface);
    border: 1.5px solid var(--qo-ink);
    border-radius: var(--qo-radius);
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
    box-shadow: 3px 3px 0 0 var(--qo-ink);
}

.ecml-qo__btn:hover,
.ecml-qo__btn:focus-visible {
    outline: none;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 0 var(--qo-ink);
    color: var(--qo-ink);
    text-decoration: none;
}

.ecml-qo__btn--primary {
    background: var(--qo-accent);
    color: var(--qo-accent-ink);
}

.ecml-qo__btn--primary:hover,
.ecml-qo__btn--primary:focus-visible {
    background: var(--qo-accent-deep);
    color: var(--qo-accent-ink);
}

/* ===================================================================== */
/* Toast (added confirmation)                                             */
/* ===================================================================== */

.ecml-qo__toast {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%) translateY(20px);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    background: var(--qo-ink);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(14, 15, 18, 0.28);
    opacity: 0;
    transition: opacity 200ms ease, transform 200ms ease;
    pointer-events: none;
    z-index: 1000;
}

.ecml-qo__toast.is-visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
    pointer-events: auto;
}

.ecml-qo__toast-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    color: var(--qo-accent-ink);
    font-weight: 800;
    background: var(--qo-accent);
    border-radius: 50%;
}

/* ===================================================================== */
/* Responsive: tablet+                                                    */
/* ===================================================================== */

@media (min-width: 720px) {
    .ecml-qo__row {
        grid-template-columns: 80px minmax(0, 1.8fr) minmax(0, 1.2fr) auto;
        grid-template-areas:
            "thumb meta variation controls";
        align-items: center;
        gap: 18px;
        padding: 18px 20px;
    }

    .ecml-qo__thumb {
        width: 80px;
        height: 80px;
    }

    .ecml-qo__variation {
        align-self: center;
    }

    .ecml-qo__controls {
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 14px;
    }

    .ecml-qo__price {
        flex: 0 0 auto;
        min-width: 110px;
        text-align: right;
    }

    .ecml-qo__row-error {
        grid-column: 2 / -1;
    }
}

@media (min-width: 1024px) {
    .ecml-qo__row {
        grid-template-columns: 88px minmax(0, 2fr) minmax(0, 1.2fr) 130px auto auto;
        grid-template-areas: "thumb meta variation price qty add";
    }

    .ecml-qo__controls {
        display: contents; /* allow children to slot into named grid areas */
    }

    .ecml-qo__price { grid-area: price; min-width: 0; }
    .ecml-qo__qty   { grid-area: qty; }
    .ecml-qo__add   { grid-area: add; }
}
