/* ==========================================================================
   متجر رقم 7 — modern, calm storefront theme: graphite + azure, glass header,
   thin line icons (CSS masks) and an icon-only cart with a count badge.
   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] {
  --s7-bg: #f5f6f8;
  --s7-surface: #ffffff;
  --s7-soft: #eef1f5;
  --s7-soft-2: #dde3ea;
  --s7-dark: #0e1726;
  --s7-darker: #070c15;
  --s7-ink: #0e1726;
  --s7-text: #3a4353;
  --s7-muted: #6b7586;
  --s7-dim: #9aa3b2;
  --s7-line: #e7eaef;
  --s7-line-strong: #d4d9e1;
  --s7-primary: #0a7cff;
  --s7-primary-rgb: 10, 124, 255;
  --s7-primary-dark: #0062d1;
  --s7-accent: #0a7cff;
  --s7-accent-dark: #0062d1;
  --s7-tint: #e8f2ff;
  --s7-danger: #e5484d;
  --s7-radius: 20px;
  --s7-radius-sm: 12px;
  --s7-ease: cubic-bezier(.2, .7, .2, 1);
  --s7-ring: 0 0 0 4px rgba(var(--s7-primary-rgb), 0.16);
  --s7-shadow: 0 1px 2px rgba(14, 23, 38, 0.04), 0 12px 28px -18px rgba(14, 23, 38, 0.22);
  --s7-shadow-lg: 0 2px 6px rgba(14, 23, 38, 0.05), 0 32px 56px -28px rgba(14, 23, 38, 0.32);

  --bs-body-bg: var(--s7-bg);
  --bs-body-color: var(--s7-text);
  --bs-secondary-color: var(--s7-muted);
  --bs-secondary-bg: var(--s7-soft);
  --bs-tertiary-color: var(--s7-dim);
  --bs-tertiary-bg: var(--s7-soft);
  --bs-emphasis-color: var(--s7-ink);
  --bs-heading-color: var(--s7-ink);
  --bs-border-color: var(--s7-line);
  --bs-border-color-translucent: var(--s7-line);
  --bs-border-radius: var(--s7-radius-sm);
  --bs-border-radius-lg: var(--s7-radius);
  --bs-border-radius-sm: 9px;
  --bs-primary: var(--s7-primary);
  --bs-primary-rgb: var(--s7-primary-rgb);
  --bs-link-color: var(--s7-primary);
  --bs-link-color-rgb: var(--s7-primary-rgb);
  --bs-link-hover-color: var(--s7-primary-dark);
  --bs-link-hover-color-rgb: 0, 98, 209;
  --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.8;
  color-scheme: light;
}

/* ---------- base ---------- */
html { height: 100%; scroll-behavior: smooth; }
body.s7 { min-height: 100%; height: auto; font-family: var(--bs-body-font-family); color: var(--s7-text); background: var(--s7-bg); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
::selection { background: rgba(var(--s7-primary-rgb), 0.22); }
a { text-decoration: none; transition: color .15s ease; }
h1, h2, h3, h4, h5, h6 { color: var(--s7-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(--s7-muted); }
hr { border-color: var(--s7-line-strong); opacity: 1; }
legend { border-bottom: 2px solid var(--s7-line); font-size: 1.05rem; font-weight: 700; color: var(--s7-ink); padding: .5rem 0; margin-bottom: 1.25rem; }
img { max-width: 100%; }

.s7-page { display: flex; flex-direction: column; min-height: 100vh; }
.s7-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; }

/* ---------- icons ---------- */
/* Thin line icons as CSS masks: they take the current text colour and size (1em). */
.s7-i { display: inline-block; width: 1em; height: 1em; flex: 0 0 auto; vertical-align: -.15em; background-color: currentColor; -webkit-mask: var(--s7-icon) center / contain no-repeat; mask: var(--s7-icon) center / contain no-repeat; }
.s7-i-search { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7.5'/%3E%3Cpath d='m20.5 20.5-4.2-4.2'/%3E%3C/svg%3E"); }
.s7-i-user { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4.5 20.5a7.5 7.5 0 0 1 15 0'/%3E%3C/svg%3E"); }
.s7-i-heart { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 20.5s-8-4.8-8-11a4.5 4.5 0 0 1 8-2.8a4.5 4.5 0 0 1 8 2.8c0 6.2-8 11-8 11Z'/%3E%3C/svg%3E"); }
.s7-i-bag { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12.5H6L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3C/svg%3E"); }
.s7-i-bag-plus { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 8h14l-1 12.5H6L5 8Z'/%3E%3Cpath d='M9 8V6.5a3 3 0 0 1 6 0V8'/%3E%3Cpath d='M12 11.5v5M9.5 14h5'/%3E%3C/svg%3E"); }
.s7-i-zap { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M13 2.5 4.5 13.5H11l-1 8 8.5-11H12l1-8Z'/%3E%3C/svg%3E"); }
.s7-i-shield { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21.5s7.5-3.5 7.5-9.5V5.5L12 2.5 4.5 5.5V12c0 6 7.5 9.5 7.5 9.5Z'/%3E%3Cpath d='m8.8 12 2.3 2.3 4.2-4.3'/%3E%3C/svg%3E"); }
.s7-i-headphones { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 17v-5a8 8 0 0 1 16 0v5'/%3E%3Crect x='3' y='14' width='4.5' height='6.5' rx='2'/%3E%3Crect x='16.5' y='14' width='4.5' height='6.5' rx='2'/%3E%3C/svg%3E"); }
.s7-i-cloud { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17.5a4.5 4.5 0 0 1-.6-8.96A6 6 0 0 1 18 9.5a4 4 0 0 1 .5 7.97'/%3E%3Cpath d='M12 12v8.5'/%3E%3Cpath d='m8.8 17.3 3.2 3.2 3.2-3.2'/%3E%3C/svg%3E"); }
.s7-i-key { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='8' cy='15.5' r='4.5'/%3E%3Cpath d='m11.3 12.2 8.7-8.7'/%3E%3Cpath d='m16 7.5 2.5 2.5'/%3E%3Cpath d='m18.5 5 2 2'/%3E%3C/svg%3E"); }
.s7-i-gamepad { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='7' width='19' height='11' rx='5.5'/%3E%3Cpath d='M7 12.5h3.5M8.75 10.75v3.5'/%3E%3Cpath d='M15.5 13.5h.01M17.5 11.5h.01'/%3E%3C/svg%3E"); }
.s7-i-card { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='5' width='19' height='14' rx='3'/%3E%3Cpath d='M2.5 10h19'/%3E%3Cpath d='M6.5 15h3.5'/%3E%3C/svg%3E"); }
.s7-i-tag { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 4.5a1 1 0 0 1 1-1h6.8a2 2 0 0 1 1.4.6l7.2 7.2a2 2 0 0 1 0 2.8l-5.8 5.8a2 2 0 0 1-2.8 0l-7.2-7.2a2 2 0 0 1-.6-1.4V4.5Z'/%3E%3Cpath d='M8 8h.01'/%3E%3C/svg%3E"); }
.s7-i-sparkles { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 4l1.7 4.8a2 2 0 0 0 1.2 1.2l4.6 1.5-4.6 1.5a2 2 0 0 0-1.2 1.2L11 19l-1.7-4.8a2 2 0 0 0-1.2-1.2l-4.6-1.5 4.6-1.5a2 2 0 0 0 1.2-1.2L11 4Z'/%3E%3Cpath d='M19 3v4M17 5h4'/%3E%3C/svg%3E"); }
.s7-i-compare { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16.5 3 4 4-4 4'/%3E%3Cpath d='M3.5 11v-1a3 3 0 0 1 3-3h14'/%3E%3Cpath d='m7.5 21-4-4 4-4'/%3E%3Cpath d='M20.5 13v1a3 3 0 0 1-3 3h-14'/%3E%3C/svg%3E"); }
.s7-i-menu { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 7h16M4 12h16M4 17h10'/%3E%3C/svg%3E"); }
.s7-i-x { --s7-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 6 12 12M18 6 6 18'/%3E%3C/svg%3E"); }

/* ---------- top strip ---------- */
.s7-top { font-size: .8rem; position: relative; z-index: 1031; background: var(--s7-surface); border-bottom: 1px solid var(--s7-line); }
.s7-top .container { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 38px; }
.s7-top ul.list-inline { margin: 0; display: flex; align-items: center; gap: 1.35rem; }
.s7-top .list-inline-item { margin: 0; }
.s7-top a, .s7-top .dropdown > span { color: var(--s7-muted); display: inline-flex; align-items: center; gap: .4rem; transition: color .15s; }
.s7-top a:hover, .s7-top .dropdown > span:hover { color: var(--s7-ink); }
.s7-top .dropdown-toggle::after { display: none; }
.s7-top .fa-caret-down { font-size: .7em; opacity: .6; }
.s7-top img { border-radius: 2px; }
.s7-top .s7-i { font-size: 1.05em; color: var(--s7-primary); }

/* ---------- header ---------- */
.s7-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, 0.82); -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px); border-bottom: 1px solid var(--s7-line); }
.s7-header-row { display: flex; align-items: center; gap: 1.5rem; padding-block: .85rem; }
.s7-logo { flex: 0 0 auto; }
.s7-logo img { max-width: 170px; max-height: 44px; }
.s7-brand { display: inline-flex; align-items: center; gap: .7rem; color: var(--s7-ink); font-size: 1.2rem; font-weight: 700; white-space: nowrap; }
.s7-brand:hover { color: var(--s7-ink); }
.s7-brand-mark { width: 40px; height: 40px; border-radius: 13px; background: var(--s7-ink); color: #fff; display: grid; place-items: center; font-size: 1.05rem; flex: 0 0 auto; transition: background .3s, transform .4s var(--s7-ease); }
.s7-brand:hover .s7-brand-mark { background: var(--s7-primary); transform: rotate(12deg); }
.s7-header-search { flex: 1 1 auto; min-width: 0; max-width: 520px; margin-inline: auto; }
.s7-search { display: flex; align-items: center; margin: 0; height: 46px; border-radius: 999px; background: var(--s7-soft); border: 1px solid transparent; transition: background .2s, border-color .2s, box-shadow .2s; }
.s7-search:focus-within { background: #fff; border-color: rgba(var(--s7-primary-rgb), 0.5); box-shadow: var(--s7-ring); }
.s7-search button { flex: 0 0 46px; height: 44px; border: 0; background: transparent; color: var(--s7-muted); font-size: 1.05rem; display: grid; place-items: center; border-radius: 50%; transition: color .2s; }
.s7-search button:hover, .s7-search:focus-within button { color: var(--s7-primary); }
.s7-search input { flex: 1 1 auto; min-width: 0; height: 100%; border: 0; background: transparent; color: var(--s7-ink); font-size: .93rem; padding-inline: 0 1.2rem; outline: 0; }
.s7-search input::placeholder { color: var(--s7-dim); }
.s7-actions { display: flex; align-items: center; gap: .25rem; flex: 0 0 auto; }
.s7-action { position: relative; width: 46px; height: 46px; padding: 0; border: 0; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: transparent; color: var(--s7-ink); font-size: 1.3rem; cursor: pointer; transition: background .2s, color .2s, transform .3s var(--s7-ease); }
.s7-action:hover, .s7-action.show { background: var(--s7-soft); color: var(--s7-primary); }
.s7-action:active { transform: scale(.94); }
#cart { margin: 0; }
/* the cart is an icon; the item count sits on it as a badge */
.s7-cart-btn { background: var(--s7-ink); color: #fff; margin-inline-start: .35rem; }
.s7-cart-btn:hover, .s7-cart-btn.show { background: var(--s7-primary); color: #fff; transform: translateY(-2px); }
.s7-count { position: absolute; top: -4px; inset-inline-end: -4px; min-width: 21px; height: 21px; padding: 0 5px; border-radius: 999px; border: 2px solid #fff; background: var(--s7-primary); color: #fff; font-size: .68rem; font-weight: 700; line-height: 17px; text-align: center; animation: s7-pop .4s var(--s7-ease); }
.s7-cart-btn:hover .s7-count, .s7-cart-btn.show .s7-count { background: var(--s7-ink); }
@keyframes s7-pop { from { scale: 0; } 70% { scale: 1.2; } to { scale: 1; } }
#cart .dropdown-menu { background: var(--s7-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 { width: 32px; height: 32px; padding: 0; display: inline-grid; place-items: center; border-radius: 50%; }
.s7-empty { display: grid; justify-items: center; gap: .6rem; padding: 1.75rem 1rem; color: var(--s7-muted); text-align: center; }
.s7-empty span { width: 56px; height: 56px; border-radius: 50%; background: var(--s7-tint); display: grid; place-items: center; color: var(--s7-primary); font-size: 1.5rem; }

/* ---------- category nav ---------- */
.s7-nav-wrap { margin: 1rem 0 1.75rem; }
.s7-nav { padding: 0; --bs-navbar-padding-y: 0; justify-content: center; }
.s7-nav .navbar-collapse { justify-content: center; flex-grow: 0; }
.s7-nav .navbar-nav { gap: .15rem; flex-wrap: wrap; justify-content: center; padding: .3rem; border-radius: 28px; background: var(--s7-surface); border: 1px solid var(--s7-line); box-shadow: var(--s7-shadow); }
.s7-nav .navbar-nav > li > a { color: var(--s7-text); font-size: .9rem; font-weight: 500; padding: .5rem 1.05rem; border-radius: 999px; white-space: nowrap; transition: color .2s, background .2s; }
.s7-nav .navbar-nav > li > a:hover, .s7-nav .navbar-nav > li > a.show { color: #fff; background: var(--s7-ink); }
.s7-nav .dropdown-toggle::after { margin-inline-start: .4em; opacity: .55; vertical-align: .15em; border-width: .26em; }
.s7-nav .dropdown-menu { margin-top: .5rem; padding: .5rem; min-width: 220px; }
/* invisible bridge so the pointer can travel from the pill to its menu */
.s7-nav .dropdown-menu::before { content: ""; position: absolute; inset-inline: 0; top: -.6rem; height: .6rem; }
.s7-nav .s7-all { color: var(--s7-primary); font-weight: 600; }
.s7-nav-toggle { width: 100%; height: 50px; padding: 0 1.1rem; border: 1px solid var(--s7-line); border-radius: 999px; background: var(--s7-surface); color: var(--s7-ink); font-weight: 600; font-size: .93rem; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--s7-shadow); }
.s7-nav-toggle .s7-i { font-size: 1.25rem; }
@media (min-width: 992px) { .s7-nav .dropdown:hover > .dropdown-menu { display: block; } }
@media (max-width: 991.98px) {
  .s7-nav .navbar-collapse { flex-grow: 1; margin-top: .5rem; }
  .s7-nav .navbar-nav { justify-content: flex-start; border-radius: var(--s7-radius); padding: .5rem; }
  .s7-nav .dropdown-menu { border: 0; box-shadow: none; background: transparent; padding: 0 1rem .5rem; margin-top: 0; }
}

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

/* ---------- buttons ---------- */
.btn { --bs-btn-border-radius: 999px; --bs-btn-font-weight: 600; --bs-btn-padding-x: 1.4rem; --bs-btn-padding-y: .55rem; --bs-btn-font-size: .92rem; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s, transform .3s var(--s7-ease); }
.btn .s7-i { font-size: 1.15em; vertical-align: -.2em; margin-inline-end: .2rem; }
.btn:active { transform: scale(.97); }
.btn-lg { --bs-btn-padding-y: .82rem; --bs-btn-padding-x: 1.9rem; --bs-btn-font-size: 1rem; --bs-btn-border-radius: 999px; }
.btn-primary, .btn.bg-primary { --bs-btn-color: #fff; --bs-btn-bg: var(--s7-primary); --bs-btn-border-color: var(--s7-primary); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s7-primary-dark); --bs-btn-hover-border-color: var(--s7-primary-dark); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--s7-primary-dark); --bs-btn-active-border-color: var(--s7-primary-dark); --bs-btn-disabled-color: #fff; --bs-btn-disabled-bg: var(--s7-dim); --bs-btn-disabled-border-color: var(--s7-dim); background-color: var(--bs-btn-bg) !important; box-shadow: 0 12px 24px -14px rgba(var(--s7-primary-rgb), 0.9); }
.btn-primary:hover, .btn.bg-primary:hover { background-color: var(--s7-primary-dark) !important; transform: translateY(-2px); }
.btn-light, .btn-secondary, .btn-dark, .btn-default { --bs-btn-color: var(--s7-ink); --bs-btn-bg: #fff; --bs-btn-border-color: var(--s7-line-strong); --bs-btn-hover-color: var(--s7-ink); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: var(--s7-ink); --bs-btn-active-color: var(--s7-ink); --bs-btn-active-bg: var(--s7-soft); --bs-btn-active-border-color: var(--s7-ink); --bs-btn-disabled-color: var(--s7-dim); --bs-btn-disabled-bg: var(--s7-soft); --bs-btn-disabled-border-color: var(--s7-line); }
.btn-danger { --bs-btn-color: var(--s7-danger); --bs-btn-bg: #fff0f0; --bs-btn-border-color: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s7-danger); --bs-btn-hover-border-color: var(--s7-danger); --bs-btn-active-color: #fff; --bs-btn-active-bg: #c93a3f; --bs-btn-active-border-color: #c93a3f; }
.btn-info { --bs-btn-color: var(--s7-primary); --bs-btn-bg: var(--s7-tint); --bs-btn-border-color: transparent; --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--s7-primary); --bs-btn-hover-border-color: var(--s7-primary); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--s7-primary-dark); --bs-btn-active-border-color: var(--s7-primary-dark); }
.btn-group > .btn { --bs-btn-border-radius: 12px; }
.btn-group > .btn.active { background: var(--s7-ink); border-color: var(--s7-ink); color: #fff; }
button:focus-visible, a:focus-visible, .btn:focus-visible, [role=button]:focus-visible { outline: 2px solid var(--s7-primary) !important; outline-offset: 2px; box-shadow: none; }

/* ---------- forms ---------- */
.form-control, .form-select, .input-group-text { background-color: #fff; border-color: var(--s7-line-strong); color: var(--s7-ink); border-radius: var(--s7-radius-sm); padding: .6rem .95rem; font-size: .92rem; }
.form-control::placeholder { color: var(--s7-dim); }
.form-control:focus, .form-select:focus { border-color: var(--s7-primary); box-shadow: var(--s7-ring); color: var(--s7-ink); }
.form-control:disabled, .form-control[readonly], .form-select:disabled { background-color: var(--s7-soft); color: var(--s7-muted); }
.input-group-text { background-color: var(--s7-soft); color: var(--s7-muted); font-size: .85rem; }
.form-check-input { border-color: var(--s7-line-strong); }
.form-check-input:checked { background-color: var(--s7-primary); border-color: var(--s7-primary); }
.form-check-input:focus { border-color: var(--s7-primary); box-shadow: var(--s7-ring); }
.form-check-label { color: var(--s7-text); font-size: .9rem; }
.form-label, .col-form-label { color: var(--s7-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(--s7-danger); }
fieldset { margin-bottom: 1.5rem; }

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

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

.alert { --bs-alert-border-radius: var(--s7-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(--s7-accent); --bs-alert-color: #74500a; --bs-alert-link-color: #74500a; }
.alert-info, .alert-primary { --bs-alert-bg: var(--s7-soft); --bs-alert-border-color: var(--s7-primary); --bs-alert-color: var(--s7-dark); --bs-alert-link-color: var(--s7-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(--s7-shadow-lg) !important; }

.nav-tabs { --bs-nav-tabs-border-color: var(--s7-line-strong); --bs-nav-tabs-link-hover-border-color: transparent; --bs-nav-tabs-link-active-bg: var(--s7-surface); --bs-nav-tabs-link-active-color: var(--s7-primary); --bs-nav-tabs-link-active-border-color: var(--s7-line-strong) var(--s7-line-strong) var(--s7-surface); --bs-nav-tabs-border-radius: var(--s7-radius-sm); --bs-nav-link-color: var(--s7-muted); --bs-nav-link-hover-color: var(--s7-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(--s7-accent); }

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

/* ---------- breadcrumb ---------- */
.breadcrumb { margin: 0 0 1.5rem; padding: .6rem 1rem; border: 1px solid var(--s7-line); border-radius: var(--s7-radius-sm); background: var(--s7-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(--s7-muted); }
.breadcrumb > li.breadcrumb-item > a:hover { color: var(--s7-primary); }
.breadcrumb > li.breadcrumb-item:last-child > a { color: var(--s7-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(--s7-dim); border-inline-end: 1.5px solid var(--s7-dim); transform: rotate(45deg); }
[dir=rtl] .breadcrumb > li.breadcrumb-item + li:before { transform: rotate(-135deg); }
.breadcrumb i { font-size: .82rem; color: var(--s7-primary); }

/* ---------- product card ---------- */
.product-thumb { border: 1px solid var(--s7-line); border-radius: 22px; background: var(--s7-surface); height: 100%; position: relative; padding: .55rem; transition: border-color .2s, box-shadow .4s var(--s7-ease), transform .4s var(--s7-ease); }
.product-thumb:hover { border-color: transparent; box-shadow: var(--s7-shadow-lg); transform: translateY(-5px); }
.product-thumb > form { display: flex; flex-direction: column; height: 100%; margin: 0; }
.product-thumb .image { position: relative; background: var(--s7-soft); border-radius: 17px; overflow: hidden; text-align: center; }
.product-thumb .image a { display: block; padding: 1.15rem; }
.product-thumb .image a:hover { opacity: 1; }
.product-thumb .image img { width: 100%; aspect-ratio: 1 / 1; object-fit: contain; mix-blend-mode: multiply; transition: transform .6s var(--s7-ease); }
.product-thumb:hover .image img { transform: scale(1.06); }
.s7-badge { position: absolute; top: .65rem; inset-inline-start: .65rem; width: 34px; height: 34px; border-radius: 50%; background: var(--s7-ink); color: #fff; font-size: 1rem; display: grid; place-items: center; }
.s7-quick { position: absolute; top: .65rem; inset-inline-end: .65rem; display: flex; flex-direction: column; gap: .4rem; }
.s7-quick button { width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.92); color: var(--s7-ink); font-size: 1.1rem; display: grid; place-items: center; box-shadow: 0 6px 16px -8px rgba(14, 23, 38, 0.4); transition: background .2s, color .2s, transform .3s var(--s7-ease), opacity .25s; }
.s7-quick button:hover { background: var(--s7-primary); color: #fff; transform: scale(1.1); }
.s7-quick button + button { opacity: 0; transform: translateY(-6px); }
.product-thumb:hover .s7-quick button + button, .product-thumb:focus-within .s7-quick button + button { opacity: 1; transform: none; }
.product-thumb:hover .s7-quick button + button:hover { transform: scale(1.1); }
@media (hover: none) { .s7-quick button + button { opacity: 1; transform: none; } }
.product-thumb .content { display: flex; flex-direction: column; flex: 1 1 auto; }
.product-thumb .description { padding: .95rem .6rem 0; margin-bottom: 0; flex: 1 1 auto; }
.product-thumb .description h4 { font-size: .98rem; font-weight: 600; margin-bottom: .2rem; line-height: 1.55; }
.product-thumb .description h4 a { color: var(--s7-ink); }
.product-thumb .description h4 a:hover { color: var(--s7-primary); }
.product-thumb .description p { display: none; color: var(--s7-muted); font-size: .84rem; line-height: 1.7; margin: 0; }
.product-thumb .button { position: static; display: flex; align-items: center; justify-content: space-between; gap: .75rem; width: auto; padding: .7rem .6rem .5rem; min-height: 62px; }
/* add-to-cart is an icon that opens into a labelled pill on hover/focus */
.product-thumb .button button.s7-add { width: auto; height: 44px; min-width: 44px; padding: 0 .72rem; line-height: 1; border: 0; border-radius: 999px; background: var(--s7-ink); color: #fff; font-size: 1.15rem; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; transition: background .25s, transform .3s var(--s7-ease); }
.product-thumb .button button.s7-add span { max-width: 0; overflow: hidden; white-space: nowrap; font-size: .84rem; opacity: 0; transition: max-width .4s var(--s7-ease), opacity .3s, margin .4s var(--s7-ease); }
.product-thumb:hover .button button.s7-add, .product-thumb .button button.s7-add:focus-visible { background: var(--s7-primary); color: #fff; }
.product-thumb:hover .button button.s7-add span, .product-thumb .button button.s7-add:focus-visible span { max-width: 130px; opacity: 1; margin-inline-start: .45rem; }
.product-thumb .button button.s7-add:hover { background: var(--s7-primary-dark); }
@media (min-width: 960px) {
  .product-list .product-thumb { display: block; }
  .product-list .product-thumb > form { flex-direction: row; gap: 1.25rem; align-items: stretch; }
  .product-list .product-thumb .image { flex: 0 0 210px; }
  .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 .description p { display: block; }
  .product-list .product-thumb .button { border: 0; width: auto; margin: 0; max-width: 340px; }
}

.price { color: var(--s7-ink); font-size: 1.1rem; display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .5rem; }
.price-new { font-weight: 700; color: var(--s7-ink); }
.price-old { color: var(--s7-dim); font-size: .8em; text-decoration: line-through; }
.price-tax { color: var(--s7-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(--s7-soft-2); }
.rating .fa-solid.fa-star, .rating .fa-solid.fa-star + .fa-star { color: #f5a623; }

/* ---------- home ---------- */
.s7-hero { position: relative; overflow: hidden; text-align: center; border-radius: 36px; border: 1px solid var(--s7-line); padding: clamp(2.5rem, 1.5rem + 5vw, 6rem) clamp(1.25rem, .5rem + 4vw, 4rem); margin-bottom: 1.25rem; background: radial-gradient(60% 70% at 50% 0%, #e3efff 0%, transparent 70%), radial-gradient(40% 50% at 12% 100%, #eaf6ff 0%, transparent 70%), radial-gradient(40% 50% at 88% 100%, #eef0ff 0%, transparent 70%), var(--s7-surface); }
.s7-eyebrow { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem 1rem; border-radius: 999px; background: #fff; border: 1px solid var(--s7-line); color: var(--s7-ink); font-size: .82rem; font-weight: 600; margin-bottom: 1.4rem; box-shadow: var(--s7-shadow); }
.s7-eyebrow .s7-i { color: var(--s7-primary); font-size: 1.15em; }
.s7-hero h1 { font-size: clamp(2rem, 1.1rem + 3.8vw, 3.9rem); line-height: 1.25; margin: 0 auto 1.1rem; max-width: 16ch; }
.s7-hero h1 em { font-style: normal; color: var(--s7-primary); }
.s7-hero > p { color: var(--s7-muted); font-size: clamp(1rem, .95rem + .35vw, 1.16rem); line-height: 1.95; max-width: 48ch; margin: 0 auto 2rem; }
.s7-hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: .75rem; }
.s7-hero > :not(.s7-orbit) { position: relative; z-index: 1; }
.s7-orbit { display: none; }
.s7-orbit span { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border-radius: 20px; background: #fff; border: 1px solid var(--s7-line); color: var(--s7-ink); font-size: 1.6rem; box-shadow: var(--s7-shadow-lg); animation: s7-float 8s ease-in-out infinite; }
.s7-orbit span:nth-child(1) { top: 16%; inset-inline-start: 9%; rotate: -10deg; }
.s7-orbit span:nth-child(2) { top: 46%; inset-inline-start: 4%; width: 76px; height: 76px; border-radius: 24px; font-size: 1.9rem; background: var(--s7-ink); border-color: var(--s7-ink); color: #fff; rotate: 6deg; animation-delay: -2.5s; }
.s7-orbit span:nth-child(3) { bottom: 12%; inset-inline-start: 15%; color: var(--s7-primary); rotate: -4deg; animation-delay: -5s; }
.s7-orbit span:nth-child(4) { top: 14%; inset-inline-end: 10%; color: var(--s7-primary); rotate: 8deg; animation-delay: -1.2s; }
.s7-orbit span:nth-child(5) { top: 44%; inset-inline-end: 4%; width: 76px; height: 76px; border-radius: 24px; font-size: 1.9rem; background: var(--s7-primary); border-color: var(--s7-primary); color: #fff; rotate: -6deg; animation-delay: -3.7s; }
.s7-orbit span:nth-child(6) { bottom: 13%; inset-inline-end: 16%; rotate: 5deg; animation-delay: -6.2s; }
@keyframes s7-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -12px; } }
@media (min-width: 1200px) { .s7-orbit { display: block; } }

.s7-features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 3rem; }
.s7-features > div { padding: 1.5rem 1.35rem; border-radius: var(--s7-radius); background: var(--s7-surface); border: 1px solid var(--s7-line); transition: transform .4s var(--s7-ease), box-shadow .4s var(--s7-ease), border-color .2s; }
.s7-features > div:hover { transform: translateY(-4px); box-shadow: var(--s7-shadow-lg); border-color: transparent; }
.s7-features > div > span { width: 52px; height: 52px; border-radius: 16px; background: var(--s7-tint); color: var(--s7-primary); display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1rem; transition: background .3s, color .3s, transform .4s var(--s7-ease); }
.s7-features > div:hover > span { background: var(--s7-primary); color: #fff; transform: rotate(-8deg) scale(1.05); }
.s7-features strong { display: block; color: var(--s7-ink); font-size: 1rem; font-weight: 700; margin-bottom: .2rem; }
.s7-features small { display: block; color: var(--s7-muted); font-size: .84rem; line-height: 1.7; }
@media (max-width: 991.98px) { .s7-features { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 479.98px) { .s7-features > div { padding: 1.1rem 1rem; } }

#common-home #content > h3 { text-align: center; font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); margin: 3rem 0 1.75rem; }
#common-home #content > h3::after { content: ""; display: block; width: 36px; height: 4px; border-radius: 4px; background: var(--s7-primary); margin: .75rem auto 0; }
#common-home #content .row > .col.mb-3 { margin-bottom: 1.5rem !important; }

.carousel { border-radius: 28px; overflow: hidden; margin-bottom: 1.5rem; background: #fff; border: 1px solid var(--s7-line); }
.carousel .row { --bs-gutter-x: 0; margin: 0; }
.carousel img { width: 100%; }
.carousel-indicators [data-bs-target] { width: 7px; height: 7px; border: 0; border-radius: 50%; background-color: var(--s7-ink); margin-inline: 4px; transition: width .3s var(--s7-ease); }
.carousel-indicators .active { width: 22px; border-radius: 999px; background-color: var(--s7-primary); }
.carousel-control-prev, .carousel-control-next { width: 44px; height: 44px; top: 50%; transform: translateY(-50%); margin-inline: .75rem; border-radius: 50%; background: rgba(255, 255, 255, 0.92); color: var(--s7-ink); opacity: 1; font-size: .8rem; box-shadow: var(--s7-shadow); }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--s7-ink); color: #fff; }
[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(--s7-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(--s7-primary); }
#product-info #content > .row > .col-sm > ul.list-unstyled { color: var(--s7-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(--s7-line); border-top: 3px solid var(--s7-accent); border-radius: var(--s7-radius); background: var(--s7-surface); box-shadow: var(--s7-shadow); }
#product-info #button-cart { --bs-btn-padding-y: .85rem; }
#product-info .tab-content { padding: 1.6rem; border: 1px solid var(--s7-line-strong); border-top: 0; border-radius: 0 0 var(--s7-radius) var(--s7-radius); background: var(--s7-surface); line-height: 1.95; }
#product-info .tab-content img { height: auto; border-radius: var(--s7-radius-sm); }
.mfp-bg { background: #0e1726; opacity: .88; }

#compare-total { background: #fff !important; border: 1px solid var(--s7-line-strong) !important; color: var(--s7-ink); }
#compare-total:hover { border-color: var(--s7-primary) !important; color: var(--s7-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(--s7-line-strong); border-radius: var(--s7-radius-sm); background: #fff; color: var(--s7-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(--s7-primary); border-color: var(--s7-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(--s7-ink); font-weight: 700; margin: 2.25rem 0 .9rem; padding-inline-start: .75rem; border-inline-start: 3px solid var(--s7-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(--s7-line); border-radius: var(--s7-radius); background: var(--s7-surface); color: var(--s7-ink); font-weight: 600; font-size: .92rem; transition: border-color .2s, color .2s, box-shadow .3s var(--s7-ease); }
#account-account #content ul.list-unstyled li a::after { content: ""; width: 7px; height: 7px; border-top: 2px solid var(--s7-dim); border-inline-end: 2px solid var(--s7-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(--s7-primary); border-color: var(--s7-primary); box-shadow: var(--s7-shadow); }
#checkout-checkout fieldset, #checkout-checkout #checkout-confirm { padding: 1.4rem; border: 1px solid var(--s7-line); border-radius: var(--s7-radius); background: var(--s7-surface); box-shadow: var(--s7-shadow); }
#checkout-checkout fieldset fieldset { padding: 0; border: 0; background: transparent; box-shadow: none; }
.blog-thumb { border: 1px solid var(--s7-line); border-radius: var(--s7-radius); background: var(--s7-surface); overflow: hidden; }
.blog-thumb .image a:hover { opacity: 1; }
.blog-thumb h4 a { color: var(--s7-ink); }

/* ---------- footer ---------- */
footer.s7-footer { position: static; bottom: auto; width: 100%; flex-shrink: 0; border: 0; border-top: 1px solid var(--s7-line); background: var(--s7-surface); color: var(--s7-muted); padding: 4rem 0 1.5rem; font-size: .9rem; }
.s7-footer-grid { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 2rem 2.5rem; }
.s7-footer-about p { margin: 1rem 0 0; max-width: 34ch; line-height: 1.95; font-size: .88rem; }
footer.s7-footer h5 { font-family: inherit; font-size: .88rem; font-weight: 700; color: var(--s7-ink); margin: .35rem 0 1.1rem; }
footer.s7-footer ul { margin: 0; }
footer.s7-footer ul li { margin-bottom: .6rem; }
footer.s7-footer a { color: var(--s7-text); }
footer.s7-footer a:hover { color: var(--s7-primary); }
footer.s7-footer hr { border: 0; border-top: 1px solid var(--s7-line); margin: 2.75rem 0 1.25rem; }
.s7-footer-bottom { font-size: .8rem; color: var(--s7-dim); line-height: 1.9; }
.s7-footer-bottom p { margin: 0; }
footer.s7-footer .s7-footer-bottom a { color: var(--s7-muted); }
@media (max-width: 991.98px) { .s7-footer-grid { grid-template-columns: repeat(2, 1fr); } .s7-footer-about { grid-column: 1 / -1; } }

#cookie { left: 0; right: 0; bottom: 0; height: auto; padding: .75rem 0; opacity: 1; background: rgba(14, 23, 38, 0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
#cookie div { font-size: .9rem; color: #fff; }

/* ---------- small screens ---------- */
@media (max-width: 767.98px) {
  .s7-header-row { flex-wrap: wrap; gap: .7rem; padding-block: .7rem; }
  .s7-header-search { order: 3; flex-basis: 100%; max-width: none; }
  .s7-actions { margin-inline-start: auto; }
  .s7-action { width: 42px; height: 42px; font-size: 1.2rem; }
  .s7-brand { font-size: 1.05rem; }
  .s7-brand-mark { width: 36px; height: 36px; }
  .s7-hero { border-radius: 26px; }
  .s7-page > main { padding-bottom: 3rem; }
  /* no hover on touch: keep the add-to-cart label visible */
  .product-thumb .button button.s7-add span { max-width: 130px; opacity: 1; margin-inline-start: .45rem; }
}
@media (max-width: 399.98px) { .s7-brand span:last-child { display: none; } .product-thumb .button button.s7-add span { display: none; } }

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