/* Maiwand Pizza — shop-front homepage. Mobile first. */
.maiwand-home {
  --maiwand-ink: #19232e;
  --maiwand-muted: #5b6670;
  --maiwand-red: #d62828;
  --maiwand-cream: #fffaf5;
  --maiwand-soft: #fff0e5;
  --maiwand-line: #f0e4da;
  --maiwand-green: #1f8a4c;
  background: var(--maiwand-cream);
  color: var(--maiwand-ink);
  font-family: var(--maiwand-font, Arial, Helvetica, sans-serif);
  padding-bottom: 0;
}
.maiwand-home *, .maiwand-home *::before, .maiwand-home *::after { box-sizing: border-box; }
.maiwand-home a { text-decoration: none; }
.maiwand-home a:focus-visible, .maiwand-home button:focus-visible { outline: 3px solid var(--maiwand-red); outline-offset: 3px; }
.maiwand-home h1, .maiwand-home h2, .maiwand-home h3, .maiwand-home p { color: inherit; }
.maiwand-home [hidden] { display: none !important; }
.maiwand-eyebrow { margin: 0 0 10px; color: #b52727 !important; font-size: 11px; font-weight: 700; letter-spacing: 2px; }

.maiwand-button { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 18px; border: 1px solid var(--maiwand-red); border-radius: 10px; font-size: 15px; font-weight: 700; line-height: 1.2; text-align: center; }
.maiwand-button--solid { background: var(--maiwand-red); color: #fff !important; }
.maiwand-button--solid:hover { background: #b71f22; border-color: #b71f22; color: #fff !important; }
.maiwand-button--ghost { justify-content: center; background: #fff; color: var(--maiwand-red) !important; }
.maiwand-button--ghost:hover { background: #fff5f0; }
.maiwand-button .maiwand-icon { width: 18px; height: 18px; }
.maiwand-icon { flex: none; width: 19px; height: 19px; color: var(--maiwand-red); }

/* Open / closed pill (text filled in by status.js). */
.maiwand-home .mw-status { display: inline-flex; align-items: center; gap: 7px; margin: 0 0 14px; padding: 5px 11px 5px 9px; border-radius: 999px; background: #fff; color: var(--maiwand-ink); font-size: 13px; font-weight: 700; line-height: 1.2; box-shadow: 0 1px 0 var(--maiwand-line); }
.maiwand-home .mw-status::before { width: 8px; height: 8px; border-radius: 50%; background: var(--maiwand-green); content: ''; }
.maiwand-home .mw-status.is-closed::before { background: #9aa3ab; }
.maiwand-home .mw-status.is-soon::before { background: #e08a00; }
.maiwand-home .mw-status span { color: var(--maiwand-muted); font-weight: 500; }
/* Next time slot pill ("Livraison dès 22:00"), next to it. */
.maiwand-home .mw-next { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 14px; padding: 5px 11px 5px 9px; border-radius: 999px; background: #fff; color: var(--maiwand-ink); font-size: 13px; font-weight: 700; line-height: 1.2; box-shadow: 0 1px 0 var(--maiwand-line); }
.maiwand-home .mw-next::before { flex: none; width: 14px; height: 14px; background: var(--maiwand-red); content: ''; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 7v5l3 2'/%3E%3C/svg%3E") center / contain no-repeat; }
.maiwand-hero__pills { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; }
.maiwand-home .maiwand-hero__pills .mw-status, .maiwand-home .maiwand-hero__pills .mw-next { margin: 0; }

/* Hero — on phones the text and buttons sit above the photo. */
.maiwand-hero { display: flex; flex-direction: column; background: var(--maiwand-soft); }
.maiwand-hero__inner { order: 1; padding: 28px 16px 20px; }
.maiwand-hero__copy { max-width: 390px; margin: 0 auto; }
.maiwand-hero h1 { max-width: 370px; margin: 0 0 12px; font-size: clamp(29px, 8.7vw, 36px); font-weight: 800; letter-spacing: -1px; line-height: 1.08; }
.maiwand-hero h1 span { color: var(--maiwand-red); }
.maiwand-hero__description { max-width: 36ch; margin: 0 0 14px; font-size: 15px; line-height: 1.5; }
.maiwand-hero__actions { display: grid; gap: 10px; }
.maiwand-hero__cta { width: 100%; }
.maiwand-hero__facts { margin: 12px 0 0; color: var(--maiwand-muted) !important; font-size: 13px; font-weight: 700; line-height: 1.4; }
.maiwand-hero__picture { order: 2; position: relative; display: block; width: 100%; height: 240px; overflow: hidden; }
.maiwand-hero__image { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 90%; }

/* Offer banner behind the hero (v0.16.1, maiwand_hero_banner()): the offer text is in the picture.
   Phones: the whole banner under the buttons. Tablet/computer: anchored right, where the offer sits. */
.maiwand-hero.has-banner .maiwand-hero__picture { height: auto; aspect-ratio: 1280 / 800; }
.maiwand-hero.has-banner .maiwand-hero__image { object-position: center; }
@media (min-width: 601px) {
  .maiwand-hero.has-banner .maiwand-hero__picture { height: 100%; aspect-ratio: auto; }
  .maiwand-hero.has-banner .maiwand-hero__image { object-position: right center; }
}

/* "Livrable chez vous ?" address check: styles in assets/css/check.css. */
.maiwand-hero.is-suggesting { z-index: 3; }

/* Benefits strip */
.maiwand-benefits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 15px 16px; background: #fff; border-bottom: 1px solid #eee7e0; }
.maiwand-benefit { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; min-height: 74px; padding: 8px 3px; border-radius: 10px; background: var(--maiwand-cream); color: var(--maiwand-ink); text-align: center; font-size: 13px; font-weight: 700; white-space: nowrap; }
.maiwand-benefit:nth-child(2), .maiwand-benefit:nth-child(3) { display: none; }
.maiwand-benefit small { display: block; margin-top: 2px; color: var(--maiwand-muted, #5b6670); font-size: 11px; font-weight: 600; }
.maiwand-benefit.maiwand-benefit--halal { white-space: normal; line-height: 1.2; }

/* Sections */
.maiwand-section { width: min(calc(100% - 32px), 1120px); margin: 0 auto; padding-top: 38px; }
.maiwand-section__heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.maiwand-section__heading h2 { margin: 0; font-size: 23px; font-weight: 800; letter-spacing: -.5px; line-height: 1.15; }
.maiwand-section__heading a { display: inline-flex; align-items: center; gap: 5px; min-height: 44px; color: #bd2525 !important; font-size: 14px; font-weight: 700; white-space: nowrap; }

/* Categories */
.maiwand-category-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.maiwand-category-card { position: relative; display: grid; grid-template-columns: 1fr 20px; grid-template-rows: 102px minmax(41px, auto); min-width: 0; overflow: hidden; border: 1px solid var(--maiwand-line); border-radius: 13px; background: #fff; color: var(--maiwand-ink) !important; box-shadow: 0 3px 9px rgb(25 35 46 / 4%); }
.maiwand-category-card img, .maiwand-category-card__placeholder { grid-column: 1 / -1; display: block; width: 100%; height: 102px; object-fit: cover; }
.maiwand-category-card__placeholder { background: #f3e7db; }
.maiwand-category-card strong { align-self: center; min-width: 0; padding-left: 12px; font-size: 15px; line-height: 1.15; }
.maiwand-category-card__arrow { align-self: center; margin-right: 10px; color: var(--maiwand-red); font-size: 17px; }
.maiwand-categories-toggle { display: none; align-items: center; justify-content: center; gap: 7px; width: 100%; min-height: 46px; margin-top: 10px; border: 0; background: transparent; color: #bd2525; font: inherit; font-size: 14px; font-weight: 700; }
.maiwand-home.has-js .maiwand-categories-toggle { display: flex; }
.maiwand-home.has-js:not(.categories-expanded) .maiwand-category-card[data-category-extra] { display: none; }

/* Highlighted dishes */
.maiwand-dish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.maiwand-dish { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--maiwand-line); border-radius: 14px; background: #fff; color: var(--maiwand-ink) !important; box-shadow: 0 3px 9px rgb(25 35 46 / 4%); }
.maiwand-dish__image { display: block; aspect-ratio: 1 / 1; background: #f3e9dd; }
.maiwand-dish__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.maiwand-dish__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px; }
.maiwand-dish__name { font-size: 15px; font-weight: 800; line-height: 1.25; }
.maiwand-dish__price { color: var(--maiwand-ink); font-size: 14px; font-weight: 800; }
.maiwand-dish__price .mw-from { color: var(--maiwand-muted); font-size: 12px; font-weight: 600; }
.maiwand-dish__price del { color: #8a939b; font-weight: 500; }
.maiwand-dish__price ins { text-decoration: none; }
.maiwand-dish__cta { margin-top: auto; padding-top: 8px; color: var(--maiwand-red); font-size: 13px; font-weight: 800; }

/* Formules as deals */
.maiwand-deal-row { display: grid; grid-auto-columns: minmax(236px, 78%); grid-auto-flow: column; gap: 12px; margin: 0 -16px; padding: 2px 16px 8px; overflow-x: auto; scroll-padding: 0 16px; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.maiwand-deal-row::-webkit-scrollbar { display: none; }
.maiwand-deal { display: flex; flex-direction: column; min-width: 0; overflow: hidden; border: 1px solid var(--maiwand-line); border-radius: 14px; background: #fff; color: var(--maiwand-ink) !important; box-shadow: 0 3px 9px rgb(25 35 46 / 4%); scroll-snap-align: start; }
.maiwand-deal__image { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #f3e9dd; }
.maiwand-deal__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.maiwand-deal-pill { position: absolute; z-index: 1; top: 10px; left: 10px; max-width: calc(100% - 20px); padding: 5px 10px; border-radius: 999px; background: #17703d; color: #fff; font-size: 12px; font-weight: 800; line-height: 1.2; box-shadow: 0 2px 8px rgb(0 0 0 / 18%); }
.maiwand-deal__body { display: flex; flex: 1; flex-direction: column; gap: 4px; padding: 12px 14px 14px; }
.maiwand-deal__name { font-size: 16px; font-weight: 800; line-height: 1.25; }
.maiwand-deal__what { color: var(--maiwand-muted); font-size: 13px; line-height: 1.4; }
.maiwand-deal__note { color: #17703d; font-size: 12px; font-weight: 700; }
.maiwand-deal__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 10px; }
.maiwand-deal__price { color: var(--maiwand-ink); font-size: 18px; font-weight: 800; }
.maiwand-deal__cta { color: var(--maiwand-red); font-size: 14px; font-weight: 800; white-space: nowrap; }
.maiwand-deals__note { max-width: 70ch; margin: 10px 0 0; color: var(--maiwand-muted) !important; font-size: 12px; line-height: 1.45; }
.maiwand-dish__image { position: relative; }
.maiwand-dish__image .maiwand-deal-pill { top: 8px; left: 8px; padding: 4px 8px; font-size: 11px; }

/* Practical info */
.maiwand-info { padding-bottom: 44px; }
.maiwand-info-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.maiwand-info-card { display: grid; grid-template-columns: 22px minmax(0, 1fr); align-items: start; column-gap: 12px; padding: 14px 16px; border: 1px solid var(--maiwand-line); border-radius: 14px; background: #fff; }
.maiwand-info-card { align-content: start; }
.maiwand-info-card .maiwand-icon { grid-row: span 3; margin-top: 1px; }
.maiwand-info-card > :not(.maiwand-icon) { grid-column: 2; }
.maiwand-info-card h3 { margin: 0 0 4px; font-size: 15px; font-weight: 800; }
.maiwand-info-card p { margin: 0; color: var(--maiwand-muted) !important; font-size: 13px; line-height: 1.45; }
.maiwand-info-card p + p { margin-top: 2px; }
.maiwand-info-card a { color: var(--maiwand-red) !important; font-weight: 700; }
.maiwand-info__cta { margin-top: 18px; }
.maiwand-info__cta .maiwand-button { width: 100%; }
.maiwand-admin-note { max-width: 65ch; margin-top: 14px; padding: 10px 12px; border-left: 3px solid var(--maiwand-red); background: #fff; color: #5e6268 !important; font-size: 13px; line-height: 1.45; }

@media (max-width: 359px) {
  .maiwand-benefit { font-size: 12px; }
  .maiwand-dish-grid { gap: 8px; }
  .maiwand-dish__body { padding: 10px; }
}

/* Tablet and up */
@media (min-width: 601px) {
  .maiwand-hero { position: relative; display: block; min-height: 430px; isolation: isolate; }
  .maiwand-hero__picture { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; }
  .maiwand-hero__image { object-position: center; }
  .maiwand-hero::after { position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #fff8f0 0%, rgb(255 248 240 / 96%) 34%, rgb(255 248 240 / 45%) 57%, transparent 72%); content: ''; }
  .maiwand-hero__inner { display: flex; align-items: center; max-width: 1120px; min-height: 430px; margin: 0 auto; padding: 35px 24px 56px; }
  .maiwand-hero__copy { width: 360px; max-width: none; margin: 0; }
  .maiwand-hero h1 { font-size: 42px; }
  .maiwand-hero__description { max-width: 330px; }
  .maiwand-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; }
  .maiwand-hero__actions .maiwand-button { white-space: nowrap; }
  .maiwand-hero__cta { width: auto; }
  .maiwand-benefits { position: relative; z-index: 1; width: min(calc(100% - 48px), 1120px); margin: -28px auto 0; border: 1px solid var(--maiwand-line); border-radius: 13px; box-shadow: 0 9px 28px rgb(25 35 46 / 8%); }
  .maiwand-benefit:nth-child(2), .maiwand-benefit:nth-child(3) { display: flex; }
  .maiwand-benefit { flex-direction: row; min-height: 42px; background: none; white-space: normal; text-align: left; }
  .maiwand-section { width: min(calc(100% - 48px), 1120px); padding-top: 54px; }
  .maiwand-section__heading h2 { font-size: 27px; }
  .maiwand-category-grid { gap: 12px; }
  .maiwand-category-card { grid-template-rows: 112px minmax(50px, auto); }
  .maiwand-category-card img, .maiwand-category-card__placeholder { height: 112px; }
  .maiwand-home.has-js:not(.categories-expanded) .maiwand-category-card[data-category-extra] { display: grid; }
  .maiwand-home.has-js .maiwand-categories-toggle { display: none; }
  .maiwand-info-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .maiwand-info { padding-bottom: 60px; }
  .maiwand-deal-row { grid-auto-columns: minmax(260px, 42%); margin: 0 -24px; padding: 2px 24px 8px; scroll-padding: 0 24px; }
  .maiwand-info__cta .maiwand-button { width: auto; }
}

@media (min-width: 700px) {
  .maiwand-benefits { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .maiwand-benefit { font-size: 12px; white-space: nowrap; }
  .maiwand-benefit + .maiwand-benefit { border-left: 1px solid var(--maiwand-line); }
  .maiwand-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .maiwand-dish-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
}

/* Desktop */
@media (min-width: 1025px) {
  .maiwand-hero, .maiwand-hero__inner { min-height: 470px; }
  .maiwand-hero__inner { padding: 40px 36px 60px; }
  .maiwand-hero__copy { width: 440px; }
  .maiwand-hero h1 { max-width: 420px; font-size: 52px; }
  .maiwand-hero__description { max-width: 390px; font-size: 17px; }
  .maiwand-benefit { font-size: 13px; }
  .maiwand-section { padding-top: 64px; }
  .maiwand-section__heading h2 { font-size: 30px; }
  .maiwand-category-grid { gap: 16px; }
  .maiwand-category-card { grid-template-columns: 42% minmax(0, 1fr) 24px; grid-template-rows: 120px; }
  .maiwand-category-card img, .maiwand-category-card__placeholder { grid-column: 1; grid-row: 1; height: 120px; }
  .maiwand-category-card strong { grid-column: 2; grid-row: 1; padding-left: 14px; font-size: 16px; }
  .maiwand-category-card__arrow { grid-column: 3; grid-row: 1; }
  .maiwand-dish-grid { gap: 18px; }
  .maiwand-deal-row { grid-auto-flow: row; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin: 0; padding: 0; overflow: visible; }
  .maiwand-dish__body { padding: 14px 16px 16px; }
  .maiwand-dish__name { font-size: 16px; }
  .maiwand-info-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .maiwand-info-card { padding: 18px; }
  .maiwand-info { padding-bottom: 72px; }
}

@media (prefers-reduced-motion: no-preference) {
  .maiwand-category-card, .maiwand-dish, .maiwand-deal, .maiwand-button { transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease; }
  .maiwand-category-card:hover, .maiwand-dish:hover, .maiwand-deal:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgb(25 35 46 / 10%); }
}

/* Loyalty card, Google reviews, WhatsApp (inc/social.php) */
.maiwand-extras__grid { display: grid; gap: 12px; }
.maiwand-extra { display: flex; flex-direction: column; gap: 6px; padding: 18px; border: 1px solid var(--maiwand-line); border-radius: 14px; background: #fff; }
.maiwand-extra .maiwand-icon { width: 26px; height: 26px; }
.maiwand-extra h3 { margin: 4px 0 0; font-size: 18px; font-weight: 800; }
.maiwand-extra p { margin: 0; font-size: 14.5px; line-height: 1.45; }
.maiwand-extra__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }
.maiwand-extra__actions .maiwand-button { justify-content: center; min-height: 44px; }
.maiwand-extra--loyalty { border: 2px solid #ffd23f; background: #fff8db; }
.maiwand-extra--loyalty .maiwand-icon { color: #c98a00; }
.maiwand-extra--reviews .maiwand-icon { color: #e0a100; }
.maiwand-extra--whatsapp .maiwand-icon { color: #1f8a4c; }
@media (min-width: 700px) {
  .maiwand-extras__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
}

/* "Comment souhaitez-vous commander ?" — Sur place · À emporter · Livraison (inc/check.php, home.js) */
.mw-modes { margin: 0 0 14px; padding: 12px; border: 1px solid var(--maiwand-line); border-radius: 14px; background: #fff; box-shadow: 0 6px 18px rgb(25 35 46 / 7%); }
.mw-modes__title { margin: 0 0 10px; color: var(--maiwand-ink) !important; font-size: 15px; font-weight: 800; line-height: 1.2; }
.mw-modes__switch { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 8px; }
.mw-modes__button { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 70px; margin: 0; padding: 10px 4px; border: 2px solid var(--maiwand-line); border-radius: 12px; background: #fffaf5; box-shadow: none; color: var(--maiwand-ink); font: inherit; font-size: 14px; font-weight: 800; line-height: 1.15; text-align: center; cursor: pointer; }
.mw-modes__button .maiwand-icon { width: 24px; height: 24px; }
.mw-modes__button:hover { border-color: #f1b3b3; background: #fff; color: var(--maiwand-ink); }
.mw-modes__button[aria-pressed="true"], .mw-modes__button[aria-pressed="true"]:hover { border-color: var(--maiwand-red); background: var(--maiwand-red); color: #fff; }
.mw-modes__button[aria-pressed="true"] .maiwand-icon { color: #fff; }
.mw-modes__button:focus-visible { outline: 3px solid var(--maiwand-red); outline-offset: 2px; }
.mw-modes__panel { margin: 12px 0 0; color: var(--maiwand-ink) !important; font-size: 14px; font-weight: 700; line-height: 1.4; }
.mw-modes__panel--delivery p { margin: 0; }
.mw-modes .mw-check { margin: 0; padding: 0; border: 0; box-shadow: none; }
@media (prefers-reduced-motion: no-preference) {
  .mw-modes__button { transition: background-color .15s ease, border-color .15s ease, color .15s ease, transform .15s ease; }
  .mw-modes__button:active { transform: scale(.97); }
}

/* Opening hours: "Lundi – Jeudi" then the hours under it */
.maiwand-info-card .maiwand-hours { display: flex; flex-direction: column; }
.maiwand-info-card .maiwand-hours + .maiwand-hours { margin-top: 6px; }
.maiwand-info-card .maiwand-hours strong { color: var(--maiwand-ink); font-weight: 800; }

/* -------------------------------------------------------------------------
 * « Qu’est-ce qui vous tente ? »: colour tiles, every category visible (v0.21.0).
 * Pizzas = the wide tile. Phone: 2 columns (Pizzas full width); tablet: 3; computer: 4.
 * ---------------------------------------------------------------------- */
.maiwand-cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: row dense; gap: 10px; }
.maiwand-cat-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-width: 0; min-height: 138px; padding: 14px; overflow: hidden; border-radius: 18px; background: var(--tile, #f6ece2); color: var(--maiwand-ink) !important; text-decoration: none !important; isolation: isolate; }
.maiwand-cat-tile__photo { position: absolute; z-index: -1; top: 12px; right: -12px; width: 92px; height: 92px; overflow: hidden; border: 4px solid rgb(255 255 255 / 88%); border-radius: 50%; background: #fff; box-shadow: 0 12px 22px -12px rgb(70 35 10 / 55%); }
.maiwand-cat-tile__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.maiwand-cat-tile__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.maiwand-cat-tile__name { font-size: 16.5px; font-weight: 800; line-height: 1.12; letter-spacing: -.2px; overflow-wrap: normal; hyphens: none; }
.maiwand-cat-tile__price { color: #6a5444; font-size: 12.5px; font-weight: 600; }
.maiwand-cat-tile__price .mw-from { font-weight: 500; }
.maiwand-cat-tile__count { font-weight: 600; }
.maiwand-cat-tile__price .woocommerce-Price-amount { color: inherit; }
.maiwand-cat-tile .mw-ribbon { top: 12px; left: 12px; max-width: 62%; font-size: 11px; }
.maiwand-cat-tile.is-featured { grid-column: 1 / -1; min-height: 168px; padding: 18px; }
.maiwand-cat-tile.is-featured .maiwand-cat-tile__photo { top: 50%; right: -18px; width: 150px; height: 150px; border-width: 5px; transform: translateY(-50%); }
.maiwand-cat-tile.is-featured .maiwand-cat-tile__name { font-size: 28px; letter-spacing: -.6px; }
.maiwand-cat-tile.is-featured .maiwand-cat-tile__price { font-size: 14px; }
.maiwand-cat-tile.is-featured .maiwand-cat-tile__text { max-width: 55%; }
.maiwand-cat-tile:focus-visible { outline: 3px solid var(--maiwand-red); outline-offset: 3px; }

@media (min-width: 700px) {
  .maiwand-cat-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
  .maiwand-cat-tile { min-height: 156px; padding: 18px; border-radius: 22px; }
  .maiwand-cat-tile__photo { top: 50%; right: -18px; width: 124px; height: 124px; border-width: 5px; transform: translateY(-58%); }
  .maiwand-cat-tile__text { max-width: 60%; }
  .maiwand-cat-tile__name { font-size: 18.5px; }
  .maiwand-cat-tile__price { font-size: 13px; }
  .maiwand-cat-tile.is-featured { grid-column: span 2; min-height: 156px; padding: 22px; }
  .maiwand-cat-tile.is-featured .maiwand-cat-tile__photo { right: 24px; width: 148px; height: 148px; transform: translateY(-50%); }
  .maiwand-cat-tile.is-featured .maiwand-cat-tile__name { font-size: 32px; }
  .maiwand-cat-tile.is-featured .maiwand-cat-tile__text { max-width: calc(100% - 200px); }
  .maiwand-cat-tile .mw-ribbon { top: 14px; left: 14px; font-size: 11.5px; }
}
@media (min-width: 1025px) {
  .maiwand-cat-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .maiwand-cat-tile { min-height: 164px; }
  .maiwand-cat-tile.is-featured .maiwand-cat-tile__photo { right: 34px; width: 150px; height: 150px; }
  .maiwand-cat-tile.is-featured .maiwand-cat-tile__name { font-size: 36px; }
  .maiwand-cat-tile.is-featured .maiwand-cat-tile__text { max-width: calc(100% - 210px); }
}
@media (max-width: 699px) {
  .maiwand-cat-tile:not(.is-featured) { min-height: 160px; }
  .maiwand-cat-tile:not(.is-featured) .maiwand-cat-tile__photo { top: 10px; right: -10px; width: 80px; height: 80px; }
}
@media (max-width: 359px) {
  .maiwand-cat-tile:not(.is-featured) .maiwand-cat-tile__photo { width: 78px; height: 78px; }
  .maiwand-cat-tile__name { font-size: 15px; }
}
@media (prefers-reduced-motion: no-preference) {
  .maiwand-cat-tile { transition: transform .25s ease, box-shadow .25s ease; }
  .maiwand-cat-tile__photo { transition: transform .35s ease; }
  .maiwand-cat-tile:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgb(25 35 46 / 45%); }
  .maiwand-cat-tile:hover .maiwand-cat-tile__photo { transform: rotate(-6deg) scale(1.05); }
}
@media (prefers-reduced-motion: no-preference) and (min-width: 700px) {
  .maiwand-cat-tile:hover .maiwand-cat-tile__photo { transform: translateY(-58%) rotate(-6deg) scale(1.05); }
  .maiwand-cat-tile.is-featured:hover .maiwand-cat-tile__photo { transform: translateY(-50%) rotate(-6deg) scale(1.04); }
}
@media (prefers-reduced-motion: no-preference) and (max-width: 699px) {
  .maiwand-cat-tile.is-featured:hover .maiwand-cat-tile__photo { transform: translateY(-50%) rotate(-6deg) scale(1.04); }
}
