/* ==========================================================================
   متجر رقم 6 — bold storefront theme: solid ink outlines, hard offset
   shadows, flat yellow / electric-blue colour blocks.
   Loaded after bootstrap + the stock stylesheet. Logical properties keep one
   file working for RTL (ar) and LTR (en-gb).
   ========================================================================== */

/* ---------- fonts ---------- */
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-arabic-400.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-arabic-500.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("fonts/plex-arabic-600.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-arabic-700.woff2") format("woff2"); unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC; }
@font-face { font-family: "Plex Arabic"; font-weight: 400; font-display: swap; src: url("fonts/plex-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Arabic"; font-weight: 500; font-display: swap; src: url("fonts/plex-latin-500.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Arabic"; font-weight: 600; font-display: swap; src: url("fonts/plex-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Plex Arabic"; font-weight: 700; font-display: swap; src: url("fonts/plex-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* ---------- tokens ---------- */
:root,
[data-bs-theme=light] {
  --s6-bg: #f7f5ee;
  --s6-surface: #ffffff;
  --s6-soft: #efece1;
  --s6-soft-2: #ddd8c7;
  --s6-dark: #111111;
  --s6-darker: #000000;
  --s6-ink: #111111;
  --s6-text: #2e2e2e;
  --s6-muted: #5f5f5f;
  --s6-dim: #929292;
  --s6-line: #111111;
  --s6-line-strong: #111111;
  --s6-primary: #2f5bff;
  --s6-primary-rgb: 47, 91, 255;
  --s6-primary-dark: #1f44d6;
  --s6-accent: #ffd60a;
  --s6-accent-dark: #f2c200;
  --s6-pink: #ff7ab6;
  --s6-mint: #7ee0b5;
  --s6-danger: #e5322d;
  --s6-radius: 8px;
  --s6-radius-sm: 6px;
  --s6-ease: cubic-bezier(.2, .7, .2, 1);
  /* hard offset shadows; the horizontal offset flips with the text direction */
  --s6-sx: 4px;
  --s6-ring: 0 0 0 3px var(--s6-accent);
  --s6-shadow: var(--s6-sx) 4px 0 var(--s6-ink);
  --s6-shadow-lg: calc(var(--s6-sx) * 1.5) 6px 0 var(--s6-ink);
  --s6-lift: translate(calc(var(--s6-sx) * -.5), -2px);

  --bs-body-bg: var(--s6-bg);
  --bs-body-color: var(--s6-text);
  --bs-secondary-color: var(--s6-muted);
  --bs-secondary-bg: var(--s6-soft);
  --bs-tertiary-color: var(--s6-dim);
  --bs-tertiary-bg: var(--s6-soft);
  --bs-emphasis-color: var(--s6-ink);
  --bs-heading-color: var(--s6-ink);
  --bs-border-color: var(--s6-line);
  --bs-border-color-translucent: var(--s6-line);
  --bs-border-radius: var(--s6-radius-sm);
  --bs-border-radius-lg: var(--s6-radius);
  --bs-border-radius-sm: 4px;
  --bs-primary: var(--s6-primary);
  --bs-primary-rgb: var(--s6-primary-rgb);
  --bs-link-color: var(--s6-primary);
  --bs-link-color-rgb: var(--s6-primary-rgb);
  --bs-link-hover-color: var(--s6-ink);
  --bs-link-hover-color-rgb: 17, 17, 17;
  --bs-link-decoration: none;
  --bs-font-sans-serif: "Plex Arabic", "Segoe UI", Tahoma, system-ui, -apple-system, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-body-font-size: 0.95rem;
  --bs-body-line-height: 1.75;
  color-scheme: light;
}
html[dir=rtl] { --s6-sx: -4px; }

/* ---------- base ---------- */
html { height: 100%; scroll-behavior: smooth; }
body.s6 { min-height: 100%; height: auto; font-family: var(--bs-body-font-family); color: var(--s6-text); background: var(--s6-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(var(--s6-primary-rgb), 0.22); }
a { text-decoration: none; transition: color .15s ease; }
h1, h2, h3, h4, h5, h6 { color: var(--s6-ink); font-weight: 700; line-height: 1.4; }
h1 { font-size: clamp(1.45rem, 1.2rem + 1.1vw, 2rem); margin-bottom: 1.1rem; }
h2 { font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); }
h3 { font-size: 1.2rem; }
h4 { font-size: 1rem; }
label { font-size: .875rem; font-weight: 500; color: var(--s6-muted); }
hr { border-color: var(--s6-line-strong); opacity: 1; }
legend { border-bottom: 2px solid var(--s6-line); font-size: 1.05rem; font-weight: 700; color: var(--s6-ink); padding: .5rem 0; margin-bottom: 1.25rem; }
img { max-width: 100%; }

.s6-page { display: flex; flex-direction: column; min-height: 100vh; }
.s6-page > main { flex: 1 0 auto; padding-bottom: 4.5rem; }
#content, #column-left, #column-right { padding-bottom: 0; }
#column-left, #column-right { margin-bottom: 1.5rem; }

/* ---------- top strip ---------- */
.s6-top { background: var(--s6-ink); font-size: .8rem; position: relative; z-index: 1031; }
.s6-top .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 36px; }
.s6-top ul.list-inline { margin: 0; display: flex; align-items: center; gap: 1.25rem; }
.s6-top .list-inline-item { margin: 0; }
.s6-top a, .s6-top .dropdown > span { color: #fff; transition: color .15s; }
.s6-top a:hover, .s6-top .dropdown > span:hover { color: var(--s6-accent); }
.s6-top .dropdown-toggle::after { display: none; }
.s6-top .fa-caret-down { font-size: .7em; opacity: .7; }
.s6-top img { border-radius: 0; vertical-align: -1px; }
.s6-top i.fa-headset { color: var(--s6-accent); margin-inline-end: .2rem; }

/* ---------- header ---------- */
.s6-header { position: sticky; top: 0; z-index: 1030; background: var(--s6-bg); border-bottom: 2px solid var(--s6-ink); }
.s6-header-row { display: flex; align-items: center; gap: 1.5rem; padding-block: .9rem; }
.s6-logo { flex: 0 0 auto; }
.s6-logo img { max-width: 170px; max-height: 44px; }
.s6-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--s6-ink); font-size: 1.3rem; font-weight: 700; white-space: nowrap; }
.s6-brand:hover { color: var(--s6-ink); }
.s6-brand-mark { width: 42px; height: 42px; border-radius: var(--s6-radius-sm); background: var(--s6-accent); border: 2px solid var(--s6-ink); color: var(--s6-ink); display: grid; place-items: center; font-size: 1.05rem; box-shadow: calc(var(--s6-sx) * .75) 3px 0 var(--s6-ink); flex: 0 0 auto; transition: transform .2s var(--s6-ease); }
.s6-brand:hover .s6-brand-mark { transform: rotate(-8deg); }
.s6-header-search { flex: 1 1 auto; min-width: 0; max-width: 580px; margin-inline: auto; }
.s6-search { display: flex; margin: 0; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius-sm); background: #fff; overflow: hidden; transition: box-shadow .2s var(--s6-ease), transform .2s var(--s6-ease); }
.s6-search:focus-within { box-shadow: var(--s6-shadow); transform: var(--s6-lift); }
.s6-search input { flex: 1 1 auto; min-width: 0; height: 42px; border: 0; background: transparent; color: var(--s6-ink); font-size: .93rem; padding-inline: 1rem; outline: 0; }
.s6-search input::placeholder { color: var(--s6-dim); }
.s6-search button { flex: 0 0 52px; border: 0; border-inline-start: 2px solid var(--s6-ink); background: var(--s6-primary); color: #fff; font-size: 1rem; display: grid; place-items: center; transition: background .15s; }
.s6-search button:hover { background: var(--s6-ink); }
.s6-actions { display: flex; align-items: center; gap: .5rem; flex: 0 0 auto; }
.s6-action { width: 46px; height: 46px; border-radius: var(--s6-radius-sm); border: 2px solid var(--s6-ink); display: inline-flex; align-items: center; justify-content: center; background: #fff; color: var(--s6-ink); cursor: pointer; transition: background .15s, box-shadow .2s var(--s6-ease), transform .2s var(--s6-ease); }
.s6-action i { font-size: 1.02rem; }
.s6-action small { display: none; }
.s6-action:hover, .s6-action.show { background: var(--s6-accent); color: var(--s6-ink); box-shadow: var(--s6-shadow); transform: var(--s6-lift); }
#cart { margin: 0; }
.s6-cart-btn { height: 46px; padding: 0 1.1rem; border-radius: var(--s6-radius-sm); border: 2px solid var(--s6-ink); background: var(--s6-primary); color: #fff; font-size: .85rem; font-weight: 700; display: inline-flex; align-items: center; gap: .55rem; white-space: nowrap; box-shadow: calc(var(--s6-sx) * .75) 3px 0 var(--s6-ink); transition: box-shadow .2s var(--s6-ease), transform .2s var(--s6-ease); }
.s6-cart-btn:hover, .s6-cart-btn.show { box-shadow: var(--s6-shadow-lg); transform: var(--s6-lift); }
#cart .dropdown-menu { background: var(--s6-surface); min-width: min(420px, calc(100vw - 2rem)); margin-top: .8rem !important; padding: .9rem !important; }
#cart .dropdown-menu li { min-width: 0; }
#cart .img-thumbnail { min-width: 0; width: 56px; }
#cart .table { font-size: .85rem; }
#cart .btn-danger { padding: .25rem .5rem; font-size: .8rem; }

/* ---------- category nav ---------- */
.s6-nav-wrap { background: var(--s6-surface); border-bottom: 2px solid var(--s6-ink); margin-bottom: 2rem; }
.s6-nav { padding: 0; min-height: 50px; --bs-navbar-padding-y: 0; }
.s6-nav .navbar-nav { gap: 0; flex-wrap: wrap; }
.s6-nav .navbar-nav > li > a { color: var(--s6-ink); font-size: .93rem; font-weight: 700; padding: .78rem 1.05rem; white-space: nowrap; border-inline-end: 2px solid transparent; border-inline-start: 2px solid transparent; transition: background .15s; }
.s6-nav .navbar-nav > li > a:hover, .s6-nav .navbar-nav > li > a.show { background: var(--s6-accent); color: var(--s6-ink); border-color: var(--s6-ink); }
.s6-nav .dropdown-toggle::after { margin-inline-start: .4em; vertical-align: .15em; border-width: .28em; }
.s6-nav .dropdown-menu { margin-top: 0; padding: .4rem; min-width: 220px; border-width: 2px; border-radius: 0 0 var(--s6-radius) var(--s6-radius); }
.s6-nav .s6-all { color: var(--s6-primary); font-weight: 700; }
.s6-nav-toggle { width: 100%; height: 50px; padding: 0; border: 0; background: transparent; color: var(--s6-ink); font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: space-between; }
@media (min-width: 992px) { .s6-nav .dropdown:hover > .dropdown-menu { display: block; } }
@media (max-width: 991.98px) {
  .s6-nav .navbar-collapse { padding-bottom: .75rem; }
  .s6-nav .navbar-nav > li > a { padding: .55rem .5rem; border: 0; }
  .s6-nav .dropdown-menu { border: 0; box-shadow: none; background: transparent; padding: 0 1rem .5rem; }
}

/* ---------- dropdowns / tooltips ---------- */
.dropdown-menu { --bs-dropdown-bg: var(--s6-surface); --bs-dropdown-color: var(--s6-text); --bs-dropdown-border-color: var(--s6-line); --bs-dropdown-link-color: var(--s6-text); --bs-dropdown-link-hover-color: var(--s6-primary); --bs-dropdown-link-hover-bg: var(--s6-soft); --bs-dropdown-link-active-bg: var(--s6-primary); --bs-dropdown-divider-bg: var(--s6-line); --bs-dropdown-border-radius: var(--s6-radius); --bs-dropdown-font-size: .9rem; box-shadow: var(--s6-shadow-lg); text-align: start; }
.dropdown-item { border-radius: 6px; padding: .45rem .8rem; }
.tooltip { --bs-tooltip-bg: var(--s6-darker); --bs-tooltip-color: #fff; --bs-tooltip-font-size: .76rem; font-family: var(--bs-body-font-family); }

/* ---------- buttons ---------- */
.btn { --bs-btn-border-radius: var(--s6-radius-sm); --bs-btn-border-width: 2px; --bs-btn-font-weight: 700; --bs-btn-padding-x: 1.25rem; --bs-btn-padding-y: .5rem; --bs-btn-font-size: .92rem; box-shadow: calc(var(--s6-sx) * .75) 3px 0 var(--s6-ink); transition: background-color .15s, color .15s, box-shadow .2s var(--s6-ease), transform .2s var(--s6-ease); }
.btn:hover { box-shadow: var(--s6-shadow-lg); transform: var(--s6-lift); }
.btn:active { box-shadow: 0 0 0 var(--s6-ink); transform: translate(calc(var(--s6-sx) * .5), 2px); }
.btn-lg { --bs-btn-padding-y: .78rem; --bs-btn-padding-x: 1.7rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: var(--s6-radius); }
.btn-primary, .btn.bg-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--s6-primary); --bs-btn-border-color: var(--s6-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s6-primary); --bs-btn-hover-border-color: var(--s6-ink); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--s6-primary-dark); --bs-btn-active-border-color: var(--s6-ink); --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--s6-dim); --bs-btn-disabled-border-color: var(--s6-ink); background-color: var(--bs-btn-bg) !important; border: 2px solid var(--s6-ink); }
.btn-light, .btn-secondary, .btn-dark, .btn-default { --bs-btn-color: var(--s6-ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--s6-ink); --bs-btn-hover-color: var(--s6-ink); --bs-btn-hover-bg: var(--s6-accent); --bs-btn-hover-border-color: var(--s6-ink); --bs-btn-active-color: var(--s6-ink); --bs-btn-active-bg: var(--s6-accent-dark); --bs-btn-active-border-color: var(--s6-ink); --bs-btn-disabled-color: var(--s6-dim); --bs-btn-disabled-bg: var(--s6-soft); --bs-btn-disabled-border-color: var(--s6-dim); }
.btn-danger { --bs-btn-color: #fff; --bs-btn-bg: var(--s6-danger); --bs-btn-border-color: var(--s6-ink); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s6-danger); --bs-btn-hover-border-color: var(--s6-ink); --bs-btn-active-color: #fff; --bs-btn-active-bg: #c2231f; --bs-btn-active-border-color: var(--s6-ink); }
.btn-info { --bs-btn-color: var(--s6-ink); --bs-btn-bg: var(--s6-mint); --bs-btn-border-color: var(--s6-ink); --bs-btn-hover-color: var(--s6-ink); --bs-btn-hover-bg: var(--s6-mint); --bs-btn-hover-border-color: var(--s6-ink); --bs-btn-active-color: var(--s6-ink); --bs-btn-active-bg: #5fcf9e; --bs-btn-active-border-color: var(--s6-ink); }
.btn-group > .btn { box-shadow: none; transform: none; }
.btn-group > .btn.active { background: var(--s6-accent); border-color: var(--s6-ink); color: var(--s6-ink); }
.btn-close { box-shadow: none; }
button:focus-visible, a:focus-visible, .btn:focus-visible, [role=button]:focus-visible { outline: 3px solid var(--s6-primary) !important; outline-offset: 2px; }

/* ---------- forms ---------- */
.form-control, .form-select, .input-group-text { background-color: #fff; border-color: var(--s6-line-strong); color: var(--s6-ink); border-radius: var(--s6-radius-sm); padding: .6rem .95rem; font-size: .92rem; }
.form-control::placeholder { color: var(--s6-dim); }
.form-control:focus, .form-select:focus { border-color: var(--s6-primary); box-shadow: var(--s6-ring); color: var(--s6-ink); }
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: var(--s6-soft); color: var(--s6-muted); }
.input-group-text { background-color: var(--s6-soft); color: var(--s6-muted); font-size: .85rem; }
.form-check-input { border-color: var(--s6-line-strong); }
.form-check-input:checked { background-color: var(--s6-primary); border-color: var(--s6-primary); }
.form-check-input:focus { border-color: var(--s6-primary); box-shadow: var(--s6-ring); }
.form-check-label { color: var(--s6-text); font-size: .9rem; }
.form-label, .col-form-label { color: var(--s6-muted); font-size: .875rem; font-weight: 500; }
.col-form-label { text-align: start; }
div.required .col-form-label:before, div.required .form-label:before { color: var(--s6-danger); }
fieldset { margin-bottom: 1.5rem; }

/* ---------- surfaces ---------- */
.card { --bs-card-bg: var(--s6-surface); --bs-card-border-color: var(--s6-line); --bs-card-border-radius: var(--s6-radius); --bs-card-cap-bg: var(--s6-soft); box-shadow: var(--s6-shadow); }
.border { border-color: var(--s6-line) !important; }
.border.rounded { background: var(--s6-surface); border-radius: var(--s6-radius) !important; padding: 1.75rem !important; box-shadow: var(--s6-shadow); border-top: 3px solid var(--s6-primary) !important; }
.img-thumbnail { background: #fff; border: 1px solid var(--s6-line); border-radius: var(--s6-radius-sm); padding: .3rem; }
.modal-content { --bs-modal-bg: var(--s6-surface); --bs-modal-border-color: var(--s6-line); --bs-modal-header-border-color: var(--s6-line); --bs-modal-footer-border-color: var(--s6-line); border-radius: var(--s6-radius); box-shadow: var(--s6-shadow-lg); }
.modal-backdrop { --bs-backdrop-bg: #111111; --bs-backdrop-opacity: .55; }
.list-group { --bs-list-group-bg: var(--s6-surface); --bs-list-group-color: var(--s6-text); --bs-list-group-border-color: var(--s6-line); --bs-list-group-border-radius: var(--s6-radius); --bs-list-group-item-padding-y: .65rem; --bs-list-group-active-bg: var(--s6-soft); --bs-list-group-active-border-color: var(--s6-line); --bs-list-group-active-color: var(--s6-primary); font-size: .92rem; box-shadow: var(--s6-shadow); }
.list-group-item { transition: background .15s, color .15s, padding .2s var(--s6-ease); }
a.list-group-item:hover { background: var(--s6-soft); color: var(--s6-primary); padding-inline-start: 1.25rem; }
.list-group-item.active { font-weight: 700; box-shadow: inset 3px 0 0 var(--s6-accent); }
[dir=rtl] .list-group-item.active { box-shadow: inset -3px 0 0 var(--s6-accent); }

.table { --bs-table-bg: var(--s6-surface); --bs-table-color: var(--s6-text); --bs-table-border-color: var(--s6-line); --bs-table-striped-bg: #faf8f1; --bs-table-striped-color: var(--s6-text); --bs-table-hover-bg: var(--s6-soft); --bs-table-hover-color: var(--s6-ink); font-size: .9rem; vertical-align: middle; }
.table > thead > tr > *, .table > thead td { background: var(--s6-dark); color: #fff; font-weight: 600; }
.table > :not(caption) > * > * { padding: .75rem .9rem; }
.table-responsive { border-radius: var(--s6-radius-sm); }

.alert { --bs-alert-border-radius: var(--s6-radius-sm); font-size: .92rem; border-inline-start-width: 4px; }
.alert-success { --bs-alert-bg: #edf8f3; --bs-alert-border-color: #2f9e6f; --bs-alert-color: #145a3c; --bs-alert-link-color: #145a3c; }
.alert-danger { --bs-alert-bg: #fdf3f2; --bs-alert-border-color: #d1564b; --bs-alert-color: #8f261d; --bs-alert-link-color: #8f261d; }
.alert-warning { --bs-alert-bg: #fff8e8; --bs-alert-border-color: var(--s6-accent); --bs-alert-color: #74500a; --bs-alert-link-color: #74500a; }
.alert-info, .alert-primary { --bs-alert-bg: var(--s6-soft); --bs-alert-border-color: var(--s6-primary); --bs-alert-color: var(--s6-dark); --bs-alert-link-color: var(--s6-dark); }
.alert a { font-weight: 600; text-decoration: underline; }
#alert { left: 0; right: 0; top: 92px; width: min(540px, calc(100vw - 2rem)); margin-left: auto; margin-right: auto; }
#alert .alert { box-shadow: var(--s6-shadow-lg) !important; }

.nav-tabs { --bs-nav-tabs-border-color: var(--s6-line-strong); --bs-nav-tabs-link-hover-border-color: transparent; --bs-nav-tabs-link-active-bg: var(--s6-surface); --bs-nav-tabs-link-active-color: var(--s6-primary); --bs-nav-tabs-link-active-border-color: var(--s6-line-strong) var(--s6-line-strong) var(--s6-surface); --bs-nav-tabs-border-radius: var(--s6-radius-sm); --bs-nav-link-color: var(--s6-muted); --bs-nav-link-hover-color: var(--s6-ink); margin-bottom: 0; }
.nav-tabs .nav-link { font-weight: 600; padding: .7rem 1.2rem; }
.nav-tabs .nav-link.active { box-shadow: inset 0 3px 0 var(--s6-accent); }

.pagination { --bs-pagination-bg: #fff; --bs-pagination-color: var(--s6-text); --bs-pagination-border-color: var(--s6-line-strong); --bs-pagination-hover-bg: var(--s6-soft); --bs-pagination-hover-color: var(--s6-primary); --bs-pagination-hover-border-color: var(--s6-line-strong); --bs-pagination-active-bg: var(--s6-primary); --bs-pagination-active-border-color: var(--s6-primary); --bs-pagination-disabled-bg: var(--s6-soft); --bs-pagination-disabled-color: var(--s6-dim); --bs-pagination-disabled-border-color: var(--s6-line); --bs-pagination-focus-box-shadow: none; gap: .3rem; }
.pagination .page-link { border-radius: var(--s6-radius-sm) !important; min-width: 40px; text-align: center; }

/* ---------- breadcrumb ---------- */
.breadcrumb { margin: 0 0 1.5rem; padding: .6rem 1rem; border: 1px solid var(--s6-line); border-radius: var(--s6-radius-sm); background: var(--s6-surface); font-size: .84rem; align-items: center; flex-wrap: wrap; }
.breadcrumb > li.breadcrumb-item { text-shadow: none; padding: 0; white-space: normal; display: inline-flex; align-items: center; }
.breadcrumb > li.breadcrumb-item > a { color: var(--s6-muted); }
.breadcrumb > li.breadcrumb-item > a:hover { color: var(--s6-primary); }
.breadcrumb > li.breadcrumb-item:last-child > a { color: var(--s6-ink); font-weight: 600; }
.breadcrumb > li.breadcrumb-item:after { display: none; }
.breadcrumb > li.breadcrumb-item + li:before { content: ""; float: none; display: inline-block; width: 6px; height: 6px; padding: 0; margin-inline: .7rem; border-top: 1.5px solid var(--s6-dim); border-inline-end: 1.5px solid var(--s6-dim); transform: rotate(45deg); }
[dir=rtl] .breadcrumb > li.breadcrumb-item + li:before { transform: rotate(-135deg); }
.breadcrumb i { font-size: .82rem; color: var(--s6-primary); }

/* ---------- product card ---------- */
.product-thumb { border: 2px solid var(--s6-ink); border-radius: var(--s6-radius); background: var(--s6-surface); height: 100%; position: relative; overflow: hidden; transition: box-shadow .25s var(--s6-ease), transform .25s var(--s6-ease); }
.product-thumb:hover { box-shadow: var(--s6-shadow-lg); transform: var(--s6-lift); }
.product-thumb > form { display: flex; flex-direction: column; height: 100%; margin: 0; }
.product-thumb .image { position: relative; background: #fff; border-bottom: 2px solid var(--s6-ink); overflow: hidden; text-align: center; }
.product-thumb .image a { display: block; padding: 1rem; }
.product-thumb .image a:hover { opacity: 1; }
.product-thumb .image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; transition: transform .4s var(--s6-ease); }
.product-thumb:hover .image img { transform: scale(1.05) rotate(-2deg); }
.s6-badge { position: absolute; top: .6rem; inset-inline-start: .6rem; height: 30px; padding: 0 .7rem; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius-sm); background: var(--s6-pink); color: var(--s6-ink); font-size: .78rem; display: inline-flex; align-items: center; transform: rotate(-4deg); }
.s6-quick { position: absolute; top: .6rem; inset-inline-end: .6rem; display: flex; flex-direction: column; gap: .35rem; opacity: 0; transition: opacity .2s; }
.product-thumb:hover .s6-quick, .product-thumb:focus-within .s6-quick { opacity: 1; }
@media (hover: none) { .s6-quick { opacity: 1; } }
.s6-quick button { width: 36px; height: 36px; border-radius: var(--s6-radius-sm); border: 2px solid var(--s6-ink); background: #fff; color: var(--s6-ink); font-size: .82rem; display: grid; place-items: center; transition: background .15s; }
.s6-quick button:hover { background: var(--s6-accent); }
.product-thumb .content { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-thumb .description { padding: .9rem 1rem 0; margin-bottom: 0; flex: 1 1 auto; }
.product-thumb .description h4 { font-size: 1rem; font-weight: 700; margin-bottom: .25rem; line-height: 1.5; }
.product-thumb .description h4 a { color: var(--s6-ink); }
.product-thumb .description h4 a:hover { color: var(--s6-primary); }
.product-thumb .description p { color: var(--s6-muted); font-size: .83rem; line-height: 1.65; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-thumb .button { position: static; display: block; width: auto; padding: .7rem 1rem 1rem; }
.product-thumb .button .price { margin-bottom: .7rem; }
.product-thumb .button button.s6-add { width: 100%; height: 42px; line-height: 1; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius-sm); background: var(--s6-primary); color: #fff; font-size: .88rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: .5rem; transition: background .15s, color .15s; }
.product-thumb .button button.s6-add:hover { background: var(--s6-accent); color: var(--s6-ink); }
@media (min-width: 960px) {
  .product-list .product-thumb { display: block; }
  .product-list .product-thumb > form { flex-direction: row; align-items: stretch; }
  .product-list .product-thumb .image { flex: 0 0 210px; border-bottom: 0; border-inline-end: 2px solid var(--s6-ink); }
  .product-list .product-thumb .content { flex: 1 1 auto; justify-content: center; }
  .product-list .product-thumb .description { flex: 0 0 auto; }
  .product-list .product-thumb .button { border: 0; width: 280px; margin: 0; }
}

.price { color: var(--s6-ink); font-size: 1.15rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.price-new { font-weight: 700; color: var(--s6-ink); background: linear-gradient(transparent 58%, var(--s6-accent) 58%); padding-inline: .15rem; }
.price-old { color: var(--s6-dim); font-size: .8em; text-decoration: line-through; }
.price-tax { color: var(--s6-dim); font-size: .75rem; flex-basis: 100%; }
.rating { margin: .2rem 0 0; }
.rating .fa-stack { width: 16px; height: 1.5em; line-height: 1.5em; }
.rating .fa-star { font-size: 12px; }
.rating .fa-regular.fa-star { color: var(--s6-ink); }
.rating .fa-solid.fa-star { color: var(--s6-accent); }
.rating .fa-solid.fa-star + .fa-star { color: var(--s6-ink); }

/* ---------- home ---------- */
.s6-hero { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 2rem; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius); background: var(--s6-accent); padding: clamp(1.75rem, 1rem + 3.5vw, 4rem); box-shadow: calc(var(--s6-sx) * 2) 8px 0 var(--s6-ink); margin-bottom: 2rem; margin-inline-end: 8px; }
.s6-hero::before { content: ""; position: absolute; inset: 0; opacity: .35; background-image: radial-gradient(var(--s6-ink) 1.2px, transparent 1.4px); background-size: 18px 18px; -webkit-mask-image: linear-gradient(110deg, transparent 45%, #000); mask-image: linear-gradient(110deg, transparent 45%, #000); pointer-events: none; }
html[dir=rtl] .s6-hero::before { -webkit-mask-image: linear-gradient(-110deg, transparent 45%, #000); mask-image: linear-gradient(-110deg, transparent 45%, #000); }
.s6-hero-text { position: relative; }
.s6-eyebrow { display: inline-block; padding: .25rem .8rem; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius-sm); background: #fff; color: var(--s6-ink); font-size: .82rem; font-weight: 700; margin-bottom: 1.2rem; transform: rotate(-2deg); }
.s6-hero h1 { font-size: clamp(2rem, 1.1rem + 3.6vw, 3.7rem); line-height: 1.28; margin-bottom: 1rem; }
.s6-hero h1 em { font-style: normal; background: var(--s6-ink); color: var(--s6-accent); padding: 0 .3em; border-radius: var(--s6-radius-sm); -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.s6-hero-text > p { color: var(--s6-ink); font-size: clamp(1rem, .95rem + .3vw, 1.14rem); line-height: 1.9; max-width: 46ch; margin-bottom: 1.9rem; }
.s6-hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; }
.s6-hero-art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 360px; margin-inline: auto; }
.s6-card { position: absolute; width: 56%; aspect-ratio: 1 / 1.1; display: flex; flex-direction: column; justify-content: flex-end; gap: .45rem; padding: 1rem; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius); background: #fff; box-shadow: var(--s6-shadow-lg); transition: transform .3s var(--s6-ease); }
.s6-card i { position: absolute; top: .9rem; inset-inline-start: .9rem; width: 46px; height: 46px; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius-sm); background: var(--s6-accent); color: var(--s6-ink); display: grid; place-items: center; font-size: 1.1rem; }
.s6-card b { height: 9px; border-radius: 2px; background: var(--s6-ink); width: 80%; }
.s6-card b + b { width: 48%; background: var(--s6-soft-2); }
.s6-card-1 { top: 2%; inset-inline-start: 4%; transform: rotate(-8deg); background: var(--s6-pink); }
.s6-card-1 i { background: #fff; }
.s6-card-2 { top: 20%; inset-inline-end: 2%; transform: rotate(6deg); background: var(--s6-mint); }
.s6-card-2 i { background: #fff; }
.s6-card-3 { bottom: 0; inset-inline-start: 20%; transform: rotate(-2deg); }
.s6-card-3 i { background: var(--s6-primary); color: #fff; }
.s6-hero:hover .s6-card-1 { transform: rotate(-11deg) translateY(-4px); }
.s6-hero:hover .s6-card-2 { transform: rotate(9deg) translateY(-4px); }
.s6-star { position: absolute; top: -2%; inset-inline-end: 6%; width: 54px; height: 54px; border: 2px solid var(--s6-ink); border-radius: 50%; background: var(--s6-primary); color: #fff; display: grid; place-items: center; font-size: 1.2rem; animation: s6-spin 14s linear infinite; }
@keyframes s6-spin { to { rotate: 360deg; } }
@media (max-width: 991.98px) { .s6-hero { grid-template-columns: 1fr; } .s6-hero-art { display: none; } }

.s6-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 2px solid var(--s6-ink); border-radius: var(--s6-radius); background: var(--s6-surface); overflow: hidden; margin-bottom: 3rem; }
.s6-features > div { padding: 1.3rem 1.2rem; border-inline-start: 2px solid var(--s6-ink); transition: background .2s; }
.s6-features > div:first-child { border-inline-start: 0; }
.s6-features > div:nth-child(1):hover { background: var(--s6-accent); }
.s6-features > div:nth-child(2):hover { background: var(--s6-pink); }
.s6-features > div:nth-child(3):hover { background: var(--s6-mint); }
.s6-features > div:nth-child(4):hover { background: #b9c8ff; }
.s6-features i { width: 44px; height: 44px; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius-sm); background: var(--s6-bg); color: var(--s6-ink); display: grid; place-items: center; font-size: 1.05rem; margin-bottom: .8rem; }
.s6-features strong { display: block; color: var(--s6-ink); font-size: .98rem; font-weight: 700; margin-bottom: .15rem; }
.s6-features span { display: block; color: var(--s6-text); font-size: .83rem; line-height: 1.65; }
@media (max-width: 991.98px) {
  .s6-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s6-features > div:nth-child(odd) { border-inline-start: 0; }
  .s6-features > div:nth-child(n+3) { border-top: 2px solid var(--s6-ink); }
}

#common-home #content > h3 { display: table; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); margin: 3rem 0 1.6rem; padding: 0 .35em; background: linear-gradient(transparent 55%, var(--s6-accent) 55%); }
#common-home #content .row > .col.mb-3 { margin-bottom: 1.5rem !important; }

.carousel { border-radius: var(--s6-radius); overflow: hidden; margin-bottom: 1.75rem; background: #fff; border: 2px solid var(--s6-ink); }
.carousel .row { --bs-gutter-x: 0; margin: 0; }
.carousel img { width: 100%; }
.carousel-indicators [data-bs-target] { width: 12px; height: 12px; border: 2px solid var(--s6-ink); border-radius: 0; background-color: #fff; opacity: 1; margin-inline: 3px; }
.carousel-indicators .active { background-color: var(--s6-primary); }
.carousel-control-prev, .carousel-control-next { width: 42px; height: 42px; top: 50%; transform: translateY(-50%); margin-inline: .75rem; border: 2px solid var(--s6-ink); border-radius: var(--s6-radius-sm); background: #fff; color: var(--s6-ink); opacity: 1; font-size: .85rem; }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--s6-accent); color: var(--s6-ink); }
[dir=rtl] .carousel-control-prev span, [dir=rtl] .carousel-control-next span { transform: scaleX(-1); }

/* ---------- product page ---------- */
#product-info .magnific-popup > a .img-thumbnail { border-radius: 14px; padding: 1.25rem; width: 100%; box-shadow: var(--s6-shadow); }
#product-info .magnific-popup > div .img-thumbnail { max-width: 80px; margin-bottom: .5rem; transition: border-color .15s; }
#product-info .magnific-popup > div a:hover .img-thumbnail { border-color: var(--s6-primary); }
#product-info #content > .row > .col-sm > ul.list-unstyled { color: var(--s6-muted); font-size: .9rem; }
#product-info h2 { margin: 0; }
#product-info h2 .price-new { font-size: clamp(1.7rem, 1.3rem + 1vw, 2.2rem); }
#product-info #product { margin-top: 1.25rem; padding: 1.4rem; border: 1px solid var(--s6-line); border-top: 3px solid var(--s6-accent); border-radius: var(--s6-radius); background: var(--s6-surface); box-shadow: var(--s6-shadow); }
#product-info #button-cart { --bs-btn-padding-y: .85rem; }
#product-info .tab-content { padding: 1.6rem; border: 1px solid var(--s6-line-strong); border-top: 0; border-radius: 0 0 var(--s6-radius) var(--s6-radius); background: var(--s6-surface); line-height: 1.95; }
#product-info .tab-content img { height: auto; border-radius: var(--s6-radius-sm); }
.mfp-bg { background: #111111; opacity: .88; }

#compare-total { background: #fff !important; border: 1px solid var(--s6-line-strong) !important; color: var(--s6-ink); }
#compare-total:hover { border-color: var(--s6-primary) !important; color: var(--s6-primary); background: #fff !important; }
#product-category #content > .row > div > ul:not(.pagination) { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
#product-category #content > .row > div > ul:not(.pagination) li a { display: inline-block; padding: .4rem 1rem; border: 1px solid var(--s6-line-strong); border-radius: var(--s6-radius-sm); background: #fff; color: var(--s6-ink); font-size: .86rem; font-weight: 600; transition: color .2s, border-color .2s, background .2s; }
#product-category #content > .row > div > ul:not(.pagination) li a:hover { background: var(--s6-primary); border-color: var(--s6-primary); color: #fff; }
#product-category #content > .row > [class*=col-sm-3] { width: 100%; }

/* ---------- account / checkout / cms ---------- */
#account-account #content h2 { font-size: 1rem; color: var(--s6-ink); font-weight: 700; margin: 2.25rem 0 .9rem; padding-inline-start: .75rem; border-inline-start: 3px solid var(--s6-accent); }
#account-account #content ul.list-unstyled { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: .75rem; margin: 0; }
#account-account #content ul.list-unstyled li a { display: flex; align-items: center; justify-content: space-between; height: 100%; padding: 1rem 1.15rem; border: 1px solid var(--s6-line); border-radius: var(--s6-radius); background: var(--s6-surface); color: var(--s6-ink); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s, box-shadow .3s var(--s6-ease); }
#account-account #content ul.list-unstyled li a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--s6-dim); border-inline-end: 2px solid var(--s6-dim); transform: rotate(45deg); flex: 0 0 auto; }
[dir=rtl] #account-account #content ul.list-unstyled li a::after { transform: rotate(-135deg); }
#account-account #content ul.list-unstyled li a:hover { color: var(--s6-primary); border-color: var(--s6-primary); box-shadow: var(--s6-shadow); }
#checkout-checkout fieldset, #checkout-checkout #checkout-confirm { padding: 1.4rem; border: 1px solid var(--s6-line); border-radius: var(--s6-radius); background: var(--s6-surface); box-shadow: var(--s6-shadow); }
#checkout-checkout fieldset fieldset { padding: 0; border: 0; background: transparent; box-shadow: none; }
.blog-thumb { border: 1px solid var(--s6-line); border-radius: var(--s6-radius); background: var(--s6-surface); overflow: hidden; }
.blog-thumb .image a:hover { opacity: 1; }
.blog-thumb h4 a { color: var(--s6-ink); }

/* ---------- footer ---------- */
footer.s6-footer { position: static; bottom: auto; width: 100%; flex-shrink: 0; border: 0; border-top: 2px solid var(--s6-ink); background: var(--s6-ink); color: #c9c9c9; padding: 4rem 0 1.5rem; font-size: .9rem; }
.s6-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem 2.5rem; }
footer.s6-footer .s6-brand, footer.s6-footer .s6-brand:hover { color: #fff; }
footer.s6-footer .s6-brand-mark { border-color: #fff; box-shadow: calc(var(--s6-sx) * .75) 3px 0 #fff; }
.s6-footer-about p { margin: 1.1rem 0 0; max-width: 34ch; line-height: 1.95; font-size: .88rem; }
footer.s6-footer h5 { display: inline-block; font-family: inherit; font-size: .9rem; font-weight: 700; color: var(--s6-ink); background: var(--s6-accent); padding: .1rem .6rem; border-radius: 3px; margin: .35rem 0 1.1rem; }
footer.s6-footer ul { margin: 0; }
footer.s6-footer ul li { margin-bottom: .6rem; }
footer.s6-footer a { color: #c9c9c9; }
footer.s6-footer a:hover { color: var(--s6-accent); }
footer.s6-footer hr { border: 0; border-top: 2px solid #333; margin: 2.75rem 0 1.25rem; }
.s6-footer-bottom { font-size: .8rem; color: #8f8f8f; line-height: 1.9; }
.s6-footer-bottom p { margin: 0; }
@media (max-width: 991.98px) { .s6-footer-grid { grid-template-columns: repeat(2, 1fr); } .s6-footer-about { grid-column: 1 / -1; } }

#cookie { left: 0; right: 0; bottom: 0; height: auto; padding: .75rem 0; opacity: 1; background: var(--s6-accent); border-top: 2px solid var(--s6-ink); }
#cookie div { font-size: .9rem; color: var(--s6-ink); }

/* ---------- small screens ---------- */
@media (max-width: 767.98px) {
  .s6-header-row { flex-wrap: wrap; gap: .7rem; padding-block: .75rem; }
  .s6-header-search { order: 3; flex-basis: 100%; max-width: none; }
  .s6-actions { margin-inline-start: auto; gap: .4rem; }
  .s6-action { width: 42px; height: 42px; }
  .s6-cart-btn { height: 42px; padding: 0 .9rem; }
  .s6-cart-btn span { display: none; }
  .s6-brand { font-size: 1.1rem; }
  .s6-brand-mark { width: 36px; height: 36px; }
  .s6-nav-wrap { margin-bottom: 1.25rem; }
  .s6-page > main { padding-bottom: 3rem; }
}
@media (max-width: 399.98px) { .s6-brand span:last-child { display: none; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
