/*
Theme Name: TTM Foodcity
Theme URI: https://ttmfoodcity.com/
Author: TTM Foodcity
Description: A mobile-first grocery storefront theme for WooCommerce.
Version: 1.0.0
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: ttm-foodcity
*/

:root {
  --forest: #174f37;
  --forest-deep: #103b2a;
  --citrus: #c9e56d;
  --paper: #f6f5ec;
  --white: #fffefa;
  --ink: #203128;
  --muted: #68736b;
  --line: #e4e4d8;
  --amber: #e9b45a;
  --rose: #ad584b;
  --shadow: 0 14px 40px rgba(24, 52, 37, 0.09);
  --radius: 22px;
  --shell: 1200px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 150px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

body,
button,
input,
select,
textarea {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

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

button,
input,
select {
  font: inherit;
}

button,
a,
input,
select {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 3px solid #e7b653;
  outline-offset: 3px;
}

.ttm-shell {
  width: min(var(--shell), calc(100% - 48px));
  margin-inline: auto;
}

.ttm-skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border-radius: 10px;
  background: var(--white);
  color: var(--forest-deep);
  font-weight: 750;
  box-shadow: var(--shadow);
}

.ttm-skip-link:focus {
  transform: translateY(0);
}

.ttm-preview-banner {
  display: flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--forest-deep);
  color: #f8f7e9;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.015em;
}

.ttm-preview-banner strong {
  color: var(--citrus);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ttm-header {
  position: sticky;
  z-index: 30;
  top: 0;
  background: rgba(255, 254, 250, 0.97);
  border-bottom: 1px solid rgba(32, 49, 40, 0.08);
  backdrop-filter: blur(16px);
}

.ttm-header__main {
  display: grid;
  min-height: 88px;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}

.ttm-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  color: var(--forest-deep);
  font-size: 19px;
  font-weight: 750;
  letter-spacing: -0.045em;
  white-space: nowrap;
}

.ttm-brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 15px 15px 15px 5px;
  background: var(--citrus);
  color: var(--forest-deep);
}

.ttm-brand__mark svg {
  width: 26px;
  height: 26px;
}

.ttm-brand strong {
  font-weight: 850;
}

.ttm-search {
  display: flex;
  min-width: 0;
  height: 48px;
  align-items: center;
  gap: 10px;
  padding: 4px 5px 4px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #f9f9f3;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.ttm-search:focus-within {
  border-color: #8fae84;
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201, 229, 109, 0.34);
}

.ttm-search__icon {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--forest);
}

.ttm-search input[type="search"] {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
}

.ttm-search input[type="search"]::placeholder {
  color: #778078;
  opacity: 1;
}

.ttm-search button {
  flex: 0 0 auto;
  min-width: 82px;
  height: 38px;
  padding-inline: 15px;
  border: 0;
  border-radius: 10px;
  background: var(--forest);
  color: white;
  cursor: pointer;
  font-size: 13px;
  font-weight: 720;
  transition: background 160ms ease, transform 160ms ease;
}

.ttm-search button:hover {
  transform: translateY(-1px);
  background: var(--forest-deep);
}

.ttm-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.ttm-header__mobile-cart {
  display: none;
}

.ttm-action-link {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 9px;
  color: var(--forest-deep);
  font-size: 13px;
  font-weight: 700;
}

.ttm-action-link__icon {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: #eef2e4;
}

.ttm-action-link__icon svg {
  width: 19px;
  height: 19px;
}

.ttm-action-link--area {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.ttm-action-link small {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 550;
  line-height: 1.1;
}

.ttm-cart-count {
  display: inline-grid;
  min-width: 19px;
  height: 19px;
  place-items: center;
  padding-inline: 4px;
  border-radius: 100px;
  background: var(--citrus);
  color: var(--forest-deep);
  font-size: 11px;
  font-weight: 800;
}

.ttm-category-nav {
  border-top: 1px solid #eeeee5;
}

.ttm-category-nav__inner {
  display: flex;
  min-height: 47px;
  align-items: center;
  gap: clamp(18px, 3vw, 36px);
  overflow-x: auto;
  scrollbar-width: none;
}

.ttm-category-nav__inner::-webkit-scrollbar {
  display: none;
}

.ttm-category-nav a {
  flex: 0 0 auto;
  color: #46564c;
  font-size: 12px;
  font-weight: 650;
  transition: color 140ms ease;
}

.ttm-category-nav a:hover {
  color: var(--forest);
}

.ttm-main {
  min-height: 52vh;
}

.ttm-home {
  padding-top: 28px;
}

.ttm-hero {
  display: grid;
  min-height: 408px;
  grid-template-columns: 0.86fr 1.14fr;
  overflow: hidden;
  border-radius: 28px;
  background: var(--forest);
  box-shadow: var(--shadow);
}

.ttm-hero__copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 68px);
  color: #fffdf2;
}

.ttm-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 17px;
  color: var(--citrus);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ttm-kicker::before {
  width: 24px;
  height: 2px;
  background: var(--citrus);
  content: "";
}

.ttm-hero h1,
.ttm-section-heading h2,
.ttm-page-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.05em;
}

.ttm-hero h1 {
  max-width: 540px;
  font-size: clamp(40px, 5vw, 66px);
  line-height: 0.98;
}

.ttm-hero h1 em {
  color: var(--citrus);
  font-weight: 500;
}

.ttm-hero__lead {
  max-width: 390px;
  margin: 20px 0 26px;
  color: rgba(255, 254, 242, 0.83);
  font-size: 15px;
  line-height: 1.65;
}

.ttm-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 0 20px;
  border: 0;
  border-radius: 13px;
  background: var(--citrus);
  color: var(--forest-deep);
  cursor: pointer;
  font-size: 13px;
  font-weight: 780;
  transition: box-shadow 160ms ease, transform 160ms ease, background 160ms ease;
}

.ttm-button:hover {
  transform: translateY(-2px);
  background: #d4ec83;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.12);
}

.ttm-button svg {
  width: 17px;
  height: 17px;
}

.ttm-hero__note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0 0;
  color: rgba(255, 254, 242, 0.7);
  font-size: 11px;
}

.ttm-hero__note span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--amber);
}

.ttm-hero__visual {
  position: relative;
  min-height: 408px;
  overflow: hidden;
  background: #5d6f4b;
}

.ttm-hero__visual::before {
  position: absolute;
  z-index: 1;
  inset: 0 auto 0 0;
  width: 18%;
  background: linear-gradient(90deg, var(--forest), rgba(23, 79, 55, 0));
  content: "";
  pointer-events: none;
}

.ttm-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 408px;
  object-fit: cover;
  object-position: 56% 50%;
}

.ttm-image-ticket {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 24px;
  max-width: 150px;
  padding: 12px 15px;
  transform: rotate(-3deg);
  border-radius: 4px 11px 4px 11px;
  background: var(--citrus);
  color: var(--forest-deep);
  box-shadow: 0 8px 20px rgba(16, 42, 29, 0.18);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  line-height: 1.12;
}

.ttm-image-ticket small {
  display: block;
  margin-bottom: 4px;
  font-family: system-ui, sans-serif;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ttm-area-bar {
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 20px;
  padding: 13px 20px;
  border: 1px solid #e7e8dc;
  border-radius: 18px;
  background: var(--white);
}

.ttm-area-bar__copy {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 13px;
}

.ttm-area-bar__icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 14px;
  background: #edf2df;
  color: var(--forest);
}

.ttm-area-bar__icon svg {
  width: 21px;
  height: 21px;
}

.ttm-area-bar strong {
  display: block;
  color: var(--forest-deep);
  font-size: 13px;
}

.ttm-area-bar p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.ttm-link-button {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 14px;
  border: 1px solid #dfe4d3;
  border-radius: 11px;
  background: transparent;
  color: var(--forest);
  cursor: pointer;
  font-size: 12px;
  font-weight: 740;
  white-space: nowrap;
}

.ttm-link-button:hover {
  border-color: var(--forest);
  background: #f2f5e9;
}

.ttm-section {
  margin-top: 54px;
}

.ttm-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.ttm-section-heading__kicker {
  margin: 0 0 6px;
  color: var(--rose);
  font-size: 10px;
  font-weight: 780;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ttm-section-heading h2 {
  color: var(--forest-deep);
  font-size: clamp(28px, 3.1vw, 38px);
  line-height: 1.08;
}

.ttm-section-heading__text {
  max-width: 360px;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ttm-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.ttm-category-card {
  display: flex;
  min-height: 142px;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  padding: 17px;
  border: 1px solid #e7e8dc;
  border-radius: 18px;
  background: var(--white);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.ttm-category-card:hover {
  transform: translateY(-3px);
  border-color: #c8d6b8;
  box-shadow: 0 12px 28px rgba(25, 56, 39, 0.08);
}

.ttm-category-card__icon {
  display: grid;
  width: 49px;
  height: 49px;
  place-items: center;
  border-radius: 16px;
  background: #edf2df;
  color: var(--forest);
}

.ttm-category-card:nth-child(2) .ttm-category-card__icon {
  background: #f8ead3;
  color: #835a26;
}

.ttm-category-card:nth-child(3) .ttm-category-card__icon {
  background: #f4e2de;
  color: #9b4d40;
}

.ttm-category-card:nth-child(4) .ttm-category-card__icon {
  background: #e6eee8;
}

.ttm-category-card:nth-child(5) .ttm-category-card__icon {
  background: #ece8f3;
  color: #67557b;
}

.ttm-category-card__icon svg {
  width: 24px;
  height: 24px;
}

.ttm-category-card strong {
  margin-top: 15px;
  color: var(--forest-deep);
  font-size: 13px;
  line-height: 1.25;
}

.ttm-category-card small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.ttm-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ttm-product-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  padding: 9px;
  border: 1px solid #e7e8dc;
  border-radius: 19px;
  background: var(--white);
  transition: transform 170ms ease, box-shadow 170ms ease, border-color 170ms ease;
}

.ttm-product-card:hover {
  transform: translateY(-3px);
  border-color: #ccd8c1;
  box-shadow: 0 15px 32px rgba(24, 52, 37, 0.1);
}

.ttm-product-card__image {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 1 / 0.88;
  border-radius: 13px;
  background-color: #f4f0e6;
  background-repeat: no-repeat;
  background-size: 300% 200%;
}

.ttm-product-card__image-link {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 13px;
}

.ttm-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ttm-product-card__image--photo {
  padding: 0;
  background: #f4f0e6;
}

.ttm-product-card__image--fresh {
  background-image: url("assets/ttm-product-grid.jpg");
}

.ttm-product-card__image--pantry {
  background-image: url("assets/ttm-pantry-grid.jpg");
}

.ttm-slot-0 { background-position: 0% 0%; }
.ttm-slot-1 { background-position: 50% 0%; }
.ttm-slot-2 { background-position: 100% 0%; }
.ttm-slot-3 { background-position: 0% 100%; }
.ttm-slot-4 { background-position: 50% 100%; }
.ttm-slot-5 { background-position: 100% 100%; }

.ttm-product-card__ticket {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  padding: 6px 9px;
  border-radius: 4px 8px 4px 8px;
  background: var(--citrus);
  color: var(--forest-deep);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ttm-product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 13px 5px 5px;
}

.ttm-product-card__category {
  margin: 0 0 5px;
  color: var(--muted);
  font-size: 10px;
}

.ttm-product-card__name {
  display: block;
  min-height: 42px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
  line-height: 1.4;
}

.ttm-product-card__weight {
  margin-top: 3px;
  color: #768077;
  font-size: 10px;
}

.ttm-product-card__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 13px;
}

.ttm-product-card__price {
  color: var(--forest-deep);
  font-size: 15px;
  font-weight: 790;
  letter-spacing: -0.02em;
}

.ttm-product-card__price .woocommerce-Price-currencySymbol {
  margin-right: 2px;
  font-size: 11px;
  font-weight: 650;
}

.ttm-add-button {
  display: inline-flex;
  min-width: 74px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid #d4dfc9;
  border-radius: 11px;
  background: #f2f6e9;
  color: var(--forest);
  cursor: pointer;
  font-size: 11px;
  font-weight: 800;
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}

.ttm-add-button:hover {
  border-color: var(--forest);
  background: var(--forest);
  color: white;
}

.ttm-add-button svg {
  width: 15px;
  height: 15px;
}

.ttm-add-form {
  margin: 0;
}

.ttm-notice-area .woocommerce-notices-wrapper {
  margin: 18px 0 0;
}

.ttm-notice-area .woocommerce-message,
.ttm-notice-area .woocommerce-info,
.ttm-notice-area .woocommerce-error {
  margin: 0;
  padding: 14px 18px;
  border: 1px solid #dce5d0;
  border-radius: 12px;
  background: #f7faef;
  color: var(--forest-deep);
  font-size: 13px;
}

.ttm-trust-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 50px 0 64px;
}

.ttm-trust-card {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  padding: 18px;
  border-radius: 17px;
  background: #ecefe2;
}

.ttm-trust-card__mark {
  display: grid;
  width: 39px;
  height: 39px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 13px;
  background: var(--white);
  color: var(--forest);
}

.ttm-trust-card__mark svg {
  width: 19px;
  height: 19px;
}

.ttm-trust-card strong {
  display: block;
  margin-top: 2px;
  color: var(--forest-deep);
  font-size: 12px;
}

.ttm-trust-card p {
  margin: 4px 0 0;
  color: #66736a;
  font-size: 11px;
  line-height: 1.45;
}

.ttm-footer {
  padding: 44px 0 calc(36px + env(safe-area-inset-bottom));
  background: var(--forest-deep);
  color: rgba(255, 254, 242, 0.76);
}

.ttm-footer__top {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 42px;
  padding-bottom: 34px;
}

.ttm-brand--footer {
  color: var(--white);
}

.ttm-brand--footer .ttm-brand__mark {
  color: var(--forest-deep);
}

.ttm-footer__intro p {
  max-width: 350px;
  margin: 15px 0 0;
  color: rgba(255, 254, 242, 0.68);
  font-size: 13px;
  line-height: 1.65;
}

.ttm-footer__column h2 {
  margin: 4px 0 14px;
  color: var(--citrus);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ttm-footer__column ul {
  display: grid;
  gap: 9px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ttm-footer__column a {
  color: rgba(255, 254, 242, 0.76);
  font-size: 12px;
}

.ttm-footer__column a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.ttm-footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 17px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 254, 242, 0.56);
  font-size: 10px;
}

.ttm-mobile-nav {
  display: none;
}

.ttm-area-dialog {
  width: min(440px, calc(100vw - 32px));
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 22px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 28px 90px rgba(7, 30, 18, 0.28);
}

.ttm-area-dialog::backdrop {
  background: rgba(13, 35, 24, 0.55);
  backdrop-filter: blur(3px);
}

.ttm-area-dialog__inner {
  padding: 26px;
}

.ttm-area-dialog__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.ttm-area-dialog h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 27px;
  font-weight: 500;
  letter-spacing: -0.04em;
}

.ttm-area-dialog p {
  margin: 7px 0 18px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ttm-area-dialog__close {
  display: grid;
  width: 36px;
  height: 36px;
  flex: 0 0 auto;
  place-items: center;
  border: 0;
  border-radius: 12px;
  background: #f0f2e9;
  color: var(--forest);
  cursor: pointer;
  font-size: 20px;
}

.ttm-area-dialog label {
  display: block;
  margin-bottom: 7px;
  color: var(--forest-deep);
  font-size: 12px;
  font-weight: 750;
}

.ttm-area-dialog input {
  width: 100%;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #d9dfd2;
  border-radius: 12px;
  background: #fbfcf7;
}

.ttm-area-dialog .ttm-area-dialog__hint {
  margin: 9px 0 17px;
  font-size: 11px;
}

.ttm-area-dialog .ttm-button {
  width: 100%;
}

.ttm-status {
  min-height: 18px;
  margin: 10px 0 0 !important;
  color: var(--forest) !important;
  font-size: 11px !important;
}

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

/* WooCommerce pages */
.ttm-page-wrap {
  padding: 40px 0 72px;
}

.ttm-page-title {
  margin-bottom: 24px;
  color: var(--forest-deep);
  font-size: clamp(32px, 4vw, 46px);
}

.ttm-woocommerce {
  padding-top: 38px;
  padding-bottom: 72px;
}

.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--forest);
}

.woocommerce .woocommerce-products-header__title,
.woocommerce div.product .product_title,
.woocommerce-cart .entry-title,
.woocommerce-checkout .entry-title {
  margin: 0 0 22px;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.045em;
}

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 12px;
}

.woocommerce .woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .quantity .qty {
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid #d9dfd2;
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 30px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 10px;
  border: 1px solid #e7e8dc;
  border-radius: 19px;
  background: var(--white);
}

.woocommerce ul.products li.product a img {
  margin: 0 0 13px;
  aspect-ratio: 1 / 0.88;
  border-radius: 13px;
  object-fit: cover;
}

.woocommerce ul.products li.product[class*="ttm-art-"] a.woocommerce-LoopProduct-link::before {
  display: block;
  margin-bottom: 13px;
  aspect-ratio: 1 / 0.88;
  border-radius: 13px;
  background-color: #f4f0e6;
  background-repeat: no-repeat;
  background-size: 300% 200%;
  content: "";
}

.woocommerce ul.products li.product[class*="ttm-art-"] a img.woocommerce-placeholder {
  display: none;
}

.woocommerce ul.products li.product.ttm-art-fresh-0 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-product-grid.jpg"); background-position: 0% 0%; }
.woocommerce ul.products li.product.ttm-art-fresh-1 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-product-grid.jpg"); background-position: 50% 0%; }
.woocommerce ul.products li.product.ttm-art-fresh-2 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-product-grid.jpg"); background-position: 100% 0%; }
.woocommerce ul.products li.product.ttm-art-fresh-3 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-product-grid.jpg"); background-position: 0% 100%; }
.woocommerce ul.products li.product.ttm-art-fresh-4 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-product-grid.jpg"); background-position: 50% 100%; }
.woocommerce ul.products li.product.ttm-art-fresh-5 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-product-grid.jpg"); background-position: 100% 100%; }
.woocommerce ul.products li.product.ttm-art-pantry-0 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-pantry-grid.jpg"); background-position: 0% 0%; }
.woocommerce ul.products li.product.ttm-art-pantry-1 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-pantry-grid.jpg"); background-position: 50% 0%; }
.woocommerce ul.products li.product.ttm-art-pantry-2 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-pantry-grid.jpg"); background-position: 100% 0%; }
.woocommerce ul.products li.product.ttm-art-pantry-3 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-pantry-grid.jpg"); background-position: 0% 100%; }
.woocommerce ul.products li.product.ttm-art-pantry-4 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-pantry-grid.jpg"); background-position: 50% 100%; }
.woocommerce ul.products li.product.ttm-art-pantry-5 a.woocommerce-LoopProduct-link::before { background-image: url("assets/ttm-pantry-grid.jpg"); background-position: 100% 100%; }

.single-product[class*="ttm-art-fresh-"] .woocommerce-product-gallery { background: #f4f0e6 url("assets/ttm-product-grid.jpg") no-repeat 0% 0% / 300% 200%; }
.single-product.ttm-art-fresh-1 .woocommerce-product-gallery { background-position: 50% 0%; }
.single-product.ttm-art-fresh-2 .woocommerce-product-gallery { background-position: 100% 0%; }
.single-product.ttm-art-fresh-3 .woocommerce-product-gallery { background-position: 0% 100%; }
.single-product.ttm-art-fresh-4 .woocommerce-product-gallery { background-position: 50% 100%; }
.single-product.ttm-art-fresh-5 .woocommerce-product-gallery { background-position: 100% 100%; }
.single-product[class*="ttm-art-pantry-"] .woocommerce-product-gallery { background: #f4f0e6 url("assets/ttm-pantry-grid.jpg") no-repeat 0% 0% / 300% 200%; }
.single-product.ttm-art-pantry-1 .woocommerce-product-gallery { background-position: 50% 0%; }
.single-product.ttm-art-pantry-2 .woocommerce-product-gallery { background-position: 100% 0%; }
.single-product.ttm-art-pantry-3 .woocommerce-product-gallery { background-position: 0% 100%; }
.single-product.ttm-art-pantry-4 .woocommerce-product-gallery { background-position: 50% 100%; }
.single-product.ttm-art-pantry-5 .woocommerce-product-gallery { background-position: 100% 100%; }

.single-product[class*="ttm-art-"] .woocommerce-product-gallery img[src*="woocommerce-placeholder"] {
  opacity: 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 680;
}

.woocommerce ul.products li.product .price {
  margin-top: 7px;
  color: var(--forest);
  font-size: 14px;
  font-weight: 780;
}

.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  min-height: 42px;
  padding: 11px 16px;
  border-radius: 11px;
  background: var(--forest);
  color: white;
  font-size: 12px;
  font-weight: 730;
  line-height: 1.2;
}

.woocommerce ul.products li.product .button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce button.button.alt:hover,
.woocommerce a.button.alt:hover {
  background: var(--forest-deep);
  color: white;
}

.woocommerce .star-rating {
  color: #bf8d37;
}

.woocommerce div.product {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
}

.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none;
  width: auto;
  margin: 0;
}

.woocommerce div.product div.images img {
  overflow: hidden;
  border-radius: 22px;
}

.woocommerce div.product .product_title {
  margin-bottom: 12px;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--forest);
  font-size: 22px;
  font-weight: 800;
}

.woocommerce div.product form.cart {
  display: flex;
  align-items: center;
  gap: 10px;
}

.woocommerce div.product form.cart .button {
  min-height: 48px;
}

.woocommerce div.product .woocommerce-tabs,
.woocommerce div.product .related {
  grid-column: 1 / -1;
}

.woocommerce div.product .woocommerce-tabs ul.tabs {
  padding: 0;
}

.woocommerce div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  padding: 8px 12px;
  border: 0;
  background: transparent;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li.active {
  border-bottom: 2px solid var(--forest);
}

.woocommerce table.shop_table {
  overflow: hidden;
  border: 1px solid #e5e8dd;
  border-radius: 15px;
  border-collapse: separate;
  background: var(--white);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 14px;
  border-color: #edf0e8;
  font-size: 13px;
}

.woocommerce .cart-collaterals .cart_totals,
.woocommerce-page .cart-collaterals .cart_totals {
  padding: 20px;
  border: 1px solid #e5e8dd;
  border-radius: 15px;
  background: var(--white);
}

.woocommerce form.checkout_coupon,
.woocommerce form.login,
.woocommerce form.register {
  border: 1px solid #e3e7dc;
  border-radius: 15px;
  background: var(--white);
}

.woocommerce .col2-set,
.woocommerce-page .col2-set {
  width: 58%;
}

.woocommerce #order_review_heading,
.woocommerce #order_review {
  width: 38%;
  float: right;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  border-top-color: var(--forest);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 5px 20px rgba(24, 52, 37, 0.05);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--forest);
}

.woocommerce-error::before {
  color: var(--rose);
}

.woocommerce .woocommerce-pagination ul.page-numbers {
  border: 0;
}

.woocommerce .woocommerce-pagination ul.page-numbers li {
  margin-right: 5px;
  border: 0;
}

.woocommerce .woocommerce-pagination .page-numbers a,
.woocommerce .woocommerce-pagination .page-numbers span {
  display: grid;
  min-width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 10px;
  background: var(--white);
  color: var(--forest);
}

.woocommerce .woocommerce-pagination .page-numbers .current {
  background: var(--forest);
  color: white;
}

.woocommerce .woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--white);
}

.woocommerce .woocommerce-MyAccount-navigation .is-active a {
  background: var(--forest);
  color: white;
}

.woocommerce .woocommerce-MyAccount-content {
  min-height: 160px;
  padding: 20px;
  border: 1px solid #e5e8dd;
  border-radius: 15px;
  background: var(--white);
}

@media (max-width: 960px) {
  .ttm-header__main {
    grid-template-columns: auto minmax(200px, 1fr) auto;
    gap: 16px;
    min-height: 78px;
  }

  .ttm-header__actions {
    display: none;
  }

  .ttm-header__mobile-cart {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid #e0e5d8;
    border-radius: 12px;
    color: var(--forest-deep);
    font-size: 12px;
    font-weight: 750;
    white-space: nowrap;
  }

  .ttm-header__mobile-cart svg {
    width: 18px;
    height: 18px;
  }

  .ttm-category-grid {
    grid-template-columns: repeat(4, minmax(125px, 1fr));
    overflow-x: auto;
    padding-bottom: 5px;
    scrollbar-width: none;
  }

  .ttm-category-grid::-webkit-scrollbar {
    display: none;
  }

  .ttm-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  html {
    scroll-padding-top: 130px;
  }

  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
    font-size: 15px;
  }

  .ttm-shell {
    width: min(100% - 28px, 520px);
  }

  .ttm-preview-banner {
    min-height: 32px;
    gap: 6px;
    padding-inline: 9px;
    font-size: 10px;
    line-height: 1.25;
  }

  .ttm-preview-banner strong {
    font-size: 9px;
  }

  .ttm-header__main {
    display: grid;
    min-height: 0;
    grid-template-columns: 1fr auto;
    gap: 9px 10px;
    padding-top: 10px;
    padding-bottom: 11px;
  }

  .ttm-brand {
    gap: 8px;
    font-size: 17px;
  }

  .ttm-brand__mark {
    width: 38px;
    height: 38px;
    border-radius: 13px 13px 13px 4px;
  }

  .ttm-brand__mark svg {
    width: 23px;
    height: 23px;
  }

  .ttm-header__mobile-cart {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 0 10px;
    border: 1px solid #e0e5d8;
    border-radius: 12px;
    color: var(--forest-deep);
    font-size: 12px;
    font-weight: 750;
  }

  .ttm-header__mobile-cart svg {
    width: 18px;
    height: 18px;
  }

  .ttm-header__main .ttm-search {
    grid-column: 1 / -1;
    height: 46px;
    border-radius: 12px;
  }

  .ttm-search button {
    min-width: 70px;
    height: 36px;
    padding-inline: 12px;
    font-size: 12px;
  }

  .ttm-category-nav {
    border-top-color: #f0f0e9;
  }

  .ttm-category-nav__inner {
    min-height: 39px;
    gap: 21px;
  }

  .ttm-category-nav a {
    font-size: 11px;
  }

  .ttm-home {
    padding-top: 14px;
  }

  .ttm-hero {
    min-height: 0;
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .ttm-hero__copy {
    padding: 26px 23px 22px;
  }

  .ttm-kicker {
    margin-bottom: 12px;
    font-size: 9px;
  }

  .ttm-kicker::before {
    width: 17px;
  }

  .ttm-hero h1 {
    max-width: 360px;
    font-size: clamp(37px, 10vw, 51px);
  }

  .ttm-hero__lead {
    max-width: 330px;
    margin: 13px 0 19px;
    font-size: 13px;
    line-height: 1.55;
  }

  .ttm-button {
    min-height: 46px;
    padding-inline: 16px;
    border-radius: 12px;
    font-size: 12px;
  }

  .ttm-hero__note {
    margin-top: 14px;
    font-size: 10px;
  }

  .ttm-hero__visual {
    min-height: 190px;
    max-height: 230px;
  }

  .ttm-hero__visual::before {
    inset: 0 0 auto;
    width: auto;
    height: 20%;
    background: linear-gradient(180deg, var(--forest), rgba(23, 79, 55, 0));
  }

  .ttm-hero__visual img {
    min-height: 220px;
    object-position: 65% 52%;
  }

  .ttm-image-ticket {
    right: 14px;
    bottom: 13px;
    max-width: 128px;
    padding: 10px 12px;
    font-size: 13px;
  }

  .ttm-area-bar {
    min-height: 70px;
    gap: 8px;
    margin-top: 12px;
    padding: 11px;
    border-radius: 15px;
  }

  .ttm-area-bar__copy {
    gap: 9px;
  }

  .ttm-area-bar__icon {
    width: 38px;
    height: 38px;
    border-radius: 12px;
  }

  .ttm-area-bar__icon svg {
    width: 18px;
    height: 18px;
  }

  .ttm-area-bar strong {
    font-size: 11px;
  }

  .ttm-area-bar p {
    max-width: 190px;
    font-size: 10px;
    line-height: 1.35;
  }

  .ttm-link-button {
    min-height: 38px;
    padding-inline: 9px;
    border-radius: 10px;
    font-size: 10px;
  }

  .ttm-section {
    margin-top: 36px;
  }

  .ttm-section-heading {
    align-items: end;
    margin-bottom: 14px;
  }

  .ttm-section-heading__kicker {
    margin-bottom: 5px;
    font-size: 9px;
  }

  .ttm-section-heading h2 {
    font-size: 29px;
  }

  .ttm-section-heading__text {
    display: none;
  }

  .ttm-category-grid {
    grid-template-columns: repeat(4, 125px);
    gap: 9px;
    margin-right: -14px;
    padding-right: 14px;
  }

  .ttm-category-card {
    min-height: 125px;
    padding: 12px;
    border-radius: 15px;
  }

  .ttm-category-card__icon {
    width: 43px;
    height: 43px;
    border-radius: 14px;
  }

  .ttm-category-card__icon svg {
    width: 21px;
    height: 21px;
  }

  .ttm-category-card strong {
    margin-top: 12px;
    font-size: 12px;
  }

  .ttm-product-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }

  .ttm-product-card {
    padding: 7px;
    border-radius: 16px;
  }

  .ttm-product-card__image {
    aspect-ratio: 1 / 0.82;
    border-radius: 11px;
  }

  .ttm-product-card__ticket {
    top: 7px;
    left: 7px;
    padding: 5px 7px;
    font-size: 8px;
  }

  .ttm-product-card__body {
    padding: 10px 3px 3px;
  }

  .ttm-product-card__name {
    min-height: 38px;
    font-size: 12px;
  }

  .ttm-product-card__bottom {
    gap: 5px;
    margin-top: 10px;
  }

  .ttm-product-card__price {
    font-size: 13px;
  }

  .ttm-add-button {
    min-width: 66px;
    min-height: 40px;
    gap: 4px;
    padding-inline: 7px;
    border-radius: 10px;
    font-size: 10px;
  }

  .ttm-add-button svg {
    width: 14px;
    height: 14px;
  }

  .ttm-trust-row {
    grid-template-columns: 1fr;
    gap: 9px;
    margin: 34px 0 42px;
  }

  .ttm-trust-card {
    align-items: center;
    padding: 13px;
    border-radius: 14px;
  }

  .ttm-trust-card__mark {
    width: 36px;
    height: 36px;
  }

  .ttm-footer {
    padding-top: 32px;
  }

  .ttm-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 27px 18px;
    padding-bottom: 24px;
  }

  .ttm-footer__intro {
    grid-column: 1 / -1;
  }

  .ttm-footer__intro p {
    font-size: 12px;
  }

  .ttm-footer__bottom {
    flex-direction: column;
    gap: 6px;
    font-size: 9px;
  }

  .ttm-mobile-nav {
    position: fixed;
    z-index: 40;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    min-height: calc(62px + env(safe-area-inset-bottom));
    grid-template-columns: repeat(4, 1fr);
    align-items: stretch;
    padding: 6px 9px calc(6px + env(safe-area-inset-bottom));
    border-top: 1px solid #e4e7dd;
    background: rgba(255, 254, 250, 0.97);
    box-shadow: 0 -8px 25px rgba(16, 42, 29, 0.08);
    backdrop-filter: blur(18px);
  }

  .ttm-mobile-nav a {
    display: flex;
    min-height: 50px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    border-radius: 12px;
    color: #647067;
    font-size: 9px;
    font-weight: 680;
  }

  .ttm-mobile-nav a:hover,
  .ttm-mobile-nav a[aria-current="page"] {
    background: #eff3e4;
    color: var(--forest);
  }

  .ttm-mobile-nav svg {
    width: 19px;
    height: 19px;
  }

  .ttm-mobile-nav .ttm-cart-count {
    position: absolute;
    min-width: 15px;
    height: 15px;
    margin: -21px 0 0 22px;
    font-size: 9px;
  }

  .ttm-page-wrap,
  .ttm-woocommerce {
    padding-top: 25px;
    padding-bottom: 45px;
  }

  .woocommerce ul.products li.product {
    padding: 7px;
    border-radius: 16px;
  }

  .woocommerce ul.products li.product .button {
    width: 100%;
    padding-inline: 8px;
    font-size: 10px;
    text-align: center;
  }

  .woocommerce div.product {
    display: block;
  }

  .woocommerce div.product div.summary {
    margin-top: 22px;
  }

  .woocommerce .col2-set,
  .woocommerce-page .col2-set,
  .woocommerce #order_review_heading,
  .woocommerce #order_review {
    width: 100%;
    float: none;
  }

  .woocommerce #order_review_heading {
    margin-top: 26px;
  }

  .woocommerce table.shop_table th,
  .woocommerce table.shop_table td {
    padding: 9px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .ttm-shell {
    width: calc(100% - 22px);
  }

  .ttm-header__main {
    gap: 8px;
  }

  .ttm-brand {
    font-size: 15px;
  }

  .ttm-header__mobile-cart {
    padding-inline: 8px;
    font-size: 11px;
  }

  .ttm-area-bar p {
    max-width: 145px;
  }

  .ttm-area-bar__icon {
    display: none;
  }

  .ttm-add-button {
    min-width: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Homepage direction from the Sri Lankan grocery UI review. */
.ttm-home {
  padding-top: 22px;
}

.ttm-home .ttm-area-bar--home {
  margin-top: 0;
  margin-bottom: 16px;
  border-color: #dfe5d4;
  background: #fffefa;
}

.ttm-home .ttm-hero {
  border-radius: 24px 34px 24px 34px;
}

.ttm-home .ttm-hero__visual::before {
  display: none;
}

.ttm-market-list {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: 22px;
  margin: 34px 0 4px;
  padding: 21px 24px;
  border: 1px dashed #bdc7a7;
  border-radius: 16px 24px 16px 24px;
  background-color: #fbfaef;
  background-image: linear-gradient(to bottom, transparent 31px, rgba(32, 49, 40, 0.045) 32px);
  background-size: 100% 32px;
}

.ttm-market-list__heading {
  max-width: 310px;
}

.ttm-market-list__eyebrow {
  margin: 0 0 6px;
  color: var(--forest);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ttm-market-list__heading h2 {
  margin: 0;
  color: var(--forest-deep);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(23px, 2.5vw, 30px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;
}

.ttm-market-list__heading > p:last-child {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.ttm-market-list__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ttm-market-list__items a {
  display: flex;
  min-width: 0;
  min-height: 54px;
  align-items: center;
  gap: 9px;
  padding: 7px 9px;
  border-bottom: 1px dashed #cfd6bb;
  color: var(--ink);
  transition: background 150ms ease, border-color 150ms ease;
}

.ttm-market-list__items a:hover {
  border-color: var(--forest);
  background: rgba(255, 254, 250, 0.75);
}

.ttm-market-list__check {
  display: grid;
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 7px;
  background: var(--citrus);
  color: var(--forest-deep);
  font-size: 13px;
  font-weight: 900;
}

.ttm-market-list__items strong,
.ttm-market-list__items small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ttm-market-list__items strong {
  color: var(--forest-deep);
  font-size: 12px;
  line-height: 1.25;
}

.ttm-market-list__items small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  white-space: nowrap;
}

.ttm-sample-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: -3px 0 18px;
  padding: 10px 12px;
  border-left: 3px solid var(--amber);
  border-radius: 0 10px 10px 0;
  background: #fffaf0;
  color: #58604f;
  font-size: 11px;
  line-height: 1.45;
}

.ttm-sample-note strong {
  flex: 0 0 auto;
  color: var(--forest-deep);
  font-size: 10px;
  text-transform: uppercase;
}

@media (max-width: 680px) {
  .ttm-home {
    padding-top: 12px;
  }

  .ttm-home .ttm-area-bar--home {
    min-height: 66px;
    margin-bottom: 12px;
  }

  .ttm-home .ttm-hero {
    border-radius: 18px 26px 18px 26px;
  }

  .ttm-home .ttm-hero__copy {
    padding: 23px 20px 18px;
  }

  .ttm-home .ttm-hero h1 {
    font-size: clamp(36px, 9.5vw, 48px);
  }

  .ttm-home .ttm-hero__lead {
    margin: 13px 0 18px;
    font-size: 13px;
    line-height: 1.5;
  }

  .ttm-home .ttm-hero__visual {
    min-height: 175px;
    max-height: 195px;
  }

  .ttm-home .ttm-hero__visual img {
    min-height: 195px;
    object-position: 62% 52%;
  }

  .ttm-home .ttm-category-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: visible;
    margin-right: 0;
    padding-right: 0;
    gap: 9px;
  }

  .ttm-home .ttm-category-card {
    min-height: 112px;
    padding: 11px;
  }

  .ttm-market-list {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 24px;
    padding: 17px 14px;
    border-radius: 14px 20px 14px 20px;
  }

  .ttm-market-list__heading h2 {
    font-size: 25px;
  }

  .ttm-market-list__items {
    gap: 6px;
  }

  .ttm-market-list__items a {
    min-height: 65px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 5px;
    padding: 8px;
    border: 1px dashed #cfd6bb;
    border-radius: 10px;
    background: rgba(255, 254, 250, 0.6);
  }

  .ttm-market-list__items a:hover {
    background: var(--white);
  }

  .ttm-market-list__check {
    width: 19px;
    height: 19px;
    border-radius: 6px;
    font-size: 11px;
  }

  .ttm-market-list__items strong {
    font-size: 10px;
  }

  .ttm-market-list__items small {
    font-size: 9px;
  }

  .ttm-sample-note {
    flex-direction: column;
    gap: 3px;
    margin: -2px 0 14px;
    padding: 9px 10px;
    font-size: 10px;
  }

  .ttm-mobile-nav {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}

@media (max-width: 360px) {
  .ttm-home .ttm-area-bar--home {
    gap: 6px;
    padding-inline: 9px;
  }

  .ttm-home .ttm-area-bar p {
    max-width: 138px;
  }

  .ttm-market-list {
    padding-inline: 11px;
  }

  .ttm-market-list__items {
    gap: 5px;
  }

  .ttm-market-list__items a {
    padding: 7px 6px;
  }

  .ttm-market-list__items strong {
    font-size: 9px;
  }
}

body.woocommerce-cart.ttm-foodcity-preview .wc-block-cart__submit-container,
body.woocommerce-cart.ttm-foodcity-preview .wc-proceed-to-checkout {
  display: none;
}
