/*
Theme Name: TryCotton
Theme URI: https://example.com/trycotton
Author: TryCotton
Author URI: https://example.com
Description: A clean, bilingual (EN/AR) responsive WooCommerce-ready homepage theme for a natural cotton clothing brand. Built to match the TryCotton homepage design: hero banner, category showcase, feature strip, and best sellers grid.
Version: 1.6.2
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: trycotton
Tags: e-commerce, one-column, four-columns, custom-logo, custom-menu, featured-images, rtl-language-support, translation-ready

TryCotton is a custom starter theme built for the TryCotton brand homepage.
*/

/* ==========================================================================
   0. Design tokens
   ========================================================================== */
:root {
  --tc-bg: #f4efe5;
  --tc-bg-soft: #f8f4ec;
  --tc-bg-alt: #eae1cf;
  --tc-white: #ffffff;
  --tc-dark: #201c17;
  --tc-text: #3a352c;
  --tc-muted: #8a8071;
  --tc-accent: #b3906c;
  --tc-accent-soft: #cbb190;
  --tc-border: #e3d9c5;
  --tc-red: #cf2a22;
  --tc-radius-sm: 8px;
  --tc-radius-md: 16px;
  --tc-radius-lg: 28px;
  --tc-container: 1280px;
  --tc-gap: 24px;
  --tc-font-heading: "Playfair Display", "Georgia", "Times New Roman", serif;
  --tc-font-body: "Poppins", "Segoe UI", Tahoma, sans-serif;
  --tc-font-ar: "Cairo", "Tahoma", sans-serif;
  --tc-font-script: "Caveat", "Segoe Script", cursive;
  --tc-shadow-sm: 0 2px 10px rgba(32, 28, 23, 0.06);
  --tc-shadow-md: 0 10px 30px rgba(32, 28, 23, 0.08);
  --tc-ease: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   1. Reset & base
   ========================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--tc-bg);
  color: var(--tc-text);
  font-family: var(--tc-font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

body.trycotton-lang-ar,
[lang="ar"] {
  font-family: var(--tc-font-ar);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

h1, h2, h3, h4 {
  font-family: var(--tc-font-heading);
  font-weight: 500;
  margin: 0;
  color: var(--tc-dark);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}

.tc-container {
  max-width: var(--tc-container);
  margin-inline: auto;
  padding-inline: 24px;
}

.tc-ar {
  display: block;
  font-family: var(--tc-font-ar);
  direction: rtl;
}

.tc-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  background: var(--tc-dark);
  color: var(--tc-white);
  border: 1px solid var(--tc-dark);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background var(--tc-ease) .25s, color var(--tc-ease) .25s, transform var(--tc-ease) .25s;
}

.tc-btn:hover {
  background: transparent;
  color: var(--tc-dark);
  transform: translateY(-1px);
}

.tc-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--tc-ease) .25s;
}

.tc-btn:hover svg {
  transform: translateX(4px);
}
[dir="rtl"] .tc-btn:hover svg {
  transform: translateX(-4px) scaleX(-1);
}

.tc-btn--outline {
  background: transparent;
  color: var(--tc-dark);
}
.tc-btn--outline:hover {
  background: var(--tc-dark);
  color: var(--tc-white);
}

/* ==========================================================================
   2. Site header
   ========================================================================== */
.tc-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--tc-bg-soft);
  border-bottom: 1px solid var(--tc-border);
}

.tc-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.tc-header__side {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1 1 0;
}

.tc-header__side--right {
  justify-content: flex-end;
}

.tc-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  border-radius: 50%;
  color: var(--tc-dark);
  position: relative;
  transition: background var(--tc-ease) .2s;
}

.tc-icon-btn:hover {
  background: var(--tc-bg-alt);
}

.tc-icon-btn svg {
  width: 22px;
  height: 22px;
}

.tc-cart-count.is-bump {
  animation: tc-bump .3s var(--tc-ease);
}

@keyframes tc-bump {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.4); }
}

.tc-cart-count {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 16px;
  height: 16px;
  padding: 0 3px;
  border-radius: 50%;
  background: var(--tc-red);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  text-align: center;
}
[dir="rtl"] .tc-cart-count {
  right: auto;
  left: 2px;
}

.tc-logo {
  flex: 0 0 auto;
  text-align: center;
}

.tc-logo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.tc-logo img {
  max-height: 46px;
  width: auto;
}

.tc-logo__text {
  font-family: var(--tc-font-heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--tc-red);
  letter-spacing: 0.02em;
}

.tc-logo__text .tc-ar {
  font-size: 20px;
  line-height: 1;
}

/* mobile nav toggle */
.tc-menu-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0 6px;
}

.tc-menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--tc-dark);
  transition: transform var(--tc-ease) .25s, opacity var(--tc-ease) .25s;
}

.tc-menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.tc-menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.tc-menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* off-canvas nav */
.tc-nav-panel {
  position: fixed;
  inset: 0 30% 0 0;
  background: var(--tc-white);
  z-index: 200;
  transform: translateX(-105%);
  transition: transform var(--tc-ease) .35s;
  overflow-y: auto;
  padding: 24px;
}
[dir="rtl"] .tc-nav-panel {
  inset: 0 0 0 30%;
  transform: translateX(105%);
}
.tc-nav-panel.is-open {
  transform: translateX(0);
}

.tc-nav-panel__close {
  background: none;
  border: none;
  width: 40px;
  height: 40px;
  margin-inline-start: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-nav-panel__close svg {
  width: 22px;
  height: 22px;
}

.tc-nav-panel .tc-primary-menu {
  margin-top: 24px;
}
.tc-nav-panel .tc-primary-menu li {
  border-bottom: 1px solid var(--tc-border);
}
.tc-nav-panel .tc-primary-menu a {
  display: block;
  padding: 16px 4px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.tc-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(32, 28, 23, 0.45);
  z-index: 190;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--tc-ease) .3s, visibility var(--tc-ease) .3s;
}
.tc-nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

/* search panel */
.tc-search-panel {
  max-height: 0;
  overflow: hidden;
  background: var(--tc-bg-soft);
  border-bottom: 1px solid transparent;
  transition: max-height var(--tc-ease) .3s, border-color var(--tc-ease) .3s;
}
.tc-search-panel.is-open {
  max-height: 100px;
  border-color: var(--tc-border);
}
.tc-search-panel__inner {
  padding-block: 16px;
  display: flex;
  gap: 10px;
}
.tc-search-panel input[type="search"] {
  flex: 1;
  border: 1px solid var(--tc-border);
  background: var(--tc-white);
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 14px;
  color: var(--tc-text);
}
.tc-search-panel input[type="search"]:focus {
  outline: 2px solid var(--tc-accent-soft);
}
.tc-search-panel button[type="submit"] {
  background: var(--tc-dark);
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 0 22px;
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

/* ==========================================================================
   3. Hero
   ========================================================================== */
.tc-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #efe7d8 0%, #f7f2e8 55%, #eee5d3 100%);
  padding-block: 70px 90px;
}

.tc-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.9;
}

.tc-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(244, 239, 229, 0.92) 0%, rgba(244, 239, 229, 0.55) 42%, rgba(244, 239, 229, 0) 68%);
}
[dir="rtl"] .tc-hero__scrim {
  background: linear-gradient(270deg, rgba(244, 239, 229, 0.92) 0%, rgba(244, 239, 229, 0.55) 42%, rgba(244, 239, 229, 0) 68%);
}

.tc-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 560px) 1fr;
  align-items: center;
  min-height: 420px;
}

.tc-hero__content {
  padding-block: 20px;
}

.tc-hero__badge {
  width: 108px;
  height: 108px;
  margin-bottom: 28px;
  color: var(--tc-accent);
}

.tc-hero__badge svg {
  width: 100%;
  height: 100%;
}

.tc-hero__badge text {
  font-family: var(--tc-font-body);
  font-size: 7.6px;
  letter-spacing: 2px;
  fill: var(--tc-accent);
}

.tc-hero__title {
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  line-height: 1.15;
  margin-bottom: 22px;
}

.tc-hero__subtitle {
  font-size: 16px;
  color: var(--tc-text);
  max-width: 380px;
  margin-bottom: 34px;
}

.tc-hero__subtitle span {
  display: block;
}

/* torn paper edge */
.tc-hero__torn {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 54px;
  z-index: 3;
  fill: var(--tc-bg);
  display: block;
}

/* ==========================================================================
   4. Category showcase
   ========================================================================== */
.tc-categories {
  padding-block: 64px 40px;
}

.tc-categories__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tc-gap);
}

.tc-category {
  text-align: center;
}

.tc-category__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 220px;
  margin-inline: auto;
  border-radius: 50%;
  overflow: hidden;
  background: var(--tc-bg-alt);
  margin-bottom: 20px;
}

.tc-category__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.tc-category__media .tc-placeholder-icon {
  width: 46%;
  height: 46%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--tc-accent-soft);
}

.tc-category__number {
  position: absolute;
  top: 6%;
  left: 6%;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tc-white);
  box-shadow: var(--tc-shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--tc-dark);
}
[dir="rtl"] .tc-category__number {
  left: auto;
  right: 6%;
}

.tc-category__title {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.tc-category__title-ar {
  font-family: var(--tc-font-ar);
  font-size: 14px;
  color: var(--tc-muted);
  margin-bottom: 14px;
  display: block;
}

.tc-category__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--tc-dark);
  transition: background var(--tc-ease) .2s, color var(--tc-ease) .2s;
}
.tc-category__link svg {
  width: 14px;
  height: 14px;
}
.tc-category__link:hover {
  background: var(--tc-dark);
  color: var(--tc-white);
}
[dir="rtl"] .tc-category__link svg {
  transform: scaleX(-1);
}

/* ==========================================================================
   5. Feature strip
   ========================================================================== */
.tc-features {
  margin-block: 40px 64px;
}

.tc-features__inner {
  background: var(--tc-bg-alt);
  border-radius: var(--tc-radius-lg);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tc-feature {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
  border-inline-start: 1px solid rgba(32, 28, 23, 0.08);
}
.tc-feature:first-child {
  border-inline-start: none;
}

.tc-feature__icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  color: var(--tc-dark);
}
.tc-feature__icon svg {
  width: 100%;
  height: 100%;
}

.tc-feature__label {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
}
.tc-feature__label-ar {
  display: block;
  font-family: var(--tc-font-ar);
  font-size: 13px;
  color: var(--tc-muted);
}

/* ==========================================================================
   6. Best sellers
   ========================================================================== */
.tc-best-sellers {
  padding-block: 20px 90px;
}

.tc-section-heading {
  text-align: center;
  margin-bottom: 46px;
}

.tc-section-heading__title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 10px;
}

.tc-section-heading__title-row::before,
.tc-section-heading__title-row::after {
  content: "";
  width: 64px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--tc-muted) 0 6px, transparent 6px 10px);
}

.tc-section-heading__title {
  font-size: 30px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tc-section-heading__tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--tc-font-script);
  font-size: 22px;
  color: var(--tc-accent);
}
.tc-section-heading__tagline svg {
  width: 20px;
  height: 20px;
}

.tc-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--tc-gap);
}

.tc-product-card {
  background: var(--tc-white);
  border: 1px solid var(--tc-border);
  border-radius: var(--tc-radius-md);
  padding: 18px;
  position: relative;
  transition: box-shadow var(--tc-ease) .25s, transform var(--tc-ease) .25s;
}
.tc-product-card:hover {
  box-shadow: var(--tc-shadow-md);
  transform: translateY(-3px);
}

.tc-product-card__wishlist {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--tc-white);
  border: 1px solid var(--tc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tc-dark);
  transition: color var(--tc-ease) .2s, border-color var(--tc-ease) .2s;
}
[dir="rtl"] .tc-product-card__wishlist {
  right: auto;
  left: 16px;
}
.tc-product-card__wishlist svg {
  width: 16px;
  height: 16px;
}
.tc-product-card__wishlist.is-active,
.tc-product-card__wishlist:hover {
  color: var(--tc-red);
  border-color: var(--tc-red);
}
.tc-product-card__wishlist.is-active svg {
  fill: var(--tc-red);
}

.tc-product-card__media {
  aspect-ratio: 1 / 1;
  border-radius: var(--tc-radius-sm);
  overflow: hidden;
  background: var(--tc-bg);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tc-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.tc-product-card__media .tc-placeholder-icon {
  width: 40%;
  height: 40%;
  color: var(--tc-accent-soft);
}

.tc-product-card__title {
  font-family: var(--tc-font-ar);
  font-size: 15px;
  font-weight: 500;
  color: var(--tc-dark);
  margin-bottom: 8px;
}

.tc-product-card__price {
  font-family: var(--tc-font-body);
  font-size: 15px;
  font-weight: 600;
  color: var(--tc-dark);
  margin-bottom: 16px;
}
.tc-product-card__price del {
  color: var(--tc-muted);
  font-weight: 400;
  margin-inline-end: 6px;
}

.tc-add-to-cart {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid var(--tc-dark);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-dark);
  transition: background var(--tc-ease) .2s, color var(--tc-ease) .2s;
}
.tc-add-to-cart svg {
  width: 15px;
  height: 15px;
}
.tc-add-to-cart:hover,
.tc-add-to-cart.added {
  background: var(--tc-dark);
  color: var(--tc-white);
}
.tc-add-to-cart[disabled],
.tc-add-to-cart.loading {
  opacity: 0.6;
  cursor: progress;
  pointer-events: none;
}

/* ==========================================================================
   7. Footer
   ========================================================================== */
.tc-footer {
  background: var(--tc-dark);
  color: #d8d2c5;
  padding-block: 56px 24px;
}

.tc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tc-footer__brand .tc-logo__text {
  color: #fff;
}
.tc-footer__brand p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.7;
  color: #b4ad9d;
  max-width: 300px;
}

.tc-footer__heading {
  color: #fff;
  font-family: var(--tc-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.tc-footer__col ul li {
  margin-bottom: 10px;
}
.tc-footer__col ul a {
  font-size: 14px;
  color: #b4ad9d;
  transition: color var(--tc-ease) .2s;
}
.tc-footer__col ul a:hover {
  color: #fff;
}

.tc-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 22px;
  font-size: 13px;
  color: #8a8371;
  flex-wrap: wrap;
}

.tc-footer__social {
  display: flex;
  gap: 10px;
}
.tc-footer__social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--tc-ease) .2s;
}
.tc-footer__social a:hover {
  background: rgba(255, 255, 255, 0.1);
}
.tc-footer__social svg {
  width: 16px;
  height: 16px;
  color: #fff;
}

/* ==========================================================================
   7b. Default WordPress search form & sidebar widgets
   (get_search_form()/widgets render on shop, search results, archives —
   this keeps them on-brand even outside the custom homepage sections)
   ========================================================================== */
.search-form {
  display: flex;
  gap: 10px;
  max-width: 420px;
  margin-bottom: 24px;
}

.search-form .search-field {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--tc-border);
  background: var(--tc-white);
  border-radius: 30px;
  padding: 12px 20px;
  font-size: 14px;
  font-family: var(--tc-font-body);
  color: var(--tc-text);
}

.search-form .search-field:focus {
  outline: 2px solid var(--tc-accent-soft);
}

.search-form .search-submit {
  flex-shrink: 0;
  background: var(--tc-dark);
  color: #fff;
  border: 1px solid var(--tc-dark);
  border-radius: 30px;
  padding: 0 22px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-family: var(--tc-font-body);
  cursor: pointer;
  transition: background var(--tc-ease) .2s, color var(--tc-ease) .2s;
}

.search-form .search-submit:hover {
  background: transparent;
  color: var(--tc-dark);
}

.widget-area .widget,
.widget {
  margin-bottom: 32px;
}

.widget-title {
  font-family: var(--tc-font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tc-dark);
  margin-bottom: 14px;
}

.widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.widget ul li {
  margin-bottom: 10px;
}

.widget ul a {
  font-size: 14px;
  color: var(--tc-muted);
  transition: color var(--tc-ease) .2s;
}

.widget ul a:hover {
  color: var(--tc-dark);
}

/* ==========================================================================
   8. Responsive
   ========================================================================== */
@media (max-width: 991px) {
  .tc-hero__inner {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .tc-hero__bg {
    opacity: 0.55;
  }
  .tc-hero__scrim {
    background: linear-gradient(180deg, rgba(244, 239, 229, 0.55) 0%, rgba(244, 239, 229, 0.92) 75%);
  }
  .tc-hero__content {
    max-width: 100%;
  }
  .tc-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 40px;
  }
  .tc-features__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .tc-feature:nth-child(3) {
    border-inline-start: none;
  }
  .tc-feature:nth-child(odd) {
    border-inline-start: none;
  }
  .tc-products {
    grid-template-columns: repeat(2, 1fr);
  }
  .tc-footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .tc-nav-panel {
    inset: 0 20% 0 0;
  }
  [dir="rtl"] .tc-nav-panel {
    inset: 0 0 0 20%;
  }
}

@media (max-width: 600px) {
  .tc-header__inner {
    padding-block: 14px;
  }
  .tc-logo img {
    max-height: 36px;
  }
  .tc-logo__text {
    font-size: 17px;
  }
  .tc-hero {
    padding-block: 40px 60px;
  }
  .tc-hero__title {
    font-size: 2rem;
  }
  .tc-hero__subtitle {
    max-width: 100%;
  }
  .tc-categories {
    padding-block: 44px 20px;
  }
  .tc-categories__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px 16px;
  }
  .tc-category__media {
    max-width: 140px;
  }
  .tc-features__inner {
    grid-template-columns: 1fr;
    border-radius: var(--tc-radius-md);
  }
  .tc-feature {
    border-inline-start: none !important;
    border-top: 1px solid rgba(32, 28, 23, 0.08);
  }
  .tc-feature:first-child {
    border-top: none;
  }
  .tc-section-heading__title {
    font-size: 24px;
  }
  .tc-products {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
  .tc-product-card {
    padding: 12px;
  }
  .tc-footer__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .tc-footer__bottom {
    justify-content: center;
    text-align: center;
  }
  .tc-nav-panel {
    inset: 0 12% 0 0;
  }
  [dir="rtl"] .tc-nav-panel {
    inset: 0 0 0 12%;
  }
}
