:root {
      --bg: #0c0d0c;
      --text: #f7efe4;
      --muted: #b9ad9b;
      --gold: #c99a53;
      --gold2: #f2cb82;
      --btn-brass: #b8793c;
      --btn-brass-hover: #c98f4a;
      --btn-brass-active: #8e5f31;
      --btn-ink: #130e09;
      --cream: #efe2cf;
      --warm-panel: rgba(35, 31, 25, .62);
      --line: rgba(201, 154, 83, .22);
      --panel: rgba(18, 21, 21, .76);
      --shadow: 0 24px 70px rgba(0, 0, 0, .38);
    }

    * { box-sizing: border-box; }
    html {
      scroll-behavior: smooth;
      scroll-snap-type: y proximity;
      scroll-padding-top: 76px;
    }

    body {
      margin: 0;
      font-family: 'IRANYekan', 'IRYekan', Tahoma, Arial, sans-serif !important;
      background:
        radial-gradient(circle at 15% 8%, rgba(201, 154, 83, .12), transparent 26%),
        radial-gradient(circle at 85% 12%, rgba(239, 226, 207, .075), transparent 28%),
        linear-gradient(180deg, #10110f 0%, #0b0d0e 52%, #11100d 100%);
      color: var(--text);
      overflow-x: hidden;
      text-align: right;
    }

    a { color: inherit; text-decoration: none; }
    img { display: block; max-width: 100%; }
    button, input, select, textarea { font-family: inherit !important; }

    .btn-gold,
    .btn-ghost {
      min-height: 40px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 7px;
      padding: 0 14px;
      border-radius: 10px;
      font-size: .86rem;
      font-weight: 750;
      white-space: nowrap;
      border: 1px solid transparent;
      cursor: pointer;
      transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease, background .18s ease;
    }

    .btn-compact {
      min-height: 32px;
      padding: 0 10px;
      border-radius: 8px;
      font-size: .72rem;
      font-weight: 750;
    }

    .btn-gold {
      color: var(--btn-ink);
      border-color: rgba(242, 203, 130, .26);
      background: var(--btn-brass);
      box-shadow: 0 12px 26px rgba(0, 0, 0, .22), inset 0 1px 0 rgba(255, 255, 255, .18);
    }

    .btn-ghost {
      color: #f0d4aa;
      border-color: rgba(184, 121, 60, .45);
      background: rgba(184, 121, 60, .08);
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .026);
    }

    .btn-gold:hover,
    .btn-ghost:hover {
      transform: translateY(-1px);
    }

    .btn-gold:hover {
      color: var(--btn-ink);
      border-color: rgba(242, 203, 130, .42);
      background: var(--btn-brass-hover);
      box-shadow: 0 16px 34px rgba(0, 0, 0, .26), inset 0 1px 0 rgba(255, 255, 255, .24);
    }

    .btn-ghost:hover {
      color: #ffe2b2;
      border-color: rgba(201, 143, 74, .68);
      background: rgba(184, 121, 60, .16);
      box-shadow: 0 12px 28px rgba(0, 0, 0, .20), inset 0 0 0 1px rgba(242, 203, 130, .06);
    }

    .btn-gold:active,
    .btn-ghost:active {
      transform: translateY(1px);
    }

    .btn-gold:active {
      background: var(--btn-brass-active);
      box-shadow: inset 0 2px 8px rgba(0, 0, 0, .22);
    }

    .btn-ghost:active {
      background: rgba(142, 95, 49, .22);
      border-color: rgba(201, 143, 74, .75);
    }

    .btn-gold:focus-visible,
    .btn-ghost:focus-visible {
      outline: 2px solid rgba(242, 203, 130, .72);
      outline-offset: 3px;
    }

    .btn-gold:disabled,
    .btn-ghost:disabled,
    .btn-gold.disabled,
    .btn-ghost.disabled,
    .btn-gold[aria-disabled="true"],
    .btn-ghost[aria-disabled="true"] {
      opacity: .48;
      pointer-events: none;
      transform: none;
      box-shadow: none;
    }

    .site-header {
      position: fixed;
      inset: 0 0 auto;
      z-index: 1030;
      background: linear-gradient(180deg, rgba(5, 6, 7, .96), rgba(10, 13, 15, .82));
      border-bottom: 1px solid rgba(201, 154, 83, .22);
      backdrop-filter: blur(20px);
      box-shadow: 0 18px 60px rgba(0, 0, 0, .35);
    }

    .navbar { min-height: 76px; }
    .navbar-brand { gap: 12px; margin: 0; color: var(--text) !important; }

    .brand-mark {
      width: 42px;
      height: 42px;
      display: grid;
      place-items: center;
      border-radius: 14px;
      color: #111;
      font-weight: 950;
      background: linear-gradient(135deg, var(--gold2), var(--gold));
      box-shadow: 0 0 34px rgba(201, 154, 83, .25);
    }

    .brand-title { font-size: .98rem; font-weight: 950; line-height: 1.4; }
    .brand-sub { display: block; direction: ltr; text-align: right; color: var(--muted); font-size: .68rem; letter-spacing: .7px; }

    .navbar .nav-link {
      color: #d7cfbf !important;
      border-radius: 999px;
      padding: .6rem .78rem !important;
      font-size: .88rem;
      transition: .22s ease;
    }

    .navbar .nav-link:hover,
    .navbar .nav-link.active { color: var(--gold2) !important; background: rgba(201, 154, 83, .12); }

    .navbar-toggler { border: 1px solid rgba(201, 154, 83, .34); box-shadow: none !important; }
    .navbar-toggler-icon { filter: invert(1) sepia(.75); }

    .section {
      position: relative;
      overflow: hidden;
      min-height: 100svh;
      display: flex;
      align-items: center;
      padding: 72px 0;
      border-top: 1px solid rgba(201, 154, 83, .12);
      isolation: isolate;
      scroll-snap-align: start;
      scroll-snap-stop: normal;
    }

    footer {
      scroll-snap-align: end;
      scroll-snap-stop: always;
    }

    .section::before,
    .section::after {
      content: "";
      position: absolute;
      z-index: -1;
      pointer-events: none;
    }

    .section::before { inset: 0; }

    .section > .container {
      position: relative;
      z-index: 2;
      transition: transform .72s cubic-bezier(.22, 1, .36, 1), opacity .72s ease, filter .72s ease;
    }

    .section:not(.is-active) > .container {
      opacity: .72;
      transform: translateY(18px) scale(.985);
      filter: blur(.3px);
    }

    .section.is-active > .container {
      opacity: 1;
      transform: translateY(0) scale(1);
      filter: blur(0);
    }

    .section::after {
      inset: -30%;
      opacity: .14;
      background: repeating-radial-gradient(circle at 70% 30%, transparent 0 14px, rgba(201, 154, 83, .15) 15px, transparent 16px);
    }

    .bg-product-hero::before {
      background:
        linear-gradient(135deg, rgba(17, 18, 15, .72), rgba(27, 29, 27, .68), rgba(18, 16, 13, .76));
      filter: saturate(.9) contrast(1.04);
    }

    .hero-bg-dynamic {
      position: absolute;
      inset: 0;
      z-index: -1;
      overflow: hidden;
      pointer-events: none;
    }

    .hero-bg-dynamic img {
      position: absolute;
      inset: 0;
      width: 100%;
      height: 100%;
      object-fit: cover;
      opacity: 0;
      filter: blur(10px) saturate(1.02) contrast(1.04);
      transform: scale(1.12);
      transition:
        opacity .95s ease,
        transform 1.25s ease,
        filter .95s ease;
    }

    .hero-bg-dynamic img.active {
      opacity: .72;
      filter: blur(8px) saturate(1.08) contrast(1.08);
      transform: scale(1.06);
    }

    .hero-bg-dynamic img.leaving {
      opacity: .18;
      filter: blur(15px) saturate(.9) contrast(1.02);
      transform: scale(1.14);
    }

    .bg-product-hero::after {
      inset: 0;
      z-index: -1;
      opacity: 1;
      background:
        radial-gradient(circle at 18% 20%, rgba(201, 154, 83, .16), transparent 28%),
        linear-gradient(90deg, rgba(16, 15, 12, .56), rgba(16, 16, 14, .22), rgba(16, 15, 12, .58));
      backdrop-filter: blur(4px);
    }

    

    .bg-texture {
      align-items: flex-start;
      padding-top: 112px;
      padding-bottom: 64px;
    }

    .bg-calculator {
      align-items: center;
      padding-top: 92px;
      padding-bottom: 70px;
    }

    .bg-calculator::before {
      background:
        linear-gradient(145deg, rgba(8, 9, 9, .82), rgba(24, 23, 19, .72), rgba(8, 8, 7, .84)),
        url('https://images.unsplash.com/photo-1600566752355-35792bedcfea?auto=format&fit=crop&w=1600&q=70') center / cover;
      filter: blur(8px) saturate(1.05) contrast(1.04);
      transform: scale(1.06);
      opacity: .84;
    }

    .bg-calculator::after {
      inset: 0;
      opacity: 1;
      background:
        radial-gradient(circle at 20% 24%, rgba(201, 154, 83, .14), transparent 26%),
        linear-gradient(90deg, rgba(5, 6, 6, .68), rgba(14, 14, 12, .34), rgba(5, 6, 6, .72));
      backdrop-filter: blur(3px);
    }

    .bg-texture::before {
      background:
        linear-gradient(145deg, rgba(5, 6, 7, .84), rgba(15, 17, 17, .76), rgba(7, 7, 6, .86)),
        url('https://images.unsplash.com/photo-1600566753376-12c8ab7fb75b?auto=format&fit=crop&w=1600&q=70') center / cover;
      filter: blur(7px) saturate(1.02) contrast(1.05);
      transform: scale(1.06);
      opacity: .82;
    }

    .bg-texture::after {
      inset: 0;
      opacity: 1;
      background:
        radial-gradient(circle at 74% 25%, rgba(201, 154, 83, .1), transparent 24%),
        radial-gradient(circle at 18% 72%, rgba(239, 226, 207, .045), transparent 26%),
        linear-gradient(90deg, rgba(4, 5, 5, .66), rgba(10, 11, 10, .42), rgba(4, 5, 5, .68));
      backdrop-filter: blur(2px);
    }

    .spec-section {
      position: relative;
      clear: both;
      padding-top: 78px;
      padding-bottom: 78px;
      border-top: 1px solid rgba(201, 154, 83, .22);
    }

    .bg-specs::before {
      background:
        linear-gradient(160deg, rgba(17, 18, 15, .72), rgba(26, 28, 27, .62), rgba(17, 16, 13, .76)),
        url('https://images.unsplash.com/photo-1600566753376-12c8ab7fb75b?auto=format&fit=crop&w=1600&q=70') center / cover;
      filter: blur(10px) saturate(1.05) contrast(1.04);
      transform: scale(1.08);
      opacity: .82;
    }

    .bg-specs::after {
      inset: 0;
      opacity: 1;
      background:
        radial-gradient(circle at 72% 72%, rgba(201, 154, 83, .14), transparent 26%),
        radial-gradient(circle at 18% 20%, rgba(239, 226, 207, .08), transparent 28%),
        linear-gradient(90deg, rgba(15, 14, 12, .66), rgba(17, 17, 15, .34), rgba(15, 14, 12, .68));
      backdrop-filter: blur(5px);
    }

    .page-hero {
      padding-top: 108px;
      padding-bottom: 58px;
    }

    .breadcrumb-mini {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      align-items: center;
      margin-bottom: 18px;
      color: var(--muted);
      font-size: .84rem;
    }

    .breadcrumb-mini a { color: #d5c8b7; }
    .breadcrumb-mini span { color: rgba(255, 255, 255, .28); }

    .product-shell {
      position: relative;
      overflow: hidden;
      border: 1px solid rgba(201, 154, 83, .2);
      border-radius: 28px;
      background: linear-gradient(145deg, rgba(17, 22, 25, .62), rgba(8, 10, 11, .76));
      box-shadow: 0 22px 70px rgba(0, 0, 0, .38);
    }

    .product-shell::before {
      content: "";
      position: absolute;
      inset: 0;
      pointer-events: none;
      background:
        radial-gradient(circle at 15% 20%, rgba(242, 203, 130, .16), transparent 25%),
        radial-gradient(circle at 84% 78%, rgba(255, 255, 255, .05), transparent 24%);
    }

    .gallery-panel,
    .product-info-panel {
      position: relative;
      z-index: 1;
      height: 100%;
      padding: 22px;
    }

    .product-info-panel {
      display: flex;
      flex-direction: column;
      justify-content: center;
    }

    .main-render {
      position: relative;
      overflow: hidden;
      min-height: 390px;
      border: 1px solid rgba(201, 154, 83, .18);
      border-radius: 24px;
      background: #111;
      box-shadow: 0 18px 54px rgba(0, 0, 0, .32);
    }

    .main-render img {
      width: 100%;
      cursor: zoom-in;
      height: 390px;
      object-fit: cover;
      opacity: .94;
      transform: scale(1.01);
      transition: opacity .28s ease, transform .36s ease, filter .36s ease;
    }

    .main-render.changing img { opacity: .15; transform: scale(1.045); filter: blur(3px); }

    .zoom-hint {
      position: absolute;
      top: 18px;
      left: 18px;
      z-index: 2;
      display: inline-flex;
      align-items: center;
      gap: 7px;
      padding: 8px 12px;
      color: #f4e8d8;
      border: 1px solid rgba(255, 255, 255, .12);
      border-radius: 999px;
      background: rgba(5, 6, 7, .54);
      backdrop-filter: blur(10px);
      font-size: .76rem;
      pointer-events: none;
      opacity: .84;
      transition: .24s ease;
    }

    .main-render:hover .zoom-hint {
      opacity: 1;
      border-color: rgba(242, 203, 130, .5);
      color: var(--gold2);
    }

    .render-lightbox .modal-dialog {
      max-width: min(1180px, calc(100vw - 28px));
    }

    .render-lightbox .modal-content {
      overflow: hidden;
      color: var(--text);
      border: 1px solid rgba(201, 154, 83, .28);
      border-radius: 26px;
      background: linear-gradient(145deg, rgba(14, 16, 16, .98), rgba(34, 30, 24, .95));
      box-shadow: 0 34px 110px rgba(0, 0, 0, .65);
    }

    .render-lightbox .modal-header {
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .render-lightbox-title {
      color: var(--gold2);
      font-size: 1rem;
      font-weight: 900;
    }

    .lightbox-img-wrap {
      position: relative;
      background: #070808;
    }

    .lightbox-img-wrap img {
      width: 100%;
      max-height: 78vh;
      object-fit: contain;
      background: #070808;
    }

    .lightbox-caption {
      padding: 13px 18px;
      color: #d6cbbb;
      text-align: right;
      border-top: 1px solid rgba(255, 255, 255, .08);
      font-size: .86rem;
      line-height: 1.8;
    }

    .render-badge {
      position: absolute;
      top: 18px;
      right: 18px;
      z-index: 2;
      padding: 8px 13px;
      color: var(--gold2);
      border: 1px solid rgba(201, 154, 83, .42);
      border-radius: 999px;
      background: rgba(5, 6, 7, .62);
      backdrop-filter: blur(10px);
      font-size: .82rem;
      font-weight: 800;
    }

    .render-actions {
      position: absolute;
      bottom: 14px;
      left: 14px;
      right: 14px;
      z-index: 2;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 12px;
      border: 1px solid rgba(255, 255, 255, .08);
      border-radius: 16px;
      background: rgba(5, 6, 7, .58);
      backdrop-filter: blur(14px);
    }

    .render-actions strong { color: var(--gold2); }
    .render-actions span { display: block; color: #d3c8ba; font-size: .82rem; margin-top: 3px; }

    .thumb-strip {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 12px;
    }

    .render-thumb {
      position: relative;
      overflow: hidden;
      height: 72px;
      padding: 0;
      border: 1px solid rgba(201, 154, 83, .16);
      border-radius: 14px;
      background: #111;
      cursor: pointer;
      transition: .24s ease;
    }

    .render-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .74; transition: .24s ease; }
    .render-thumb:hover,
    .render-thumb.active { border-color: rgba(242, 203, 130, .68); transform: translateY(-3px); }
    .render-thumb.active img,
    .render-thumb:hover img { opacity: 1; transform: scale(1.06); }

    .product-kicker {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      margin-bottom: 14px;
      padding: 7px 13px;
      color: #dccfbd;
      border: 1px solid rgba(201, 154, 83, .24);
      border-radius: 999px;
      background: rgba(255, 255, 255, .045);
      font-size: .82rem;
    }

    .product-kicker::before {
      content: "";
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: var(--gold2);
      box-shadow: 0 0 18px rgba(242, 203, 130, .55);
    }

    .product-title {
      margin: 0 0 10px;
      text-align: right;
      font-size: clamp(1.65rem, 3.2vw, 2.65rem);
      font-weight: 950;
      line-height: 1.32;
      letter-spacing: -.035em;
    }

    .product-title span { display: block; color: var(--gold2); }

    .product-lead {
      max-width: 620px;
      color: #d4cabd;
      text-align: right;
      line-height: 1.85;
      font-size: .95rem;
    }

    .quick-table {
      overflow: hidden;
      margin: 14px 0 12px;
      max-width: 520px;
      border: 1px solid rgba(201, 154, 83, .13);
      border-radius: 16px;
      background: rgba(255, 255, 255, .022);
    }

    .quick-row {
      display: grid;
      grid-template-columns: 34% 66%;
      border-bottom: 1px solid rgba(255, 255, 255, .055);
    }

    .quick-row:last-child { border-bottom: 0; }

    .quick-row div {
      padding: 8px 12px;
      text-align: right;
      line-height: 1.55;
      font-size: .8rem;
    }

    .quick-row div:first-child {
      color: rgba(242, 203, 130, .88);
      background: rgba(201, 154, 83, .035);
      font-weight: 750;
    }

    .quick-row div:last-child { color: rgba(230, 221, 206, .88); }

    .hero-spec-table {
      overflow: hidden;
      margin: 14px 0 12px;
      max-width: 560px;
      border: 1px solid rgba(201, 154, 83, .18);
      border-radius: 16px;
      background: rgba(255, 255, 255, .026);
    }

    .hero-spec-table h2 {
      margin: 0;
      padding: 10px 13px;
      color: var(--gold2);
      border-bottom: 1px solid rgba(255, 255, 255, .08);
      text-align: right;
      font-size: .94rem;
      font-weight: 900;
    }

    .hero-spec-table .spec-table th,
    .hero-spec-table .spec-table td {
      padding: 6px 11px;
      font-size: .76rem;
    }

    .product-actions {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      margin-top: 18px;
    }

    .mini-note {
      margin-top: 14px;
      color: var(--muted);
      font-size: .84rem;
      line-height: 1.8;
    }

    .section-head {
      margin-bottom: 24px;
      text-align: center;
    }

    .section-kicker {
      display: block;
      margin-bottom: 8px;
      color: var(--gold2);
      text-align: center;
      font-weight: 800;
    }

    .section-title {
      margin: 0;
      text-align: center;
      font-size: clamp(1.55rem, 3vw, 2.25rem);
      font-weight: 950;
    }

    .section-desc {
      max-width: 720px;
      margin: 14px auto 0;
      color: var(--muted);
      text-align: center;
      line-height: 1.9;
    }

    .texture-lab {
      max-width: 1160px;
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid rgba(201, 154, 83, .28);
      border-radius: 8px;
      background: #0e1110;
      box-shadow: 0 24px 64px rgba(0, 0, 0, .34);
    }

    .texture-topbar {
      min-height: 72px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 18px;
      padding: 14px 18px;
      border-bottom: 1px solid rgba(201, 154, 83, .20);
      background: #151713;
    }

    .texture-topbar-copy {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .texture-topbar-mark {
      width: 38px;
      height: 38px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      color: #181008;
      border-radius: 6px;
      background: var(--btn-brass);
      font-size: .82rem;
      font-weight: 950;
    }

    .texture-topbar strong,
    .texture-topbar span { display: block; }
    .texture-topbar strong { color: #fff4e6; font-size: .9rem; }
    .texture-topbar-copy span { margin-top: 3px; color: var(--muted); font-size: .72rem; }

    .texture-download-all {
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 12px;
      color: #f0d4aa;
      border: 1px solid rgba(184, 121, 60, .48);
      border-radius: 7px;
      background: rgba(184, 121, 60, .09);
      font-size: .74rem;
      font-weight: 800;
      transition: border-color .18s ease, background .18s ease, color .18s ease;
    }

    .texture-download-all:hover {
      color: #ffe2b2;
      border-color: rgba(201, 143, 74, .78);
      background: rgba(184, 121, 60, .17);
    }

    .texture-workbench {
      display: grid;
      grid-template-columns: 310px minmax(0, 1fr);
      min-height: 600px;
    }

    .texture-side {
      min-width: 0;
      padding: 16px;
      border-left: 1px solid rgba(255, 255, 255, .08);
      background: #101311;
    }

    .texture-side-header {
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 12px;
      padding: 0 2px;
    }

    .texture-side-header strong { color: #f7efe4; font-size: .82rem; }
    .texture-side-header span { color: #8f877b; font-size: .68rem; }

    .texture-list {
      max-height: 520px;
      overflow: auto;
      display: flex;
      flex-direction: column;
      gap: 8px;
      padding-left: 4px;
      scrollbar-width: thin;
      scrollbar-color: rgba(201, 154, 83, .5) rgba(255, 255, 255, .04);
    }

    .texture-list::-webkit-scrollbar { width: 6px; }
    .texture-list::-webkit-scrollbar-track { background: rgba(255, 255, 255, .04); }
    .texture-list::-webkit-scrollbar-thumb { background: rgba(201, 154, 83, .52); }

    .texture-option {
      position: relative;
      width: 100%;
      min-height: 76px;
      display: grid;
      grid-template-columns: 58px minmax(0, 1fr);
      align-items: center;
      gap: 11px;
      padding: 8px;
      overflow: hidden;
      color: inherit;
      text-align: right;
      border: 1px solid rgba(255, 255, 255, .07);
      border-radius: 6px;
      background: #171a18;
      cursor: pointer;
      transition: border-color .18s ease, background .18s ease, transform .18s ease;
    }

    .texture-option::after {
      content: "";
      position: absolute;
      inset: 8px auto 8px 0;
      width: 3px;
      background: transparent;
    }

    .texture-option:hover {
      border-color: rgba(201, 154, 83, .35);
      background: #1c1f1c;
      transform: translateX(-2px);
    }

    .texture-option:focus-visible {
      outline: 2px solid rgba(242, 203, 130, .72);
      outline-offset: 2px;
    }

    .texture-option.active {
      border-color: rgba(201, 154, 83, .62);
      background: #24231d;
    }

    .texture-option.active::after { background: var(--gold); }

    .texture-option img {
      width: 58px;
      height: 58px;
      object-fit: cover;
      border: 1px solid rgba(255, 255, 255, .18);
      border-radius: 4px;
      filter: saturate(.92) contrast(1.05);
    }

    .texture-option-copy { min-width: 0; }
    .texture-option-title {
      display: block;
      overflow: hidden;
      color: #f8efe3;
      font-size: .78rem;
      font-weight: 850;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .texture-option-meta {
      display: block;
      margin-top: 6px;
      overflow: hidden;
      color: #a99e8f;
      font-size: .66rem;
      text-overflow: ellipsis;
      white-space: nowrap;
    }

    .texture-stage {
      min-width: 0;
      display: grid;
      grid-template-rows: minmax(350px, 1fr) auto;
      background: #0b0d0c;
    }

    .texture-canvas {
      position: relative;
      min-height: 350px;
      display: grid;
      place-items: center;
      overflow: hidden;
      background-color: #151816;
      background-image:
        linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px);
      background-size: 24px 24px;
    }

    .texture-canvas::before {
      content: "";
      position: absolute;
      inset: 18px;
      border: 1px solid rgba(255, 255, 255, .06);
      pointer-events: none;
    }

    .texture-main-image {
      position: relative;
      z-index: 1;
      width: var(--tex-w, 260px);
      height: var(--tex-h, 260px);
      max-width: 64%;
      max-height: 290px;
      object-fit: cover;
      border: 1px solid rgba(255, 255, 255, .38);
      border-radius: 3px;
      box-shadow: 18px 22px 0 rgba(0, 0, 0, .20), 0 30px 70px rgba(0, 0, 0, .38);
      filter: saturate(1.04) contrast(1.08) brightness(1.04);
      transition: opacity .18s ease, transform .22s ease;
    }

    .texture-stage.changing .texture-main-image {
      opacity: .35;
      transform: scale(.98);
    }

    .texture-size-badge,
    .texture-counter {
      position: absolute;
      z-index: 2;
      top: 30px;
      display: inline-flex;
      align-items: center;
      min-height: 30px;
      padding: 0 10px;
      border-radius: 5px;
      font-size: .7rem;
      font-weight: 900;
    }

    .texture-size-badge {
      right: 30px;
      color: #181008;
      background: var(--btn-brass);
    }

    .texture-counter {
      left: 30px;
      color: #bdb2a3;
      border: 1px solid rgba(255, 255, 255, .10);
      background: #101210;
      direction: ltr;
    }

    .texture-scale-mark {
      position: absolute;
      z-index: 2;
      color: #d4c8b7;
      font-size: .66rem;
      font-weight: 800;
      direction: ltr;
    }

    .texture-scale-mark.x {
      left: 50%;
      bottom: 28px;
      min-width: var(--tex-w, 260px);
      padding-top: 7px;
      border-top: 1px solid rgba(212, 200, 183, .48);
      text-align: center;
      transform: translateX(-50%);
    }

    .texture-scale-mark.y {
      top: 50%;
      left: 34px;
      min-height: var(--tex-h, 260px);
      padding-right: 7px;
      border-right: 1px solid rgba(212, 200, 183, .48);
      text-align: center;
      writing-mode: vertical-rl;
      transform: translateY(-50%);
    }

    .texture-detail {
      display: grid;
      grid-template-columns: minmax(0, 1.4fr) minmax(280px, .8fr);
      gap: 22px;
      padding: 20px 22px;
      border-top: 1px solid rgba(255, 255, 255, .08);
      background: #121512;
    }

    .texture-detail-kicker {
      display: block;
      margin-bottom: 5px;
      color: var(--gold);
      font-size: .68rem;
      font-weight: 850;
    }

    .texture-detail h3 {
      margin: 0;
      color: #fff4e6;
      font-size: 1.16rem;
      font-weight: 950;
    }

    .texture-detail p {
      max-width: 580px;
      margin: 8px 0 0;
      color: #b9ad9b;
      font-size: .78rem;
      line-height: 1.8;
    }

    .texture-detail-side {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 14px;
    }

    .texture-specs {
      display: grid;
      grid-template-columns: repeat(3, minmax(0, 1fr));
      border: 1px solid rgba(255, 255, 255, .08);
      border-radius: 6px;
      background: #0d100e;
    }

    .texture-spec {
      min-width: 0;
      padding: 9px 8px;
      text-align: center;
      border-left: 1px solid rgba(255, 255, 255, .07);
    }

    .texture-spec:last-child { border-left: 0; }
    .texture-spec span { display: block; color: #857d72; font-size: .62rem; }
    .texture-spec strong { display: block; margin-top: 4px; color: #eee4d6; font-size: .72rem; }

    .texture-actions {
      display: grid;
      grid-template-columns: 1.15fr 1fr .7fr;
      gap: 7px;
    }

    .texture-icon-btn {
      min-height: 36px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 0 9px;
      color: #efd1a5;
      border: 1px solid rgba(184, 121, 60, .42);
      border-radius: 6px;
      background: rgba(184, 121, 60, .08);
      font-size: .7rem;
      font-weight: 850;
      transition: border-color .18s ease, background .18s ease, color .18s ease, transform .18s ease;
    }

    .texture-icon-btn.download {
      color: var(--btn-ink);
      border-color: rgba(242, 203, 130, .24);
      background: var(--btn-brass);
    }

    .texture-icon-btn:hover {
      color: #ffe2b2;
      border-color: rgba(201, 143, 74, .72);
      background: rgba(184, 121, 60, .16);
      transform: translateY(-1px);
    }

    .texture-icon-btn.download:hover {
      color: var(--btn-ink);
      background: var(--btn-brass-hover);
    }

    .texture-icon-btn:focus-visible,
    .texture-download-all:focus-visible {
      outline: 2px solid rgba(242, 203, 130, .72);
      outline-offset: 2px;
    }

    .calc-card {
      max-width: 860px;
      margin: 0 auto;
      overflow: hidden;
      border: 1px solid rgba(201, 154, 83, .18);
      border-radius: 24px;
      background: linear-gradient(145deg, rgba(10, 11, 11, .66), rgba(31, 28, 22, .72));
      box-shadow: 0 18px 56px rgba(0, 0, 0, .30);
      backdrop-filter: blur(12px);
    }

    .calc-cta-panel {
      position: relative;
      min-height: 330px;
      display: grid;
      align-items: center;
      padding: 32px;
      text-align: right;
      overflow: hidden;
    }

    .calc-cta-panel::before {
      content: "";
      position: absolute;
      inset: 0;
      opacity: .32;
      background:
        linear-gradient(90deg, rgba(5,6,7,.75), rgba(5,6,7,.35)),
        url('https://images.unsplash.com/photo-1600607687939-ce8a6c25118c?auto=format&fit=crop&w=1100&q=75') center / cover;
      transform: scale(1.03);
    }

    .calc-cta-content {
      position: relative;
      z-index: 1;
      max-width: 620px;
    }

    .calc-cta-content h2 {
      margin: 0 0 10px;
      color: var(--gold2);
      font-size: clamp(1.45rem, 2.6vw, 2.15rem);
      font-weight: 950;
      line-height: 1.45;
      text-align: right;
    }

    .calc-cta-content p {
      margin: 0;
      color: #d8cdbc;
      font-size: .9rem;
      line-height: 1.9;
      text-align: right;
    }

    .calc-cta-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 8px;
      margin: 20px 0;
    }

    .calc-cta-item {
      padding: 10px;
      text-align: center;
      border: 1px solid rgba(201, 154, 83, .16);
      border-radius: 14px;
      background: rgba(5, 6, 7, .46);
      backdrop-filter: blur(8px);
    }

    .calc-cta-item strong {
      display: block;
      color: var(--gold2);
      text-align: center;
      font-size: .86rem;
    }

    .calc-cta-item span {
      display: block;
      margin-top: 4px;
      color: var(--muted);
      text-align: center;
      font-size: .7rem;
    }

    .expert-link {
      cursor: pointer;
    }

    .sticky-product-bar {
      position: fixed;
      right: 50%;
      bottom: 18px;
      z-index: 1040;
      width: min(760px, calc(100vw - 28px));
      display: grid;
      grid-template-columns: 1fr auto auto auto;
      align-items: center;
      gap: 8px;
      padding: 9px;
      border: 1px solid rgba(201, 154, 83, .24);
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(7, 8, 8, .86), rgba(28, 25, 20, .82));
      box-shadow: 0 18px 60px rgba(0, 0, 0, .46);
      backdrop-filter: blur(18px);
      transform: translateX(50%) translateY(0);
      transition: transform .32s ease, opacity .32s ease;
    }

    .sticky-product-bar.is-hidden {
      opacity: 0;
      pointer-events: none;
      transform: translateX(50%) translateY(24px);
    }

    .sticky-product-title {
      min-width: 0;
      padding: 0 8px;
      text-align: right;
    }

    .sticky-product-title strong {
      display: block;
      color: var(--gold2);
      font-size: .86rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .sticky-product-title span {
      display: block;
      color: var(--muted);
      font-size: .7rem;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      margin-top: 2px;
    }

    .spec-wrapper {
      max-width: 920px;
      margin: 0 auto;
      overflow: visible;
      border: 1px solid rgba(201, 154, 83, .16);
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(35, 31, 25, .48), rgba(17, 19, 18, .70));
      box-shadow: 0 14px 42px rgba(0, 0, 0, .22);
      backdrop-filter: blur(14px);
    }

    .spec-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      padding: 11px 14px;
      border-bottom: 1px solid rgba(255, 255, 255, .08);
    }

    .spec-header h2 {
      margin: 0;
      color: var(--gold2);
      text-align: right;
      font-size: .96rem;
      font-weight: 950;
    }

    .spec-toggle {
      width: 34px;
      height: 34px;
      display: grid;
      place-items: center;
      flex: 0 0 auto;
      border: 1px solid rgba(242, 203, 130, .48);
      border-radius: 12px;
      background: linear-gradient(145deg, rgba(242, 203, 130, .16), rgba(201, 154, 83, .07));
      box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .04), 0 10px 22px rgba(0, 0, 0, .16);
      transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
    }

    .spec-toggle:hover {
      border-color: rgba(242, 203, 130, .78);
      background: linear-gradient(145deg, rgba(242, 203, 130, .22), rgba(201, 154, 83, .1));
      transform: translateY(-1px);
    }

    .spec-arrow {
      width: 10px;
      height: 10px;
      display: block;
      border-right: 2px solid var(--gold2);
      border-bottom: 2px solid var(--gold2);
      transform: rotate(45deg) translate(-1px, -1px);
      transition: transform .28s ease;
    }

    .spec-toggle.open .spec-arrow {
      transform: rotate(225deg) translate(-1px, -1px);
    }

    .spec-table {
      width: 100%;
      border-collapse: collapse;
    }

    .spec-table tr {
      border-bottom: 1px solid rgba(255, 255, 255, .07);
    }

    .spec-table tr:last-child { border-bottom: 0; }

    .spec-table th,
    .spec-table td {
      padding: 7px 13px;
      text-align: right;
      line-height: 1.42;
      vertical-align: top;
      font-size: .82rem;
    }

    .spec-table th {
      width: 28%;
      color: rgba(242, 203, 130, .88);
      background: rgba(201, 154, 83, .038);
      font-weight: 800;
    }

    .spec-table td { color: #e4dbcf; }

    .more-specs,
    .spec-collapsible {
      display: none;
      border-top: 1px solid rgba(255, 255, 255, .08);
    }

    .more-specs.show,
    .spec-collapsible.show { display: block; }

    .spec-inner {
      overflow: hidden;
      border-radius: inherit;
    }

    .packing-block {
      max-width: 1120px;
      margin: 34px auto 0;
      padding: 22px 18px 18px;
      border: 1px solid rgba(201, 154, 83, .14);
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(26, 27, 25, .84), rgba(14, 16, 16, .92));
      box-shadow: 0 16px 44px rgba(0, 0, 0, .24);
    }

    .packing-title {
      margin: 0 0 24px;
      color: #ffd33d;
      text-align: center;
      font-size: 1.05rem;
      font-weight: 950;
    }

    .packing-table-scroll {
      width: 100%;
      overflow-x: auto;
      border: 1px solid rgba(255, 255, 255, .09);
      scrollbar-color: rgba(201, 154, 83, .65) rgba(255, 255, 255, .05);
      scrollbar-width: thin;
    }

    .packing-table-scroll:focus-visible {
      outline: 2px solid rgba(242, 203, 130, .7);
      outline-offset: 3px;
    }

    .packing-table {
      width: 100%;
      min-width: 1050px;
      border-collapse: collapse;
      direction: rtl;
      background: rgba(23, 24, 23, .72);
    }

    .packing-table th,
    .packing-table td {
      padding: 13px 10px;
      border-left: 1px solid rgba(255, 255, 255, .08);
      border-bottom: 1px solid rgba(255, 255, 255, .08);
      text-align: center;
      vertical-align: middle;
      line-height: 1.7;
    }

    .packing-table th:last-child,
    .packing-table td:last-child { border-left: 0; }

    .packing-table tbody tr:last-child td { border-bottom: 0; }

    .packing-table th {
      color: #fff;
      background: rgba(31, 32, 31, .96);
      font-size: .78rem;
      font-weight: 850;
      white-space: normal;
    }

    .packing-table td {
      color: #a9a6a0;
      font-size: .82rem;
      direction: ltr;
    }

    .packing-table-empty {
      padding: 22px !important;
      color: var(--muted) !important;
      direction: rtl !important;
    }

    .packing-swipe-hint {
      display: none;
      margin: 10px 0 0;
      color: var(--muted);
      text-align: center;
      font-size: .72rem;
    }

    .download-strip {
      max-width: 920px;
      display: grid;
      grid-template-columns: 1fr auto;
      align-items: center;
      gap: 12px;
      margin: 10px auto 0;
      padding: 10px 13px;
      border: 1px solid rgba(201, 154, 83, .16);
      border-radius: 16px;
      background: linear-gradient(145deg, rgba(35, 31, 25, .44), rgba(17, 19, 18, .66));
      backdrop-filter: blur(12px);
      box-shadow: 0 10px 28px rgba(0, 0, 0, .18);
    }

    .download-strip p {
      margin: 0;
      color: #d4cabd;
      text-align: right;
      line-height: 1.5;
      font-size: .8rem;
    }

    .download-strip strong {
      color: var(--gold2);
      font-size: .88rem;
    }

    .product-form-alert {
      margin: 12px 0;
      padding: 10px 12px;
      border: 1px solid rgba(201, 154, 83, .28);
      border-radius: 12px;
      font-size: .78rem;
      line-height: 1.8;
    }

    .product-form-alert.success {
      color: #c8efd8;
      border-color: rgba(85, 184, 126, .36);
      background: rgba(85, 184, 126, .1);
    }

    .product-form-alert.error {
      color: #f1b5ab;
      border-color: rgba(226, 155, 143, .38);
      background: rgba(226, 155, 143, .09);
    }

    .expert-request-modal .modal-content {
      overflow: hidden;
      color: var(--text);
      border: 1px solid rgba(201, 154, 83, .28);
      border-radius: 24px;
      background: linear-gradient(145deg, rgba(10, 11, 11, .99), rgba(35, 30, 23, .98));
      box-shadow: 0 34px 100px rgba(0, 0, 0, .7);
    }

    .expert-request-modal .modal-header,
    .expert-request-modal .modal-footer {
      border-color: rgba(255, 255, 255, .08);
      padding: 18px 20px;
    }

    .expert-request-modal .modal-title {
      margin-top: 4px;
      color: #fff4e6;
      font-weight: 900;
      font-size: 1.05rem;
    }

    .expert-modal-kicker {
      color: var(--gold2);
      font-size: .7rem;
      font-weight: 850;
    }

    .expert-request-modal .modal-body {
      padding: 20px;
    }

    .expert-modal-description {
      margin: 0 0 14px;
      color: var(--muted);
      font-size: .8rem;
      line-height: 1.9;
    }

    .expert-product-summary {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      margin-bottom: 16px;
      padding: 11px 12px;
      border: 1px solid rgba(201, 154, 83, .18);
      border-radius: 12px;
      background: rgba(201, 154, 83, .07);
      font-size: .78rem;
    }

    .expert-product-summary span { color: var(--muted); }
    .expert-product-summary strong { color: var(--gold2); }

    .expert-form-field {
      margin-top: 13px;
    }

    .expert-form-field label {
      display: block;
      margin-bottom: 7px;
      color: #e8dccb;
      font-size: .78rem;
      font-weight: 800;
    }

    .expert-form-field label b { color: #e9a99e; }

    .expert-form-field input {
      width: 100%;
      min-height: 44px;
      padding: 0 12px;
      color: #f7eee2;
      border: 1px solid rgba(201, 154, 83, .2);
      border-radius: 12px;
      outline: 0;
      background: rgba(255, 255, 255, .045);
    }

    .expert-form-field input:focus {
      border-color: rgba(242, 203, 130, .65);
      box-shadow: 0 0 0 3px rgba(201, 154, 83, .1);
    }

    .expert-form-field small {
      display: block;
      margin-top: 6px;
      color: #efb3a8;
      font-size: .7rem;
    }

    .expert-honeypot {
      position: absolute !important;
      left: -10000px !important;
      width: 1px !important;
      height: 1px !important;
      overflow: hidden !important;
    }

    footer {
      padding: 30px 0 22px;
      border-top: 1px solid rgba(201, 154, 83, .16);
      background:
        linear-gradient(135deg, rgba(22, 20, 16, .88), rgba(8, 9, 9, .94)),
        url('https://images.unsplash.com/photo-1600566753190-17f0baa2a6c3?auto=format&fit=crop&w=1400&q=65') center / cover;
    }

    .inquiry-box {
      max-width: 920px;
      margin: 0 auto;
      padding: 13px 14px;
      border: 1px solid rgba(201, 154, 83, .16);
      border-radius: 18px;
      background: linear-gradient(145deg, rgba(35, 31, 25, .48), rgba(17, 19, 18, .72));
      backdrop-filter: blur(12px);
      box-shadow: 0 12px 34px rgba(0, 0, 0, .22);
    }

    .footer-title {
      margin: 0 0 6px;
      color: var(--gold2);
      font-size: .98rem;
      font-weight: 900;
    }

    .footer-text {
      color: var(--muted);
      line-height: 1.65;
      font-size: .82rem;
    }

    .inquiry-actions {
      display: flex;
      gap: 8px;
      justify-content: flex-end;
      flex-wrap: wrap;
    }

    body.has-sticky-bar {
      padding-bottom: 78px;
    }

    .reveal {
      opacity: 0;
      transform: translateY(24px);
      transition: opacity .65s ease, transform .65s ease;
    }

    .reveal.show { opacity: 1; transform: none; }

    @media (max-width: 991.98px) {
      html {
        scroll-snap-type: none;
        scroll-padding-top: 76px;
      }

      .section {
        min-height: auto;
        scroll-snap-align: none;
        scroll-snap-stop: normal;
      }

      .section:not(.is-active) > .container {
        opacity: 1;
        transform: none;
        filter: none;
      }
      .page-hero { padding-top: 104px; }
      .section { padding: 56px 0; }
      .gallery-panel, .product-info-panel { padding: 16px; }
      .main-render, .main-render img { min-height: auto; height: 320px; }
      .thumb-strip { grid-template-columns: repeat(2, 1fr); }
      .render-actions { position: relative; right: auto; left: auto; bottom: auto; margin: 14px; }
      .quick-row { grid-template-columns: 1fr; }
      .factory-stats { grid-template-columns: 1fr; }
      .texture-workbench { grid-template-columns: 1fr; min-height: 0; }
      .texture-side {
        border-left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .08);
      }
      .texture-list {
        max-height: none;
        flex-direction: row;
        overflow-x: auto;
        padding: 0 0 8px;
        scroll-snap-type: x proximity;
      }
      .texture-option {
        width: 248px;
        flex: 0 0 248px;
        scroll-snap-align: start;
      }
      .texture-stage { grid-template-rows: minmax(340px, 1fr) auto; }
      .texture-detail { grid-template-columns: 1fr; }
      .texture-detail-side { max-width: 520px; }
      .calc-cta-panel { min-height: 300px; padding: 22px; }
      .calc-cta-list { grid-template-columns: 1fr; }
      .sticky-product-bar {
        grid-template-columns: 1fr;
        gap: 7px;
        bottom: 10px;
      }
      .sticky-product-title { text-align: center; }
      .sticky-product-bar .btn-gold,
      .sticky-product-bar .btn-ghost { width: 100%; }
      .spec-header { align-items: flex-start; }
      .spec-table th, .spec-table td { display: block; width: 100%; }
      .spec-table th { padding-bottom: 6px; }
      .spec-table td { padding-top: 6px; }
      .packing-block { padding: 18px 12px 14px; }
      .packing-title { margin-bottom: 18px; }
      .packing-swipe-hint { display: block; }
      .download-strip { grid-template-columns: 1fr; }
      .download-strip .btn-gold { width: 100%; margin-top: 8px; }
      .inquiry-actions { justify-content: stretch; }
      .inquiry-actions a { width: 100%; }
    }

    @media (max-width: 575.98px) {
      .texture-topbar { align-items: flex-start; padding: 12px; }
      .texture-topbar-copy { align-items: flex-start; }
      .texture-topbar-mark { width: 34px; height: 34px; }
      .texture-download-all { min-height: 34px; padding: 0 9px; font-size: .68rem; }
      .texture-side { padding: 12px; }
      .texture-side-header { align-items: center; }
      .texture-stage { grid-template-rows: 310px auto; }
      .texture-canvas { min-height: 310px; }
      .texture-canvas::before { inset: 12px; }
      .texture-main-image {
        width: var(--tex-mobile-w, 190px);
        height: var(--tex-mobile-h, 190px);
        max-width: 58%;
        max-height: 220px;
        box-shadow: 10px 14px 0 rgba(0, 0, 0, .18), 0 24px 54px rgba(0, 0, 0, .34);
      }
      .texture-size-badge { top: 22px; right: 22px; }
      .texture-counter { top: 22px; left: 22px; }
      .texture-scale-mark.x {
        bottom: 22px;
        min-width: var(--tex-mobile-w, 190px);
      }
      .texture-scale-mark.y {
        left: 22px;
        min-height: var(--tex-mobile-h, 190px);
      }
      .texture-detail { gap: 16px; padding: 17px 14px; }
      .texture-detail h3 { font-size: 1rem; }
      .texture-actions { grid-template-columns: 1fr 1fr; }
      .texture-icon-btn:last-child { grid-column: 1 / -1; }
    }

/* Inline declarations migrated from product.html. */
.u-product-1 { --tex-w:260px;--tex-h:260px;--tex-mobile-w:190px;--tex-mobile-h:190px; }
.u-product-2 { --tex-w:260px;--tex-mobile-w:190px; }
.u-product-3 { --tex-h:260px;--tex-mobile-h:190px; }
