/* Ruudra redesign — page-specific styles (from ruudra-redesign prototypes) */

/* ---- Homepage ---- */
.hero {
  position: relative;
  background: var(--rs-green-900);
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 5px 0 5px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center; 
}
.hero-copy .eyebrow { color: var(--rs-amber-500); }
.hero-copy h1 {
  color: var(--rs-white);
  margin-top: 14px;
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--rs-amber-500);
}
.hero-copy p {
  color: var(--rs-sage-300);
  font-size: 1.08rem;
  max-width: 480px;
  margin-top: 18px;
  line-height: 1.6;
}
.hero-cta { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 28px; margin-top: 44px; flex-wrap: wrap; }
.hero-stat .num { font-family: var(--font-mono); font-size: 1.5rem; font-weight: 700; color: var(--rs-white); }
.hero-stat .lbl { font-size: 0.78rem; color: var(--rs-sage-500); margin-top: 2px; }
.hero-visual { position: relative; height: 420px; }
.sheet {
  position: absolute;
  border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.35);
}
  .sheet-1 { width: 280px; height: 340px; background: linear-gradient(135deg, #e8f0dc, #c5d4a8); top: 30px; left: 40px; transform: rotate(-7deg); }
.sheet-2 { width: 280px; height: 340px; background: linear-gradient(135deg, #DA8B45, #C9722C); top: 10px; left: 110px; transform: rotate(4deg); opacity: 0.96; }
.sheet-3 { width: 280px; height: 340px; background: linear-gradient(135deg, #ffffff, #E8E4DC); top: 50px; left: 175px; transform: rotate(13deg); }
.sheet-label {
  position: absolute;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--rs-white);
  color: var(--rs-green-900);
  box-shadow: var(--shadow-md);
}
.sheet-label.l1 { top: 60px; right: 10px; }
.sheet-label.l2 { bottom: 70px; right: 40px; }
.hero-decor-grid {
  position: absolute; inset: 0; z-index: 1; opacity: 0.07;
  background-image: linear-gradient(rgba(255,255,255,.6) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.6) 1px, transparent 1px);
  background-size: 42px 42px;
}
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; padding: 48px 0 56px; }
  .hero-visual { display: none; }
  .hero-stats { gap: 20px; }
  .trust-bar { display: none; }
}
@media (max-width: 640px) {
  .hero { border-radius: 0 0 20px 20px; }
  .hero-inner { padding: 24px 0 32px; gap: 20px; }
  .hero-copy h1 { font-size: clamp(1.85rem, 8.2vw, 2.35rem); margin-top: 10px; }
  .hero-copy p { font-size: 0.94rem; margin-top: 12px; line-height: 1.55; }
  .hero-cta { flex-direction: column; margin-top: 22px; gap: 10px; }
  .hero-cta .btn { width: 100%; height: 46px; }
  .hero-stats {
    margin-top: 26px;
    gap: 10px 16px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .hero-stat .num { font-size: 1.15rem; }
  .hero-stat .lbl { font-size: 0.68rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

.trust-bar { background: var(--rs-white); border-bottom: 1px solid var(--rs-stone-200); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item {
  display: flex; align-items: center; gap: 14px;
  padding:0px 10px;
  border-right: 1px solid var(--rs-stone-200);
}
.trust-item:last-child { border-right: none; }
.trust-item .ic { width: 40px; height: 40px; border-radius: 50%; background: var(--rs-sage-100); display: grid; place-items: center; flex-shrink: 0; }
.trust-item .ic svg { width: 20px; height: 20px; stroke: var(--rs-green-800); }
.trust-item .t { font-weight: 700; font-size: 0.88rem; color: var(--rs-ink-900); }
.trust-item .s { font-size: 0.78rem; color: var(--rs-ink-500); }
@media (max-width: 860px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-item:nth-child(2) { border-right: none; }
  .trust-item { border-bottom: 1px solid var(--rs-stone-200); padding: 16px 14px; }
  .trust-item:nth-child(3),
  .trust-item:nth-child(4) { border-bottom: none; }
}
@media (max-width: 640px) {
  .trust-item { padding: 14px 10px; gap: 10px; }
  .trust-item .ic { width: 36px; height: 36px; }
  .trust-item .ic svg { width: 18px; height: 18px; }
  .trust-item .t { font-size: 0.8rem; }
  .trust-item .s { font-size: 0.72rem; line-height: 1.35; }
}

/* ---- Homepage category chips (compact) ---- */
.cat-chip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  min-height: 76px;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.cat-chip:hover {
  border-color: var(--rs-sage-500);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.cat-chip-img {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--rs-stone-100);
  border: 1px solid var(--rs-stone-200);
}
.cat-chip-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-chip-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cat-chip-name {
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--rs-ink-900);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cat-chip-meta {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 500;
  color: var(--rs-ink-500);
}
@media (max-width: 980px) {
  .cat-chip-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .cat-chip-grid {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    margin-left: -32px;
    margin-right: -32px;
    padding: 0 32px 6px;
    scrollbar-width: none;
  }
  .cat-chip-grid::-webkit-scrollbar { display: none; }
  .cat-chip {
    flex: 0 0 min(260px, 74vw);
    scroll-snap-align: start;
    min-height: 72px;
    padding: 10px 12px;
  }
  .cat-chip-img { width: 48px; height: 48px; }
}
@media (max-width: 640px) {
  .cat-chip-grid {
    margin-left: -18px;
    margin-right: -18px;
    padding-left: 18px;
    padding-right: 18px;
  }
}

.promo-banner {
  background: linear-gradient(120deg, var(--rs-amber-600), var(--rs-amber-700));
  border-radius: var(--radius-lg);
  padding: 44px 48px;
  color: var(--rs-white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  overflow: hidden;
  position: relative;
}
.promo-banner h2 { color: var(--rs-white); font-size: 1.9rem; }
.promo-banner p { color: rgba(255,255,255,0.88); margin-top: 8px; max-width: 420px; }
.promo-banner .btn-dark { background: var(--rs-green-900); }
.promo-banner .btn-dark:hover { background: var(--rs-green-800); }
.promo-deco { position: absolute; right: -30px; top: -30px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,0.08); }
@media (max-width: 760px) {
  .promo-banner { flex-direction: column; text-align: center; padding: 32px 24px; align-items: stretch; }
  .promo-banner .btn { align-self: center; }
}
@media (max-width: 640px) {
  .promo-banner { padding: 28px 20px; border-radius: var(--radius-md); }
  .promo-banner h2 { font-size: 1.45rem; }
  .promo-banner p { font-size: 0.9rem; }
  .promo-banner .btn { width: 100%; align-self: stretch; }
  .promo-deco { width: 160px; height: 160px; right: -40px; top: -40px; }
}

.use-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.use-card {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  background: var(--rs-stone-200);
}
.use-card img { width: 100%; height: 100%; object-fit: cover; }
.use-card .overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(74, 95, 46, 0.85));
  display: flex; align-items: flex-end; padding: 16px;
}
.use-card .overlay span { color: var(--rs-white); font-weight: 700; font-size: 0.95rem; }
@media (max-width: 860px) { .use-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .use-strip { gap: 12px; }
  .use-card .overlay { padding: 12px; }
  .use-card .overlay span { font-size: 0.86rem; }
  .mission-card { padding: 22px 18px; }
  .section-tight .grid-products[style*="repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
}

/* ---- Our products / categories ---- */
.op-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 980px) { .op-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .op-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; } }
.op-card {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.18s, transform 0.18s, border-color 0.18s;
}
.op-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--rs-sage-500); }
.op-card .media { aspect-ratio: 4/3; background: var(--rs-stone-100); overflow: hidden; }
.op-card .media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.op-card:hover .media img { transform: scale(1.05); }
.op-card .label {
  padding: 14px 16px;
  font-weight: 600;
  font-size: 0.92rem;
  line-height: 1.35;
  color: var(--rs-ink-900);
}
.op-card .label small { display: block; font-family: var(--font-mono); font-size: 0.7rem; color: var(--rs-ink-300); margin-top: 4px; font-weight: 500; }

.page-hero { padding: 28px 0 8px; }
.page-hero .eyebrow { display: block; margin-bottom: 8px; }
.page-hero p { margin-top: 8px; color: var(--rs-ink-500); max-width: 640px; }
@media (max-width: 640px) {
  .page-hero { padding: 18px 0 4px; }
  .page-hero h1 { font-size: clamp(1.5rem, 6vw, 1.85rem); }
}

/* ---- Category listing ---- */
.listing-layout { display: grid; grid-template-columns: 260px 1fr; gap: 32px; align-items: start; }
@media (max-width: 900px) { .listing-layout { grid-template-columns: 1fr; } }
.filter-panel {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-lg);
  position: sticky;
  top: calc(var(--header-h) + 70px);
}
@media (max-width: 900px) { .filter-panel { position: static; } }
.filter-group { padding: 18px 20px; border-bottom: 1px solid var(--rs-stone-100); }
.filter-group:last-child { border-bottom: none; }
.filter-group-head { display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.filter-group-head h4 { font-size: 0.92rem; font-weight: 700; color: var(--rs-ink-900); }
.filter-group-head svg { width: 16px; height: 16px; stroke: var(--rs-ink-500); transition: transform 0.15s; }
.filter-group.collapsed .filter-group-head svg { transform: rotate(-90deg); }
.filter-group.collapsed .filter-options { display: none; }
.filter-options { margin-top: 14px; display: flex; flex-direction: column; gap: 11px; max-height: 260px; overflow-y: auto; }
.filter-opt { display: flex; align-items: flex-start; gap: 10px; font-size: 0.87rem; color: var(--rs-ink-700); cursor: pointer; }
.filter-opt input { width: 17px; height: 17px; accent-color: var(--rs-green-700); margin-top: 2px; flex-shrink: 0; }
.filter-opt-label { flex: 1; line-height: 1.4; }
.filter-opt:hover { color: var(--rs-green-800); }
.filter-opt:hover .filter-opt-label { color: var(--rs-green-800); }
.filter-actions { display: flex; gap: 8px; margin-top: 14px; }
.price-range { display: flex; gap: 10px; align-items: center; margin-top: 14px; }
.price-range input {
  width: 100%;
  height: 38px;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-sm);
  padding: 0 10px;
  font-size: 0.85rem;
  font-family: var(--font-mono);
  background: var(--rs-white);
}
.price-range .muted { color: var(--rs-ink-300); flex-shrink: 0; }
.listing-grid { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1100px) { .listing-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .listing-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 460px) { .listing-grid { grid-template-columns: 1fr 1fr; gap: 10px; } }
.listing-grid .product-card { height: 100%; }
.listing-grid .product-card .card-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.5em;
  text-decoration: none;
}
@media (max-width: 640px) {
  .listing-grid .product-card .card-title { min-height: auto; }
}
.listing-grid .product-card .card-cat {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.listing-load-more { text-align: center; margin-top: 28px; }
.listing-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--rs-ink-700);
}
.listing-empty h2 { margin-top: 16px; font-size: 1.4rem; color: var(--rs-ink-900); }
.listing-empty p { margin-top: 8px; color: var(--rs-ink-500); }
.listing-skeleton {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.listing-skeleton .sk-media {
  aspect-ratio: 1 / 0.82;
  background: linear-gradient(90deg, var(--rs-stone-100) 25%, var(--rs-stone-200) 50%, var(--rs-stone-100) 75%);
  background-size: 200% 100%;
  animation: rs-shimmer 1.2s infinite;
}
.listing-skeleton .sk-line {
  height: 14px;
  margin: 14px 16px 0;
  border-radius: 4px;
  background: var(--rs-stone-200);
}
.listing-skeleton .sk-line.short { width: 55%; margin-bottom: 18px; }
@keyframes rs-shimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}
.listing-skeleton-wrap--active {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}
@media (max-width: 1100px) {
  .listing-skeleton-wrap--active { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .listing-skeleton-wrap--active { grid-template-columns: repeat(2, 1fr); gap: 14px; }
}
@media (max-width: 460px) {
  .listing-skeleton-wrap--active { grid-template-columns: 1fr 1fr; gap: 10px; }
}
body.rs-theme .filter-from.listing-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 900px) {
  body.rs-theme .filter-from.listing-layout { grid-template-columns: 1fr; }
}
body.rs-theme .product-sectionz,
body.rs-theme #load_data.row,
body.rs-theme .our-listing .main-title,
body.rs-theme .our-listing .sidebar_accordion_widget,
body.rs-theme .allfilter-hidden-sbar-left {
  display: none !important;
}
.listing-count strong { color: var(--rs-ink-900); }
.listing-toolbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; flex-wrap: wrap; gap: 14px; }
.listing-count { font-size: 0.9rem; color: var(--rs-ink-500); }
.filter-opt .n { margin-left: auto; color: var(--rs-ink-300); font-family: var(--font-mono); font-size: 0.74rem; }
.sort-select {
  height: 42px; border: 1.5px solid var(--rs-stone-300); border-radius: var(--radius-sm);
  padding: 0 14px; font-size: 0.86rem; background: var(--rs-white); color: var(--rs-ink-900);
}
.mobile-filter-trigger { display: none; }
@media (max-width: 900px) {
  .filter-panel { display: none; }
  .filter-panel.open { display: block; }
  .mobile-filter-trigger { display: inline-flex; }
}

/* ---- Product detail ---- */
.pdp-page.shop-single-content { background: var(--rs-stone-50); padding-bottom: 48px; }
.pdp-grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1fr); gap: 48px; align-items: start; }
@media (max-width: 980px) { .pdp-grid { grid-template-columns: 1fr; gap: 28px; } }

.gallery { position: sticky; top: calc(var(--header-h) + 60px); }
@media (max-width: 980px) { .gallery { position: static; } }
.pdp-page .gallery-main {
  aspect-ratio: 1 / 0.92;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--rs-stone-100);
  border: 1px solid var(--rs-stone-200);
  position: relative;
  width: 100%;
}
.pdp-page .gallery-main .product-slider {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding-bottom: 0;
  overflow: hidden;
  z-index: 1;
}
/* Before slick init — only first slide visible, contained in aspect box */
.pdp-page .gallery-main .product-main-2:not(.slick-initialized) {
  height: 100%;
  width: 100%;
}
.pdp-page .gallery-main .product-main-2:not(.slick-initialized) > div:not(:first-child) {
  display: none;
}
.pdp-page .gallery-main .product-main-2:not(.slick-initialized) > div:first-child {
  height: 100%;
  width: 100%;
}
.pdp-page .gallery-main .product-main-2.slick-initialized,
.pdp-page .gallery-main .product-main-2 .slick-slider,
.pdp-page .gallery-main .slick-list,
.pdp-page .gallery-main .slick-track,
.pdp-page .gallery-main .slick-slide,
.pdp-page .gallery-main .slick-slide > div {
  height: 100% !important;
  min-height: 0;
}
.pdp-page .gallery-main .img-product-slider,
.pdp-page .gallery-main .slick-slide img {
  width: 100% !important;
  height: 100% !important;
  max-height: 100% !important;
  object-fit: cover;
  display: block;
}
.pdp-page .gallery-main .gal-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--rs-green-900);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.05em;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
}
.pdp-page .gallery-main .gal-wish {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.94);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-sm);
  color: var(--rs-green-900);
  text-decoration: none;
}
.pdp-page .gallery-main .gal-wish span { font-size: 1rem; line-height: 1; }
.pdp-page .gallery-thumbs {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: flex-start;
  gap: 10px;
  margin-top: 12px;
  width: 100%;
  overflow-x: auto;
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}
.pdp-page .gallery-thumbs .gallery-thumb-slide {
  flex: 0 0 auto;
}
.pdp-page .gallery-thumbs .gallery-thumb-btn {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--rs-stone-200);
  overflow: hidden;
  background: var(--rs-white);
  padding: 0;
  cursor: pointer;
  display: block;
  transition: border-color 0.15s;
}
.pdp-page .gallery-thumbs .gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 1;
  filter: none;
  border: none;
  border-radius: 0;
}
.pdp-page .gallery-thumbs .gallery-thumb-slide.is-active .gallery-thumb-btn,
.pdp-page .gallery-thumbs .gallery-thumb-btn:hover {
  border-color: var(--rs-amber-600);
}
.gallery-trust { margin-top: 22px; display: flex; flex-direction: column; gap: 12px; }
.gallery-trust-item { display: flex; gap: 10px; align-items: flex-start; font-size: 0.85rem; color: var(--rs-ink-700); line-height: 1.45; }
.gallery-trust-item svg { width: 18px; height: 18px; stroke: var(--rs-green-700); flex-shrink: 0; margin-top: 1px; }

.pdp-config-column__inner { background: transparent; border: none; box-shadow: none; padding: 0; }
.pdp-title-row .eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.pdp-title-row .pdp-product-title {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 2.6vw, 2.3rem);
  color: var(--rs-ink-900);
  line-height: 1.15;
}
.pdp-meta { display: flex; align-items: center; gap: 14px; margin-top: 10px; flex-wrap: wrap; }
.pdp-meta .muted { font-size: 0.85rem; color: var(--rs-ink-500); }
.pdp-meta .rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--rs-green-900);
}
.pdp-meta .rating-pill i { color: var(--rs-amber-600); font-size: 0.75rem; }
.pdp-price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.pdp-price-row .lbl-price .price,
.pdp-price-row .price,
.pdp-price-row #live-price {
  font-family: var(--font-mono);
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 700;
  color: var(--rs-green-900);
}
.pdp-price-row .price-note,
.pdp-price-row .inclusive { font-size: 0.84rem; color: var(--rs-ink-500); font-weight: 400; }
.pdp-price-row .strikethrough { font-size: 0.95rem; color: var(--rs-ink-300); text-decoration: line-through; margin-left: 6px; }
.pdp-price-row .discountp { font-size: 0.78rem; color: var(--rs-amber-700); margin-left: 6px; }
.pdp-desc { margin-top: 14px; color: var(--rs-ink-700); font-size: 0.95rem; line-height: 1.65; max-width: 560px; }

.config-card {
  margin-top: 24px;
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.config-perf {
  height: 0;
  border-top: 2px dashed var(--rs-stone-300);
  position: relative;
}
.config-perf::before,
.config-perf::after {
  content: "";
  position: absolute;
  top: -7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--rs-stone-50);
  border: 1px solid var(--rs-stone-200);
}
.config-perf::before { left: -8px; }
.config-perf::after { right: -8px; }
.config-section { padding: 22px 26px; border-bottom: 1px solid var(--rs-stone-100); }
.config-section:last-child { border-bottom: none; }
.config-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  gap: 10px;
}
.config-label .name { font-weight: 600; font-size: 0.92rem; color: var(--rs-ink-900); }
.config-label .help { font-family: var(--font-mono); font-size: 0.75rem; color: var(--rs-green-700); border-bottom: 1px dashed var(--rs-green-700); cursor: help; }

.shape-options { display: flex; gap: 12px; }
.shape-opt-link { flex: 1; text-decoration: none; color: inherit; }
.shape-opt {
  flex: 1;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  position: relative;
  height: 100%;
}
.shape-opt.selected { border-color: var(--rs-amber-600); background: var(--rs-amber-100); }
.shape-opt svg { width: 34px; height: 34px; stroke: var(--rs-green-800); margin: 0 auto 8px; display: block; }
.shape-opt span { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--rs-ink-700); }
.shape-opt .check {
  position: absolute; top: 8px; right: 8px; width: 18px; height: 18px; border-radius: 50%;
  background: var(--rs-amber-600); color: #fff; display: none; align-items: center; justify-content: center;
}
.shape-opt.selected .check { display: flex; }
.shape-opt .check svg { width: 11px; height: 11px; stroke: #fff; margin: 0 auto; }

.dim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .dim-row { grid-template-columns: 1fr; } }
.dim-row .field label { font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; display: block; }
.dim-row .field label .req { color: var(--rs-amber-700); }
.dim-field { position: relative; }
.dim-field input { padding-right: 48px !important; }
.dim-field .unit {
  position: absolute; right: 14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--rs-ink-300); pointer-events: none;
}
.pdp-extra-fields { margin-top: 16px; }
.pdp-extra-fields label { font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; display: block; }
.pdp-colour-field { position: relative; }
.pdp-colour-field select { padding-right: 130px; }
.pdp-colour-chart-link {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.82rem;
  color: var(--rs-green-800);
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

/* Thickness / variation tiles */
.pdp-config-column .product-packege .select-package.product_s {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
@media (max-width: 560px) {
  .pdp-config-column .product-packege .select-package.product_s { grid-template-columns: repeat(3, 1fr); }
}
.pdp-config-column .product-packege .select-package.product_s > li { margin: 0; padding: 0; }
.pdp-config-column .product-packege .form-check-input { position: absolute; opacity: 0; pointer-events: none; }
.pdp-config-column .product-packege .form-check-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 10px 6px !important;
  border: 1.5px solid var(--rs-stone-300) !important;
  border-radius: var(--radius-sm) !important;
  background: var(--rs-white) !important;
  color: var(--rs-ink-900) !important;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  text-align: center;
}
.pdp-config-column .product-packege .form-check-input:checked ~ .form-check-label {
  border-color: var(--rs-amber-600) !important;
  background: var(--rs-amber-100) !important;
}
.pdp-config-column .product-packege .form-check-label .s-price {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--rs-ink-500);
  order: 2;
  margin-top: 2px;
}
.pdp-config-column .product-packege .form-check-label .s-price::before {
  content: "from ";
}
.pdp-config-column .product-packege .form-check-label > span:last-child {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.92rem;
  order: 1;
}
.pdp-config-column .product-packege {
  padding: 0;
  border-bottom: none;
}
.pdp-config-column .product-packege.config-section {
  padding: 22px 26px;
  border-bottom: 1px solid var(--rs-stone-100);
}
.pdp-config-column .config-perf + .product-packege.config-section,
.pdp-config-column .config-section + .config-perf { margin: 0; }
.pdp-config-column .product-packege .product-title h4 {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--rs-ink-900);
  margin-bottom: 12px;
}

.pdp-dim-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 520px) { .pdp-dim-row { grid-template-columns: 1fr; } }
.pdp-dim-row .field label { font-size: 0.88rem; font-weight: 600; margin-bottom: 6px; display: block; }

.pdp-quantity-wrapper { margin: 0; }
.pdp-quantity-wrapper label { font-size: 0.92rem; font-weight: 600; margin-bottom: 10px; }
.pdp-quantity-selector,
.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}
.pdp-quantity-selector .qty-btn,
.qty-stepper button {
  width: 40px;
  height: 44px;
  border: 0;
  background: var(--rs-stone-100);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--rs-ink-700);
}
.pdp-quantity-selector .qty-input,
.qty-stepper input {
  width: 52px;
  height: 44px;
  border: none;
  border-left: 1.5px solid var(--rs-stone-300);
  border-right: 1.5px solid var(--rs-stone-300);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.95rem;
}

.config-buybar {
  padding: 22px 26px;
  background: var(--rs-sage-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}
.config-buybar .total-block .lbl {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--rs-green-700);
}
.config-buybar .total-block .amt {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--rs-green-900);
  line-height: 1.1;
}
.config-buybar .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.config-buybar .btn-add-to-cart {
  min-width: 180px;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  border-radius: var(--radius-pill);
}

.pdp-clearance-block { border-top: 1px solid var(--rs-stone-100); }
.pdp-clearance-block .config-label .pdp-clearance-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  border-radius: var(--radius-pill);
  background: var(--rs-green-800);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
}
.pdp-clearance-block .cmp-intro,
.pdp-clearance-block .cmp-intro--compact {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 8px 12px;
  background: var(--rs-sage-100);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--rs-ink-700);
}
.pdp-clearance-block .cmp-intro i { color: var(--rs-green-700); }

/* Compact table layout (no per-pack images) */
.pdp-clearance-block .cmp-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-md);
  background: var(--rs-white);
}
.pdp-clearance-block .cmp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
}
.pdp-clearance-block .cmp-table thead th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--rs-ink-500);
  padding: 10px 12px;
  background: var(--rs-stone-50);
  border-bottom: 1px solid var(--rs-stone-200);
}
.pdp-clearance-block .cmp-table tbody tr + tr td {
  border-top: 1px solid var(--rs-stone-100);
}
.pdp-clearance-block .cmp-table td {
  padding: 10px 12px;
  vertical-align: middle;
}
.pdp-clearance-block .cmp-pack-name {
  font-weight: 600;
  color: var(--rs-ink-900);
  line-height: 1.35;
}
.pdp-clearance-block .cmp-pack-specs {
  font-size: 0.78rem;
  color: var(--rs-ink-500);
  margin-top: 2px;
}
.pdp-clearance-block .cmp-price {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--rs-green-900);
  white-space: nowrap;
}
.pdp-clearance-block .cmp-price-was {
  display: block;
  font-size: 0.76rem;
  color: var(--rs-ink-300);
  margin-top: 2px;
}
.pdp-clearance-block .cmp-inline-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}
.pdp-clearance-block .cmp-qty-input {
  width: 56px;
  height: 36px;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}
.pdp-clearance-block .btn-atc {
  background: var(--rs-green-800);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}
.pdp-clearance-block .btn-atc:hover { background: var(--rs-green-900); }
.pdp-clearance-block .btn-atc--sm { padding: 8px 12px; }

/* Legacy card layout fallback (until product_detail uses pdp_clearance_hook) */
.pdp-clearance-block .cmp-card img { display: none !important; }
.pdp-clearance-block .cmp-card:has(.btn-sold) { display: none !important; }
.pdp-clearance-block .cmp-card {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-md);
  margin-bottom: 8px;
  background: var(--rs-white);
}
.pdp-clearance-block .cmp-card-body { flex: 1; min-width: 0; }
.pdp-clearance-block .cmp-card-title { font-weight: 700; font-size: 0.9rem; color: var(--rs-ink-900); }
.pdp-clearance-block .cmp-card-desc { display: none; }
.pdp-clearance-block .cmp-card-specs { font-size: 0.78rem; color: var(--rs-ink-500); margin-top: 2px; }
.pdp-clearance-block .cmp-card-price {
  font-family: var(--font-mono);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--rs-green-900);
  margin-top: 4px;
}
.pdp-clearance-block .cmp-card-price del { font-size: 0.78rem; color: var(--rs-ink-300); margin-left: 6px; }
.pdp-clearance-block .cmp-card-action { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.pdp-clearance-block .cmp-quantity label { display: none; }
.pdp-clearance-block .cmp-quantity input {
  width: 56px;
  height: 36px;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-sm);
  text-align: center;
  font-weight: 600;
}
.pdp-clearance-block .btn-sold { display: none !important; }

@media (max-width: 640px) {
  .pdp-clearance-block .cmp-table thead { display: none; }
  .pdp-clearance-block .cmp-table tbody tr {
    display: block;
    padding: 10px 12px;
    border-top: 1px solid var(--rs-stone-100);
  }
  .pdp-clearance-block .cmp-table tbody tr:first-child { border-top: none; }
  .pdp-clearance-block .cmp-table td {
    display: block;
    padding: 4px 0;
    border: none;
  }
  .pdp-clearance-block .cmp-inline-action { justify-content: flex-start; }
  .pdp-clearance-block .cmp-card { flex-wrap: wrap; }
  .pdp-clearance-block .cmp-card-action { width: 100%; justify-content: flex-end; }
}

.pdp-tabs-wrap {
  background: var(--rs-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--rs-stone-200);
  box-shadow: var(--shadow-sm);
  margin-top: 28px;
  overflow: hidden;
}
.pdp-tabs-full {
  width: 100%;
  max-width: 100%;
  margin-top: 40px;
  clear: both;
}
.pdp-tab-nav { display: flex; border-bottom: 1px solid var(--rs-stone-200); }
.pdp-tab-btn {
  padding: 14px 20px;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--rs-ink-500);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  cursor: pointer;
}
.pdp-tab-btn:hover { color: var(--rs-ink-900); background: var(--rs-stone-50); }
.pdp-tab-btn.active { color: var(--rs-green-900); border-bottom-color: var(--rs-amber-600); background: var(--rs-white); }
.pdp-tab-content { display: none; padding: 24px 26px; }
.pdp-tab-content.active { display: block; }
.pdp-overview-box {
  padding: 16px 18px;
  background: var(--rs-stone-50);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-md);
}
.pdp-overview-spec-block + .pdp-overview-spec-block { margin-top: 20px; }
.pdp-overview-spec-title { font-weight: 700; font-size: 0.95rem; color: var(--rs-ink-900); margin-bottom: 8px; }
.pdp-overview-spec-body,
.pdp-overview-description { font-size: 0.92rem; line-height: 1.65; color: var(--rs-ink-700); }

/* ---- Checkout ---- */
.checkout-grid { display: grid; grid-template-columns: 1fr 0.62fr; gap: 36px; align-items: start; }
@media (max-width: 940px) { .checkout-grid { grid-template-columns: 1fr; } }
.checkout-steps { display: flex; gap: 0; margin-bottom: 28px; align-items: center; }
.cstep { display: flex; align-items: center; gap: 10px; flex: 1; }
.cstep .dot { width: 28px; height: 28px; border-radius: 50%; background: var(--rs-green-800); color: #fff; display: grid; place-items: center; font-family: var(--font-mono); font-size: 0.78rem; font-weight: 700; flex-shrink: 0; }
.cstep.todo .dot { background: var(--rs-stone-300); color: var(--rs-ink-500); }
.cstep span.lbl { font-size: 0.86rem; font-weight: 600; color: var(--rs-ink-900); }
.cstep.todo span.lbl { color: var(--rs-ink-300); }
.cstep-line { flex: 1; height: 2px; background: var(--rs-stone-200); margin: 0 6px; }
.bag-item {
  background: var(--rs-white); border: 1px solid var(--rs-stone-200); border-radius: var(--radius-md);
  padding: 18px; display: flex; gap: 16px; margin-bottom: 14px;
}
.bag-item .thumb { width: 86px; height: 86px; border-radius: var(--radius-sm); overflow: hidden; flex-shrink: 0; background: var(--rs-stone-100); }
.bag-item .thumb img { width: 100%; height: 100%; object-fit: cover; }
.bag-item .spec-line { font-family: var(--font-mono); font-size: 0.78rem; color: var(--rs-ink-500); margin-top: 6px; }
.bag-item .price-row { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; gap: 12px; }
.bag-item .price { font-family: var(--font-mono); font-weight: 700; color: var(--rs-green-900); }
.checkout-heading { font-size: 1.4rem; margin-bottom: 6px; color: var(--rs-green-900); }
.checkout-section-title { margin: 32px 0 6px; font-size: 1.15rem; color: var(--rs-green-900); }
.checkout-sub { font-size: 0.88rem; margin-bottom: 18px; }
.checkout-bag-list { margin-bottom: 8px; }
.checkout-bag-item .info h4 { font-family: var(--font-body); font-size: 0.98rem; font-weight: 700; color: var(--rs-ink-900); }
.checkout-qty { font-size: 0.88rem; font-weight: 600; color: var(--rs-ink-700); }
.checkout-price-was { display: block; font-size: 0.78rem; color: var(--rs-ink-300); text-decoration: line-through; font-weight: 500; }
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 14px; }
@media (max-width: 600px) { .addr-grid { grid-template-columns: 1fr; } }
.addr-card {
  position: relative;
  display: block;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-md);
  padding: 18px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  background: var(--rs-white);
}
.addr-card:has(.addr-radio:checked) { border-color: var(--rs-amber-600); background: var(--rs-amber-100); }
.addr-card .addr-radio {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--rs-amber-600);
}
.addr-card .tag { display: inline-block; background: var(--rs-sage-100); color: var(--rs-green-800); font-size: 0.68rem; font-weight: 700; padding: 2px 8px; border-radius: var(--radius-sm); margin-bottom: 8px; }
.addr-card .name { font-weight: 700; color: var(--rs-ink-900); padding-right: 28px; }
.addr-card .lines { font-size: 0.86rem; color: var(--rs-ink-500); margin-top: 4px; line-height: 1.6; }
.addr-card .addr-edit-btn { margin-top: 12px; }
.addr-card-new {
  border: 1.5px dashed var(--rs-stone-300);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--rs-amber-600);
  font-weight: 600;
  cursor: pointer;
  min-height: 130px;
  background: var(--rs-white);
  width: 100%;
}
.addr-card-new svg { width: 26px; height: 26px; }
.pay-option {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-md);
  padding: 16px;
  cursor: pointer;
  margin-bottom: 0;
}
.pay-option:has(input:checked) { border-color: var(--rs-green-700); background: var(--rs-sage-100); }
.pay-option input { width: 18px; height: 18px; accent-color: var(--rs-green-700); flex-shrink: 0; margin: 0; }
.pay-option .badge-logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 0.95rem; color: var(--rs-ink-900); }
.pay-option .badge-logo img { display: block; }
.collect-opt { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 0.88rem; color: var(--rs-ink-700); cursor: pointer; }
.collect-opt input { width: 17px; height: 17px; accent-color: var(--rs-green-700); flex-shrink: 0; margin: 0; }
.checkout-pay-title { margin: 24px 0 12px; font-size: 0.95rem; font-weight: 700; color: var(--rs-ink-900); }
.checkout-vat-note { font-size: 0.76rem; margin-top: 4px; }
.checkout-trust { font-size: 0.76rem; text-align: center; margin-top: 10px; }
.checkout-saving { margin-top: 10px; padding: 10px 12px; background: var(--rs-sage-100); border-radius: var(--radius-sm); font-size: 0.86rem; color: var(--rs-green-900); text-align: center; }
.checkout-discount-row .v { color: var(--rs-green-800) !important; }
.checkout-sidebar .btn_place_order { margin-top: 22px; min-height: 48px; font-weight: 700; }
.checkout-empty { min-height: 360px; }
.rs-checkout { padding-bottom: 60px; }
.checkout-address-form { margin-top: 8px; }
.checkout-address-form .form-grid-2 { margin-bottom: 18px; }
.checkout-address-form .field label .required { color: #c0392b; }
.checkout-address-form textarea { min-height: 110px; resize: vertical; }
.checkout-address-type { margin-top: 4px; }
.checkout-address-type > label:first-child { display: block; font-weight: 600; font-size: 0.88rem; margin-bottom: 10px; color: var(--rs-ink-900); }
.checkout-type-options { display: flex; flex-wrap: wrap; gap: 18px; }
.checkout-type-options label { display: inline-flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--rs-ink-700); cursor: pointer; margin: 0; }
.checkout-type-options input[type="radio"] { width: 17px; height: 17px; accent-color: var(--rs-amber-600); margin: 0; }
.checkout-pay-note { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--rs-stone-300); border-radius: var(--radius-md); background: var(--rs-sage-100); font-size: 0.88rem; color: var(--rs-ink-700); margin-top: 4px; }
.checkout-pay-note img { height: 22px; width: auto; }

/* ---- Address drawer (offcanvas) ---- */
.rs-address-drawer {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  background: var(--rs-stone-50);
}
.rs-address-drawer__header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--rs-white);
  border-bottom: 1px solid var(--rs-stone-200);
  position: sticky;
  top: 0;
  z-index: 3;
}
.rs-address-drawer__back {
  width: 38px;
  height: 38px;
  border: 1px solid var(--rs-stone-200);
  border-radius: 50%;
  background: var(--rs-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--rs-ink-700);
  padding: 0;
  flex-shrink: 0;
}
.rs-address-drawer__back svg { width: 18px; height: 18px; }
.rs-address-drawer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--rs-green-900);
}
.rs-address-drawer__body {
  flex: 1;
  padding: 20px;
  padding-bottom: 100px;
  overflow-y: auto;
}
.rs-address-drawer__body .field { margin-bottom: 16px; }
.rs-address-drawer__body .field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rs-ink-700);
  margin-bottom: 6px;
}
.rs-address-drawer__body .field label .required { color: #c0392b; }
.rs-address-drawer__body .form-control,
.rs-address-drawer__body select.form-control {
  width: 100%;
  min-height: 48px;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-sm);
  background: var(--rs-white);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--rs-ink-900);
  box-shadow: none;
}
.rs-address-drawer__body .form-control:focus,
.rs-address-drawer__body select.form-control:focus {
  border-color: var(--rs-green-600);
  outline: none;
}
.rs-address-drawer__footer {
  position: sticky;
  bottom: 0;
  padding: 16px 20px;
  background: var(--rs-white);
  border-top: 1px solid var(--rs-stone-200);
  margin-top: auto;
}
.rs-address-drawer__footer .btn {
  min-height: 48px;
  font-weight: 700;
  border-radius: var(--radius-pill);
}
.rs-type-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}
.rs-type-pill {
  margin: 0;
  cursor: pointer;
}
.rs-type-pill input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.rs-type-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-pill);
  background: var(--rs-white);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--rs-ink-700);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.rs-type-pill:has(input:checked) span {
  border-color: var(--rs-green-700);
  background: var(--rs-sage-100);
  color: var(--rs-green-800);
}

/* ---- Contact ---- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  background: var(--rs-green-900);
  border-radius: var(--radius-lg);
  padding: 36px 30px;
  color: #fff;
}
.contact-info-card h2 { color: #fff; font-size: 1.5rem; }
.contact-info-card p.lead { color: var(--rs-sage-300); margin-top: 10px; font-size: 0.92rem; }
.contact-method { display: flex; gap: 14px; align-items: flex-start; margin-top: 26px; }
.contact-method .ic { width: 42px; height: 42px; border-radius: var(--radius-sm); background: rgba(255,255,255,0.08); display: grid; place-items: center; flex-shrink: 0; }
.contact-method .ic svg { width: 19px; height: 19px; stroke: var(--rs-amber-500); }
.contact-method .lbl { font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--rs-sage-500); }
.contact-method .val { font-weight: 600; margin-top: 2px; color: #fff; }
.contact-method .sub { font-size: 0.82rem; color: var(--rs-sage-300); margin-top: 2px; }
.contact-socials { display: flex; gap: 10px; margin-top: 30px; }
.contact-socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.08); display: grid; place-items: center; }
.contact-socials svg { width: 17px; height: 17px; stroke: #fff; }
.contact-form-card {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-lg);
  padding: 36px;
}
.form-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 520px) { .form-grid-2 { grid-template-columns: 1fr; } }

/* ---- About ---- */
.about-hero {
  background: var(--rs-green-900);
  border-radius: 0 0 28px 28px;
  padding: 60px 0 70px;
  color: #fff;
  text-align: center;
}
.about-hero h1 { color: #fff; font-size: clamp(2rem, 4vw, 2.8rem); }
.about-hero p { color: var(--rs-sage-300); max-width: 560px; margin: 16px auto 0; }
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }
@media (max-width: 760px) { .mission-grid { grid-template-columns: 1fr; } }
.mission-card {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-lg);
  padding: 32px;
}
.stats-band {
  background: var(--rs-sage-100);
  border-radius: var(--radius-lg);
  padding: 44px 32px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}
@media (max-width: 760px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }
.stats-band .num { font-family: var(--font-mono); font-weight: 700; font-size: 2.4rem; color: var(--rs-green-900); }
.stats-band .lbl { font-size: 0.86rem; color: var(--rs-ink-700); margin-top: 4px; }

/* ---- Mobile nav panel ---- */
.mobile-nav-panel {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(18, 40, 33, 0.45);
  display: none;
}
.mobile-nav-panel.open { display: block; }
.mobile-nav-sheet {
  position: absolute;
  top: 0; right: 0;
  width: min(320px, 88vw);
  height: 100%;
  background: var(--rs-stone-50);
  padding: 20px;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}
.mobile-nav-sheet a {
  display: block;
  padding: 14px 12px;
  border-bottom: 1px solid var(--rs-stone-200);
  font-weight: 500;
  color: var(--rs-ink-700);
}
.mobile-nav-sheet a:hover { color: var(--rs-green-800); background: var(--rs-sage-100); }
.mobile-nav-close {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}
.mobile-nav-close button {
  width: 40px; height: 40px;
  border: none;
  background: var(--rs-stone-200);
  border-radius: var(--radius-md);
}

/* ---- Side cart drawer ---- */
.rs-cart-drawer {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
}
.rs-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px 16px;
  border-bottom: 1px solid var(--rs-stone-200);
  background: var(--rs-white);
  position: sticky;
  top: 0;
  z-index: 3;
}
.rs-cart-drawer__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--rs-green-900);
}
.rs-cart-drawer__close {
  width: 38px;
  height: 38px;
  border: 1px solid var(--rs-stone-200);
  border-radius: 50%;
  background: var(--rs-white);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--rs-ink-700);
  flex-shrink: 0;
  padding: 0;
}
.rs-cart-drawer__close svg { width: 16px; height: 16px; }
.rs-cart-drawer__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}
.rs-cart-scroll {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 8px;
}
.rs-cart-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.rs-cart-item { margin-bottom: 12px; }
.rs-cart-item__card {
  position: relative;
  margin-bottom: 0;
  padding: 14px 44px 14px 14px;
}
.rs-cart-item__card .info { flex: 1; min-width: 0; }
.rs-cart-item__title {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--rs-ink-900);
  line-height: 1.3;
}
.rs-cart-item__card .price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  flex-wrap: wrap;
}
.rs-cart-drawer .quantity-block {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--rs-stone-300);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--rs-white);
}
.rs-cart-drawer .quantity-block button {
  width: 34px;
  height: 36px;
  border: 0;
  background: var(--rs-stone-100);
  color: var(--rs-ink-700);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1;
}
.rs-cart-drawer .quantity-block .quantity-num {
  width: 40px;
  min-width: 40px;
  max-width: 40px;
  height: 36px;
  border: 0;
  border-left: 1.5px solid var(--rs-stone-300);
  border-right: 1.5px solid var(--rs-stone-300);
  text-align: center;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0;
  color: var(--rs-ink-900);
  background: var(--rs-white);
  line-height: 36px;
}
.rs-cart-drawer .quantity-block button {
  position: static;
  left: auto;
  right: auto;
  top: auto;
}
.rs-cart-item__price {
  text-align: right;
  margin-left: auto;
}
.rs-cart-item__price-main {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1rem;
  color: var(--rs-green-900);
}
.rs-cart-item__price-was {
  display: block;
  font-size: 0.78rem;
  color: var(--rs-ink-300);
  text-decoration: line-through;
}
.rs-cart-item__remove {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border: none;
  background: var(--rs-stone-100);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--rs-ink-500);
  cursor: pointer;
  padding: 0;
}
.rs-cart-item__remove:hover { background: var(--rs-stone-200); color: var(--rs-ink-900); }
.rs-cart-item__remove svg { width: 14px; height: 14px; }
.rs-cart-hole-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--rs-green-800);
  text-decoration: underline;
  font-size: inherit;
  cursor: pointer;
}
.rs-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 24px;
  min-height: 280px;
}
.rs-cart-empty__icon {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--rs-sage-100);
  display: grid;
  place-items: center;
  margin-bottom: 4px;
  flex-shrink: 0;
}
.rs-cart-empty__icon svg {
  width: 38px;
  height: 38px;
  color: var(--rs-green-800);
}
.rs-cart-empty h3 {
  margin: 16px 0 8px;
  font-size: 1.2rem;
  color: var(--rs-ink-900);
}
.rs-cart-empty p {
  margin: 0 0 20px;
  color: var(--rs-ink-500);
  font-size: 0.92rem;
  max-width: 260px;
}
.rs-cart-drawer__footer {
  margin-top: auto;
  padding: 0 18px 18px;
  background: var(--rs-stone-50);
  border-top: 1px solid var(--rs-stone-200);
}
.rs-cart-saving {
  margin: 14px 0 0;
  padding: 10px 14px;
  background: var(--rs-sage-100);
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  color: var(--rs-green-900);
  text-align: center;
}
.rs-cart-summary { margin-top: 14px; }
.rs-cart-summary .ticket-body { padding-bottom: 18px; }
.rs-cart-vat-note {
  font-size: 0.78rem;
  margin: 4px 0 16px;
}
.rs-cart-was {
  text-decoration: line-through;
  color: var(--rs-ink-300) !important;
}
.rs-cart-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 8px;
}
.rs-cart-actions .btn-block {
  width: 100%;
  justify-content: center;
  min-height: 48px;
  font-weight: 700;
}
.rs-cart-guest-btn {
  border-color: var(--rs-stone-300) !important;
  color: var(--rs-ink-700) !important;
}
.rs-cart-trust {
  margin: 12px 0 0;
  text-align: center;
  font-size: 0.78rem;
  color: var(--rs-ink-500);
}
.bag-item .price-row .spec-line { margin-top: 0; }

/* ---- Order confirmation ---- */
.rs-order-confirm {
  padding: 20px 0 80px;
}
.confirm-wrap {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 0 20px;
  text-align: center;
}
.confirm-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--rs-sage-100);
  display: grid;
  place-items: center;
  margin: 0 auto 24px;
}
.confirm-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--rs-green-700);
}
.confirm-icon--failed {
  background: #fdecea;
}
.confirm-icon--failed svg {
  stroke: #c0392b;
}
.confirm-wrap h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 1.9rem);
  color: var(--rs-green-900);
  line-height: 1.15;
}
.confirm-wrap p.lead {
  color: var(--rs-ink-500);
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.confirm-id {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--rs-stone-100);
  border: 1px dashed var(--rs-stone-300);
  border-radius: var(--radius-pill);
  padding: 8px 18px;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--rs-ink-700);
}
.confirm-next {
  display: flex;
  gap: 14px;
  justify-content: center;
  margin-top: 36px;
  flex-wrap: wrap;
}
.confirm-next .btn {
  min-width: 160px;
  justify-content: center;
}
.confirm-steps {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.confirm-step {
  text-align: center;
  max-width: 140px;
}
.confirm-step .ic {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--rs-stone-100);
  display: grid;
  place-items: center;
  margin: 0 auto 10px;
}
.confirm-step .ic svg {
  width: 19px;
  height: 19px;
  stroke: var(--rs-green-800);
}
.confirm-step span {
  font-size: 0.82rem;
  color: var(--rs-ink-700);
  font-weight: 600;
}
@media (max-width: 520px) {
  .confirm-steps { gap: 20px; }
  .confirm-step { max-width: 120px; }
}

/* ============================================================
   ACCOUNT PAGES (orders, profile, wishlist, addresses)
   ============================================================ */
.rs-account-page {
  padding: 8px 0 60px;
}
.rs-account-heading {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--rs-green-900);
  margin-bottom: 20px;
}
.rs-account-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.order-row {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin-bottom: 16px;
}
.order-row .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 10px;
}
.order-row .head .meta {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  color: var(--rs-ink-500);
}
.order-row .head .meta strong {
  color: var(--rs-ink-900);
}
.order-line {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-top: 1px dashed var(--rs-stone-200);
}
.order-line .thumb {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--rs-stone-100);
  flex-shrink: 0;
}
.order-line .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-line .info h4 {
  font-size: 0.92rem;
  margin: 0;
  color: var(--rs-ink-900);
}
.order-line .info .qty {
  font-size: 0.78rem;
  color: var(--rs-ink-500);
  margin-top: 2px;
}
.order-row__foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--rs-stone-100);
  flex-wrap: wrap;
  gap: 12px;
  background: transparent;
  width: auto;
  height: auto;
  line-height: normal;
  font-weight: inherit;
  box-sizing: border-box;
}
.order-row__foot .total {
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--rs-green-900);
}
.profile-card {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-lg);
  padding: 30px;
}
.profile-card .head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  gap: 16px;
  flex-wrap: wrap;
}
.profile-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--rs-stone-100);
}
.profile-row:last-child {
  border-bottom: none;
}
.profile-row .k {
  font-size: 0.85rem;
  color: var(--rs-ink-500);
}
.profile-row .v {
  font-weight: 600;
  color: var(--rs-ink-900);
  text-align: right;
}
.wishlist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.addr-list-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.addr-list-card {
  background: var(--rs-white);
  border: 1px solid var(--rs-stone-200);
  border-radius: var(--radius-md);
  padding: 20px;
}
.addr-list-card .tag {
  display: inline-block;
  background: var(--rs-sage-100);
  color: var(--rs-green-800);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
}
.addr-list-card .name {
  font-weight: 700;
  color: var(--rs-ink-900);
}
.addr-list-card .lines {
  font-size: 0.86rem;
  color: var(--rs-ink-500);
  margin-top: 6px;
  line-height: 1.7;
}
.addr-list-card .actions {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.btn-danger-outline {
  color: var(--rs-red-600) !important;
  border-color: var(--rs-red-100) !important;
}
.btn-danger-outline:hover {
  border-color: var(--rs-red-600) !important;
  color: var(--rs-red-600) !important;
}
.rs-pagination {
  margin-top: 8px;
}
.rs-pagination .pagination {
  justify-content: flex-end;
  gap: 6px;
  margin: 0;
}
.rs-pagination .page-link {
  border-radius: var(--radius-sm);
  color: var(--rs-ink-700);
  border-color: var(--rs-stone-200);
}
.rs-pagination .page-item.active .page-link {
  background: var(--rs-green-800);
  border-color: var(--rs-green-800);
}
@media (max-width: 980px) {
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .wishlist-grid { grid-template-columns: repeat(2, 1fr); }
  .addr-list-grid { grid-template-columns: 1fr; }
  .profile-row { flex-direction: column; gap: 4px; }
  .profile-row .v { text-align: left; }
}
@media (max-width: 520px) {
  .wishlist-grid { grid-template-columns: 1fr; }
}

/* Order detail page */
.rs-order-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.progress-track {
  display: flex;
  align-items: center;
  margin: 26px 0 30px;
}
.progress-track .step {
  flex: 1;
  text-align: center;
  position: relative;
}
.progress-track .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--rs-stone-300);
  margin: 0 auto 8px;
  position: relative;
  z-index: 2;
}
.progress-track .step.done .dot {
  background: var(--rs-amber-600);
}
.progress-track .step .lbl {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--rs-ink-500);
}
.progress-track .step.done .lbl {
  color: var(--rs-ink-900);
}
.progress-track .bar {
  position: absolute;
  top: 8px;
  left: -50%;
  right: 50%;
  height: 2px;
  background: var(--rs-stone-300);
  z-index: 1;
}
.progress-track .step.done .bar {
  background: var(--rs-amber-600);
}
.progress-track .step:first-child .bar {
  display: none;
}
.progress-track--cancelled {
  max-width: 420px;
}
.rs-refund-note {
  margin: -12px 0 24px;
  font-size: 0.9rem;
  color: var(--rs-ink-700);
}
.order-detail-grid {
  display: grid;
  grid-template-columns: 1fr 0.55fr;
  gap: 32px;
  align-items: start;
  margin-top: 8px;
}
.rs-order-products {
  padding: 22px !important;
}
.rs-order-section-title {
  font-size: 1rem;
  margin: 0 0 6px;
  color: var(--rs-green-900);
}
.order-product-line {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid var(--rs-stone-100);
}
.order-product-line:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.order-product-line .thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--rs-stone-100);
  flex-shrink: 0;
}
.order-product-line .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.order-product-line .info {
  flex: 1;
  min-width: 0;
}
.order-product-line .info h4 {
  font-size: 0.95rem;
  margin: 0;
  color: var(--rs-ink-900);
}
.order-product-line .spec {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--rs-ink-500);
  margin-top: 4px;
}
.order-product-line .price {
  margin-left: auto;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--rs-green-900);
  white-space: nowrap;
}
.addr-block {
  font-size: 0.88rem;
  color: var(--rs-ink-700);
  line-height: 1.7;
  margin-top: 16px;
}
.addr-block:first-of-type {
  margin-top: 0;
}
.addr-block strong {
  display: block;
  color: var(--rs-ink-900);
  margin-bottom: 4px;
}
.rs-order-detail-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}
@media (max-width: 860px) {
  .order-detail-grid { grid-template-columns: 1fr; }
  .order-product-line { flex-wrap: wrap; }
  .order-product-line .price { margin-left: 86px; }
}

/* ============================================================
   PRODUCT DETAIL — mobile
   ============================================================ */
@media (max-width: 980px) {
  .pdp-page.shop-single-content {
    padding-top: 8px !important;
    padding-bottom: 36px !important;
  }
  .pdp-page .pdp-gallery-col {
    margin-bottom: 12px !important;
  }
  .pdp-page .gallery-main {
    aspect-ratio: 1 / 1;
    border-radius: var(--radius-md);
  }
  .pdp-page .gallery-main .gal-badge {
    top: 10px;
    left: 10px;
    font-size: 0.62rem;
    padding: 5px 9px;
  }
  .pdp-page .gallery-main .gal-wish {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
  .pdp-page .gallery-thumbs {
    margin-top: 10px;
    gap: 8px;
  }
  .pdp-page .gallery-thumbs .gallery-thumb-btn {
    width: 56px;
    height: 56px;
  }
  .pdp-page .gallery-trust {
    display: none;
  }
  .pdp-title-row .pdp-product-title {
    font-size: clamp(1.45rem, 5.5vw, 1.85rem);
    margin-top: 8px;
  }
  .pdp-meta { gap: 8px; margin-top: 8px; }
  .pdp-price-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin-top: 14px;
  }
  .pdp-desc {
    font-size: 0.9rem;
    margin-top: 12px;
  }
  .pdp-page .config-card {
    margin-top: 16px;
    border-radius: var(--radius-md);
  }
  .pdp-page .config-section,
  .pdp-config-column .product-packege.config-section {
    padding: 16px 18px;
  }
  .pdp-page .shape-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .pdp-page .shape-opt-link {
    display: block;
    min-width: 0;
  }
  .pdp-page .shape-opt {
    min-height: 108px;
    padding: 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .pdp-page .shape-opt svg {
    width: 30px;
    height: 30px;
    margin-bottom: 6px;
  }
  .pdp-page .config-buybar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px 18px;
    position: sticky;
    bottom: 0;
    z-index: 40;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: 0 -4px 18px rgba(74, 95, 46, 0.1);
  }
  .pdp-page .config-buybar .actions {
    width: 100%;
  }
  .pdp-page .config-buybar .actions .cart_btns {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .pdp-page .config-buybar .btn-add-to-cart {
    width: 100%;
    min-width: 0;
    height: 48px;
  }
  .pdp-page .config-buybar .total-block .amt {
    font-size: 1.45rem;
  }
  .pdp-tabs-wrap {
    margin-top: 20px;
    border-radius: var(--radius-md);
  }
  .pdp-tab-nav {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .pdp-tab-nav::-webkit-scrollbar { display: none; }
  .pdp-tab-btn {
    padding: 12px 16px;
    font-size: 0.84rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .pdp-tab-content {
    padding: 18px 16px;
  }
  .pdp-page .back-to-top {
    bottom: 88px;
  }
}

@media (max-width: 640px) {
  body.rs-theme.p-details .rs-breadcrumb-wrap {
    padding-top: 8px;
    padding-bottom: 0;
  }
  .pdp-config-column .product-packege .select-package.product_s {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .pdp-config-column .product-packege .form-check-label {
    min-height: 52px;
    padding: 8px 4px !important;
  }
  .pdp-dim-row,
  .pdp-page .dim-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .pdp-quantity-selector,
  .pdp-page .qty-stepper {
    width: 100%;
    justify-content: space-between;
  }
  .pdp-quantity-selector .qty-input,
  .pdp-page .qty-stepper input {
    flex: 1;
    width: auto;
  }
}

@media (max-width: 420px) {
  .pdp-page .shape-options {
    grid-template-columns: 1fr;
  }
}
