/* ===== HOME — پورت مستقیم از ui/style.css، اسکوپ .rey-ui ===== */
.rey-ui .header-nav .amazing-link { font-weight: 700; color: var(--red); margin-right: auto; }
.rey-ui .stories { padding-top: 22px; }
.rey-ui .stories-track { display: flex; gap: 24px; overflow-x: auto; padding-bottom: 4px; }
.rey-ui .story { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; width: 74px; }
.rey-ui .story .ring { padding: 2.5px; border-radius: 50%; background: linear-gradient(135deg, var(--green), var(--green-bright)); }
.rey-ui .story .thumb { width: 60px; height: 60px; border-radius: 50%; border: 3px solid #fff; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: var(--green-100); color: var(--green); }
.rey-ui .story .thumb img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .story .thumb svg { width: 24px; height: 24px; }
.rey-ui .story:hover .thumb svg { transform: scale(1.12); transition: transform .25s; }
.rey-ui .story span { font: 400 12px var(--rey-font); color: var(--text-2); text-align: center; }
.rey-ui .hero { margin-top: 22px; position: relative; max-width: 1676px; margin-left: auto; margin-right: auto; }
.rey-ui .hero-track { display: flex; gap: 0;
  overflow-x: auto;
  scroll-snap-type: x mandatory; }
.rey-ui .hero-slide { flex: 0 0 100%;
  aspect-ratio: 2878 / 602;
  border-radius: 0; overflow: hidden; display: block;
  scroll-snap-align: start; }
.rey-ui .hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .page-main { padding-top: 40px; padding-bottom: 56px; display: flex; flex-direction: column; gap: 52px; }
.rey-ui .sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 20px; }
.rey-ui .sec-head .eyebrow { font: 600 11px var(--rey-font); color: var(--muted); letter-spacing: .1em; margin-bottom: 5px; }
.rey-ui .sec-head h2 { font: 700 22px var(--rey-font); color: var(--navy); margin: 0; }
.rey-ui .see-all { font: 600 13px var(--rey-font); color: var(--green); }
.rey-ui .payments { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.rey-ui .payment { display: flex; align-items: center; justify-content: center; gap: 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: calc(16px * var(--rey-r)); padding: 18px 20px;
  position: relative; overflow: hidden; transition: border-color .3s, box-shadow .3s; }
.rey-ui .payment .t { font: 700 15px var(--rey-font); color: var(--navy); }
.rey-ui .payment .d { font: 400 12px var(--rey-font); color: var(--muted); margin-top: 3px; }
.rey-ui .payment:hover { border-color: var(--green-300); box-shadow: 0 10px 26px rgba(0,95,54,.08); }
.rey-ui .payment::after { content: ""; position: absolute; top: -30%; bottom: -30%; right: 0; width: 46%;
  background: linear-gradient(105deg, transparent 25%, rgba(0,95,54,.05) 42%, rgba(0,95,54,.13) 50%, rgba(0,95,54,.05) 58%, transparent 75%);
  filter: blur(4px); transform: translateX(180%) skewX(-18deg);
  animation: paySheen 5.6s ease-in-out infinite; pointer-events: none; }
@keyframes paySheen {
  0%, 58% { transform: translateX(180%) skewX(-18deg); }
  82%, 100% { transform: translateX(-480%) skewX(-18deg); }
}
.rey-ui .pcard { display: flex; flex-direction: column; width: 100%;
  background: #fff; border-radius: calc(16px * var(--rey-r)); padding: 8px; }
.rey-ui .pcard .img-wrap { position: relative; width: 100%;
  aspect-ratio: 1500 / 1820;
  border-radius: calc(12px * var(--rey-r)); overflow: hidden; background: #f0f1f3; }
.rey-ui .pcard .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .pcard .off { position: absolute; top: 8px; right: 8px;
  background: var(--green); color: #fff;
  font: 700 12px var(--rey-font);
  padding: 3px 9px; border-radius: calc(20px * var(--rey-r)); }
.rey-ui .pcard .add { position: absolute; bottom: 8px; left: 8px;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid #e5e7eb; background: #fff; color: var(--green);
  font: 700 21px var(--rey-font); line-height: 1;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  display: flex; align-items: center; justify-content: center;
  transition: all .2s; }
.rey-ui .pcard .add:hover { background: var(--green); color: #fff; }
.rey-ui .pcard .title { font: 500 13px/1.6 var(--rey-font); color: var(--text);
  margin-top: 12px; padding: 0 2px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 42px; }
.rey-ui .pcard .rating { display: flex; align-items: center; gap: 5px; margin-top: 6px; padding: 0 2px; }
.rey-ui .pcard .rating .star { color: #f5a623; font-size: 13px; }
.rey-ui .pcard .rating .val { font: 600 12px var(--rey-font); color: var(--text-2); }
.rey-ui .pcard .rating .cnt { font: 400 11px var(--rey-font); color: var(--muted); }
.rey-ui .pcard .price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; padding: 0 2px; }
.rey-ui .pcard .price { font: 700 15px var(--rey-font); color: var(--text); }
.rey-ui .pcard .unit { font: 400 12px var(--rey-font); color: var(--text-3); }
.rey-ui .pcard .old { font: 400 12px var(--rey-font); color: #c0c4ca; text-decoration: line-through; margin-right: auto; }
.rey-ui .pcard .stock { margin-top: 10px; padding: 0 2px; }
.rey-ui .pcard .stock .bar { height: 5px; border-radius: 99px; background: var(--border); overflow: hidden; }
.rey-ui .pcard .stock .bar i { display: block; height: 100%; border-radius: 99px; background: var(--green); }
.rey-ui .pcard .stock .lbl { font: 500 10px var(--rey-font); color: var(--red); margin-top: 5px; }
/* ریلِ پایه‌ی .prow و فلش‌های کاروسل در base.css تعریف شده‌اند (سراسری). */
.rey-ui .amazing { border-radius: calc(24px * var(--rey-r)); overflow: hidden;
  background: linear-gradient(115deg, var(--green-dark) 0%, var(--green) 50%, var(--green-light) 100%);
  padding: 26px 26px 22px; position: relative; }
.rey-ui .amazing::before, .rey-ui .amazing::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.06); }
.rey-ui .amazing::before { top: -40px; left: -30px; width: 200px; height: 200px; }
.rey-ui .amazing::after { bottom: -60px; right: -20px; width: 160px; height: 160px; }
.rey-ui .amazing-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; position: relative; z-index: 1; }
.rey-ui .amazing-title { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.rey-ui .amazing-title h2 { font: 900 27px var(--rey-font); color: #fff; margin: 0; }
.rey-ui .amazing-title .badge { font: 700 13px var(--rey-font); color: var(--navy); background: var(--yellow); padding: 4px 11px; border-radius: calc(8px * var(--rey-r)); }
.rey-ui .countdown { display: flex; align-items: center; gap: 9px; }
.rey-ui .countdown .cap { font: 600 12px var(--rey-font); color: var(--green-mint); }
.rey-ui .cd-cells { display: flex; align-items: center; gap: 5px; }
.rey-ui .cd-cell { display: flex; flex-direction: column; align-items: center;
  background: rgba(255,255,255,.15); border-radius: calc(10px * var(--rey-r));
  padding: 6px 10px; min-width: 42px; }
.rey-ui .cd-cell b { font: 800 18px ui-monospace, Menlo, monospace; color: #fff; }
.rey-ui .cd-cell small { font: 400 8px var(--rey-font); color: var(--green-mint); }
.rey-ui .cd-cell.sec { background: var(--yellow); }
.rey-ui .cd-cell.sec b { color: var(--navy); }
.rey-ui .cd-cell.sec small { color: #7a6a12; }
.rey-ui .cd-sep { color: var(--green-mint); font-weight: 800; }
.rey-ui .amazing .see-all-w { font: 600 13px var(--rey-font); color: #fff;
  background: rgba(255,255,255,.15); padding: 9px 18px; border-radius: 99px; }
.rey-ui .amazing .prow { position: relative; z-index: 1; }
.rey-ui .banner-wide { display: block; width: 100%; aspect-ratio: 1680 / 210; border-radius: calc(20px * var(--rey-r)); overflow: hidden; }
.rey-ui .banner-wide img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .banners-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rey-ui .banners-2 a { display: block; aspect-ratio: 1863 / 600; border-radius: calc(20px * var(--rey-r)); overflow: hidden; }
.rey-ui .banners-2 img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .banners-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rey-ui .banners-3 a { display: block; aspect-ratio: 1024 / 478; border-radius: calc(18px * var(--rey-r)); overflow: hidden; }
.rey-ui .banners-3 img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rey-ui .brands a { display: block; position: relative; aspect-ratio: 400 / 300; /* نسبت واقعی تصاویر */
  border-radius: calc(16px * var(--rey-r)); overflow: hidden;
  transition: transform .3s, box-shadow .3s; }
.rey-ui .brands a:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(18,48,63,.14); }
.rey-ui .brands img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .mag-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.rey-ui .mag-card { background: var(--surface); border-radius: calc(16px * var(--rey-r)); overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.05); }
.rey-ui .mag-card img { width: 100%; height: 180px; object-fit: cover; }
.rey-ui .mag-card .body { padding: 16px; }
.rey-ui .mag-card .t { font: 600 15px/1.8 var(--rey-font); color: var(--navy);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.rey-ui .mag-card .date { font: 400 12px var(--rey-font); color: var(--muted); margin-top: 12px; }
.rey-ui .badges { display: flex; gap: 14px; align-items: center; padding-top: 18px; padding-bottom: 18px; border-top: 1px solid var(--border-2); }
.rey-ui .badges .lbl { font: 400 12px var(--rey-font); color: var(--muted); margin-left: 6px; }
.rey-ui .badge-ph { width: 72px; height: 72px; border-radius: calc(12px * var(--rey-r));
  background: repeating-linear-gradient(45deg, var(--border), var(--border) 6px, #f6f7f8 6px, #f6f7f8 12px);
  display: flex; align-items: center; justify-content: center;
  font: 10px ui-monospace, Menlo, monospace; color: var(--muted); }
.rey-ui .article-hero { margin-bottom: 8px; }
.rey-ui .article-hero .kicker { display: inline-flex; align-items: center; gap: 8px;
  font: 600 12px var(--rey-font); color: var(--green);
  background: var(--green-100); border-radius: 99px; padding: 5px 14px; }
.rey-ui .article-hero h1 { font: 800 32px/1.6 var(--rey-font); color: var(--navy);
  margin: 18px 0 0; max-width: 640px; }
.rey-ui .article-hero .lead { font: 400 15px/2.2 var(--rey-font); color: var(--text-3);
  margin: 14px 0 0; max-width: 620px; }
.rey-ui .article-hero .rule { width: 56px; height: 4px; border-radius: 99px; background: var(--green);
  margin-top: 26px; }
.rey-ui .amazing-link { display: inline-flex; align-items: center; gap: 6px; }
.rey-ui .amazing-link svg { width: 14px; height: 14px; }
.rey-ui .pcard .rating .star svg { width: 13px; height: 13px; display: block; }
.rey-ui .svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rey-ui .svc { position: relative; overflow: hidden;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: calc(20px * var(--rey-r)); padding: 24px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform .3s, border-color .3s, box-shadow .3s; }
.rey-ui .svc::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0;
  width: 4px; background: var(--green); border-radius: 99px;
  transform: scaleY(0); transform-origin: top; transition: transform .35s; }
.rey-ui .svc:hover { transform: translateY(-4px); border-color: var(--green-300); box-shadow: 0 14px 34px rgba(0,95,54,.08); }
.rey-ui .svc:hover::after { transform: scaleY(1); }
.rey-ui .svc .num { position: absolute; top: 8px; left: 14px;
  font: 900 64px/1 var(--rey-font);
  color: transparent; -webkit-text-stroke: 1.5px #e8edea;
  pointer-events: none; transition: -webkit-text-stroke-color .3s; }
.rey-ui .svc:hover .num { -webkit-text-stroke-color: var(--green-200); }
.rey-ui .svc .s-ico { width: 46px; height: 46px; border-radius: calc(14px * var(--rey-r));
  background: var(--green-100); color: var(--green);
  display: flex; align-items: center; justify-content: center;
  transition: background .3s, color .3s; }
.rey-ui .svc .s-ico svg { width: 22px; height: 22px; }
.rey-ui .svc:hover .s-ico { background: var(--green); color: #fff; }
.rey-ui .svc h3 { font: 700 15px var(--rey-font); color: var(--navy); margin: 4px 0 0; }
.rey-ui .svc p { font: 400 12.5px/2 var(--rey-font); color: var(--text-3); margin: 0; flex: 1; }
.rey-ui .svc .more { display: inline-flex; align-items: center; gap: 6px;
  font: 700 12px var(--rey-font); color: var(--green); }
.rey-ui .svc .more svg { width: 14px; height: 14px; transition: transform .3s; }
.rey-ui .svc:hover .more svg { transform: translateX(-4px); }
.rey-ui .about-hero { margin-top: 28px; border-radius: 28px; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--green-dark), var(--green) 55%, var(--green-light));
  padding: 56px; display: grid; grid-template-columns: 1.15fr .85fr; gap: 44px; align-items: center; }
.rey-ui .about-hero::before { content: ""; position: absolute; top: -70px; left: -50px;
  width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.07); }
.rey-ui .about-hero::after { content: ""; position: absolute; bottom: -80px; right: -40px;
  width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.05); }
.rey-ui .about-hero > div { position: relative; z-index: 1; }
.rey-ui .about-hero .kick { font: 600 13px var(--rey-font); color: var(--green-mint); letter-spacing: .04em; }
.rey-ui .about-hero h1 { font: 900 42px/1.6 var(--rey-font); color: #fff; margin: 16px 0 0; }
.rey-ui .about-hero h1 mark { background: transparent; color: var(--yellow); border-bottom: 4px solid var(--yellow); padding-bottom: 2px; }
.rey-ui .about-hero p { font: 400 14.5px/2.3 var(--rey-font); color: var(--green-200); margin: 18px 0 0; max-width: 480px; }
.rey-ui .hero-links { display: flex; gap: 12px; margin-top: 26px; }
.rey-ui .about-hero .visual { position: relative; }
.rey-ui .about-hero .visual img { width: 100%; border-radius: calc(20px * var(--rey-r)); border: 6px solid rgba(255,255,255,.9);
  transform: rotate(-2deg); box-shadow: 0 24px 50px rgba(0,0,0,.25); }
.rey-ui .brand-story { margin-top: 64px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; }
.rey-ui .story-text .eyebrow { font: 700 12px var(--rey-font); color: var(--green); background: var(--green-100); display: inline-block; border-radius: 99px; padding: 5px 14px; }
.rey-ui .story-text h2 { font: 800 25px/1.9 var(--rey-font); color: var(--navy); margin: 16px 0 14px; }
.rey-ui .story-text p { font: 400 14px/2.3 var(--rey-font); color: var(--text-3); margin: 0 0 12px; }
.rey-ui .story-stats { display: flex; gap: 28px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border); }
.rey-ui .story-stats b { display: block; font: 800 21px var(--rey-font); color: var(--green); }
.rey-ui .story-stats span { font: 400 11.5px var(--rey-font); color: var(--muted); }
.rey-ui .story-imgs { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; padding-bottom: 22px; }
.rey-ui .story-imgs .im { border-radius: calc(18px * var(--rey-r)); overflow: hidden; aspect-ratio: 3/4; }
.rey-ui .story-imgs .im img { width: 100%; height: 100%; object-fit: cover; }
.rey-ui .story-imgs .im.b { margin-top: 34px; }
.rey-ui main.container:not(.page-main) > section { margin-bottom: 56px; }
.rey-ui main.container:not(.page-main) > section:first-child { margin-bottom: 48px; }
.rey-ui .contact-hero { grid-template-columns: 1.2fr .8fr; }
.rey-ui .points-hero { background: linear-gradient(115deg, var(--green-dark), var(--green) 55%, var(--green-light));
  border-radius: calc(18px * var(--rey-r)); padding: 24px; color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.rey-ui .points-hero b { font: 900 30px var(--rey-font); display: block; }
.rey-ui .points-hero span { font: 400 12px var(--rey-font); color: var(--green-mint); }
.rey-ui .points-hero .btn-light { flex: 0 0 auto; }
.rey-ui .plist .pcard { border: 1px solid var(--border); position: relative; }
.rey-ui .plist .pcard:hover { border-color: var(--green-300); }
/* تعداد ستون‌ها از PHP می‌آید (--cols) تا کاشی‌ها هیچ‌وقت به ردیف دوم نروند */
.rey-ui .cat-tiles { display: grid; grid-template-columns: repeat(var(--cols, 7), minmax(0, 1fr)); gap: 12px; }
.rey-ui .cat-tile { background: none; border: none; border-radius: calc(18px * var(--rey-r));
  padding: 20px 10px 16px; display: flex; flex-direction: column; align-items: center; gap: 12px;
  transition: transform .3s, border-color .3s, box-shadow .3s; }
.rey-ui .cat-tile .ci { width: 100px; height: 100px; border-radius: calc(16px * var(--rey-r));
  background: none; color: var(--green);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  transition: background .3s, color .3s; }
.rey-ui .cat-tile .ci img { width: 100%; height: 100%; object-fit: contain; }
.rey-ui .cat-tile .ci svg { width: 40px; height: 40px; }
.rey-ui .cat-tile > span:last-child { font: 600 12.5px var(--rey-font); color: var(--navy); text-align: center; }
/* بدون افکت هاور — طبق خواسته */
.rey-ui .cat-tile:hover { transform: none; box-shadow: none; }
.rey-ui .cat-tile:hover .ci { transform: none; box-shadow: none; background: none; border: none; }
.rey-ui .payments .payment:nth-child(2)::after { animation-delay: .8s; }
.rey-ui .payments .payment:nth-child(3)::after { animation-delay: 1.6s; }
.rey-ui .pcard .price-row { flex-wrap: wrap; row-gap: 2px; }
.rey-ui .pcard .price-row .old { flex-basis: 100%; order: 3; margin-right: 0; font-size: 11.5px; }
@media (max-width: 1024px) {
  /* در عرض کم، به‌جای شکستن به ردیف دوم، ریلِ افقی می‌شود */
  .rey-ui .cat-tiles { display: flex; overflow-x: auto; gap: 10px;
    padding-bottom: 4px; scrollbar-width: none; }
  .rey-ui .cat-tiles::-webkit-scrollbar { display: none; }
  .rey-ui .cat-tile { flex: 0 0 118px; }
}
@media (max-width: 860px) {
  .rey-ui /* (1) شگفت‌انگیز موبایل: فشرده‌تر و کوتاه‌تر */
  .amazing .prow { gap: 8px; }
  .rey-ui .amazing .prow > div { flex: 0 0 136px; }
  .rey-ui .amazing .pcard { padding: 6px; }
  .rey-ui .amazing .pcard .rating { display: none; }
  .rey-ui .amazing .pcard .title { font-size: 11px; min-height: 34px; margin-top: 8px; }
  .rey-ui .amazing .pcard .stock { margin-top: 6px; }
  .rey-ui .cat-tiles { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 4px; scrollbar-width: none; }
  .rey-ui .cat-tiles::-webkit-scrollbar { display: none; }
  .rey-ui .cat-tile { flex: 0 0 92px; padding: 12px 6px; border-radius: calc(14px * var(--rey-r)); }
  .rey-ui .cat-tile .ci { width: 44px; height: 44px; border-radius: calc(13px * var(--rey-r)); }
  .rey-ui .cat-tile .ci svg { width: 20px; height: 20px; }
  .rey-ui .cat-tile > span:last-child { font-size: 10.5px; }
}
.rey-ui .pcard .add-btn { margin-top: 10px; width: 100%;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  border: 1.5px solid var(--green); background: #fff; color: var(--green);
  font: 700 12px var(--rey-font); border-radius: calc(11px * var(--rey-r)); padding: 9px 8px;
  cursor: pointer; transition: all .2s; }
.rey-ui .pcard .add-btn svg { width: 15px; height: 15px; }
.rey-ui .pcard .add-btn:hover, .rey-ui .pcard .add-btn.added { background: var(--green); color: #fff; }
@media (min-width: 1700px) {
  .rey-ui .hero-slide { border-radius: calc(20px * var(--rey-r)); }
  .rey-ui .hero { margin-top: 28px; }
}
.rey-ui .pcard { height: 100%; }
.rey-ui .prow > div { display: flex; }
.rey-ui .prow > div > .pcard { flex: 1; }
.rey-ui .pcard .price-row { justify-content: flex-end; margin-top: 6px; }
.rey-ui .pcard .price-row .old { text-align: left; }
.rey-ui .pcard .price-row, .rey-ui .pcard .stock { margin-bottom: 6px; }
.rey-ui .pcard .stock { margin-top: 0; }
.rey-ui .pcard .title { min-height: 42px; }
.rey-ui .payments { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 860px) {
  .rey-ui /* (9) خدمات: دو ردیف افقی اسکرولی */
  .svc-grid { display: grid; grid-auto-flow: column;
    grid-template-rows: 1fr 1fr; grid-auto-columns: 172px;
    overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .rey-ui .svc-grid::-webkit-scrollbar { display: none; }
  .rey-ui .svc .num { display: none; }
  .rey-ui /* (10) پرداخت وسط‌چین */
  .payments { grid-template-columns: 1fr; }
}
@media (max-width: 1024px) {
  .rey-ui .prow > div { flex: 0 0 190px; }
  .rey-ui .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .rey-ui .about-hero { padding: 40px 36px; }
  .rey-ui .about-hero h1 { font-size: 34px; }
}
@media (max-width: 860px) {
  .rey-ui .stories-track { gap: 14px; }
  .rey-ui .story { width: 60px; }
  .rey-ui .story .thumb { width: 50px; height: 50px; border-width: 2px; }
  .rey-ui .story span { font-size: 10px; }
  .rey-ui .hero-slide { flex: 0 0 100%; border-radius: 0; }
  .rey-ui .hero-track { gap: 0; }
  .rey-ui .page-main { padding-top: 28px; gap: 28px; }
  .rey-ui .sec-head h2 { font-size: 16px; }
  .rey-ui .sec-head .eyebrow { display: none; }
  .rey-ui .payments { grid-template-columns: 1fr; gap: 10px; }
  .rey-ui .amazing { border-radius: calc(16px * var(--rey-r)); padding: 16px; }
  .rey-ui .amazing-title h2 { font-size: 18px; }
  .rey-ui .amazing-title { gap: 10px; }
  .rey-ui .amazing-title .badge { display: none; }
  .rey-ui .countdown .cap { display: none; }
  .rey-ui .cd-cell { border-radius: calc(7px * var(--rey-r)); padding: 4px 7px; min-width: 34px; }
  .rey-ui .cd-cell b { font-size: 13px; }
  .rey-ui .cd-cell small { display: none; }
  .rey-ui .amazing .see-all-w { display: none; }
  .rey-ui .prow { gap: 12px; }
  .rey-ui .prow > div { flex: 0 0 156px; }
  .rey-ui .banner-wide { border-radius: calc(14px * var(--rey-r)); }
  .rey-ui .banners-2 { grid-template-columns: 1fr; gap: 12px; }
  .rey-ui .banners-2 a { border-radius: calc(14px * var(--rey-r)); }
  .rey-ui .banners-3 { grid-template-columns: 1fr; gap: 12px; }
  .rey-ui .banners-3 a { border-radius: calc(12px * var(--rey-r)); }
  .rey-ui .brands { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rey-ui .brands a { border-radius: calc(12px * var(--rey-r)); }
  .rey-ui .mag-grid { grid-template-columns: 1fr; gap: 14px; }
  .rey-ui .mag-card { display: flex; gap: 12px; padding: 8px; border-radius: calc(12px * var(--rey-r)); }
  .rey-ui .mag-card img { flex: 0 0 96px; width: 96px; height: 76px; border-radius: calc(8px * var(--rey-r)); }
  .rey-ui .mag-card .body { padding: 0; display: flex; flex-direction: column; justify-content: center; }
  .rey-ui .mag-card .t { font-size: 13px; line-height: 1.7; }
  .rey-ui .mag-card .date { margin-top: 6px; font-size: 11px; }
  .rey-ui .badge-ph { width: 56px; height: 56px; border-radius: calc(9px * var(--rey-r)); }
  .rey-ui .points-hero { padding: 18px; border-radius: calc(14px * var(--rey-r)); }
  .rey-ui .points-hero b { font-size: 24px; }
  .rey-ui /* services boxes */
  .svc-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rey-ui .svc { padding: 16px; border-radius: calc(14px * var(--rey-r)); }
  .rey-ui .svc .num { font-size: 44px; }
  .rey-ui .svc h3 { font-size: 13px; }
  .rey-ui .svc p { font-size: 11px; }
  .rey-ui /* about / contact */
  .about-hero { grid-template-columns: 1fr; padding: 26px 20px 34px; gap: 30px; border-radius: calc(18px * var(--rey-r)); margin-top: 16px; }
  .rey-ui .about-hero h1 { font-size: 25px; }
  .rey-ui .about-hero p { font-size: 13px; }
  .rey-ui .about-hero .visual img { transform: none; border-width: 4px; }
  .rey-ui .brand-story { grid-template-columns: 1fr; gap: 26px; margin-top: 40px; }
  .rey-ui .story-text h2 { font-size: 18px; }
  .rey-ui .story-stats { gap: 18px; }
  .rey-ui .story-stats b { font-size: 17px; }
  .rey-ui .story-imgs .im.b { margin-top: 20px; }
  .rey-ui main.container:not(.page-main) > section { margin-bottom: 36px; }
  .rey-ui .contact-hero { grid-template-columns: 1fr; }
  .rey-ui .article-hero h1 { font-size: 21px; }
  .rey-ui .article-hero .lead { font-size: 13.5px; }
}
@media (max-width: 860px) {
  .rey-ui .svc-grid { display: grid; grid-auto-flow: column;
    grid-template-rows: 1fr 1fr; grid-auto-columns: 128px;
    gap: 8px; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .rey-ui .svc-grid::-webkit-scrollbar { display: none; }
  .rey-ui .svc { padding: 14px 8px; border-radius: calc(14px * var(--rey-r));
    flex-direction: column; align-items: center; justify-content: center;
    text-align: center; gap: 9px; }
  .rey-ui .svc::after, .rey-ui .svc .num, .rey-ui .svc p, .rey-ui .svc .more { display: none; }
  .rey-ui .svc .s-ico { width: 42px; height: 42px; border-radius: calc(12px * var(--rey-r)); }
  .rey-ui .svc .s-ico svg { width: 20px; height: 20px; }
  .rey-ui .svc h3 { font-size: 11.5px; line-height: 1.7; margin: 0; }
}
.rey-ui .ig-banner { display: block; border-radius: calc(20px * var(--rey-r)); overflow: hidden; }
.rey-ui .ig-banner img { width: 100%; height: auto; display: block; }
.rey-ui .hero-slide picture { display: block; width: 100%; height: 100%; }
@media (max-width: 860px) {
  .rey-ui /* هیرو موبایل: نسبت واقعی بنرهای موبایل (۴:۳) */
  .hero-slide { aspect-ratio: 640 / 480; }
  .rey-ui .ig-banner { border-radius: calc(14px * var(--rey-r)); }
}
@media (max-width: 860px) {
  .rey-ui .badges { flex-wrap: wrap; }
}
.rey-ui .pay-logo { height: 46px; flex: 0 0 auto; display: flex; align-items: center; }
.rey-ui .pay-logo img { height: 100%; width: auto; max-width: 130px; object-fit: contain; display: block; }
@media (max-width: 860px) {
  .rey-ui .pay-logo { height: 38px; }
}
