/* ==========================================================
   One piece (round 3, 2026-12-03)
   Floating pill menu, slim footer, closing offer, store,
   product buy bar, contact form. Loaded after polish.css.
   Colours: ink #171717, muted #5f5f5f, line #e9e9e7,
   soft #f7f7f5, violet #5b3fd6. No column gaps: grids end
   on the same line (align-items: stretch).
   ========================================================== */

/* ---------- 1. floating pill menu ---------- */
.portfolio-design .site-header.op-header {
  top: 10px; height: auto; background: transparent !important; border: 0 !important;
  box-shadow: none !important; -webkit-backdrop-filter: none; backdrop-filter: none; pointer-events: none;
}
.op-header .header-wrapper { max-width: 1120px; margin-inline: auto; padding-inline: 14px; }
.portfolio-design .op-header .header-inner.op-pill {
  pointer-events: auto; height: 58px; display: flex; align-items: center; gap: 10px;
  padding-inline: 8px 8px; border-radius: 999px;
  background: rgba(255, 255, 255, .78); border: 1px solid rgba(23, 23, 23, .07);
  box-shadow: 0 6px 24px rgba(23, 23, 23, .06);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  transition: background-color .3s, box-shadow .3s;
}
@supports (animation-timeline: scroll()) {
  .op-pill { animation: op-pill-solid linear both; animation-timeline: scroll(root); animation-range: 0 160px; }
  @keyframes op-pill-solid { to { background: rgba(255, 255, 255, .94); box-shadow: 0 10px 34px rgba(23, 23, 23, .10); } }
}
.op-pill .r-brand { gap: 9px; padding-inline-start: 2px; }
.op-pill .r-brand-photo { width: 40px; height: 40px; }
.op-pill .r-brand-name, [dir="rtl"] .op-pill .r-brand-name { font-size: 17px; font-weight: 700; letter-spacing: 0; }
.portfolio-design .op-pill .main-nav { margin-inline: auto; }
.portfolio-design .op-pill .nav-list { display: flex; gap: 2px; }
.portfolio-design .op-pill .nav-link {
  display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 14px;
  border-radius: 999px; font-size: 14px; color: #4f4f4f; font-weight: 500;
}
.portfolio-design .op-pill .nav-link:hover { background: #f1f1ef; color: #171717; }
.portfolio-design .op-pill .header-actions { display: flex; align-items: center; gap: 6px; margin-inline-start: 0; }

/* one language chip: only the other language is shown */
.op-header .lang-divider, .op-sheet .lang-divider { display: none; }
.op-header .lang-btn.active, .op-sheet .lang-btn.active { display: none; }
.portfolio-design .op-header .lang-btn, .portfolio-design .op-sheet .lang-btn {
  min-height: 40px; min-width: 44px; padding: 0 12px; border-radius: 999px; border: 1px solid #e4e4e1;
  background: #fff; color: #171717; font-size: 13px; font-weight: 600;
}
.portfolio-design .op-header .lang-btn:hover { border-color: #cfcfcb; }

.op-cart {
  position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  color: #171717; transition: background-color .2s;
}
.op-cart:hover { background: #f1f1ef; }
.op-cart:has(.op-cart-count[style*="none"]) { display: none; }
.op-cart-count {
  position: absolute; top: 2px; inset-inline-end: 0; min-width: 18px; height: 18px; padding: 0 5px;
  align-items: center; justify-content: center; border-radius: 9px; background: #5b3fd6; color: #fff;
  font-size: 11px; font-weight: 700; line-height: 1; box-shadow: 0 0 0 2px #fff;
}
.op-store {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 42px; padding: 0 20px;
  border-radius: 999px; background: #171717; color: #fff; font-size: 14px; font-weight: 600;
  transition: background-color .2s, transform .2s;
}
.op-store::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #8f7bff; box-shadow: 0 0 0 3px rgba(143, 123, 255, .25); }
.op-store:hover { background: #333; color: #fff; transform: translateY(-1px); }
.portfolio-design .op-pill .mobile-menu-toggle { width: 42px; height: 42px; border-radius: 50%; }
.portfolio-design .op-pill .mobile-menu-toggle:hover { background: #f1f1ef; }

/* phones + tablets: the pill keeps brand, store, menu; the language chip moves into the sheet */
@media (max-width: 1023.98px) {
  .portfolio-design .op-pill .main-nav { display: none; }
  .portfolio-design .op-pill .mobile-menu-toggle { display: flex; }
  .portfolio-design .op-pill .header-actions { margin-inline-start: auto; }
}
@media (max-width: 640px) {
  .portfolio-design .site-header.op-header { top: 8px; }
  .op-header .header-wrapper { padding-inline: 10px; }
  .portfolio-design .op-header .header-inner.op-pill { height: 56px; padding-inline: 6px; gap: 6px; }
  .op-pill .r-brand-photo { width: 38px; height: 38px; }
  .op-pill .r-brand-name, [dir="rtl"] .op-pill .r-brand-name { font-size: 16px; }
  .op-header .language-switcher { display: none; }
  .op-store { padding: 0 16px; }
}
@media (max-width: 359.98px) { .op-pill .r-brand-name { display: none; } }

/* full-screen sheet */
.portfolio-design .mobile-nav.op-sheet {
  top: 0; padding: 92px 22px 28px; overflow-y: auto; transform: none;
  background: rgba(250, 250, 248, .97); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
}
.op-sheet .mobile-nav-inner { max-width: 560px; margin-inline: auto; gap: 0; }
.portfolio-design .op-sheet .mobile-nav-link {
  display: flex; align-items: center; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid #e9e9e7;
  font-size: 24px; font-weight: 600; color: #171717;
}
.portfolio-design .op-sheet .mobile-nav-link::after { content: "←"; font-size: 18px; color: #b5b5b0; }
[dir="ltr"] .portfolio-design .op-sheet .mobile-nav-link::after, html[lang="en"] .portfolio-design .op-sheet .mobile-nav-link::after { content: "→"; }
.portfolio-design .op-sheet .mobile-nav-link.op-sheet-store {
  margin-bottom: 10px; padding: 18px 22px; border: 0; border-radius: 20px; background: #171717; color: #fff;
}
.portfolio-design .op-sheet .mobile-nav-link.op-sheet-store::after { color: #8f7bff; }
.op-sheet .language-switcher { display: flex; justify-content: flex-start; margin: 22px 4px 0; }
.mobile-nav.op-sheet.open .mobile-nav-link { animation: op-rise .42s cubic-bezier(.2, .7, .2, 1) both; }
.mobile-nav.op-sheet.open .mobile-nav-link:nth-child(2) { animation-delay: .03s; }
.mobile-nav.op-sheet.open .mobile-nav-link:nth-child(3) { animation-delay: .06s; }
.mobile-nav.op-sheet.open .mobile-nav-link:nth-child(4) { animation-delay: .09s; }
.mobile-nav.op-sheet.open .mobile-nav-link:nth-child(5) { animation-delay: .12s; }
.mobile-nav.op-sheet.open .mobile-nav-link:nth-child(6) { animation-delay: .15s; }
.mobile-nav.op-sheet.open .mobile-nav-link:nth-child(n+7) { animation-delay: .18s; }
@keyframes op-rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- 2. closing offer + slim footer ---------- */
.op-finale { padding: 24px 14px 0; }
.op-finale-in {
  max-width: 1120px; margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
  align-items: center; gap: 48px; padding: 56px; border-radius: 32px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(ellipse at 0% 0%, #2c2547 0, transparent 55%), radial-gradient(ellipse at 100% 100%, #1d1d1d 0, transparent 60%), #0f0f10;
}
.op-finale .r-eyebrow.op-finale-eyebrow { color: #b6a8ff; margin: 0 0 14px; font-size: 13px; font-weight: 600; }
.op-finale h2 { margin: 0; font-size: clamp(28px, 3.3vw, 42px); line-height: 1.3; font-weight: 700; color: #fff; letter-spacing: -.5px; }
[dir="rtl"] .op-finale h2 { letter-spacing: 0; line-height: 1.45; }
.op-finale-lead { margin: 16px 0 0; font-size: 16px; line-height: 1.9; color: #c9c9c9; max-width: 520px; }
.op-finale .op-price { margin-top: 26px; }
.op-finale .op-price-now { color: #fff; }
.op-finale .op-price-was { color: #8a8a8a; }
.op-finale .op-buy { background: #fff; border-color: #fff; color: #171717; }
.op-finale .op-buy:hover { background: #ececec; color: #171717; }
.op-finale .op-browse { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .28); }
.op-finale .op-browse:hover { border-color: #fff; background: rgba(255, 255, 255, .06); }
.op-finale .op-trust { color: #a8a8a8; }
.op-finale-cover { display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 700 / 460; background: #1b1b1d;
  transform: rotate(-2deg); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
[dir="ltr"] .op-finale-cover, html[lang="en"] .op-finale-cover { transform: rotate(2deg); }
.op-finale-cover:hover { transform: rotate(0) scale(1.01); }
.op-finale-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-cart .op-finale, .page-checkout-success .op-finale, .page-checkout .op-finale, .error-template .op-finale { display: none; }

.portfolio-design .r-footer.op-footer {
  margin: 0; padding: 28px max(22px, calc((100vw - 1120px) / 2)) 26px; border-radius: 0; background: transparent;
  color: #171717; overflow: visible;
}
.op-foot-row { display: flex; align-items: center; justify-content: space-between; gap: 18px 32px; flex-wrap: wrap;
  padding-bottom: 18px; border-bottom: 1px solid #e9e9e7; }
.op-footer .r-brand-photo { box-shadow: 0 0 0 2px #fff, 0 0 0 3.5px #5b3fd6; width: 36px; height: 36px; }
.op-footer .r-brand-name, [dir="rtl"] .op-footer .r-brand-name { font-size: 16px; font-weight: 700; color: #171717; }
.portfolio-design .op-footer .r-footer-links { display: flex; flex-wrap: wrap; gap: 4px 6px; margin: 0; padding: 0; }
.portfolio-design .op-footer .r-footer-links a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 999px;
  color: #4f4f4f; font-size: 14px; font-weight: 500;
}
.portfolio-design .op-footer .r-footer-links a:hover { background: #f1f1ef; color: #171717; }
.portfolio-design .op-footer .op-foot-legal { display: flex; align-items: center; gap: 6px 18px; flex-wrap: wrap;
  margin: 0; padding-top: 14px; font-size: 13px; color: #767676; border: 0; }
.portfolio-design .op-footer .op-foot-legal a { color: #5f5f5f; min-height: 40px; display: inline-flex; align-items: center; }
.portfolio-design .op-footer .op-foot-legal a:hover { color: #171717; }
.op-footer .op-ig { margin-inline-start: auto; width: 40px; justify-content: center; border-radius: 50%; }
.op-footer .op-ig:hover { background: #f1f1ef; }

@media (max-width: 900px) {
  .op-finale-in { grid-template-columns: minmax(0, 1fr); gap: 30px; padding: 36px 24px 28px; border-radius: 26px; }
  .op-finale-cover { order: -1; transform: none !important; max-width: 520px; }
}
@media (max-width: 640px) {
  .op-finale { padding: 12px 10px 0; }
  .op-finale-in { padding: 26px 18px 22px; border-radius: 24px; }
  .op-foot-row { flex-direction: column; align-items: flex-start; }
  .portfolio-design .op-footer .r-footer-links { margin-inline: -12px; }
}

/* ---------- 3. price, buy buttons, trust line (shared) ---------- */
.op-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 12px; }
.op-price-now { font-size: 40px; line-height: 1; font-weight: 700; color: #171717; letter-spacing: -1px; }
.op-price-was { font-size: 20px; color: #8a8a8a; text-decoration-thickness: 2px; }
.op-price-save { align-self: center; padding: 5px 11px; border-radius: 999px; background: #5b3fd6; color: #fff; font-size: 13px; font-weight: 700; }
.op-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 22px; }
.portfolio-design .r-button.op-buy { min-height: 52px; padding: 0 28px; font-size: 15px; font-weight: 600; gap: 10px; }
.portfolio-design .r-button.op-buy.op-buy--sm { min-height: 42px; padding: 0 18px; font-size: 14px; box-shadow: none; }
.portfolio-design .r-button.op-buy.op-buy--lg { min-height: 56px; padding: 0 34px; font-size: 16px; }
.op-buy.is-busy { opacity: .75; cursor: progress; }
.op-actions .f-ghost { min-height: 52px; }
.op-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 18px 0 0; font-size: 13px; color: #6a6a6a; }
.op-trust i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .5; }

/* ---------- 4. store page ---------- */
.op-wrap { max-width: 1120px; margin-inline: auto; padding-inline: 24px; }
.op-store-head { padding: 150px 0 28px; } /* main has no top padding: clear the floating pill like /projects/ */
.op-store-head .page-hero-title { margin: 0; max-width: 820px; font-size: clamp(32px, 4.4vw, 56px); line-height: 1.25; font-weight: 700; letter-spacing: -1px; text-align: start; }
[dir="rtl"] .op-store-head .page-hero-title { letter-spacing: 0; line-height: 1.4; }
.op-store-head .page-hero-subtitle { margin: 16px 0 0; max-width: 640px; font-size: 17px; line-height: 1.9; color: #5f5f5f; text-align: start; }
.op-trust-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; padding: 0; list-style: none; }
.op-trust-row li { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px; border-radius: 999px;
  background: #f4f2ff; color: #3d2aa3; font-size: 13px; font-weight: 600; }
.op-trust-row li::before { content: ""; width: 14px; height: 14px; flex: none; border-radius: 50%;
  background: #5b3fd6 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 10px no-repeat; }

.op-bundle { padding: 18px 0 40px; }
.op-bundle-in { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); align-items: stretch; gap: 0; }
.op-bundle-in > * { min-width: 0; }
.op-bundle-cover { display: block; border-start-start-radius: 28px; border-end-start-radius: 28px; overflow: hidden; background: #ecebe7; }
.op-bundle-cover img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1400 / 920; }
.op-bundle-copy { padding: 40px; border-start-end-radius: 28px; border-end-end-radius: 28px; background: #f7f7f5; border: 1px solid #ecebe7; border-inline-start: 0; }
.op-flag { display: inline-flex; margin: 0 0 14px; padding: 6px 12px; border-radius: 999px; background: #171717; color: #fff; font-size: 12.5px; font-weight: 700; }
.op-bundle-copy h2 { margin: 0; font-size: clamp(24px, 2.6vw, 32px); line-height: 1.35; font-weight: 700; }
.op-bundle-copy h2 a { color: inherit; }
.op-bundle-text { margin: 12px 0 0; font-size: 15.5px; line-height: 1.85; color: #5f5f5f; }
.op-includes { margin: 18px 0 0; padding: 0; list-style: none; border-top: 1px solid #e4e4e0; }
.op-includes li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #e4e4e0; font-size: 15px; }
.op-includes li a { color: #171717; font-weight: 500; }
.op-includes li a::before { content: "✓"; margin-inline-end: 8px; color: #5b3fd6; font-weight: 700; }
.op-includes li span { color: #6b6b6b; text-decoration: line-through; font-size: 14px; }
.op-bundle .op-price { margin-top: 22px; }

.op-kits { padding: 40px 0; }
.op-h2 { margin: 0 0 24px; font-size: clamp(24px, 2.6vw, 34px); line-height: 1.35; font-weight: 700; letter-spacing: -.5px; }
[dir="rtl"] .op-h2 { letter-spacing: 0; }
.op-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.op-card { display: flex; flex-direction: column; min-width: 0; border-radius: 24px; background: #fff; border: 1px solid #e9e9e7; overflow: hidden;
  transition: transform .3s cubic-bezier(.2, .7, .2, 1), box-shadow .3s, border-color .3s; }
.op-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(23, 23, 23, .08); border-color: #dcdcd8; }
.op-card-img { display: block; aspect-ratio: 700 / 460; background: #f1f1ef; overflow: hidden; }
.op-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.op-card:hover .op-card-img img { transform: scale(1.03); }
.op-card-body { display: flex; flex-direction: column; flex: 1; padding: 20px; }
.op-card-title { margin: 0; font-size: 19px; line-height: 1.45; font-weight: 700; }
.op-card-title a { color: #171717; }
.op-card-text { margin: 8px 0 0; font-size: 14.5px; line-height: 1.8; color: #5f5f5f; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.op-card-foot { display: flex; align-items: center; gap: 10px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #efefec; }
.op-card-price { font-size: 24px; font-weight: 700; color: #171717; margin-inline-end: auto; }
.op-add { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; border: 1px solid #e0e0dc; background: #fff; color: #171717; transition: background-color .2s, border-color .2s; }
.op-add:hover { border-color: #171717; }
.op-add.is-added { background: #5b3fd6; border-color: #5b3fd6; color: #fff; }

.op-steps { padding: 40px 0; }
.op-steps-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; align-items: stretch; }
.op-steps-list li { padding: 24px; border-radius: 22px; background: #f7f7f5; border: 1px solid #ecebe7; }
.op-steps-list strong { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: #171717; color: #fff; font-size: 16px; }
.op-steps-list h3 { margin: 16px 0 0; font-size: 18px; font-weight: 700; }
.op-steps-list p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.8; color: #5f5f5f; }
.portfolio-design .section.op-faq { padding: 40px 0 72px; background: transparent; }
.op-faq .faq-list { max-width: 820px; }
.op-faq .faq-item { border-radius: 18px; }

@media (max-width: 1023.98px) {
  .op-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767.98px) {
  .op-wrap { padding-inline: 18px; }
  .op-store-head { padding: 116px 0 18px; }
  .op-bundle-in { grid-template-columns: minmax(0, 1fr); }
  .op-bundle-cover { border-radius: 24px 24px 0 0; }
  .op-bundle-copy { padding: 24px 20px; border-radius: 0 0 24px 24px; border-inline-start: 1px solid #ecebe7; border-top: 0; }
  .op-grid, .op-steps-list { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .op-price-now { font-size: 36px; }
  .op-actions > * { flex: 1 1 auto; }
}

/* ---------- 5. product page: main buy + sticky bar ---------- */
.product-detail-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.product-detail-actions .add-to-cart-btn { min-height: 56px; border-radius: 999px; }
.op-trust--product { justify-content: center; }
.op-stickybar {
  position: fixed; inset-inline: 10px; bottom: 10px; z-index: 900; display: flex; justify-content: center;
  transform: translateY(140%); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .3s;
}
.op-stickybar.is-on { transform: none; opacity: 1; pointer-events: auto; }
.op-stickybar-in { display: flex; align-items: center; gap: 12px; width: min(720px, 100%); padding: 8px 8px 8px 8px; padding-inline-start: 20px;
  border-radius: 999px; background: rgba(23, 23, 23, .92); color: #fff; box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.op-sb-title { flex: 1; min-width: 0; font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.op-sb-price { font-size: 18px; font-weight: 700; }
.portfolio-design .op-stickybar .r-button.op-buy { min-height: 44px; padding: 0 22px; background: #fff; border-color: #fff; color: #171717; box-shadow: none; }
@media (max-width: 480px) {
  .op-sb-title { display: none; }
  .op-stickybar-in { justify-content: space-between; padding-inline-start: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .op-stickybar, .op-card, .op-card-img img, .op-finale-cover { transition: none; }
  .mobile-nav.op-sheet.open .mobile-nav-link { animation: none; }
}

/* ---------- 6. contact form ---------- */
.op-hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.op-form-note { margin: 4px 0 0; padding: 12px 16px; border-radius: 14px; background: #f4f2ff; color: #3d2aa3; font-size: 14.5px; font-weight: 600; }
.contact-form.is-sent .op-form-note { background: #ecf8f0; color: #17663a; }
.op-contact-store { display: flex; flex-direction: column; gap: 4px; margin: 0 0 22px; padding: 16px 18px; border-radius: 18px; background: #171717; color: #fff; }
.op-contact-store b { font-size: 16px; }
.op-contact-store span { font-size: 14px; color: #cfcfcf; }
.op-contact-store:hover { background: #2a2a2a; color: #fff; }

/* ---------- 7. home: store right after the hero ---------- */
.portfolio-design .op-home-store { padding: 72px 0 64px; }
.op-home-store-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px 40px; flex-wrap: wrap; margin-bottom: 28px; }
.op-home-store-head > div { max-width: 680px; }
.op-home-store-head h2 { margin: 0; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.3; font-weight: 700; letter-spacing: -.5px; }
[dir="rtl"] .op-home-store-head h2 { letter-spacing: 0; line-height: 1.45; }
.op-home-store-head .f-body { margin-top: 12px; }
.op-home-bundle { display: flex; align-items: center; gap: 18px 28px; flex-wrap: wrap; margin-top: 20px; padding: 20px 20px 20px 28px;
  padding-inline-start: 28px; border-radius: 24px; background: #171717; color: #fff; }
.op-home-bundle-copy { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-inline-end: auto; }
.op-home-bundle .op-flag { margin: 0; background: #5b3fd6; }
.op-home-bundle-title { font-size: 18px; font-weight: 700; }
.op-home-bundle .op-price-now { font-size: 30px; color: #fff; }
.op-home-bundle .op-price-was { color: #9a9a9a; font-size: 17px; }
.portfolio-design .op-home-bundle .r-button.op-buy { background: #fff; border-color: #fff; color: #171717; min-height: 48px; }
@media (max-width: 767.98px) {
  .portfolio-design .op-home-store { padding: 48px 0 40px; }
  .op-home-bundle { padding: 20px; }
  .op-home-bundle .op-buy { flex: 1 1 100%; }
  .op-home-store-head .f-ghost { width: 100%; }
}

/* ---------- 8. skills -> kits upsell ---------- */
.op-upsell { padding: 56px 0 48px; border-top: 1px solid #e9e9e7; margin-top: 40px; }

/* ---------- 9. product page top: price + buy above the fold ---------- */
.op-buy-top { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: 22px; }
.op-top-price { font-size: 34px; line-height: 1; font-weight: 700; color: #171717; margin-inline-end: 6px; }
.op-buy-top .f-ghost { min-height: 52px; }
.op-trust--top { margin-top: 14px; }
.op-bundle-cover { display: flex; align-items: center; justify-content: center; background: #0d1626; }
.op-bundle-cover img { height: auto; object-fit: contain; }
@media (max-width: 640px) {
  .op-buy-top .op-buy { flex: 1 1 auto; }
  .product-detail-actions > * { flex: 1 1 100%; }
}

/* ---------- 10. phone polish: start-aligned footer, trust line without stray dots ---------- */
@media (max-width: 640px) {
  .portfolio-design .op-footer .r-footer-links { justify-content: flex-start; }
  .portfolio-design .op-footer .op-foot-legal { flex-direction: row; justify-content: flex-start; text-align: start; }
  .op-trust { gap: 4px 14px; }
  .op-trust i { display: none; }
}

/* ---------- 11. speed: skip rendering the closing offer and footer until they near the viewport ---------- */
.op-finale { content-visibility: auto; contain-intrinsic-size: auto 620px; }
.portfolio-design .r-footer.op-footer { content-visibility: auto; contain-intrinsic-size: auto 160px; }

/* ---------- 12. Arabic Reels Studio section (store + home); renders only when the bundle product exists ---------- */
.op-reels { padding: 28px 0 44px; }
.op-reels-in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 44px; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 0% 100%, #24345a 0%, #0d1626 62%); color: #fff; }
.op-reels-in > * { min-width: 0; }
.op-reels .op-flag--gold { background: #e8c46a; color: #171717; }
.op-reels h2 { margin: 0; font-size: clamp(26px, 3vw, 38px); line-height: 1.3; font-weight: 700; color: #fff; }
.op-reels-text { margin: 14px 0 0; font-size: 16px; line-height: 1.85; color: #c4ccdc; }
.op-reels .op-price { margin-top: 22px; }
.op-reels .op-price-now { color: #fff; }
.op-reels .op-price-was { color: #8f9ab0; }
.op-reels .op-price-save { background: #e8c46a; color: #171717; }
.op-reels-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.op-reels .op-buy--gold { background: #e8c46a; color: #171717; border-color: #e8c46a; }
.op-reels .op-buy--gold:hover { background: #f1d48c; }
.op-reels .op-reels-browse { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .38); }
.op-reels .op-reels-browse:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.op-reels-note { margin: 14px 0 0; font-size: 14px; color: #8f9ab0; }
.op-reels-strip { display: flex; justify-content: center; align-items: center; min-height: 340px; }
.op-reels-strip img { width: 30%; max-width: 168px; height: auto; aspect-ratio: 240 / 427; object-fit: cover; border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
  margin-inline: -4%; transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.op-reels-strip img:nth-child(1) { transform: rotate(-8deg) translateY(18px); }
.op-reels-strip img:nth-child(2) { transform: rotate(-4deg) translateY(6px); z-index: 1; }
.op-reels-strip img:nth-child(3) { transform: scale(1.08); z-index: 2; }
.op-reels-strip img:nth-child(4) { transform: rotate(4deg) translateY(6px); z-index: 1; }
.op-reels-strip img:nth-child(5) { transform: rotate(8deg) translateY(18px); }
.op-reels-strip:hover img:nth-child(1) { transform: rotate(-11deg) translate(10px, 22px); }
.op-reels-strip:hover img:nth-child(5) { transform: rotate(11deg) translate(-10px, 22px); }
@media (max-width: 860px) {
  .op-reels-in { grid-template-columns: minmax(0, 1fr); padding: 28px 20px 24px; gap: 8px; }
  .op-reels-strip { order: -1; min-height: 0; padding: 18px 0 26px; }
  .op-reels-strip img { width: 26%; }
  .op-reels-actions > * { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) { .op-reels-strip img { transition: none; } }
/* reels product pages: the template preview clip, phone-sized and centred */
.rs-pclip { max-width: 340px; margin: 8px auto 28px; }
.rs-pclip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; border-radius: 22px; background: #0d1626; box-shadow: 0 18px 40px rgba(13, 22, 38, .22); }

/* ---------- 13. «قيد التجهيز»: products listed before their files pass the clean-install test (tag #coming-soon) ---------- */
.op-soon { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  background: #fff4d6; color: #7a5600; font-size: 15px; font-weight: 700; }
.op-soon:before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #e0a100; animation: op-soon-pulse 1.6s ease-in-out infinite; }
.op-soon--lg { min-height: 52px; padding: 0 22px; }
.op-reels .op-soon, .op-finale .op-soon { background: rgba(232, 196, 106, .16); color: #e8c46a; }
.op-reels .op-soon:before, .op-finale .op-soon:before { background: #e8c46a; }
@keyframes op-soon-pulse { 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .op-soon:before { animation: none; } }

/* bundle cover on /products/: the copy column is taller than the 1400x920 cover, so the free band above and below is
   the cover itself, blurred (same file, no extra download), instead of flat navy bars */
.op-bundle-cover { position: relative; overflow: hidden; }
.op-bundle-cover img.op-bundle-cover-bg { position: absolute; inset: -40px; width: calc(100% + 80px); height: calc(100% + 80px); max-width: none;
  aspect-ratio: auto; object-fit: cover; filter: blur(30px) brightness(.75); transform: scale(1.05); }
.op-bundle-cover img:not(.op-bundle-cover-bg) { position: relative; }
.op-bundle-cover { background: #070b16; }
.op-bundle-cover img.op-bundle-cover-bg { filter: blur(34px) brightness(.5) saturate(1.2); }
/* tablet: the side-by-side card leaves the cover a narrow column with tall bands; stack it like on phones */
@media (max-width: 1020px) {
  .op-bundle-in { grid-template-columns: minmax(0, 1fr); }
  .op-bundle-cover { border-radius: 24px 24px 0 0; }
  .op-bundle-copy { border-radius: 0 0 24px 24px; border-inline-start: 1px solid #ecebe7; border-top: 0; }
}
/* desktop: the cover fills its column (text side of the cover kept; the left edge of the devices is cropped) */
@media (min-width: 1021px) {
  .op-bundle-cover { align-items: stretch; }
  .op-bundle-cover img:not(.op-bundle-cover-bg) { width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 100% 50%; }
}
