    * {
      box-sizing: border-box;
    }

    body {
      font-family: sans-serif;
      background-color: #FEFAEE;
      margin: 0;
    }

    /*  VIDEO  */
    .video-section {
      position: fixed; /* Stays in place while scrolling */
      top: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      z-index: 1;
    }

    .video-section video {
      width: 100%;
      height: auto;
      object-fit: cover;
    }

    /*  CONTENT SECTIONS  */
    .content-section {
      max-width: 100%;
      position: relative;
      background-color: #FEFAEE;
      padding: 5rem 1rem 4rem;
      z-index: 2;
      transition: background-color .3s ease;
      border-top-left-radius: 37%;
      border-top-right-radius: 37%;
      overflow: visible;
    }

    .content-section1 {
      position: relative;
      background-color: #FEFAEE;
      z-index: 1;
    }

    h2,
    p {
      text-align: center;
      color: #701c1c;
      /* 1rem equals the font-size of the root element */
      margin: .5rem 0;
      font-family: 'B Koodak', sans-serif;
    }

    /*  BUTTONS  */
    .button-overlap-container {
      width: 50%;
      transform: translateX(-50%);
      height: 50px;
      display: flex;
      align-items: center;
      justify-content: flex-start;
    }

    .btn {
      height: 34px;
      border-radius: 10px;
      border: solid #701c1c 1px;
      position: absolute;
      font-size: 15px;
      font-family: 'B Koodak', sans-serif;
      cursor: pointer;
    }

    #btn-cream {
      width: 100%;
      background-color: #FEFAEE;
      color: #701c1c;
      border: solid #701c1c 1px;
      left: 0;
      padding-right: 60%;
    }

    #btn-red {
      width: 60%;
      background-color: #701c1c;
      color: #FEFAEE;
    }

    #btn-cream:hover {
      background-color: #701c1c;
      color: #FEFAEE;
      border-color: #FEFAEE;
    }

    #btn-red:hover {
      background-color: #FEFAEE;
      border-color: #701c1c;
      color: #701c1c;
    }

    /*  SEARCH BAR  */
    .search-box {
      margin-top: 2rem;
      margin-right: 10px;
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 12px;
      font-family: 'B Koodak', sans-serif;
      position: relative;
      overflow: visible;
      z-index: 1000;
    }

    .search-box input {
      flex: 1;
      padding: .7rem;
      border: 1px solid #701c1c;
      border-radius: 6px;
      outline: none;
      font-size: .9rem;
      background-color: #FEFAEE;
      font-family: 'B Koodak', sans-serif;
    }

    .search-btn {
      background-color: #701c1c;
      border: none;
      width: 40px;
      height: 40px;
      padding: .7rem 1rem;
      border-radius: 6px;
      cursor: pointer;
      margin-left: 10px;
      transition: background-color .3s ease;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .search-btn svg {
      width: 18px;
      height: 18px;
      stroke: #FEFAEE;
      fill: none;
      stroke-width: 2;
    }

    /* category trigger box (right of search) */
    .cat-trigger {
      width: 40px;
      height: 40px;
      border: 1px solid #701c1c;
      border-radius: 6px;
      cursor: pointer;
      background: #FEFAEE;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      transition: .2s;
    }

    .cat-trigger:hover {
      background: #701c1c;
    }

    .cat-trigger:hover svg {
      stroke: #FEFAEE;
    }

    .cat-trigger svg {
      width: 18px;
      height: 18px;
      stroke: #701c1c;
      fill: none;
      stroke-width: 2;
      transition: .2s;
    }

    /*  CATEGORY DROPDOWN  */
    .cat-dropdown {
      display: none;
      position: absolute;
      top: 55px;
      right: 0;
      min-width: 200px;
      background: #FEFAEE;
      border: 1px solid #701c1c;
      border-radius: 12px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
      z-index: 9999;
    }

    .cat-dropdown.open {
      display: block;
    }

    .cat-dropdown-title {
      padding: 10px 14px;
      font-size: 13px;
      color: #701c1c;
      font-weight: bold;
      font-family: 'B Koodak', sans-serif;
      border-bottom: 1px solid #e8d9c0;
    }

    .cat-dropdown a {
      display: block;
      padding: 10px 14px;
      font-size: 13px;
      color: #701c1c;
      text-decoration: none;
      font-family: 'B Koodak', sans-serif;
      transition: background .15s;
      z-index: 1000;
      transition: background .15s, border-radius .15s;
    }

    .cat-dropdown a:hover {
      background: #f0e6d0;
    }

    .cat-dropdown a:last-of-type:hover {
      border-radius: 0 0 15px 15px;
    }

    .cat-dropdown .divider {
      height: 1px;
      background: #e8d9c0;
      margin: 4px 0;
    }

    /*  SEARCH RESULTS OVERLAY  */
    .search-results {
      display: none;
      margin: 10px 10px 0;
      background: #FEFAEE;
      border: 1px solid #701c1c;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 16px rgba(0, 0, 0, .15);
      z-index: 50;
      position: relative;
    }

    .search-results.open {
      display: block;
    }

    .search-results-inner {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      padding: 12px;
      max-height: 380px;
      overflow-y: auto;
    }

    .search-results-inner::-webkit-scrollbar {
      display: none;
    }

    .search-empty {
      text-align: center;
      padding: 24px;
      color: #701c1c;
      font-family: 'B Koodak', sans-serif;
      font-size: 14px;
    }

    .search-loading {
      text-align: center;
      padding: 20px;
      color: #701c1c;
      font-family: 'B Koodak', sans-serif;
      font-size: 13px;
    }

    /* product card used both in search results and product sections */
    .p-card {
      background: #fff;
      border: 1px solid #e8d9c0;
      border-radius: 12px;
      overflow: hidden;
      cursor: pointer;
      transition: box-shadow .2s;
    }

    .p-card:hover {
      box-shadow: 0 4px 14px rgba(112, 28, 28, .2);
    }

    .p-card-img {
      width: 100%;
      aspect-ratio: 1;
      background: #e8d9c0;
      object-fit: cover;
      display: block;
    }

    .p-card-img-placeholder {
      width: 100%;
      aspect-ratio: 1;
      background: #e8d9c0;
    }

    .p-card-body {
      padding: 8px;
    }

    .p-card-name {
      font-size: 12px;
      color: #701c1c;
      font-weight: bold;
      font-family: 'B Koodak', sans-serif;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .p-card-price {
      font-size: 11px;
      color: #894b4b;
      font-family: 'B Koodak', sans-serif;
    }

    .p-card-discount {
      display: inline-block;
      background: #701c1c;
      color: #FEFAEE;
      font-size: 10px;
      padding: 1px 5px;
      border-radius: 4px;
      margin-right: 4px;
      font-family: 'B Koodak', sans-serif;
    }

    /* ─── CONTAINER / SECTIONS ───────────────────── */
    .B {
      margin: auto;
    }

    .container {
      max-width: 100%;
      margin: auto;
      margin-top: 60vw;
    }

    .section-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    .section-header span {
      margin-left: 20px;
    }

    .section-header h3 {
      font-size: 20px;
      font-family: 'B Koodak', sans-serif;
      color: #701c1c;
      margin-right: 20px;
    }

    .section-header a {
      font-size: 11px;
      cursor: pointer;
      font-family: 'B Koodak', sans-serif;
      color: #701c1c;
      text-decoration: none;
    }

    /* ─── SUGGESTIONS ────────────────────────────── */
    .suggestions {
      margin-right: 20px;
      margin-left: 20px;
      height: 160px;
      display: flex;
      overflow-x: auto;
      overflow-y: hidden;
      gap: 20px;
      scroll-snap-type: x mandatory;
      position: relative;
      z-index: 0;
    }

    .suggestions::-webkit-scrollbar {
      display: none;
    }

    .suggestion-card {
      min-width: 100%;
      height: 150px;
      background: #ddd;
      border-radius: 40px;
      scroll-snap-align: start;
      box-shadow: 5px 5px 7px 0 rgba(0, 0, 0, .3);
      overflow: hidden;
    }

    .b1 {
      margin-right: 20px;
      margin-top: 95px;
      height: 30px;
      width: 80px;
      background: #701c1c;
      border: 1px solid #701c1c;
      color: #FEFAEE;
      border-radius: 10px;
      cursor: pointer;
      font-family: 'B Koodak', sans-serif;
    }

    /* ─── CATEGORIES ─────────────────────────────── */
    .categories {
      margin-right: 20px;
      display: flex;
      overflow-x: auto;
      gap: 20px;
      padding: 10px 0;
    }

    .categories::-webkit-scrollbar {
      display: none;
    }

    .category-item {
      min-width: 70px;
      text-align: center;
      cursor: pointer;
    }

    .circle {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: #ddd;
      margin: auto;
      transition: background .2s;
    }

    .category-item:hover .circle {
      background: #d0b090;
    }

    .category-item p {
      margin-top: 8px;
      font-size: 13px;
    }

    /* ─── FILTER BUTTONS ─────────────────────────── */
    .filter-buttons {
      white-space: nowrap;
      display: inline-flex;
      overflow-x: auto;
      gap: 10px;
      margin: 15px 20px;
    }

    .filter-buttons button {
      background: #FEFAEE;
      border: 1px solid #701c1c;
      color: #701c1c;
      padding: 6px 12px;
      border-radius: 10px;
      cursor: pointer;
      transition: .3s;
      font-family: 'B Koodak', sans-serif;
    }

    .filter-buttons button:hover,
    .filter-buttons button.active {
      background: #701c1c;
      color: #FEFAEE;
    }

    /* ─── PRODUCT SECTIONS ───────────────────────── */
    .product-section {
      display: flex;
      gap: 15px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      padding: 10px;
      scroll-behavior: smooth;
      margin-right: 20px;
    }

    .product-section::-webkit-scrollbar {
      display: none;
    }

    /* horizontal product card inside sections */
    .product-card-h {
      flex: 0 0 130px;
      background: #FEFAEE;
      border-radius: 12px;
      border: 1px solid #e8d9c0;
      overflow: hidden;
      scroll-snap-align: start;
      cursor: pointer;
      transition: box-shadow .2s;
    }

    .product-card-h:hover {
      box-shadow: 0 4px 14px rgba(112, 28, 28, .2);
    }

    .product-card-h .ph-img {
      width: 100%;
      aspect-ratio: 1;
      background: #e8d9c0;
      object-fit: cover;
      display: block;
    }

    .product-card-h .ph-img-ph {
      width: 100%;
      aspect-ratio: 1;
      background: #e8d9c0;
    }

    .product-card-h .ph-body {
      padding: 6px 6px 8px;
      background: #701c1c;
    }

    .product-card-h .ph-name {
      font-size: 11px;
      color: #FEFAEE;
      font-family: 'B Koodak', sans-serif;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .product-card-h .ph-price {
      font-size: 10px;
      color: #f0d0c0;
      font-family: 'B Koodak', sans-serif;
    }

    .section-loading {
      color: #701c1c;
      font-family: 'B Koodak', sans-serif;
      font-size: 12px;
      padding: 10px 20px;
    }

    /* ─── HR ─────────────────────────────────────── */
    hr {
      margin-top: 10%;
      margin-bottom: 10%;
      width: 100%;
      height: 8px;
      background-color: #701c1c;
      opacity: 20%;
      border: none;
    }

    /* ─── STORIES ────────────────────────────────── */
    .stories {
      margin-right: 20px;
      padding: 10px;
      padding-top: 0;
      flex: 0 0 320px;
      height: 150px;
      background: #FEFAEE;
      border-radius: 12px;
      border: 1px solid #701c1c;
      scroll-snap-align: start;
      box-shadow: 2px 3px 10px rgba(11, 11, 11, .332);
      cursor: pointer;
    }

    .stories h4 {
      color: #701c1c;
    }

    .stories p {
      color: #894b4b;
      text-align: start;
    }

    /* ─── ACCORDION ──────────────────────────────── */
    .accordion-section {
      padding: 10px 15px;
      margin-top: 20%;
    }

    details {
      border-bottom: 1px solid #ccc;
      padding: 10px 0;
    }

    summary {
      list-style: none;
      display: flex;
      justify-content: space-between;
      cursor: pointer;
      color: #701c1c;
      font-size: 20px;
      font-family: 'B Koodak', sans-serif;
    }

    summary::after {
      content: '>';
      transform: rotate(-90deg);
    }

    details[open] summary::after {
      transform: rotate(90deg);
    }

    /*  BOTTOM NAV  */
    .bottom-nav {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 420px;
      background: #3d0e0e;
      display: flex;
      justify-content: space-around;
      align-items: center;
      padding: 10px 5px;
      z-index: 100;
      border-radius: 20px 20px 0 0;
      box-shadow: 0 -4px 20px rgba(0, 0, 0, .3);
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 3px;
      color: #ffffff88;
      cursor: pointer;
      font-size: 10px;
      padding: 4px 8px;
      border-radius: 10px;
      transition: color .2s, background .2s;
    }

    .nav-item svg {
      width: 20px;
      height: 20px;
    }

    .nav-item.active {
      color: #fff;
    }

    .nav-item:hover:not(.active) {
      color: #ffffff99;
      background: #ffffff11;
    }

    .nav-item span {
      font-family: "Vazirmatn", sans-serif;
      font-size: 10px;
    }

    .nav-item a {
      text-decoration: none;
      color: #ffffff88;
    }
