/*
Theme Name: Mantra Jewellery
Theme URI: https://mantrajewellery.in
Author: Mantra Fashion Jewellery
Author URI: https://mantrajewellery.in
Description: A refined mobile-first WooCommerce theme for Mantra Fashion Jewellery with modern merchandising layouts and polished storefront components.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: mantra-jewellery
Tags: woocommerce, e-commerce, jewellery, custom-logo, featured-images, responsive, full-width-template
WC requires at least: 8.0
WC tested up to: 9.4
*/

:root {
  --bg: #f6f1ea;
  --surface: #fffdf9;
  --surface-strong: #ffffff;
  --surface-tint: #efe3d6;
  --text: #201612;
  --muted: #66524a;
  --muted-soft: #8d756c;
  --line: rgba(38, 20, 13, 0.12);
  --line-strong: rgba(38, 20, 13, 0.2);
  --brand: #7b2f2c;
  --brand-deep: #471917;
  --accent: #cf8f2e;
  --accent-soft: #f3dfba;
  --success: #1f7a54;
  --shadow-sm: 0 10px 30px rgba(52, 24, 16, 0.08);
  --shadow-lg: 0 24px 80px rgba(45, 19, 13, 0.14);
  --radius-sm: 14px;
  --radius-md: 24px;
  --radius-lg: 36px;
  --site-width: 1280px;
  --site-narrow: 860px;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(207, 143, 46, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf7f2 0%, var(--bg) 40%, #f3ece4 100%);
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.site-shell {
  width: min(100% - 1.5rem, var(--site-width));
  margin: 0 auto;
}

.site-shell--narrow {
  width: min(100% - 1.5rem, var(--site-narrow));
}

.eyebrow {
  margin: 0 0 var(--space-3);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", serif;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.93rem;
  font-weight: 700;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--accent), #eab868);
  color: var(--brand-deep);
  box-shadow: var(--shadow-sm);
}

.button--secondary,
.button--ghost,
.button--ghost-light {
  background: rgba(255, 255, 255, 0.5);
  border-color: var(--line-strong);
  color: var(--text);
}

.button--ghost-light {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.button--compact {
  min-height: 40px;
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
}

.announcement-bar {
  position: relative;
  z-index: 30;
  background: var(--brand-deep);
  color: #f8ede1;
  font-size: 0.78rem;
  padding: 0.8rem 0;
  text-align: center;
}

.announcement-bar .site-shell {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(251, 247, 242, 0.86);
  border-bottom: 1px solid rgba(38, 20, 13, 0.08);
}

.site-header__inner {
  display: grid;
  grid-template-columns: auto auto;
  gap: 1rem;
  align-items: center;
  min-height: 74px;
  padding: 0.75rem 0;
}

.site-header__brand {
  min-width: 0;
}

.site-brand-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo-link img,
.site-logo img {
  width: auto;
  max-height: 52px;
}

.site-mark {
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--brand-deep);
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}

.header-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.95rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.75);
  border: 1px solid var(--line);
}

.header-cart__label {
  display: none;
}

.mantra-cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
}

.menu-toggle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 0 12px;
}

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

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.primary-navigation {
  position: fixed;
  inset: 0;
  background: rgba(19, 10, 8, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.primary-navigation.is-open {
  opacity: 1;
  pointer-events: auto;
}

.primary-navigation__panel {
  margin-left: auto;
  width: min(100%, 360px);
  height: 100%;
  background: linear-gradient(180deg, #fffaf3 0%, #f5ece1 100%);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform 0.28s ease;
}

.primary-navigation.is-open .primary-navigation__panel {
  transform: translateX(0);
}

.primary-navigation .menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.primary-navigation .menu li a {
  display: block;
  padding: 0.9rem 1rem;
  border-radius: 18px;
  font-size: 1rem;
  font-weight: 600;
}

.primary-navigation .menu li.current-menu-item > a,
.primary-navigation .menu li a:hover {
  background: rgba(123, 47, 44, 0.08);
  color: var(--brand);
}

.primary-navigation__extras {
  margin-top: auto;
  display: grid;
  gap: 1rem;
}

.primary-navigation__quicklinks {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.primary-navigation__quicklinks a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
}

.header-search {
  width: 100%;
}

.header-search--desktop {
  display: none;
}

.search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.65rem;
}

.search-field {
  width: 100%;
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.8);
  color: var(--text);
}

.search-submit {
  min-height: 46px;
  padding: 0.8rem 1rem;
  border-radius: 16px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
}

.hero-band,
.section-block,
.content-section {
  padding: var(--space-7) 0;
}

.content-section--tight {
  padding-top: 0;
}

.section-block--tinted {
  background: linear-gradient(180deg, rgba(255,255,255,0.38), rgba(255,255,255,0.6));
}

.section-block--dark {
  background: linear-gradient(180deg, #4a1b18 0%, #321211 100%);
}

.hero-band__inner {
  display: grid;
  gap: 1.75rem;
  align-items: center;
}

.hero-band__content,
.hero-card,
.feature-pill,
.category-card,
.product-card,
.story-grid__content,
.shop-sidebar__card,
.post-card,
.prose-card,
.empty-state,
.product-summary-card,
.callout-banner {
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(38, 20, 13, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.hero-band__content {
  padding: 1.5rem;
}

.hero-band__title {
  font-size: clamp(2.4rem, 8vw, 5rem);
  max-width: 10ch;
}

.hero-band__copy {
  max-width: 58ch;
  font-size: 1.02rem;
}

.hero-band__actions,
.empty-state__actions,
.callout-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-band__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.hero-band__stats div {
  padding: 0.95rem 1rem;
  border-radius: 20px;
  background: rgba(123, 47, 44, 0.06);
}

.hero-band__stats strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--brand-deep);
}

.hero-band__stats span {
  font-size: 0.85rem;
  color: var(--muted);
}

.hero-band__visual {
  display: grid;
  gap: 1rem;
}

.hero-frame {
  position: relative;
  overflow: hidden;
  border-radius: clamp(28px, 6vw, 44px);
  min-height: 420px;
  background: linear-gradient(180deg, #dbc6af, #b98d63);
  box-shadow: var(--shadow-lg);
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-card {
  padding: 1.25rem;
}

.hero-card h2 {
  font-size: clamp(1.35rem, 4vw, 2rem);
}

.feature-strip {
  padding-bottom: 0;
}

.feature-strip__grid,
.category-grid,
.product-grid,
.post-grid,
.story-grid,
.shop-layout {
  display: grid;
  gap: 1rem;
}

.feature-pill,
.shop-sidebar__card {
  padding: 1.25rem;
}

.feature-pill strong,
.story-grid__points strong,
.product-summary-card__meta strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--brand-deep);
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading h2 {
  font-size: clamp(1.8rem, 5vw, 3.1rem);
  max-width: 16ch;
}

.section-heading--split {
  display: grid;
  gap: 1rem;
  align-items: end;
}

.category-card {
  overflow: hidden;
}

.category-card__media {
  aspect-ratio: 1 / 1.08;
  overflow: hidden;
  background: linear-gradient(180deg, #e8d5bf, #d6b494);
}

.category-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card__placeholder,
.product-card__placeholder,
.post-card__placeholder {
  width: 100%;
  height: 100%;
  min-height: 240px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #d9c1a8, #b98c66);
  color: var(--brand-deep);
  font-family: "Fraunces", serif;
  font-size: 2rem;
}

.category-card__content,
.product-card__body,
.post-card__body {
  padding: 1.1rem;
}

.category-card__content h3,
.product-card__body h3,
.post-card__body h2 {
  font-size: 1.2rem;
}

.category-card__content span {
  color: var(--muted-soft);
  font-size: 0.9rem;
}

.product-card {
  overflow: hidden;
}

.product-card__media {
  display: block;
  aspect-ratio: 0.88;
  overflow: hidden;
  background: #ead9c7;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-card__media img {
  transform: scale(1.03);
}

.product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.price,
.product-summary-card__price {
  color: var(--brand-deep);
  font-weight: 800;
}

.story-grid__media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

.story-grid__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-grid__content {
  padding: 1.5rem;
}

.story-grid__content h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
}

.story-grid__points {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.story-grid__points div,
.product-summary-card__meta div {
  padding: 1rem 1rem 0.95rem;
  border-radius: 20px;
  background: rgba(123, 47, 44, 0.05);
}

.callout-banner {
  padding: 1.5rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(255,255,255,0.08), rgba(255,255,255,0.03));
  border-color: rgba(255,255,255,0.14);
}

.callout-banner p,
.callout-banner h2 {
  color: #fff;
}

.callout-banner h2 {
  font-size: clamp(1.7rem, 4.5vw, 2.8rem);
  max-width: 16ch;
}

.page-hero {
  padding: 2.5rem 0 1rem;
}

.page-hero-title {
  font-size: clamp(2rem, 6vw, 4rem);
  max-width: 14ch;
}

.page-hero-breadcrumbs {
  margin-top: 1rem;
}

.page-hero-breadcrumbs .woocommerce-breadcrumb,
.page-hero-breadcrumbs a {
  color: var(--muted-soft);
  font-size: 0.92rem;
}

.shop-layout {
  align-items: start;
}

.shop-sidebar {
  display: grid;
  gap: 1rem;
}

.widget {
  padding: 1.2rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.7);
}

.widget-title {
  margin-bottom: 1rem;
  font-size: 1.15rem;
}

.widget ul {
  list-style: none;
  display: grid;
  gap: 0.7rem;
}

.widget a {
  color: var(--muted);
}

.woo-shell .site-shell {
  width: min(100% - 1.5rem, var(--site-width));
}

.woocommerce-products-header,
.woocommerce-result-count,
.woocommerce-ordering {
  margin-bottom: 1rem;
}

.woocommerce-ordering select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-cart table.cart td.actions .coupon .input-text,
.woocommerce-checkout input,
.woocommerce-checkout textarea,
.woocommerce-checkout select,
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  background: #fff;
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 0;
}

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

.woocommerce ul.products li.product {
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.78);
  box-shadow: var(--shadow-sm);
}

.woocommerce ul.products li.product a img {
  margin: 0;
  aspect-ratio: 0.88;
  object-fit: cover;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 1rem 1rem 0.2rem;
  font-size: 1.05rem;
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 1rem;
  color: var(--brand-deep);
  font-weight: 800;
}

.woocommerce ul.products li.product .button {
  margin: 0 1rem 1rem;
  min-height: 44px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  border: none;
}

.product-detail-layout {
  display: grid;
  gap: 1.2rem;
}

.product-gallery-shell,
.product-summary-card,
.product-tabs-shell {
  background: rgba(255,255,255,0.76);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.product-gallery-shell {
  padding: 1rem;
}

.product-gallery-shell__main {
  overflow: hidden;
  border-radius: 28px;
  background: #ead6c0;
}

.product-gallery-shell__main img {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
}

.product-gallery-shell__thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 0.85rem;
}

.product-gallery-thumb {
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.product-gallery-thumb.active {
  border-color: var(--brand);
  box-shadow: 0 0 0 2px rgba(123, 47, 44, 0.12);
}

.product-summary-card {
  padding: 1.35rem;
}

.product-summary-card h1 {
  font-size: clamp(2rem, 5vw, 3.4rem);
}

.product-summary-card__rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.product-summary-card__excerpt {
  margin: 1rem 0 1.25rem;
}

.product-summary-card__addtocart form.cart {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.product-summary-card__addtocart .quantity .qty,
.woocommerce .quantity .qty {
  min-height: 46px;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.single_add_to_cart_button.button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input.button,
.woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce input.button.alt {
  min-height: 48px;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
}

.product-summary-card__meta {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.5rem;
}

.product-tabs-shell {
  padding: 1rem;
}

.product-tabs-shell__nav {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.product-tab-btn {
  border: 1px solid var(--line);
  background: rgba(123, 47, 44, 0.04);
  padding: 0.75rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  color: var(--muted);
}

.product-tab-btn.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}

.product-tab-content {
  display: none;
  padding: 1rem;
  border-radius: 24px;
  background: rgba(255,255,255,0.6);
}

.product-tab-content.active {
  display: block;
}

.post-grid {
  grid-template-columns: 1fr;
}

.post-card,
.prose-card,
.empty-state {
  overflow: hidden;
}

.post-card__media {
  display: block;
  min-height: 260px;
  overflow: hidden;
}

.post-card__media img,
.prose-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose-card__content {
  padding: 1.5rem;
}

.prose-card__content > * {
  max-width: 100%;
}

.prose-card__content h2,
.prose-card__content h3,
.prose-card__content h4 {
  margin-top: 1.5rem;
}

.prose-card__content ul,
.prose-card__content ol {
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

.empty-state {
  padding: 2rem;
  text-align: center;
}

.pagination-wrap,
.mantra-pagination {
  margin-top: 2rem;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  min-height: 42px;
  margin-right: 0.4rem;
  padding: 0 0.9rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.75);
}

.page-numbers.current {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
}

.site-footer {
  background: #1f120f;
  color: rgba(255,255,255,0.8);
  padding: 3rem 0 1.5rem;
}

.site-footer p,
.site-footer a,
.site-footer h2,
.site-footer span {
  color: inherit;
}

.site-footer__top {
  display: grid;
  gap: 2rem;
}

.site-footer__brand p {
  max-width: 34ch;
}

.site-footer__socials,
.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.site-footer__socials a,
.site-footer__legal a {
  color: rgba(255,255,255,0.78);
}

.site-footer__column h2 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.site-footer__bottom {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.whatsapp-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  height: 64px;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--success);
  color: #fff;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
}

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

@media (min-width: 700px) {
  .site-shell {
    width: min(100% - 2.5rem, var(--site-width));
  }

  .site-header__inner {
    grid-template-columns: auto 1fr auto;
  }

  .header-cart__label {
    display: inline;
    font-weight: 600;
  }

  .hero-band__inner,
  .story-grid,
  .site-footer__top {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .feature-strip__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .category-grid,
  .product-grid,
  .post-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading--split {
    grid-template-columns: 1fr auto;
  }

  .shop-layout,
  .product-detail-layout {
    grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  }

  .product-detail-layout {
    grid-template-columns: minmax(0, 1.1fr) minmax(360px, 0.9fr);
  }

  .site-footer__bottom {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }

  .primary-navigation {
    position: static;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
  }

  .primary-navigation__panel {
    width: auto;
    height: auto;
    background: transparent;
    box-shadow: none;
    transform: none;
    padding: 0;
    display: block;
  }

  .primary-navigation__top,
  .primary-navigation__extras {
    display: none;
  }

  .primary-navigation .menu {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .primary-navigation .menu li {
    position: relative;
  }

  .primary-navigation .menu li a {
    padding: 0.8rem 1rem;
    font-size: 0.92rem;
  }

  .primary-navigation .sub-menu {
    position: absolute;
    left: 0;
    top: calc(100% + 0.45rem);
    min-width: 220px;
    padding: 0.5rem;
    list-style: none;
    border-radius: 20px;
    border: 1px solid var(--line);
    background: #fff;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .primary-navigation .menu li:hover > .sub-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-navigation .sub-menu li a {
    padding: 0.75rem 0.85rem;
  }

  .header-search--desktop {
    display: block;
    width: min(320px, 30vw);
  }

  .category-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .post-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shop-layout {
    grid-template-columns: 280px minmax(0, 1fr);
  }

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

  .site-footer__top {
    grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  }
}
