/*
 * Theme styles.
 *
 * The compiled source stylesheet (app.css) ships the design's preflight, base
 * layer and every utility class used by the templates. This file therefore
 * contains only:
 *   1. functional rules (visibility/state hooks with no source equivalent),
 *   2. styles for WooCommerce/WordPress-generated markup,
 *   3. the Customizer control layout.
 * No global element rules and no restyling of source-classed elements.
 */

/* ---------------------------------------------------------------------
 * 1. Functional hooks
 * ------------------------------------------------------------------ */

[hidden] {
  display: none !important;
}

.site-header {
  position: fixed;
}

/* Identity slot. The source fixes the logo height per placement (header 40px
   mobile / 48px desktop, footer always 48px) and caps the header width, so the
   height token only pins the desktop size and each placement keeps its own
   mobile height from the source classes. */
.site-logo-img {
  display: block;
}

.site-footer .site-logo-img,
.site-header .site-logo-img {
  height: var(--logo-height, 48px) !important;
}

/* The header logo is one step smaller on phones, exactly as the source sets it. */
@media (max-width: 767px) {
  .site-header .site-logo-img {
    height: calc(var(--logo-height, 48px) - 8px) !important;
  }
}

.site-logo-text {
  line-height: var(--logo-height, 48px);
  display: block;
}

/* Home hero fills the viewport under the fixed header; inner pages keep the
   header offset so content is not hidden behind the solid bar. */
body.theme-no-hero .theme-page,
body.theme-no-hero .theme-archive,
body.theme-no-hero .single-product main {
  padding-top: 6rem;
}

@media (min-width: 1024px) {
  body.theme-no-hero .theme-page,
  body.theme-no-hero .theme-archive,
  body.theme-no-hero .single-product main {
    padding-top: 7rem;
  }
}

/* Reveal initial state is declared by app.css ([data-reveal]); the fallback
   keeps content visible wherever the observer cannot run. */
body.is-customizer [data-reveal],
body.no-js [data-reveal] {
  opacity: 1 !important;
  transform: none !important;
}

/* ---------------------------------------------------------------------
 * 2. Cart drawer
 * ------------------------------------------------------------------ */

#theme-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: hsl(var(--media) / 0.6);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.cart-open #theme-cart-overlay {
  opacity: 1;
  visibility: visible;
}

.theme-cart-drawer {
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.cart-open .theme-cart-drawer {
  transform: translateX(0);
}

#theme-cart-drawer.is-updating > * {
  opacity: 0.6;
  pointer-events: none;
}

body.cart-open {
  overflow: hidden;
}

.theme-cart-count:empty,
.theme-cart-count[data-count="0"] {
  display: none !important;
}

/* Brand name sits beside the logo and follows the header bar contrast. */
.site-header .theme-brand-name {
  color: hsl(var(--foreground));
}

.site-header .theme-header-bar.bg-transparent .theme-brand-name {
  color: hsl(var(--on-media));
}

/* ---------------------------------------------------------------------
 * 3. Product cards
 * ------------------------------------------------------------------ */

/* Pattern A overlay: the whole card is clickable, interactive children float
   above it. The universal rule MUST exclude the overlay link itself, and the
   link must re-enable pointer events because the property inherits. */
.theme-product-card {
  position: relative;
}

.theme-product-card .theme-product-card__link {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: auto;
  display: block;
}

.theme-product-card *:not(.theme-product-card__link) {
  pointer-events: none;
}

.theme-product-card .add_to_cart_button,
.theme-product-card .theme-card-actions,
.theme-product-card .theme-card-quick,
.theme-product-card [data-card-prev],
.theme-product-card [data-card-next],
.theme-product-card [data-card-dots],
.theme-product-card > a:not(.theme-product-card__link) {
  pointer-events: auto;
}

/* Prev/next stay pinned to the photo. The add-to-cart control stays in the
   flex row so flex-1 can take the remaining width beside the eye button. */
.theme-product-card [data-card-prev],
.theme-product-card [data-card-next] {
  position: absolute;
  z-index: 3;
}

.theme-product-card .theme-card-actions {
  z-index: 3;
}

.theme-product-card .add_to_cart_button,
.theme-product-card .theme-card-quick {
  position: relative;
  z-index: 3;
}

.theme-product-card .theme-card-quick {
  flex-shrink: 0;
}

.theme-product-card:hover .theme-card-actions,
.theme-product-card:focus-within .theme-card-actions {
  opacity: 1;
}

@media (hover: none) {
  .theme-product-card .theme-card-actions {
    opacity: 1;
  }
}

.theme-product-card > a:not(.theme-product-card__link) {
  position: relative;
  z-index: 1;
}

/* The card footer link sits above the overlay so its own hover still works. */
.theme-product-card > a:not(.theme-product-card__link):hover {
  color: hsl(var(--primary));
}

.theme-product-card__media {
  position: relative;
  overflow: hidden;
}

/* ---------------------------------------------------------------------
 * 4. Add-to-cart button states
 * ------------------------------------------------------------------ */

.single_add_to_cart_button.button:disabled,
.single_add_to_cart_button.button.disabled,
.add_to_cart_button.button:disabled,
.add_to_cart_button.button.disabled {
  cursor: not-allowed !important;
  opacity: 0.4 !important;
  pointer-events: none !important;
}

.single_add_to_cart_button.button:disabled:hover,
.single_add_to_cart_button.button.disabled:hover,
.add_to_cart_button.button:disabled:hover,
.add_to_cart_button.button.disabled:hover {
  opacity: 0.4 !important;
}

.ajax_add_to_cart.theme-btn-loading {
  opacity: 0.6 !important;
  pointer-events: none !important;
  cursor: wait !important;
}

.single-product .single_add_to_cart_button.loading::after,
.ajax_add_to_cart.loading::after {
  display: none !important;
}

/* WooCommerce injects a "View cart" link that the design does not have. */
.woocommerce-page a.added_to_cart.wc-forward,
.single-product a.added_to_cart.wc-forward,
body a.added_to_cart.wc-forward {
  display: none !important;
}

/* Attribute selects are replaced by the pill UI; the selects stay in the DOM
   (not disabled) so wc-add-to-cart-variation.js keeps resolving variations. */
.theme-attr-select-hidden {
  display: none !important;
}

/* ---------------------------------------------------------------------
 * 5. Single product layout
 * ------------------------------------------------------------------ */

.single-product .theme-product-layout {
  min-width: 0;
}

.single-product .theme-product-gallery,
.single-product .theme-product-info {
  min-width: 0;
  max-width: 100%;
}

.single-product .theme-product-thumbnails {
  flex-wrap: wrap;
  max-width: 100%;
}

.single-product .theme-add-to-cart-area {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.single-product .single_add_to_cart_button {
  flex: 1 1 auto;
  min-width: 160px;
}

.single-product .theme-add-to-cart-area .theme-quantity-wrapper {
  flex: 0 0 auto;
}

/* The 6px detail marker is h-1.5 in the source, which the compiled sheet dropped. */
.theme-detail-bullet {
  width: 0.375rem;
  height: 0.375rem;
}

.single-product .woocommerce-product-details__short-description,
.single-product .woocommerce-variation-description,
.single-product .posted_in,
.single-product .theme-product-description,
.single-product .theme-product-details {
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Variation table: label above control (the pills are the visible UI). */
.single-product .variations.shop_attributes tbody,
.single-product .variations tbody tr,
.single-product .variations tbody td {
  display: block;
  width: 100%;
}

.single-product .variations tbody td.label {
  padding-bottom: 0.25rem;
}

.single-product .variations tbody td.value {
  padding-top: 0;
}

/* Quantity input inside the pill-shaped wrapper. */
.theme-quantity-wrapper input[type='number'] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.theme-quantity-wrapper input[type='number']::-webkit-outer-spin-button,
.theme-quantity-wrapper input[type='number']::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* ---------------------------------------------------------------------
 * 6. Lookbook dialog
 * ------------------------------------------------------------------ */

body.dialog-open {
  overflow: hidden;
}

[data-lookbook-dialog] {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

[data-lookbook-dialog][data-state='open'] {
  animation: theme-dialog-in 0.2s ease-out both;
}

[data-lookbook-dialog][data-state='closed'] {
  animation: theme-dialog-out 0.2s ease-in both;
}

@keyframes theme-dialog-in {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
  to { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes theme-dialog-out {
  from { opacity: 1; transform: translate(-50%, -50%) scale(1); }
  to { opacity: 0; transform: translate(-50%, -48%) scale(0.96); }
}

@media (prefers-reduced-motion: reduce) {
  [data-lookbook-dialog][data-state='open'],
  [data-lookbook-dialog][data-state='closed'] {
    animation-duration: 0.01ms;
  }
}

/* ---------------------------------------------------------------------
 * 7. WordPress / WooCommerce generated markup
 * ------------------------------------------------------------------ */

.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.page-title {
  font-family: 'Clash Grotesk', 'Arial Black', sans-serif;
  font-weight: 600;
  line-height: 1.05;
}

.theme-archive .theme-product-grid {
  display: grid;
  align-items: stretch;
}

.theme-archive .theme-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* WooCommerce notices keep the source's surface + border + type. */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreview,
.woocommerce-error li {
  list-style: none;
  margin: 0 0 1.25rem;
  padding: 1rem 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  background-color: hsl(var(--card));
  color: hsl(var(--foreground));
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
  line-height: 1.6;
}

.woocommerce-message,
.woocommerce-info {
  border-left: 2px solid hsl(var(--primary));
}

.woocommerce-error {
  border-left: 2px solid hsl(var(--destructive));
}

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

/* The drawer and the single product page already provide feedback. */
.single-product .woocommerce-message,
.single-product .woocommerce-info,
#theme-cart-drawer .woocommerce-message,
#theme-cart-drawer .woocommerce-info {
  display: none;
}

/* WooCommerce page navigation (shop pagination). */
.theme-archive .woocommerce-pagination {
  margin-top: 3rem;
}

.theme-archive .woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
  border: 0;
}

.theme-archive .woocommerce-pagination ul li {
  border: 0;
  margin: 0;
}

.theme-archive .woocommerce-pagination ul li a,
.theme-archive .woocommerce-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  min-width: 2.75rem;
  padding: 0 1rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.3);
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
}

.theme-archive .woocommerce-pagination ul li a {
  background-color: transparent;
  color: hsl(var(--foreground));
}

.theme-archive .woocommerce-pagination ul li a:hover {
  border-color: hsl(var(--primary));
  color: hsl(var(--primary));
}

/* Result count / ordering: hidden, the design has no such controls. */
.theme-archive .woocommerce-result-count,
.theme-archive .woocommerce-ordering {
  display: none;
}

/* Variation price + availability text from WooCommerce. */
.single-product .woocommerce-variation-price,
.single-product .woocommerce-variation-availability {
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
  color: hsl(var(--foreground) / 0.7);
}

.single-product .woocommerce-variation-price .price {
  font-size: 20px;
  font-weight: 500;
  color: hsl(var(--foreground));
}

/* Sale price markup inside cards. */
.theme-product-card del {
  opacity: 0.6;
  margin-right: 0.4rem;
}

.theme-product-card ins {
  text-decoration: none;
}

.woocommerce-Price-currencySymbol {
  font-size: inherit;
}

/* ---------------------------------------------------------------------
 * 8. Checkout / cart / account (native WooCommerce Blocks)
 * ------------------------------------------------------------------ */

body.woocommerce-checkout .site-main,
body.woocommerce-checkout .entry-content {
  max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout {
  display: block;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout.is-large,
  body.woocommerce-checkout .wc-block-checkout__main + .wc-block-checkout__sidebar ~ .wc-block-checkout,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.is-large {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

body.woocommerce-checkout .wc-block-checkout__main,
body.woocommerce-checkout .wc-block-checkout__sidebar {
  min-width: 0;
  width: 100%;
  max-width: none;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-select select,
body.woocommerce-checkout .wc-blocks-components-select__select,
body.woocommerce-checkout .wc-block-components-textarea textarea {
  width: 100% !important;
  max-width: none !important;
  font-family: 'Switzer', system-ui, sans-serif !important;
  font-size: 14px !important;
  color: hsl(var(--foreground)) !important;
  background-color: hsl(var(--background)) !important;
  border: 1px solid hsl(var(--foreground) / 0.2) !important;
  border-radius: var(--radius) !important;
}

body.woocommerce-checkout .wc-block-components-text-input input:focus,
body.woocommerce-checkout .wc-block-components-select select:focus,
body.woocommerce-checkout .wc-blocks-components-select__select:focus,
body.woocommerce-checkout .wc-block-components-textarea textarea:focus {
  border-color: hsl(var(--primary)) !important;
  outline: none !important;
  box-shadow: none !important;
}

body.woocommerce-checkout .wc-block-components-text-input input::placeholder,
body.woocommerce-checkout .wc-block-components-textarea textarea::placeholder {
  color: hsl(var(--foreground) / 0.45) !important;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .wc-block-cart__submit-button,
body.woocommerce-checkout .wc-block-components-button:not(.is-link) {
  background-color: hsl(var(--primary)) !important;
  color: hsl(var(--primary-foreground)) !important;
  border: 1px solid hsl(var(--primary)) !important;
  border-radius: 9999px !important;
  font-family: 'Switzer', system-ui, sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  text-transform: uppercase !important;
  min-height: 3rem;
}

body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
body.woocommerce-checkout .wc-block-cart__submit-button:hover {
  background-color: hsl(var(--primary) / 0.85) !important;
}

body.woocommerce-checkout .wc-block-checkout__sidebar {
  background-color: hsl(var(--linen));
  border: 1px solid hsl(var(--foreground) / 0.1);
  border-radius: 1rem;
  padding: 1.75rem;
}

body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-totals-item__value,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-product-price,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-order-summary-item__total-price {
  font-family: 'Switzer', system-ui, sans-serif;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__sidebar .wc-block-components-title {
  font-family: 'Clash Grotesk', 'Arial Black', sans-serif !important;
  font-weight: 600 !important;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: var(--radius) !important;
  border: 1px solid hsl(var(--border)) !important;
  background-color: hsl(var(--card)) !important;
  color: hsl(var(--foreground)) !important;
  font-family: 'Switzer', system-ui, sans-serif !important;
  font-size: 14px !important;
}

body.woocommerce-checkout .wc-block-cart-items {
  border: 0 !important;
}

body.woocommerce-checkout .wc-block-cart-items__row {
  border-bottom: 1px solid hsl(var(--foreground) / 0.1) !important;
}

/* Classic checkout field selectors (kept for plugin-rendered sections). */
body.woocommerce-checkout .form-row .input-text,
body.woocommerce-checkout .form-row select {
  width: 100%;
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--foreground) / 0.2);
  border-radius: var(--radius);
}

body.woocommerce-checkout .site-main {
  padding-top: 7rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  body.woocommerce-checkout .site-main {
    padding-top: 8rem;
  }
}

body.theme-wide-page .entry-content,
body.theme-wide-page .wc-block-cart,
body.theme-wide-page .woocommerce {
  max-width: 100%;
  min-width: 0;
}

/* Cart + account tables. */
body.woocommerce-cart .woocommerce table.shop_table,
body.woocommerce-account .woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
}

body.woocommerce-cart .woocommerce table.shop_table th,
body.woocommerce-account .woocommerce table.shop_table th {
  text-align: left;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.08em;
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--foreground) / 0.15);
}

body.woocommerce-cart .woocommerce table.shop_table td,
body.woocommerce-account .woocommerce table.shop_table td {
  padding: 1rem 0;
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
}

/* ---------------------------------------------------------------------
 * 9. Order received (thank you)
 * ------------------------------------------------------------------ */

body.theme-thankyou-page {
  overflow-x: hidden;
}

body.theme-thankyou-page .woocommerce-order {
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 15px;
  color: hsl(var(--foreground) / 0.8);
}

body.theme-thankyou-page .woocommerce-order h2,
body.theme-thankyou-page .woocommerce-order-details__title,
body.theme-thankyou-page .woocommerce-column__title {
  font-family: 'Clash Grotesk', 'Arial Black', sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: hsl(var(--foreground));
  padding: 0 0 1rem;
  margin: 2rem 0 0;
}

body.theme-thankyou-page .woocommerce-order-overview {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  list-style: none;
  margin: 1.5rem 0 2rem;
  padding: 1.25rem;
  border: 1px solid hsl(var(--border));
  border-radius: 1rem;
  background-color: hsl(var(--card));
}

body.theme-thankyou-page .woocommerce-order-overview li {
  margin: 0;
  border: 0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: hsl(var(--muted-foreground));
}

body.theme-thankyou-page .woocommerce-order-overview li strong {
  display: block;
  margin-top: 0.35rem;
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
  letter-spacing: 0;
  text-transform: none;
  color: hsl(var(--foreground));
}

body.theme-thankyou-page .woocommerce-order-details table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 14px;
}

body.theme-thankyou-page .woocommerce-order-details table th,
body.theme-thankyou-page .woocommerce-order-details table td {
  padding: 0.75rem 0;
  border-bottom: 1px solid hsl(var(--foreground) / 0.1);
  text-align: left;
  overflow-wrap: break-word;
}

body.theme-thankyou-page .woocommerce-order-details tfoot th {
  text-align: left;
}

body.theme-thankyou-page .woocommerce-order-details tfoot td {
  text-align: right;
}

body.theme-thankyou-page .woocommerce-customer-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

body.theme-thankyou-page .woocommerce-customer-details address {
  max-width: 480px;
  overflow-wrap: break-word;
  font-style: normal;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.25rem;
  background-color: hsl(var(--card));
}

/* ---------------------------------------------------------------------
 * 10. Customizer control layout
 * ------------------------------------------------------------------ */

.theme-media-control {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.theme-media-url-input {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

.theme-media-preview {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ---------------------------------------------------------------------
 * 11. WordPress core content inside pages
 * ------------------------------------------------------------------ */

.entry-content > * + * {
  margin-top: 1.25rem;
}

body.theme-page .entry-content h2 {
  font-family: 'Clash Grotesk', 'Arial Black', sans-serif;
  font-size: 1.875rem;
  font-weight: 600;
  line-height: 1.15;
}

body.theme-page .entry-content h3 {
  font-family: 'Clash Grotesk', 'Arial Black', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
}

body.theme-page .entry-content a {
  color: hsl(var(--primary));
  text-decoration: underline;
}

body.theme-page .entry-content ul {
  list-style: disc;
  padding-left: 1.25rem;
}

body.theme-page .entry-content ol {
  list-style: decimal;
  padding-left: 1.25rem;
}

/* ---------------------------------------------------------------------
 * 12. Classic WooCommerce forms (login, account, coupons)
 * ------------------------------------------------------------------ */

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form.login input.input-text,
.woocommerce form.register input.input-text,
.woocommerce-account .woocommerce-Input,
.woocommerce-account input[type='text'],
.woocommerce-account input[type='email'],
.woocommerce-account input[type='password'],
.woocommerce-account input[type='tel'],
.woocommerce-account select,
.woocommerce-account textarea {
  width: 100%;
  height: 3rem;
  padding: 0 1rem;
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
  color: hsl(var(--foreground));
  background-color: hsl(var(--background));
  border: 1px solid hsl(var(--foreground) / 0.2);
  border-radius: var(--radius);
}

.woocommerce-account textarea {
  height: auto;
  padding: 0.75rem 1rem;
  resize: none;
}

.woocommerce form .form-row input.input-text:focus,
.woocommerce form.login input.input-text:focus,
.woocommerce-account .woocommerce-Input:focus,
.woocommerce-account select:focus,
.woocommerce-account textarea:focus {
  border-color: hsl(var(--primary));
  outline: none;
}

.woocommerce form .form-row label,
.woocommerce-account label {
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: hsl(var(--foreground) / 0.75);
}

.woocommerce form .form-row label .required,
.woocommerce-account .required {
  color: hsl(var(--destructive));
  text-decoration: none;
}

.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register,
.woocommerce-account form.edit-account {
  max-width: 32rem;
  padding: 2rem;
  border: 1px solid hsl(var(--foreground) / 0.2);
  border-radius: 1rem;
  background-color: hsl(var(--card));
}

.woocommerce-account .woocommerce-form-login .lost_password a,
.woocommerce-account .woocommerce-MyAccount-navigation a {
  color: hsl(var(--primary));
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
}

.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100%;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.5rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--foreground) / 0.3);
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  color: hsl(var(--foreground));
}

.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background-color: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

/* Classic buttons rendered by WooCommerce outside the block editor. */
.woocommerce-account .woocommerce-Button,
.woocommerce-account button.button,
.woocommerce-cart .button,
.woocommerce form.checkout_coupon .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0 1.75rem;
  border: 1px solid hsl(var(--primary));
  border-radius: 9999px;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  font-family: 'Switzer', system-ui, sans-serif;
  font-size: 14px;
  font-weight: 500;
  text-transform: uppercase;
  cursor: pointer;
}

.woocommerce-account .woocommerce-Button:hover,
.woocommerce-cart .button:hover {
  background-color: hsl(var(--primary) / 0.85);
  border-color: hsl(var(--primary) / 0.85);
}

.woocommerce-account .woocommerce-form__label-for-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: none;
  font-size: 14px;
}

/* Hidden WooCommerce markup that the design does not use. */
.woocommerce .woocommerce-breadcrumb,
.woocommerce-products-header {
  display: none;
}
