/* ==========================================================================
   Design system
   One source of colour, spacing, type and components. Pages compose these
   rather than inventing values, so screens stay consistent with each other.
   ========================================================================== */

:root {
    --oc-primary: #0b5cd5;
    --oc-primary-hover: #0a4fb5;
    --oc-primary-soft: #e8f0fd;
    --oc-accent: #ffc220;
    --oc-accent-dark: #7a5a00;

    --oc-ink: #14161a;
    --oc-ink-2: #454a52;
    --oc-ink-3: #6b7280;
    --oc-line: #e3e6ea;
    --oc-surface: #fff;
    --oc-canvas: #f4f6f8;

    --oc-success: #1a7f43;   --oc-success-soft: #e6f4ec;
    --oc-warning: #a86500;   --oc-warning-soft: #fdf3e2;
    --oc-danger:  #c0292b;   --oc-danger-soft:  #fdecec;
    --oc-info:    #0b5cd5;   --oc-info-soft:    #e8f0fd;

    /* Wholesale is visually distinct so a buyer always knows which price list
       they are looking at. */
    --oc-wholesale: #145c53;
    --oc-wholesale-soft: #e4f2ef;

    --s1: 4px;  --s2: 8px;  --s3: 12px; --s4: 16px;
    --s5: 24px; --s6: 32px; --s7: 48px;

    --r-sm: 6px; --r: 10px; --r-lg: 16px; --r-pill: 999px;

    --shadow-sm: 0 1px 2px rgba(20,22,26,.06);
    --shadow: 0 2px 8px rgba(20,22,26,.08);
    --shadow-lg: 0 8px 24px rgba(20,22,26,.12);

    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

body {
    margin: 0;
    font-family: var(--font);
    font-size: 16px;
    line-height: 1.5;
    color: var(--oc-ink);
    background: var(--oc-canvas);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.01em; margin: 0 0 var(--s3); }
h1 { font-size: 1.75rem; } h2 { font-size: 1.375rem; } h3 { font-size: 1.125rem; }
p { margin: 0 0 var(--s3); }

a { color: var(--oc-primary); text-decoration: none; }
a:hover { color: var(--oc-primary-hover); text-decoration: underline; }

/* Keyboard users must always be able to see where they are. */
:focus-visible { outline: 3px solid var(--oc-primary); outline-offset: 2px; border-radius: var(--r-sm); }

.oc-sr-only {
    position: absolute; width: 1px; height: 1px;
    padding: 0; margin: -1px; overflow: hidden;
    clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.oc-container { max-width: 1240px; margin: 0 auto; padding: 0 var(--s4); }
.oc-shell { min-height: 100vh; display: flex; flex-direction: column; }
.oc-main { flex: 1 0 auto; padding: var(--s5) 0 var(--s7); }

/* Header ------------------------------------------------------------------ */

.oc-announce {
    background: var(--oc-ink); color: #fff;
    font-size: .8125rem; padding: var(--s2) 0; text-align: center;
}

.oc-header { background: var(--oc-primary); color: #fff; box-shadow: var(--shadow); position: sticky; top: 0; z-index: 30; }
.oc-header a { color: #fff; }
.oc-header-main { display: flex; align-items: center; gap: var(--s4); padding: var(--s3) 0; }

.oc-logo { font-size: 1.25rem; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.oc-logo:hover { text-decoration: none; }
.oc-logo img { max-height: 32px; display: block; }

.oc-search { flex: 1 1 auto; min-width: 0; display: flex; background: #fff; border-radius: var(--r-pill); overflow: hidden; }
.oc-search input { flex: 1 1 auto; min-width: 0; border: 0; padding: 10px var(--s4); font-size: .9375rem; color: var(--oc-ink); }
.oc-search input:focus { outline: none; }
.oc-search button { border: 0; background: var(--oc-accent); color: var(--oc-accent-dark); padding: 0 var(--s5); cursor: pointer; }
.oc-search button:hover { filter: brightness(.95); }

.oc-header-actions { display: flex; align-items: center; gap: var(--s2); white-space: nowrap; }

.oc-header-link {
    display: inline-flex; align-items: center; gap: var(--s2);
    padding: var(--s2) var(--s3); border-radius: var(--r);
    font-size: .875rem; font-weight: 500;
    background: transparent; border: 0; color: #fff; cursor: pointer; font-family: inherit;
}
.oc-header-link:hover { background: rgba(255,255,255,.14); text-decoration: none; }

.oc-cart-count {
    background: var(--oc-accent); color: var(--oc-accent-dark);
    border-radius: var(--r-pill); padding: 0 7px;
    font-size: .75rem; font-weight: 700; line-height: 18px; min-width: 18px; text-align: center;
}

/* Account menu. The header paints its links white for the blue bar, so the
   dropdown sits on white and has to opt back out or it renders invisible. */
.oc-menu { position: relative; }
.oc-menu-panel {
    position: absolute; right: 0; top: calc(100% + 6px);
    background: var(--oc-surface); border: 1px solid var(--oc-line);
    border-radius: var(--r); box-shadow: var(--shadow-lg);
    padding: var(--s2); min-width: 230px; z-index: 40;
}
.oc-menu-panel[hidden] { display: none; }
.oc-menu-panel a,
.oc-menu-panel button {
    display: flex; align-items: center; gap: var(--s2);
    width: 100%; padding: var(--s2) var(--s3);
    border: 0; background: transparent; text-align: left;
    color: var(--oc-ink); font-size: .875rem; font-family: inherit; cursor: pointer;
    border-radius: var(--r-sm);
}
.oc-menu-panel a:hover, .oc-menu-panel button:hover { background: var(--oc-canvas); text-decoration: none; color: var(--oc-ink); }
.oc-menu-panel .material-symbols-outlined { color: var(--oc-ink-3); }
.oc-menu-panel form { margin: 0; }
.oc-menu-panel hr { border: 0; border-top: 1px solid var(--oc-line); margin: var(--s2) 0; }
.oc-menu-header { padding: var(--s2) var(--s3); font-size: .75rem; color: var(--oc-ink-3); }

/* Mode switch ------------------------------------------------------------- */


.oc-catbar { background: var(--oc-primary-hover); }
.oc-catbar-inner { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; }
.oc-catbar-inner::-webkit-scrollbar { display: none; }
.oc-catbar a { padding: 9px var(--s3); font-size: .8125rem; font-weight: 500; white-space: nowrap; border-radius: var(--r-sm); }
.oc-catbar a:hover { background: rgba(255,255,255,.14); text-decoration: none; }

.oc-mode-banner {
    background: var(--oc-wholesale-soft); border-bottom: 1px solid #c7e0da;
    color: var(--oc-wholesale); font-size: .875rem; padding: var(--s2) 0;
}
.oc-mode-banner .oc-container { display: flex; align-items: center; gap: var(--s2); }

/* Alerts ------------------------------------------------------------------ */

.oc-alert {
    display: flex; align-items: flex-start; gap: var(--s2);
    padding: var(--s3) var(--s4); border-radius: var(--r);
    margin-bottom: var(--s4); font-size: .9375rem;
}
.oc-alert-info    { background: var(--oc-info-soft);    color: var(--oc-info); }
.oc-alert-success { background: var(--oc-success-soft); color: var(--oc-success); }
.oc-alert-warning { background: var(--oc-warning-soft); color: var(--oc-warning); }
.oc-alert-danger  { background: var(--oc-danger-soft);  color: var(--oc-danger); }
.oc-alert ul { margin: var(--s1) 0 0; padding-left: var(--s4); }

/* Cards ------------------------------------------------------------------- */

.oc-card { background: var(--oc-surface); border: 1px solid var(--oc-line); border-radius: var(--r); box-shadow: var(--shadow-sm); }
.oc-card + .oc-card { margin-top: var(--s3); }
.oc-card-header {
    display: flex; align-items: center; justify-content: space-between; gap: var(--s3);
    padding: var(--s4) var(--s5); border-bottom: 1px solid var(--oc-line);
}
.oc-card-header h2 { margin: 0; font-size: 1.125rem; }
.oc-card-body { padding: var(--s5); }
.oc-card-footer {
    padding: var(--s3) var(--s5); border-top: 1px solid var(--oc-line);
    background: var(--oc-canvas); border-radius: 0 0 var(--r) var(--r);
    display: flex; justify-content: space-between; align-items: center;
}

.oc-section { margin-bottom: var(--s6); }
.oc-section-head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s3); margin-bottom: var(--s4); }
.oc-section-head h2 { margin: 0; }

/* Hero -------------------------------------------------------------------- */

.oc-hero {
    background: linear-gradient(135deg, var(--oc-primary) 0%, #0a4194 100%);
    color: #fff; border-radius: var(--r-lg);
    padding: var(--s7) var(--s6); margin-bottom: var(--s6);
}
.oc-hero h1 { color: #fff; max-width: 20ch; }
.oc-hero p { color: rgba(255,255,255,.88); max-width: 60ch; margin-bottom: var(--s5); }

/* Product grid ------------------------------------------------------------ */

.oc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--s4); }
.oc-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: var(--s3); }

.oc-cat-tile {
    background: var(--oc-surface); border: 1px solid var(--oc-line); border-radius: var(--r);
    padding: var(--s4); text-align: center; color: var(--oc-ink); font-size: .875rem; font-weight: 500;
    display: block;
}
.oc-cat-tile:hover { border-color: var(--oc-primary); color: var(--oc-primary); text-decoration: none; }
.oc-cat-tile .material-symbols-outlined { font-size: 32px; color: var(--oc-primary); display: block; margin-bottom: var(--s2); }

.oc-product {
    background: var(--oc-surface); border: 1px solid var(--oc-line); border-radius: var(--r);
    overflow: hidden; display: flex; flex-direction: column;
    transition: box-shadow .15s ease, transform .15s ease;
}
.oc-product:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.oc-product-media { aspect-ratio: 1/1; background: var(--oc-canvas); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.oc-product-media img { width: 100%; height: 100%; object-fit: contain; }
.oc-product-body { padding: var(--s3); display: flex; flex-direction: column; gap: var(--s1); flex: 1 1 auto; }
.oc-product-name {
    color: var(--oc-ink); font-size: .875rem; line-height: 1.35; min-height: 2.4em;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.oc-product-name:hover { color: var(--oc-primary); }
.oc-product-meta { font-size: .75rem; color: var(--oc-ink-3); }

.oc-price { font-size: 1.125rem; font-weight: 700; }
.oc-price-lg { font-size: 2rem; font-weight: 700; line-height: 1.1; }
.oc-price-was { font-size: .8125rem; color: var(--oc-ink-3); text-decoration: line-through; margin-left: var(--s2); }
.oc-price-wholesale { color: var(--oc-wholesale); }

/* Badges ------------------------------------------------------------------ */

.oc-badge {
    display: inline-flex; align-items: center; gap: var(--s1);
    padding: 2px 9px; border-radius: var(--r-pill);
    font-size: .6875rem; font-weight: 700; letter-spacing: .04em;
    text-transform: uppercase; line-height: 1.6;
}
.oc-badge-success   { background: var(--oc-success-soft);   color: var(--oc-success); }
.oc-badge-warning   { background: var(--oc-warning-soft);   color: var(--oc-warning); }
.oc-badge-danger    { background: var(--oc-danger-soft);    color: var(--oc-danger); }
.oc-badge-info      { background: var(--oc-info-soft);      color: var(--oc-info); }
.oc-badge-neutral   { background: #eef0f3;                  color: var(--oc-ink-2); }
.oc-badge-secondary { background: #eef0f3;                  color: var(--oc-ink-2); }
.oc-badge-primary   { background: var(--oc-primary-soft);   color: var(--oc-primary); }
.oc-badge-wholesale { background: var(--oc-wholesale-soft); color: var(--oc-wholesale); }

/* Buttons and forms ------------------------------------------------------- */

.oc-btn {
    display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
    padding: 9px var(--s4); border-radius: var(--r-pill); border: 1px solid transparent;
    font-size: .875rem; font-weight: 600; font-family: inherit; cursor: pointer;
    transition: background .15s ease, border-color .15s ease;
}
.oc-btn:hover { text-decoration: none; }
.oc-btn-primary { background: var(--oc-primary); color: #fff; }
.oc-btn-primary:hover { background: var(--oc-primary-hover); color: #fff; }
.oc-btn-secondary { background: var(--oc-surface); border-color: var(--oc-line); color: var(--oc-ink); }
.oc-btn-secondary:hover { background: var(--oc-canvas); color: var(--oc-ink); }
.oc-btn-block { width: 100%; }
.oc-btn-sm { padding: 5px var(--s3); font-size: .8125rem; }
.oc-btn:disabled, .oc-btn.is-disabled { opacity: .55; cursor: not-allowed; pointer-events: none; }

.oc-field { margin-bottom: var(--s3); }
.oc-label { display: block; font-size: .875rem; font-weight: 500; color: var(--oc-ink-2); margin-bottom: var(--s1); }
.oc-input, .oc-select, .oc-textarea {
    width: 100%; padding: 9px var(--s3);
    border: 1px solid var(--oc-line); border-radius: var(--r-sm);
    font-size: .9375rem; font-family: inherit; color: var(--oc-ink); background: #fff;
}
.oc-input:focus, .oc-select:focus, .oc-textarea:focus {
    outline: none; border-color: var(--oc-primary); box-shadow: 0 0 0 3px var(--oc-primary-soft);
}
.oc-hint { font-size: .75rem; color: var(--oc-ink-3); margin-top: var(--s1); }
.oc-check { display: flex; align-items: flex-start; gap: var(--s2); font-size: .875rem; margin-bottom: var(--s2); }

.oc-row { display: flex; flex-wrap: wrap; gap: var(--s4); }
.oc-col { flex: 1 1 240px; min-width: 0; }
.oc-cols-2 { display: grid; grid-template-columns: 2fr 1fr; gap: var(--s4); align-items: start; }

/* Quantity stepper -------------------------------------------------------- */

.oc-stepper { display: inline-flex; border: 1px solid var(--oc-line); border-radius: var(--r-sm); overflow: hidden; background: #fff; }
.oc-stepper button { width: 38px; border: 0; background: var(--oc-canvas); color: var(--oc-ink-2); font-size: 1.125rem; cursor: pointer; }
.oc-stepper button:hover { background: var(--oc-line); }
.oc-stepper input { width: 72px; border: 0; text-align: center; font-weight: 600; font-family: inherit; -moz-appearance: textfield; }
.oc-stepper input::-webkit-outer-spin-button, .oc-stepper input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.oc-stepper input:focus { outline: none; }

/* Wholesale ladder -------------------------------------------------------- */

.oc-tiers { width: 100%; border-collapse: collapse; font-size: .9375rem; margin-bottom: var(--s3); }
.oc-tiers th, .oc-tiers td { padding: var(--s2) var(--s3); border-bottom: 1px solid var(--oc-line); text-align: left; }
.oc-tiers th { font-size: .75rem; text-transform: uppercase; letter-spacing: .04em; color: var(--oc-ink-3); }
.oc-tiers td:last-child, .oc-tiers th:last-child { text-align: right; }
/* The bracket the current quantity falls into, so the buyer can see which rung
   they are on without doing the arithmetic. */
.oc-tiers tr.is-active { background: var(--oc-wholesale-soft); color: var(--oc-wholesale); font-weight: 600; }

/* Choice rows (address, fulfillment, payment) ------------------------------ */

.oc-choice {
    display: flex; align-items: flex-start; gap: var(--s3);
    padding: var(--s3); border: 1px solid var(--oc-line); border-radius: var(--r-sm);
    margin-bottom: var(--s2); cursor: pointer;
}
.oc-choice:hover { border-color: var(--oc-primary); }
.oc-choice:has(input:checked) { border-color: var(--oc-primary); background: var(--oc-primary-soft); }
.oc-choice input { margin-top: 3px; flex-shrink: 0; }
.oc-choice-body { flex: 1 1 auto; min-width: 0; }
.oc-pickup-picker { margin: var(--s2) 0 0 var(--s5); padding-left: var(--s3); border-left: 2px solid var(--oc-line); }

/* Cart and review lines --------------------------------------------------- */

.oc-line {
    display: grid; grid-template-columns: auto 80px 1fr auto auto auto;
    gap: var(--s3); align-items: center;
    padding: var(--s4) var(--s5); border-bottom: 1px solid var(--oc-line);
}
.oc-line:last-of-type { border-bottom: 0; }
/* A line that blocks checkout is tinted, not hidden, so the customer can see
   exactly which item is the problem. */
.oc-line.has-issue { background: var(--oc-danger-soft); }
.oc-line-media { width: 80px; height: 80px; background: var(--oc-canvas); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.oc-line-media img { width: 100%; height: 100%; object-fit: contain; }
.oc-line-price { text-align: right; white-space: nowrap; }

.oc-review { list-style: none; margin: 0; padding: 0; }
.oc-review li { display: flex; align-items: center; gap: var(--s3); padding: var(--s2) 0; border-bottom: 1px solid var(--oc-line); }
.oc-review li:last-child { border-bottom: 0; }
.oc-review-media { width: 48px; height: 48px; flex-shrink: 0; background: var(--oc-canvas); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.oc-review-media img { width: 100%; height: 100%; object-fit: contain; }

.oc-checkbox-btn {
    width: 22px; height: 22px; padding: 0;
    border: 2px solid var(--oc-line); border-radius: 5px; background: #fff;
    color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.oc-checkbox-btn.is-checked { background: var(--oc-primary); border-color: var(--oc-primary); }
.oc-icon-btn { border: 0; background: transparent; color: var(--oc-ink-3); padding: var(--s2); border-radius: var(--r-sm); cursor: pointer; }
.oc-icon-btn:hover { background: var(--oc-danger-soft); color: var(--oc-danger); }

.oc-summary { position: sticky; top: 130px; }

/* Empty state ------------------------------------------------------------- */

.oc-empty {
    text-align: center; padding: var(--s7) var(--s4);
    color: var(--oc-ink-3); background: var(--oc-surface);
    border: 1px dashed var(--oc-line); border-radius: var(--r);
}
.oc-empty h3 { color: var(--oc-ink-2); margin-bottom: var(--s2); }
.oc-empty p { margin: 0 auto; max-width: 46ch; font-size: .9375rem; }

/* Tables ------------------------------------------------------------------ */

.oc-table-wrap { overflow-x: auto; }
.oc-table { width: 100%; border-collapse: collapse; font-size: .875rem; background: var(--oc-surface); }
.oc-table thead th {
    text-align: left; padding: var(--s3) var(--s4); background: var(--oc-canvas);
    border-bottom: 1px solid var(--oc-line);
    font-size: .75rem; text-transform: uppercase; letter-spacing: .04em;
    color: var(--oc-ink-3); font-weight: 600; white-space: nowrap;
}
.oc-table tbody td { padding: var(--s3) var(--s4); border-bottom: 1px solid var(--oc-line); vertical-align: middle; }
.oc-table tbody tr:hover { background: var(--oc-canvas); }
.oc-table tbody tr:last-child td { border-bottom: 0; }
.text-end { text-align: right; }
.oc-num { font-variant-numeric: tabular-nums; }
.oc-table-media { width: 40px; height: 40px; background: var(--oc-canvas); border-radius: var(--r-sm); display: inline-flex; align-items: center; justify-content: center; overflow: hidden; }
.oc-table-media img { width: 100%; height: 100%; object-fit: contain; }

.oc-tabs { display: flex; gap: var(--s1); flex-wrap: wrap; margin-bottom: var(--s4); }
.oc-tabs a {
    padding: 6px var(--s3); border-radius: var(--r-pill);
    font-size: .8125rem; font-weight: 500; color: var(--oc-ink-2);
    background: var(--oc-surface); border: 1px solid var(--oc-line);
}
.oc-tabs a:hover { border-color: var(--oc-primary); text-decoration: none; }
.oc-tabs a.is-active { background: var(--oc-primary); border-color: var(--oc-primary); color: #fff; }

/* Stat tiles -------------------------------------------------------------- */

.oc-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: var(--s3); margin-bottom: var(--s5); }
.oc-stat { background: var(--oc-surface); border: 1px solid var(--oc-line); border-radius: var(--r); padding: var(--s4); }
.oc-stat-label { font-size: .75rem; text-transform: uppercase; letter-spacing: .05em; color: var(--oc-ink-3); font-weight: 600; margin-bottom: var(--s2); }
.oc-stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1.1; font-variant-numeric: tabular-nums; }
.oc-stat-note { font-size: .8125rem; color: var(--oc-ink-3); margin-top: var(--s1); }
.is-warning { color: var(--oc-warning); } .is-danger { color: var(--oc-danger); }

/* Timeline ---------------------------------------------------------------- */

.oc-timeline { list-style: none; margin: 0; padding: 0 0 0 var(--s4); border-left: 2px solid var(--oc-line); }
.oc-timeline li { position: relative; padding: 0 0 var(--s4) var(--s4); }
.oc-timeline li::before {
    content: ""; position: absolute; left: calc(var(--s4) * -1 - 6px); top: 4px;
    width: 10px; height: 10px; border-radius: 50%; background: var(--oc-line);
}
.oc-timeline li.is-done::before { background: var(--oc-success); }
.oc-timeline li.is-current::before { background: var(--oc-primary); box-shadow: 0 0 0 4px var(--oc-primary-soft); }

/* Portal shell ------------------------------------------------------------ */

.oc-portal { background: var(--oc-canvas); }
.oc-portal-shell { display: flex; min-height: 100vh; }
.oc-portal-main { flex: 1 1 auto; min-width: 0; }
.oc-portal-inner { padding: var(--s5); max-width: 1400px; }

.oc-sidebar { width: 250px; flex-shrink: 0; background: #101a2b; color: #c9d3e0; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.oc-sidebar-brand { padding: var(--s5) var(--s4) var(--s4); border-bottom: 1px solid rgba(255,255,255,.08); }
.oc-sidebar-brand a { color: #fff; font-size: 1.125rem; font-weight: 700; }
.oc-sidebar-brand a:hover { text-decoration: none; }
.oc-sidebar-portal { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: #7e8ea3; margin-top: var(--s1); }
.oc-sidebar-sub { font-size: .8125rem; color: #c9d3e0; margin-top: var(--s1); }
.oc-sidebar-nav { flex: 1 1 auto; padding: var(--s3) var(--s2); overflow-y: auto; }
.oc-sidebar-nav a { display: flex; align-items: center; gap: var(--s3); padding: 10px var(--s3); border-radius: var(--r-sm); color: #c9d3e0; font-size: .875rem; margin-bottom: 2px; }
.oc-sidebar-nav a:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.oc-sidebar-nav a.is-active { background: var(--oc-primary); color: #fff; font-weight: 600; }
.oc-sidebar-foot { padding: var(--s3) var(--s2); border-top: 1px solid rgba(255,255,255,.08); }
.oc-sidebar-foot a, .oc-sidebar-foot button {
    display: flex; align-items: center; gap: var(--s3); width: 100%;
    padding: 8px var(--s3); border: 0; background: transparent;
    color: #8fa0b6; font-size: .8125rem; font-family: inherit; border-radius: var(--r-sm); cursor: pointer; text-align: left;
}
.oc-sidebar-foot a:hover, .oc-sidebar-foot button:hover { background: rgba(255,255,255,.07); color: #fff; text-decoration: none; }
.oc-sidebar-foot form { margin: 0; }

/* Footer ------------------------------------------------------------------ */

.oc-footer { background: var(--oc-surface); border-top: 1px solid var(--oc-line); padding: var(--s5) 0; color: var(--oc-ink-3); font-size: .8125rem; }
.oc-footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s3); }
.oc-footer-links { display: flex; gap: var(--s4); flex-wrap: wrap; }
.oc-footer a { color: var(--oc-ink-2); }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; vertical-align: middle; line-height: 1; }
.oc-icon-sm { font-size: 20px; }

/* Utilities --------------------------------------------------------------- */

.text-secondary { color: var(--oc-ink-3); }
.text-success { color: var(--oc-success); }
.text-danger { color: var(--oc-danger); }
.small { font-size: .8125rem; }
.fw-semibold { font-weight: 600; }
.mt-1 { margin-top: var(--s1); } .mt-2 { margin-top: var(--s2); } .mt-3 { margin-top: var(--s3); } .mt-4 { margin-top: var(--s4); }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: var(--s2); } .mb-3 { margin-bottom: var(--s3); } .mb-4 { margin-bottom: var(--s4); }
.d-flex { display: flex; } .gap-2 { gap: var(--s2); } .gap-3 { gap: var(--s3); }
.justify-between { justify-content: space-between; } .items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; } .flex-grow { flex: 1 1 auto; min-width: 0; }

/* Responsive -------------------------------------------------------------- */

@media (max-width: 991.98px) {
    .oc-header-main { flex-wrap: wrap; }
    .oc-search { order: 3; flex-basis: 100%; }
    .oc-cols-2 { grid-template-columns: 1fr; }
    .oc-summary { position: static; }

    .oc-sidebar { width: 64px; }
    .oc-sidebar-brand, .oc-sidebar-nav a span:not(.material-symbols-outlined),
    .oc-sidebar-foot a span:not(.material-symbols-outlined),
    .oc-sidebar-foot button span:not(.material-symbols-outlined) { display: none; }
    .oc-sidebar-nav a { justify-content: center; }
}

@media (max-width: 767.98px) {
    .oc-line { grid-template-columns: auto 64px 1fr auto; row-gap: var(--s2); }
    .oc-line-media { width: 64px; height: 64px; }
    .oc-line-qty, .oc-line-price { grid-column: 3 / -1; text-align: left; }
}

@media (max-width: 575.98px) {
    .oc-grid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
    .oc-hero { padding: var(--s5) var(--s4); }
    .oc-header-link span:not(.material-symbols-outlined):not(.oc-cart-count) { display: none; }
}

/* ---------------------------------------------------------------------------
   Two separate stores
   Each store sets its own --oc-primary family on <body> (store_theme()); text
   drawn on that colour uses --oc-on-primary, so a light brand colour chosen in
   the admin portal stays readable.
   --------------------------------------------------------------------------- */
:root { --oc-on-primary: #fff; }

.oc-header, .oc-header a, .oc-header-link,
.oc-btn-primary, .oc-btn-primary:hover,
.oc-tabs a.is-active,
.oc-hero, .oc-hero h1 { color: var(--oc-on-primary); }
.oc-hero { background: linear-gradient(135deg, var(--oc-primary), var(--oc-primary-hover)); }
.oc-hero p { color: var(--oc-on-primary); opacity: .88; }
/* The account dropdown is a white panel inside the header. The header rule
   above would turn its links white on white, so they get dark text back. */
.oc-header .oc-menu-panel a, .oc-header .oc-menu-panel button { color: var(--oc-ink); }

.oc-logo-block { display: flex; flex-direction: column; line-height: 1.15; }
.oc-logo-tagline { font-size: .75rem; font-weight: 500; letter-spacing: 0; opacity: .85; }
@media (max-width: 720px) { .oc-logo-tagline { display: none; } }

.oc-footer-cross { font-weight: 600; }

/* Store chooser at the bare domain */
.oc-landing { min-height: 100vh; display: flex; flex-direction: column; background: var(--oc-canvas); }
.oc-landing-main { flex: 1 0 auto; width: 100%; max-width: 980px; margin: 0 auto; padding: 4rem 1rem 2.5rem; }
.oc-landing-head { text-align: center; margin-bottom: 2.5rem; }
.oc-landing-head img { max-height: 56px; margin: 0 auto; display: block; }
.oc-landing-company { font-size: 2rem; margin: 0; letter-spacing: -.02em; }
.oc-landing-head p { color: var(--oc-ink-3); margin: .5rem 0 0; }
.oc-landing-stores { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.oc-store-card {
    display: flex; flex-direction: column; gap: .5rem; min-height: 260px; padding: 1.75rem;
    border-radius: var(--r-lg); background: var(--oc-primary); color: var(--oc-on-primary);
    box-shadow: var(--shadow); transition: transform .15s ease, background .15s ease;
}
.oc-store-card:hover { text-decoration: none; color: var(--oc-on-primary); background: var(--oc-primary-hover); transform: translateY(-2px); }
.oc-store-card-top { display: flex; justify-content: space-between; align-items: center; gap: .75rem; }
.oc-store-card-top img { max-height: 40px; }
.oc-store-card-name { font-size: 1.5rem; font-weight: 700; letter-spacing: -.02em; }
.oc-store-card-last { font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: var(--r-pill); background: rgba(255,255,255,.22); white-space: nowrap; }
.oc-store-card-tagline { font-weight: 600; }
.oc-store-card-body { flex: 1 1 auto; font-size: .9375rem; opacity: .88; }
.oc-store-card-cta { display: inline-flex; align-items: center; gap: .375rem; font-weight: 600; margin-top: .5rem; }
.oc-landing-note { text-align: center; color: var(--oc-ink-3); font-size: .875rem; margin-top: 1.5rem; }
