.site-main {
  padding: 3rem 0;
}

.site-main--woocommerce {
  padding-top: 2.5rem;
}

.content-stack {
  display: grid;
  gap: 1.5rem;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.woocommerce-layout--has-sidebar {
  display: grid;
  grid-template-columns: minmax(240px, 18rem) minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.woocommerce-sidebar {
  position: sticky;
  top: 2rem;
  display: grid;
  gap: 1rem;
}

.woocommerce-sidebar .widget {
  padding: 1.25rem;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: var(--theme-radius-md);
  background: #fff;
}

.woocommerce-sidebar .widget-title {
  margin-bottom: 1rem;
  font-size: var(--theme-size-h5);
}

.woocommerce-sidebar ul {
  margin: 0;
  padding-left: 1rem;
}

.woocommerce-sidebar .wc-block-product-search__fields,
.woocommerce-sidebar .woocommerce-product-search {
  display: grid;
  gap: 0.75rem;
}

.woocommerce-sidebar .widget_product_categories .product-categories,
.woocommerce-sidebar .widget_product_categories .children {
  margin: 0;
  padding: 0;
  list-style: none;
}

.woocommerce-sidebar .widget_product_categories .product-categories {
  display: grid;
  gap: 0.25rem;
}

.woocommerce-sidebar .widget_product_categories .cat-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 0.25rem;
}

.woocommerce-sidebar .widget_product_categories .cat-item > a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  padding: 0.5rem 0;
  color: var(--theme-color-secondary);
  font-weight: 500;
}

.woocommerce-sidebar .widget_product_categories .cat-item > a:hover,
.woocommerce-sidebar .widget_product_categories .current-cat > a,
.woocommerce-sidebar .widget_product_categories .current-cat-parent > a,
.woocommerce-sidebar .widget_product_categories .current-cat-ancestor > a {
  color: var(--theme-color-primary);
}

.woocommerce-sidebar .widget_product_categories .category-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  min-height: 2.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--theme-color-secondary);
}

.woocommerce-sidebar .widget_product_categories .category-toggle:hover {
  color: var(--theme-color-primary);
}

.woocommerce-sidebar .widget_product_categories .category-toggle svg {
  width: 0.875rem;
  height: 0.875rem;
  transition: var(--theme-transition);
}

.woocommerce-sidebar .widget_product_categories .category-toggle[aria-expanded="true"] svg {
  transform: rotate(180deg);
}

.woocommerce-sidebar .widget_product_categories .children {
  grid-column: 1 / -1;
  display: grid;
  gap: 0.125rem;
  padding: 0.25rem 0 0.25rem 1rem;
  max-height: 250px;
  overflow: auto;
}

.woocommerce-sidebar .widget_product_categories .children[hidden] {
  display: none;
}

.woocommerce-sidebar .widget_product_categories .children .cat-item > a {
  min-height: 2.125rem;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
}

.entry-card {
  padding: 1.5rem;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: var(--theme-radius-md);
  background: #fff;
}

.entry-card--center {
  text-align: center;
}

.entry-card__thumbnail {
  display: block;
  margin-bottom: 1rem;
  overflow: hidden;
  border-radius: var(--theme-radius-md);
}

.entry-card__title {
  font-size: var(--theme-size-h4);
}

.page-header {
  margin-bottom: 2rem;
}

.page-title {
  color: var(--theme-color-secondary);
}

.entry-content > *:first-child,
.archive-description > *:first-child {
  margin-top: 0;
}

.theme-button,
.button,
a.button,
button,
input[type="submit"],
input[type="button"],
input[type="reset"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.75rem 1.25rem;
  border: 0;
  border-radius: var(--theme-radius-md);
  background: var(--theme-color-primary);
  color: #fff;
  font-size: var(--theme-size-button);
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: var(--theme-transition);
}

.theme-button:hover,
.button:hover,
a.button:hover,
button:hover,
input[type="submit"]:hover,
input[type="button"]:hover,
input[type="reset"]:hover {
  background: var(--theme-color-primary-hover);
  color: #fff;
}

.theme-button:focus-visible,
.button:focus-visible,
a.button:focus-visible,
button:focus-visible,
input[type="submit"]:focus-visible,
input[type="button"]:focus-visible,
input[type="reset"]:focus-visible {
  outline: 2px solid var(--theme-color-accent);
  outline-offset: 2px;
}

.site-topbar {
  padding: 0.5rem 0;
  background: var(--theme-color-primary);
  color: #fff;
  text-align: center;
}

.site-topbar__message {
  margin: 0;
  font-size: var(--theme-size-label);
  font-weight: 600;
}

.site-header {
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  background: #fff;
}

.site-header__inner {
  display: grid;
  grid-template-columns: minmax(180px, 240px) auto minmax(280px, 1fr) auto;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 0;
}

.custom-logo-link {
  display: inline-block;
}

.custom-logo {
  max-width: 100%;
  width: auto;
  max-height: 4.75rem;
}

.site-branding__title {
  display: inline-block;
  font-size: var(--theme-size-h4);
  font-weight: 700;
}

.site-branding__tagline {
  margin: 0.25rem 0 0;
  color: rgba(31, 41, 55, 0.72);
}

.header-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-height: auto;
  padding: 0;
  background: transparent;
  color: var(--theme-color-secondary);
}

.header-menu-toggle:hover {
  background: transparent;
  color: var(--theme-color-primary);
}

.header-menu-toggle__icon,
.header-menu-toggle__icon::before,
.header-menu-toggle__icon::after {
  display: block;
  width: 1.75rem;
  height: 0.1875rem;
  background: currentColor;
  border-radius: 999px;
  transition: var(--theme-transition);
  content: "";
}

.header-menu-toggle__icon {
  position: relative;
}

.header-menu-toggle__icon::before {
  position: absolute;
  top: -0.5rem;
  left: 0;
}

.header-menu-toggle__icon::after {
  position: absolute;
  top: 0.5rem;
  left: 0;
}

.header-search form {
  display: flex;
  position: relative;
}

.header-search {
  position: relative;
}

.header-search input[type="search"] {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.875rem 4.5rem 0.875rem 1.25rem;
  border: 1px solid var(--theme-color-primary);
  border-radius: 999px;
  outline: 0;
}

.header-search input[type="search"]:focus {
  border-color: var(--theme-color-primary-hover);
}

.header-search button,
.header-search input[type="submit"] {
  position: absolute;
  top: 50%;
  right: 0.5rem;
  min-height: 2.5rem;
  min-width: 5rem;
  padding: 0.5rem;
  border-radius: 999px;
  transform: translateY(-50%);
}

.header-search-results {
  position: absolute;
  top: calc(100% + 0.75rem);
  left: 0;
  z-index: 30;
  width: 100%;
  max-height: 28rem;
  overflow: auto;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: var(--theme-radius-md);
  background: #fff;
  box-shadow: 0 18px 40px rgba(31, 41, 55, 0.08);
}

.header-search-results[hidden] {
  display: none;
}

.header-search-results__list {
  display: grid;
}

.header-search-results__item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0.875rem;
  padding: 0.875rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.header-search-results__item:last-child {
  border-bottom: 0;
}

.header-search-results__item:hover {
  background: rgba(255, 138, 0, 0.05);
}

.header-search-results__thumb img {
  width: 100%;
  border-radius: var(--theme-radius-sm);
}

.header-search-results__content {
  display: grid;
  gap: 0.25rem;
}

.header-search-results__title {
  font-weight: 700;
}

.header-search-results__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.875rem;
  color: rgba(31, 41, 55, 0.8);
}

.header-search-results__price {
  color: var(--theme-color-primary);
  font-weight: 700;
}

.header-search-results__price del {
  margin-right: 0.375rem;
  color: rgba(31, 41, 55, 0.45);
  text-decoration-thickness: 2px;
}

.header-search-results__price ins {
  color: var(--theme-color-primary);
  text-decoration: none;
}

.header-search-results__empty {
  padding: 1rem;
  color: rgba(31, 41, 55, 0.75);
}

.header-search-results__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0;
}

.header-search-results__spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(255, 138, 0, 0.2);
  border-top-color: var(--theme-color-primary);
  border-radius: 50%;
  animation: theme-spin 0.3s linear infinite;
}

@keyframes theme-spin {
  to {
    transform: rotate(360deg);
  }
}

/* ---------------------------
   Cart Drawer
--------------------------- */

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  left: auto;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  width: min(28rem, 100vw - 2rem);
  height: 100%;
  border-right: none;
  border-left: 1px solid rgba(31, 41, 55, 0.08);
  background: #fff;
  box-shadow: -4px 0 24px rgba(31, 41, 55, 0.12);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0s linear 0.3s;
  pointer-events: none;
}

.cart-drawer.is-open {
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: auto;
}

.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(31, 41, 55, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
  pointer-events: none;
}

.cart-drawer-overlay.is-open {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

.cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
}

.cart-drawer__title {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin: 0;
  font-size: var(--theme-size-h5);
}

.cart-drawer__icon {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--theme-color-primary);
}

.cart-drawer__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.375rem;
  min-height: 1.375rem;
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
  background: var(--theme-color-primary);
  color: #fff;
  font-size: 0.75rem;
  line-height: 1;
}

.cart-drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 0;
  border-radius: var(--theme-radius-sm);
  background: transparent;
  color: var(--theme-color-secondary);
  cursor: pointer;
  transition: var(--theme-transition);
}

.cart-drawer__close:hover {
  background: rgba(31, 41, 55, 0.06);
}

.cart-drawer__close svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cart-drawer__body {
  flex: 1;
  overflow-y: auto;
  padding: 1rem 1.5rem;
}

.cart-drawer__loading {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 0;
}

.cart-drawer__spinner {
  width: 2rem;
  height: 2rem;
  border: 3px solid rgba(255, 138, 0, 0.2);
  border-top-color: var(--theme-color-primary);
  border-radius: 50%;
  animation: theme-spin 0.3s linear infinite;
}

.cart-drawer__items {
  display: grid;
  gap: 1rem;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) auto;
  gap: 0.875rem;
  padding: 0.75rem;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: var(--theme-radius-md);
  background: #fff;
  transition: var(--theme-transition);
  position: relative;
  overflow: hidden;
}

.cart-drawer-item--removing {
  opacity: 0.5;
  pointer-events: none;
}

.cart-drawer-item--removing::after {
  content: "";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: inherit;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Ccircle cx='12' cy='12' r='10' stroke='%23ff8a00' stroke-width='3' stroke-dasharray='31.4 31.4' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 2rem;
  animation: theme-spin 0.2s linear infinite;
  z-index: 10;
}

.cart-drawer-item__image {
  width: 100%;
  border-radius: var(--theme-radius-sm);
  object-fit: cover;
}

.cart-drawer-item__content {
  display: grid;
  gap: 0.5rem;
}

.cart-drawer-item__header {
  display: grid;
  gap: 0.125rem;
}

.cart-drawer-item__title {
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.3;
}

.cart-drawer-item__variation {
  font-size: 0.8125rem;
  color: rgba(31, 41, 55, 0.7);
}

.cart-drawer-item__sku {
  font-size: 0.75rem;
  color: rgba(31, 41, 55, 0.55);
}

.cart-drawer-item__stock {
  font-size: 0.75rem;
  color: var(--theme-color-primary);
  font-weight: 600;
}

.cart-drawer-item__middle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.cart-drawer-item__price {
  font-size: var(--theme-size-h6);
  font-weight: 700;
  color: var(--theme-color-primary);
}

.cart-drawer-item__price del {
  margin-right: 0.375rem;
  color: rgba(31, 41, 55, 0.45);
  text-decoration-thickness: 2px;
}

.cart-drawer-item__price ins {
  color: var(--theme-color-primary);
  text-decoration: none;
}

.cart-drawer-item__qty {
  display: inline-flex;
  min-width: max-content;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(31, 41, 55, 0.12);
  border-radius: var(--theme-radius-sm);
  overflow: hidden;
}

.cart-drawer-item__qty--loading {
  pointer-events: none;
  opacity: 0.6;
}

.cart-drawer-item__qty--loading .cart-drawer-item__qty-input {
  background: rgba(31, 41, 55, 0.04);
}

.cart-drawer-item__qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: rgba(31, 41, 55, 0.04);
  color: var(--theme-color-secondary);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: var(--theme-transition);
}

.cart-drawer-item__qty-btn:hover {
  background: var(--theme-color-primary);
  color: #fff;
}

.cart-drawer-item__qty-btn.is-disabled {
  pointer-events: none;
  opacity: 0.35;
  cursor: not-allowed;
}

.cart-drawer-item__qty-btn.is-disabled:hover {
  background: rgba(31, 41, 55, 0.04);
  color: var(--theme-color-secondary);
}

.cart-drawer-item__qty-input {
  width: 2.5rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  background: #fff;
  color: var(--theme-color-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  text-align: center;
  -moz-appearance: textfield;
}

.cart-drawer-item__qty-input::-webkit-outer-spin-button,
.cart-drawer-item__qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.cart-drawer-item__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  padding: 0;
  border: 0;
  border-radius: var(--theme-radius-sm);
  background: transparent;
  color: rgba(31, 41, 55, 0.4);
  cursor: pointer;
  transition: var(--theme-transition);
  align-self: start;
}

.cart-drawer-item__remove:hover {
  background: rgba(239, 68, 68, 0.08);
  color: #ef4444;
}

.cart-drawer-item__remove svg {
  width: 1rem;
  height: 1rem;
}

.cart-drawer-item__spinner {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  border: 2px solid rgba(255, 138, 0, 0.2);
  border-top-color: var(--theme-color-primary);
  border-radius: 50%;
  animation: theme-spin 0.6s linear infinite;
}

.cart-drawer__empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  text-align: center;
}

.cart-drawer__empty-icon {
  width: 4rem;
  height: 4rem;
  margin-bottom: 1rem;
  color: rgba(31, 41, 55, 0.15);
}

.cart-drawer__empty-text {
  margin: 0 0 1.25rem;
  font-size: var(--theme-size-h6);
  color: rgba(31, 41, 55, 0.7);
}

.cart-drawer__continue {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.625rem 1.5rem;
  border-radius: var(--theme-radius-md);
  background: var(--theme-color-primary);
  color: #fff;
  font-weight: 600;
  transition: var(--theme-transition);
}

.cart-drawer__continue:hover {
  background: var(--theme-color-primary-hover);
  color: #fff;
}

.cart-drawer__footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(31, 41, 55, 0.08);
  background: #fff;
  display: grid;
  gap: 0.75rem;
}

.cart-drawer__totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 0.9375rem;
}

.cart-drawer__shipping {
  font-weight: 500;
  color: rgba(31, 41, 55, 0.7);
}

.cart-drawer__shipping-value.is-free {
  color: #0f766e;
  font-weight: 600;
}

.cart-drawer__totals--total {
  font-weight: 700;
  font-size: var(--theme-size-h6);
  color: var(--theme-color-secondary);
}

.cart-drawer__checkout {
  width: 100%;
}

.cart-drawer__view-cart {
  display: block;
  padding: 0.625rem 1rem;
  text-align: center;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--theme-color-primary);
  border: 1px solid var(--theme-color-primary);
  border-radius: var(--theme-radius-md);
  transition: var(--theme-transition);
}

.cart-drawer__view-cart:hover {
  background: rgba(255, 138, 0, 0.06);
}

body.cart-drawer-is-open {
  overflow: hidden;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-action-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--theme-color-secondary);
}

/* Cart button: icon + badge only (no text). */
.header-action-link--cart {
  min-height: auto;
  padding: 0.625rem 0.75rem;
  background: var(--theme-color-primary);
  border-radius: var(--theme-radius-md);
  color: #fff;
}

.header-action-link--cart:hover {
  background: var(--theme-color-primary-hover);
  color: #fff;
}

.header-action-link__icon {
  width: 1.375rem;
  height: 1.375rem;
}

.header-action-link__count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.375rem;
  min-height: 1.375rem;
  padding: 0.125rem 0.375rem;
  border-radius: 999px;
  background: #fff;
  color: var(--theme-color-primary);
  font-size: 0.75rem;
  font-weight: 700;
  line-height: 1;
  margin-left: 0.25rem;
}

.site-navigation {
  border-bottom: 1px solid rgba(31, 41, 55, 0.08);
  background: #fff;
}

.site-navigation__menu,
.site-footer__menu {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin: 0;
  padding: 1rem 0;
  list-style: none;
}

.site-navigation__menu a:hover,
.site-footer__menu a:hover,
.header-action-link:hover {
  color: var(--theme-color-primary);
}

.site-navigation__menu a {
  display: inline-flex;
  align-items: center;
  min-height: 2.5rem;
  font-weight: 600;
}

.site-navigation__menu > .menu-item {
  position: relative;
}

.site-navigation__menu > .menu-item > a {
  position: relative;
}

.site-navigation__menu .menu-item-has-children > a {
  gap: 0.5rem;
}

.site-navigation__menu .menu-item-has-children > a::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-0.125rem);
  transition: var(--theme-transition);
}

.site-navigation__menu .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 20;
  display: grid;
  gap: 0.125rem;
  min-width: 15rem;
  margin: 0;
  padding: 0.75rem;
  list-style: none;
  border: 1px solid rgba(31, 41, 55, 0.08);
  border-radius: var(--theme-radius-md);
  background: #fff;
  box-shadow: 0 18px 40px rgba(31, 41, 55, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: var(--theme-transition);
}

.site-navigation__menu .sub-menu a {
  width: 100%;
  min-height: auto;
  padding: 0.625rem 0.75rem;
  border-radius: var(--theme-radius-sm);
  font-weight: 500;
}

.site-navigation__menu .sub-menu a:hover {
  background: rgba(255, 138, 0, 0.08);
}

.site-navigation__menu > .menu-item:hover > .sub-menu,
.site-navigation__menu > .menu-item:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.site-navigation__menu > .menu-item:hover > a::after,
.site-navigation__menu > .menu-item:focus-within > a::after {
  transform: rotate(225deg) translateY(-0.125rem);
}

.site-footer {
  margin-top: 4rem;
  padding: 4rem 0 3rem;
  border-top: 4px solid var(--theme-color-accent);
  background: #fff;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
}

.site-footer__title {
  position: relative;
  margin-bottom: 1.75rem;
  padding-bottom: 0.75rem;
  font-size: var(--theme-size-h5);
}

.site-footer__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 3.5rem;
  height: 0.25rem;
  background: var(--theme-color-primary);
}

.site-footer__menu {
  display: grid;
  gap: 0.875rem;
  padding: 0;
}

.site-footer__contact p,
.site-footer__brand-copy p,
.site-footer-bottom p {
  margin: 0 0 0.75rem;
}

.site-footer__contact a {
  color: inherit;
}

.site-footer-bottom {
  background: var(--theme-color-primary);
  color: #fff;
}

.site-footer-bottom__inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

@media (max-width: 1024px) {
  .site-header__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .woocommerce-layout--has-sidebar {
    grid-template-columns: 1fr;
  }

  .woocommerce-sidebar {
    position: static;
  }

  .header-search {
    grid-column: 1 / -1;
  }

  .content-grid,
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cart-drawer {
    width: min(26rem, 100vw - 1.5rem);
  }
}

@media (max-width: 767px) {
  .site-main {
    padding: 2rem 0;
  }

  .site-header__inner,
  .content-grid,
  .site-footer__grid,
  .site-footer-bottom__inner {
    display: grid;
    grid-template-columns: 1fr;
  }

  .site-navigation {
    display: none;
  }

  .site-navigation.is-open {
    display: block;
  }

  .site-navigation__menu {
    display: grid;
    gap: 0.75rem;
    padding-top: 0;
  }

  .site-navigation__menu .sub-menu {
    position: static;
    min-width: 100%;
    padding: 0.5rem 0 0 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-navigation__menu .sub-menu a {
    padding: 0.5rem 0;
  }

  .header-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .custom-logo {
    max-height: 3.75rem;
  }

  .cart-drawer {
    width: 100vw;
  }

  .cart-drawer-item {
    grid-template-columns: 3.5rem minmax(0, 1fr) auto;
    gap: 0.625rem;
  }
}
