/*
 * atomix-product.css
 * Place in: yourtheme/assets/css/atomix-product.css
 * Enqueued only on single product pages — see functions-snippet.php
 */

/* ── Custom properties ──────────────────────────────────────────────────── */
:root {
  --black:    #0f0f0f;
  --white:    #fff;
  --off:      #f8f7f4;
  --border:   #e2e0da;
  --muted:    #7a7772;
  --secondary:#4a4845;
  --accent:   #1a3a2a;
  --al:       #e8f0eb;
  --am:       #2d6247;
  --wb:       #fdf6ec;
  --wbr:      #e8c97a;
  --f:        'DM Sans', sans-serif;
  --m:        'DM Mono', monospace;
  --r:        10px;
  --rs:       6px;
}

/* ── Breadcrumb ─────────────────────────────────────────────────────────── */
.woocommerce-breadcrumb,
nav.bc {
  padding: 20px 40px 12px;
  font-size: 12px;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 1240px;
  margin: 0 auto;
  flex-wrap: wrap;
  list-style: none;
}
nav.bc a,
.woocommerce-breadcrumb a { color: var(--muted); text-decoration: none; }
nav.bc a:hover,
.woocommerce-breadcrumb a:hover { color: var(--black); }
nav.bc .sep,
.woocommerce-breadcrumb .sep { opacity: .3; }
nav.bc .cur { color: var(--black); font-weight: 500; }

/* ── Product layout ─────────────────────────────────────────────────────── */
.pw {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 40px 20px;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 64px;
  align-items: start;
  font-family: var(--f);
}

/* ── Gallery ────────────────────────────────────────────────────────────── */
.gallery { position: sticky; top: 24px; }
.mi {
  aspect-ratio: 1;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r);
  overflow: hidden;
  margin-bottom: 10px;
  position: relative;
  cursor: zoom-in;
}
.mi img,
.mi svg { width: 100%; height: 100%; display: block; object-fit: contain; }
.mi:hover .zh { opacity: 1; }
.zh {
  position: absolute; bottom: 12px; right: 12px;
  background: rgba(15,15,15,.55); color: #fff;
  font-size: 11px; padding: 4px 9px; border-radius: 4px;
  opacity: 0; transition: opacity .2s; pointer-events: none;
}
.rb {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: var(--white);
  font-size: 10px; font-weight: 500; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 4px;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 8px;
}
.th {
  aspect-ratio: 1;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--rs);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; overflow: hidden;
  transition: border-color .15s; padding: 6px;
}
.th:hover  { border-color: #a0c4b0; }
.th.active { border-color: var(--am); }
.th img,
.th svg { width: 100%; height: 100%; display: block; object-fit: contain; }
.th.coa {
  flex-direction: column; gap: 4px;
  text-decoration: none; color: var(--secondary);
  font-size: 10px; font-weight: 500;
  background: var(--al); border-color: #c0d4c8; padding: 10px 6px;
}
.th.coa:hover { border-color: var(--am); color: var(--accent); }
.th.coa svg  { width: 22px; height: 22px; opacity: .55; flex-shrink: 0; }

/* ── Info column ────────────────────────────────────────────────────────── */
.meta {
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.tag  { font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--am); background: var(--al); padding: 3px 9px; border-radius: 4px; }
.tag2 { font-size: 11px; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; color: #3050a0; background: #eef1fa; padding: 3px 9px; border-radius: 4px; }
.stock {
  font-size: 12px; font-weight: 500; color: #1f7a45;
  display: flex; align-items: center; gap: 5px;
}
.stock::before { content:''; width:7px; height:7px; background:#1f7a45; border-radius:50%; }
.ships { font-size: 12px; color: var(--muted); margin-left: auto; }
.ships b { color: #1f7a45; font-weight: 500; }

.info h1.product_title,
.info h1 {
  font-size: 34px; font-weight: 400; letter-spacing: -1px;
  line-height: 1.12; margin-bottom: 6px;
}
.info h1 .w { font-weight: 300; color: var(--muted); }
.sub {
  font-size: 14px; color: var(--muted);
  font-style: italic; font-weight: 300; margin-bottom: 22px;
}

/* ── Quick specs bar ────────────────────────────────────────────────────── */
.qs {
  display: inline-flex;
  gap: 1px; 
  border: 1px solid var(--border); border-radius: var(--r);
  overflow: hidden; margin-bottom: 24px;
}
.qi { background: var(--white); padding: 12px 14px;    border-right: 1px solid #e2e0da; }
.ql { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 500; margin-bottom: 3px; }
.qv { font-size: 13px; font-weight: 500; font-family: var(--m); color: var(--black); }

/* ── Price ──────────────────────────────────────────────────────────────── */
.price-row {
  display: flex; align-items: baseline;
  gap: 10px; margin-bottom: 4px;
}
.price,
.woocommerce-Price-amount { font-size: 32px; font-weight: 500; letter-spacing: -.5px; }
.per { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.per span { color: var(--am); font-weight: 500; }

/* ── Reconstitution calculator ──────────────────────────────────────────── */
.recon {
  background: var(--wb); border: 1px solid var(--wbr);
  border-radius: var(--rs); padding: 12px 14px; margin-bottom: 20px;
}
.rh {
  font-size: 11px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .06em; color: #7a5a10; margin-bottom: 7px;
  display: flex; align-items: center; gap: 6px;
}
.rh svg { width: 13px; height: 13px; opacity: .7; }
.rb2 { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rb2 label { font-size: 12px; color: var(--secondary); }
.rsel {
  font-family: var(--m); font-size: 12px;
  border: 1px solid var(--wbr); background: var(--white);
  border-radius: 4px; padding: 5px 8px; color: var(--black);
  outline: none; cursor: pointer;
}
.rout {
  font-family: var(--m); font-size: 13px; font-weight: 500; color: #7a5a10;
  background: #fffaee; padding: 5px 12px; border-radius: 4px;
  border: 1px solid var(--wbr); min-width: 80px; text-align: center;
}

/* ── Buy block ──────────────────────────────────────────────────────────── */
.buy { margin-bottom: 16px; }
.qty-row { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.qty-label { font-size: 13px; color: var(--secondary); }
.qc {
  display: flex; align-items: center;
  border: 1px solid var(--border); border-radius: var(--rs);
  overflow: hidden; background: var(--white);
}
.qb {
  width: 38px; height: 38px; border: none; background: transparent;
  cursor: pointer; font-size: 18px; line-height: 1;
  color: var(--secondary); transition: background .1s;
}
.qb:hover { background: var(--off); }
.qb:disabled { opacity: .4; cursor: not-allowed; }
.qn {
  width: 42px; height: 38px; display: flex; align-items: center;
  justify-content: center; font-size: 14px; font-weight: 500;
  border-left: 1px solid var(--border); border-right: 1px solid var(--border);
}
.btn-cart,
.single_add_to_cart_button {
  width: 100%; padding: 15px;
  background: var(--accent); color: var(--white);
  border: none; border-radius: var(--rs);
  font-family: var(--f); font-size: 14px; font-weight: 500;
  letter-spacing: .03em; cursor: pointer;
  transition: background .15s; margin-bottom: 8px;
}
.btn-cart:hover,
.single_add_to_cart_button:hover { background: var(--am); }
.btn-cart:disabled,
.single_add_to_cart_button:disabled { opacity: .5; cursor: not-allowed; }
.btn-exp {
  width: 100%; padding: 12px;
  background: transparent; color: var(--accent);
  border: 1.5px solid var(--accent); border-radius: var(--rs);
  font-family: var(--f); font-size: 13px; font-weight: 400;
  cursor: pointer; transition: all .15s;
}
.btn-exp:hover { background: var(--al); }

/* ── Trust badges ───────────────────────────────────────────────────────── */
.trust {
  display: flex; border: 1px solid var(--border);
  border-radius: var(--rs); overflow: hidden;
  background: var(--white); margin-top: 14px;
}
.ti {
  flex: 1; display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 12px; color: var(--secondary);
  padding: 11px 8px; border-right: 1px solid var(--border);
}
.ti:last-child { border-right: none; }
.ti svg { width: 14px; height: 14px; color: var(--am); flex-shrink: 0; }

/* ── Product overview ───────────────────────────────────────────────────── */
.ov {
  margin-top: 22px; padding-top: 22px;
  border-top: 1px solid var(--border);
  font-size: 14px; color: var(--secondary); line-height: 1.8;
}

/* ── Tabs ───────────────────────────────────────────────────────────────── */
.tabs {
  max-width: 1240px;
  margin: 56px auto 0;
  padding: 0 40px 64px;
}
.tnav { display: flex; border-bottom: 1px solid var(--border); margin-bottom: 36px; }
.tbtn {
  background: none; border: none; border-bottom: 2px solid transparent;
  padding: 11px 22px; font-family: var(--f); font-size: 12px; font-weight: 500;
  color: var(--muted); cursor: pointer; margin-bottom: -1px;
  transition: all .15s; letter-spacing: .06em; text-transform: uppercase;
}
.tbtn.active { color: var(--black); border-bottom-color: var(--am); }
.tbtn:hover  { color: var(--black); }
.tp { display: none; }
.tp.active { display: block; }

/* ── Description tab ────────────────────────────────────────────────────── */
.dg { display: grid; grid-template-columns: 1fr 320px; gap: 48px; }
.db h3 {
  font-size: 12px; font-weight: 500; margin: 28px 0 10px;
  color: var(--black); text-transform: uppercase; letter-spacing: .06em;
}
.db h3:first-child { margin-top: 0; }
.db p  { font-size: 14px; line-height: 1.85; color: var(--secondary); margin-bottom: 10px; }
.db ul { padding-left: 20px; }
.db li { font-size: 14px; color: var(--secondary); margin-bottom: 6px; line-height: 1.7; }

/* Spec card */
.sc {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; margin-bottom: 16px;
}
.sch {
  font-size: 10px; font-weight: 500; text-transform: uppercase;
  letter-spacing: .08em; color: var(--muted); padding: 10px 16px;
  border-bottom: 1px solid var(--border); background: var(--off);
}
.sr {
  display: grid; grid-template-columns: 1fr 1fr;
  border-bottom: 1px solid var(--border);
}
.sr:last-child { border-bottom: none; }
.sk { font-size: 12px; color: var(--muted); padding: 9px 14px; border-right: 1px solid var(--border); }
.sv { font-size: 12px; font-family: var(--m); font-weight: 500; color: var(--black); padding: 9px 14px; }
.coa-dl {
  display: flex; align-items: center; gap: 8px; padding: 12px 16px;
  font-size: 13px; font-weight: 500; color: var(--am);
  text-decoration: none; background: var(--al);
  border: 1px solid #c0d4c8; border-radius: var(--r); transition: background .15s;
}
.coa-dl:hover { background: #d4e8dc; }
.coa-dl svg { width: 15px; height: 15px; flex-shrink: 0; }

/* ── Specs tab — WooCommerce attributes table ───────────────────────────── */
.woocommerce-product-attributes,
.stbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.woocommerce-product-attributes tr,
.stbl tr { border-bottom: 1px solid var(--border); }
.woocommerce-product-attributes tr:last-child,
.stbl tr:last-child { border-bottom: none; }
.woocommerce-product-attributes td,
.stbl td { padding: 12px 0; }
.woocommerce-product-attributes td:first-child,
.stbl td:first-child { color: var(--muted); width: 220px; font-size: 13px; }
.woocommerce-product-attributes td:last-child,
.stbl td:last-child { font-family: var(--m); color: var(--black); font-weight: 500; font-size: 13px; }

/* ── References ─────────────────────────────────────────────────────────── */
.ri { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.ri:last-child { border-bottom: none; }
.ry { font-size: 12px; font-family: var(--m); color: var(--muted); width: 40px; flex-shrink: 0; padding-top: 2px; }
.rt { font-size: 14px; font-weight: 500; color: var(--black); margin-bottom: 2px; }
.rj { font-size: 13px; color: var(--muted); }
.rl { font-size: 12px; color: var(--am); text-decoration: none; margin-top: 4px; display: inline-block; }
.rl:hover { text-decoration: underline; }

/* ── Bulk discount ──────────────────────────────────────────────────────── */
.uw { max-width: 1240px; margin: 0 auto; padding: 0 40px;     padding-left: 0px;
    padding-right: 0px;
    padding-top: 20px;}
.bulk {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); padding: 24px 28px; margin-bottom: 48px;
  overflow: hidden; position: relative;
}
.bulk::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--am));
}
.bulk-head { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.bulk-icon {
  width: 40px; height: 40px; background: var(--al);
  border: 1px solid #c0d4c8; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.bulk-icon svg { width: 20px; height: 20px; color: var(--am); }
.bulk-title { font-size: 15px; font-weight: 500; color: var(--black); margin-bottom: 2px; }
.bulk-sub   { font-size: 12px; color: var(--muted); }
.bulk-tiers { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.bt {
  border: 1.5px solid var(--border); border-radius: var(--r);
  padding: 16px 14px; text-align: center; position: relative;
  transition: border-color .15s, background .15s; cursor: default;
}
.bt:hover    { border-color: #a0c4b0; background: var(--off); }
.bt.best     { border-color: var(--am); background: var(--al); }
.bt-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--am); color: #fff; font-size: 9px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 2px 10px; border-radius: 0 0 6px 6px; white-space: nowrap;
}
.bt-qty   { font-size: 28px; font-weight: 500; color: var(--black); line-height: 1; margin-bottom: 4px; font-family: var(--m); }
.bt-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 10px; }
.bt-disc  { font-size: 22px; font-weight: 500; color: var(--am); margin-bottom: 2px; }
.bt-save  { font-size: 11px; color: var(--secondary); }
.bulk-note {
  font-size: 12px; color: var(--muted); background: var(--off);
  border-radius: var(--rs); padding: 10px 14px; line-height: 1.6;
  border: 1px solid var(--border);
}
.bulk-note strong { color: var(--secondary); }

/* ── Divider ────────────────────────────────────────────────────────────── */
.thr {
  display: flex; border-bottom: 1px solid var(--border);
  margin-bottom: 36px; width: 86%; margin: auto;
}

/* ── Related products ───────────────────────────────────────────────────── */
.rw { max-width: 1240px; margin: 0 auto; padding: 0 40px 80px; }
.sec-h { font-size: 20px; font-weight: 400; letter-spacing: -.4px; margin-bottom: 20px; }
.sec-h small { font-size: 14px; color: var(--muted); font-weight: 300; margin-left: 8px; }
.rg { display: grid; grid-template-columns: repeat(4,1fr); gap: 14px; }
.rc {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; cursor: pointer;
  transition: border-color .15s, transform .15s;
}
.rc:hover { border-color: #c0bcb5; transform: translateY(-1px); }
.rci {
  aspect-ratio: 1; background: var(--off);
  display: flex; align-items: center; justify-content: center;
  padding: 18px; position: relative;
}
.rci svg,
.rci img { width: 70%; height: 70%; object-fit: contain; }
.db2 {
  position: absolute; top: 8px; left: 8px;
  background: #c04040; color: #fff;
  font-size: 10px; font-weight: 500; padding: 2px 6px; border-radius: 3px;
}
.rcb { padding: 12px 14px 14px; }
.rcn { font-size: 13px; font-weight: 500; color: var(--black); margin-bottom: 5px; line-height: 1.4; }
.rcn a { color: inherit; text-decoration: none; }
.rcn a:hover { text-decoration: underline; }
.rcp { font-size: 13px; font-weight: 500; }
.rcp s,
.rcp del { color: var(--muted); font-weight: 400; font-size: 12px; margin-right: 4px; }
.ratc {
  display: block; width: 100%; margin-top: 10px; padding: 8px;
  background: var(--off); border: 1px solid var(--border);
  border-radius: var(--rs); font-family: var(--f); font-size: 12px;
  font-weight: 500; color: var(--black); cursor: pointer;
  text-align: center; transition: all .15s;
}
.ratc:hover { background: var(--accent); color: var(--white); border-color: var(--accent); }
.ratc:disabled { opacity: .6; cursor: not-allowed; }

/* ── Disclaimer ─────────────────────────────────────────────────────────── */
.disc { max-width: 1240px; margin: 0 auto; padding: 0 40px 60px; }
.disc p {
  font-size: 12px; color: var(--muted); line-height: 1.7;
  padding: 16px 20px; background: var(--white);
  border: 1px solid var(--border); border-radius: var(--rs);
}

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .pw        { grid-template-columns: 1fr; gap: 32px; padding: 0 20px 20px; }
  .gallery   { position: static; }
  .woocommerce-breadcrumb,
  nav.bc     { padding: 16px 20px 10px; }
  .tabs      { padding: 0 20px 48px; }
  .uw, .rw, .disc { padding-left: 20px; padding-right: 20px; }
  .rg        { grid-template-columns: repeat(2,1fr); }
  .dg        { grid-template-columns: 1fr; }
  .qs        { grid-template-columns: repeat(2,1fr); }
  .bulk      { padding: 18px 18px; }
  .bulk-tiers{ gap: 8px; }
}
@media (max-width: 500px) {
  .rg        { grid-template-columns: 1fr; }
  .trust     { flex-wrap: wrap; }
  .ti        { min-width: 50%; border-right: none; border-bottom: 1px solid var(--border); }
  .ti:last-child,
  .ti:nth-child(2) { border-bottom: none; }
  .bulk-tiers{ grid-template-columns: 1fr; }
  .bt.best .bt-badge { font-size: 8px; }
}
.product-sku {
    font-size: 12px;
    color: var(--secondary, #888);
    margin: 0 0 12px;
    letter-spacing: 0.02em;
}

.sku-label {
    font-weight: 600;
    margin-right: 4px;
    text-transform: uppercase;
    font-size: 11px;
}

.sku-value {
    font-family: monospace;
}
/* Hide the injected Norton badge in its original position */
#Kicker_Custom_Text3_1,
[name="Kicker Custom Text3"] {
    display: none !important;
}
.norton-badge {
    margin: 16px 0 0;
    display: flex;
    align-items: center;
}
/* ── Related products ─────────────────────────────── */
section.rw {
    max-width: 1240px;
    margin: 60px auto 40px;
    padding: 0 40px 20px;
}
.rw-header { display: flex; align-items: baseline; gap: 10px; margin-bottom: 1.5rem }
.rw-title  { font-size: 1.1rem; font-weight: 500; color: var(--black); margin: 0 }
.rw-count  {
    font-size: .72rem; color: var(--muted); font-weight: 500;
    background: var(--border); padding: 3px 10px; border-radius: 20px;
}
.rg {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

/* card */
.rc {
    background: var(--white);
    border: 0.5px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color .2s ease, transform .2s ease;
    min-width: 0;
}
.rc:hover {
    border-color: #c8c6bf;
    transform: translateY(-2px);
}

/* image */
.rc-image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--off);
    flex-shrink: 0;
}
.rc-img {
    width: 100%; height: 100%;
    object-fit: cover; display: block;
    transition: transform .35s ease;
}
.rc:hover .rc-img { transform: scale(1.04) }

.rc-overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,.38);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity .2s ease;
}
.rc:hover .rc-overlay { opacity: 1 }
.rc-overlay span {
    font-size: 11px; font-weight: 500; color: #fff;
    letter-spacing: .06em; text-transform: uppercase;
}

/* badges */
.rc-badge {
    position: absolute; top: 10px; left: 10px;
    font-size: 10px; font-weight: 600;
    padding: 3px 8px; border-radius: 6px; z-index: 2; line-height: 1.4;
}
.rc-badge--sale { background: #e53e3e; color: #fff }
.rc-badge--oos  { background: rgba(0,0,0,.45); color: #fff }

/* card body */
.rcb {
    padding: 14px;
    display: flex; flex-direction: column; gap: 8px;
    flex: 1; min-width: 0;
}
.rc-meta { display: flex; flex-wrap: wrap; gap: 5px }
.rc-pill {
    font-size: 10px; font-weight: 600;
    padding: 2px 8px; border-radius: 20px;
    background: #eef3ff; color: #2c5ea8; white-space: nowrap;
}
.rc-pill--muted {
    background: var(--off); color: var(--muted);
}
.rcn {
    font-size: 13px; font-weight: 500;
    line-height: 1.35; color: var(--black);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.rcn a { color: inherit; text-decoration: none }
.rcn a:hover { color: var(--accent) }

/* footer */
.rc-footer {
    display: flex; align-items: center;
    justify-content: space-between; gap: 8px;
    margin-top: auto; padding-top: 10px;
    border-top: 0.5px solid var(--border);
    flex-wrap: nowrap; overflow: visible;
}
.rcp {
    font-size: 15px; font-weight: 500;
    color: var(--black); white-space: nowrap;
    flex-shrink: 1; min-width: 0;
    overflow: hidden; text-overflow: ellipsis;
}
.ratc {
    display: inline-flex; align-items: center; gap: 5px;
    font-size: 11px; font-weight: 500;
    padding: 7px 12px; border-radius: 8px;
    background: var(--accent); color: #fff;
    border: none; cursor: pointer;
    transition: background .15s ease, transform .1s ease;
    white-space: nowrap; flex-shrink: 0; letter-spacing: .01em;
}
.ratc:hover { background: #14502e; transform: scale(1.03) }
.rc-oos-label { font-size: 11px; color: var(--muted); font-style: italic; flex-shrink: 0 }

/* responsive */
@media (max-width: 1024px) {
    section.rw { padding: 0 24px 20px }
    .rg { grid-template-columns: repeat(3, minmax(0, 1fr)) }
}
@media (max-width: 680px) {
    section.rw { padding: 0 16px 20px }
    .rg { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px }
}
@media (max-width: 400px) {
    .rg { grid-template-columns: 1fr }
}
@media (max-width: 500px) {
    .tnav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        flex-wrap: nowrap;
        padding-bottom: 2px;
        display: grid;
            gap: 10px;
    }

   
}
