/*
Theme Name: Rayaz Shop
Theme URI: https://shop.rayazgunworks.com
Author: Rayaz Gunworks
Description: Block theme for the WooCommerce shop. Mirrors the Hugo site at www.rayazgunworks.com — palette, type, spacing and layout widths live in theme.json; this file carries the Hugo CSS that theme.json can't express, plus WooCommerce overrides.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: rayaz-shop
*/

/* Fonts: @font-face rules are generated from theme.json (assets/fonts). */

/* Base */
*, *::before, *::after { box-sizing: border-box; }
body { -webkit-font-smoothing: antialiased; }
input::placeholder,
textarea::placeholder { color: var(--wp--preset--color--faint); }

/* Site wrapper (Hugo .site-wrapper) */
.wp-site-blocks {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wp-site-blocks > * { margin-block-start: 0; }
.wp-site-blocks > main { flex: 1; }

/* Hugo flex rows live in group blocks here; drop the block-gap margins WP adds to their children */
.site-header .wp-block-group > *,
.site-footer > *,
.site-footer .wp-block-group > * { margin-block: 0; }

/* Topbar */
.topbar {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--on-dark);
  font-size: 13.5px;
  letter-spacing: 0.02em;
  padding: 7px 24px;
  text-align: center;
}

/* Header */
.site-header { background: var(--wp--preset--color--base); border-bottom: 1px solid var(--wp--preset--color--border); padding: 0 24px; }
.site-header__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 16px 0;
}
.site-logo { display: flex; align-items: center; }
.site-logo img { height: 40px; width: auto; display: block; }

/* Nav */
.site-nav { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.nav-link { color: var(--wp--preset--color--contrast); font-weight: 500; font-size: 15.5px; }
.nav-link:hover { color: var(--wp--preset--color--contrast); text-decoration: none; opacity: 0.75; }
.nav-link--active { font-weight: 600; }
.nav-divider { width: 1px; height: 22px; background: var(--wp--preset--color--border-strong); }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--wp--preset--color--primary);
  font-weight: 700;
  font-size: 15.5px;
  white-space: nowrap;
  font-family: var(--wp--preset--font-family--heading);
}
.nav-phone:hover { color: var(--wp--preset--color--primary-dark); text-decoration: none; }
.nav-cta {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  font-weight: 600;
  font-size: 15px;
  padding: 9px 18px;
  border-radius: 4px;
}
.nav-cta:hover { background: var(--wp--preset--color--primary-dark); color: var(--wp--preset--color--white); text-decoration: none; }

/* Buttons */
.btn-primary {
  display: inline-block;
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  font-weight: 600;
  padding: 13px 24px;
  border-radius: 4px;
  font-size: 16px;
}
.btn-primary:hover { background: var(--wp--preset--color--primary-dark); color: var(--wp--preset--color--white); text-decoration: none; }

.btn-outline {
  display: inline-block;
  border: 1.5px solid var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--contrast);
  font-weight: 600;
  padding: 12px 24px;
  border-radius: 4px;
  font-size: 16px;
}
.btn-outline:hover,
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  text-decoration: none;
}

/* Footer */
.site-footer { padding: 36px 24px 44px; }
.site-footer--bordered { border-top: 1px solid var(--wp--preset--color--border-soft); }
.site-footer__inner {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.site-footer__brand { display: flex; align-items: center; gap: 14px; }
.site-footer__brand img { height: 28px; width: auto; opacity: 0.85; }
.site-footer__copy { font-size: 14px; color: var(--wp--preset--color--subtle); }
.site-footer__nav { display: flex; gap: 20px; flex-wrap: wrap; font-size: 14.5px; }
.site-footer .site-footer__legal { max-width: 1080px; margin: 14px auto 0; }
.site-footer__legal-nav {
  display: flex;
  justify-content: flex-end;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.site-footer__legal-nav a { color: var(--wp--preset--color--subtle); }
.site-footer__legal-nav a:hover { color: var(--wp--preset--color--muted); }

/* Utilities */
.container { max-width: 1080px; margin: 0 auto; }
.container--narrow { max-width: 860px; margin: 0 auto; }
.muted { color: var(--wp--preset--color--muted); }
.eyebrow {
  margin: 0 0 12px;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--wp--preset--color--primary);
}
.page-title { margin: 0 0 14px; }
.section-title { margin: 0 0 12px; }
.label-caps {
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--subtle);
}
.link-more { font-weight: 600; font-size: 15px; }
.chip-row { display: flex; gap: 10px; flex-wrap: wrap; font-size: 14px; font-weight: 600; }
.chip { border: 1px solid var(--wp--preset--color--border); border-radius: 99px; padding: 6px 14px; background: var(--wp--preset--color--base); }

/* Cards */
.course-card { display: block; background: var(--wp--preset--color--white); border: 1px solid var(--wp--preset--color--border); border-radius: 6px; padding: 24px 26px; color: var(--wp--preset--color--contrast); }
.course-card:hover { border-color: var(--wp--preset--color--primary); text-decoration: none; color: var(--wp--preset--color--contrast); }
.course-card__title { margin: 0 0 8px; font-size: 22px; }
.course-card__title a { color: inherit; }
.course-card__summary { margin: 0; color: var(--wp--preset--color--muted); font-size: 15.5px; }

/* Generic content page */
.page-section { padding: 56px 24px 72px; }
.page-section__head { padding-bottom: 26px; border-bottom: 1px solid var(--wp--preset--color--border); }
.page-section__head .page-title:last-child { margin-bottom: 0; }
.page-lead { margin: 0; font-size: 18px; color: var(--wp--preset--color--muted); max-width: 60ch; text-wrap: pretty; }
.page-meta { margin: 12px 0 0; font-size: 14.5px; color: var(--wp--preset--color--subtle); }

/* Generic content page — post content */
.prose { margin-top: 32px; text-wrap: pretty; }
.prose > *:first-child { margin-top: 0; }
.prose > *:last-child { margin-bottom: 0; }
.prose h2 { margin: 44px 0 12px; }
.prose h3 { margin: 32px 0 10px; }
.prose h4 { margin: 24px 0 8px; }
.prose p { margin: 0 0 16px; }
.prose strong { font-weight: 600; }
.prose ul, .prose ol { margin: 0 0 16px; padding-left: 22px; }
.prose ul { list-style: circle; }
.prose li { margin-bottom: 8px; }
.prose li:last-child { margin-bottom: 0; }
.prose li > ul, .prose li > ol { margin: 8px 0 0; }
.prose hr { margin: 36px 0; border: 0; border-top: 1px solid var(--wp--preset--color--border); }
.prose blockquote { margin: 0 0 16px; }
.prose :not(pre) > code {
  font-family: var(--wp--preset--font-family--mono);
  font-size: 0.9em;
  background: var(--wp--preset--color--tint);
  border-radius: 3px;
  padding: 2px 5px;
}
.prose pre { margin: 0 0 16px; overflow-x: auto; }
.prose table {
  width: 100%;
  margin: 0 0 16px;
  border-collapse: collapse;
  font-size: 16px;
}
.prose th, .prose td { padding: 10px 12px; border: 0; border-bottom: 1px solid var(--wp--preset--color--border); text-align: left; }
.prose th { font-weight: 600; }
.prose img { max-width: 100%; height: auto; border-radius: 6px; }

/* 404 */
.notfound { flex: 1; display: flex; align-items: center; padding: 72px 24px; }
.notfound__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.notfound__eyebrow { margin: 36px 0 10px; }
.notfound__lead { margin: 0 0 30px; font-size: 18px; color: var(--wp--preset--color--muted); max-width: 44ch; text-wrap: pretty; }
.notfound__actions { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.notfound__note { margin: 26px 0 0; font-size: 14.5px; color: var(--wp--preset--color--subtle); }

.target { animation: target-sway 5s ease-in-out infinite; transform-origin: 50% -40px; }
.target__hanger { width: 2px; height: 34px; background: var(--wp--preset--color--border-strong); margin: 0 auto; }
.target__paper {
  position: relative;
  width: 190px;
  height: 230px;
  background: var(--wp--preset--color--surface);
  border: 1px solid var(--wp--preset--color--border-strong);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.target__ring {
  border: 2px solid var(--wp--preset--color--contrast);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.target__ring--1 { width: 150px; height: 150px; }
.target__ring--2 { width: 104px; height: 104px; }
.target__ring--3 { width: 58px; height: 58px; }
.target__bull { width: 16px; height: 16px; background: var(--wp--preset--color--primary); border-radius: 50%; }
.target__hole {
  position: absolute;
  width: 11px;
  height: 11px;
  background: var(--wp--preset--color--contrast);
  border-radius: 50%;
  opacity: 0;
  animation: target-hole 0.3s ease-out forwards;
}
.target__hole--1 { top: 52px; left: 38px; animation-delay: 0.6s; }
.target__hole--2 { top: 148px; left: 132px; animation-delay: 1.5s; }
.target__hole--3 { top: 172px; left: 58px; animation-delay: 2.4s; }
.target__hole--4 { top: 64px; left: 128px; animation-delay: 3.3s; }

@keyframes target-hole {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.4); opacity: 1; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes target-sway {
  0%, 100% { transform: rotate(-1.2deg); }
  50% { transform: rotate(1.2deg); }
}
@media (prefers-reduced-motion: reduce) {
  .target { animation: none; }
  .target__hole { animation: none; opacity: 1; }
}

/* ── WooCommerce ─────────────────────────────────────────── */

/* Header — account + mini-cart sit in .site-nav like nav links */
.site-nav .wc-block-customer-account a,
.site-nav .wc-block-mini-cart__button { color: var(--wp--preset--color--contrast); padding: 0; }
.site-nav .wc-block-customer-account a:hover,
.site-nav .wc-block-mini-cart__button:hover { opacity: 0.75; text-decoration: none; }
.wc-block-mini-cart__badge { background: var(--wp--preset--color--primary); color: var(--wp--preset--color--white); }
.wc-block-mini-cart__drawer .wc-block-mini-cart__title { font-family: var(--wp--preset--font-family--heading); font-weight: 600; font-size: 21px; }

/* Breadcrumbs, result count, sorting */
.woocommerce-breadcrumb,
.wc-block-breadcrumbs { margin: 0 0 12px; font-size: 14.5px; color: var(--wp--preset--color--subtle); }
.shop-toolbar { margin: 26px 0 20px; padding-top: 26px; border-top: 1px solid var(--wp--preset--color--border); font-size: 14.5px; color: var(--wp--preset--color--muted); }
.shop-toolbar .woocommerce-result-count { margin: 0; }

/* Buttons — same as .btn-primary wherever Woo doesn't use the theme.json button element */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.wc-block-components-button:not(.is-link) {
  background: var(--wp--preset--color--primary);
  color: var(--wp--preset--color--white);
  border: 0;
  border-radius: 4px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  padding: 13px 24px;
  text-decoration: none;
  cursor: pointer;
}
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.wc-block-components-button:not(.is-link):hover {
  background: var(--wp--preset--color--primary-dark);
  color: var(--wp--preset--color--white);
  text-decoration: none;
}
.woocommerce a.button.disabled,
.woocommerce button.button:disabled,
.wc-block-components-button:not(.is-link):disabled { opacity: 0.55; cursor: not-allowed; }
.wc-block-components-button.is-link { color: var(--wp--preset--color--primary); }

/* Product grid — each product is a card */
.wc-block-product-template { gap: 20px; }
.wc-block-product-template .wc-block-product {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
  padding: 20px;
}
.wc-block-product-template .wc-block-product:hover { border-color: var(--wp--preset--color--primary); }
.wc-block-product-template .wc-block-product > * { margin: 0; }
.wc-block-product .wc-block-components-product-image { margin: 0; }
.wc-block-product .wc-block-components-product-image img { border-radius: 4px; }
.wc-block-product .wp-block-post-title { font-size: 21px; line-height: 1.25; }
.wc-block-product .wp-block-post-title a { color: var(--wp--preset--color--contrast); }
.wc-block-product .wp-block-post-title a:hover { color: var(--wp--preset--color--contrast); text-decoration: none; opacity: 0.75; }
.wc-block-product .wc-block-components-product-button { margin-top: auto; padding-top: 6px; align-items: flex-start; }
.wc-block-product .wc-block-components-product-button .wp-block-button__link { font-size: 15px; padding: 9px 18px; }
.wc-block-components-product-sale-badge,
.woocommerce span.onsale {
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 99px;
  padding: 4px 12px;
  background: var(--wp--preset--color--base);
  color: var(--wp--preset--color--contrast);
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
}

/* Price */
.wc-block-components-product-price,
.woocommerce .price,
.wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  color: var(--wp--preset--color--contrast);
}
.wc-block-components-product-price { font-size: 17px; }
.wc-block-components-product-price del,
.woocommerce .price del { color: var(--wp--preset--color--subtle); font-weight: 500; }
.wc-block-components-product-price ins,
.woocommerce .price ins { text-decoration: none; }

/* Pagination */
.wp-block-query-pagination { margin-top: 32px; font-size: 15.5px; font-weight: 600; }
.wp-block-query-pagination-numbers .current { color: var(--wp--preset--color--contrast); }

/* Single product */
.product-layout { gap: 48px; margin-top: 20px; }
.product-layout .wc-block-components-product-price { font-size: 26px; }
.product-layout .page-lead { margin-bottom: 24px; }
.woocommerce div.product div.images img { border-radius: 6px; }
.wc-block-components-product-rating__stars::before,
.woocommerce .star-rating span::before { color: var(--wp--preset--color--primary); }
.wp-block-woocommerce-product-meta { margin-top: 22px; font-size: 14.5px; color: var(--wp--preset--color--subtle); }
.woocommerce div.product form.cart { display: flex; gap: 10px; flex-wrap: wrap; align-items: stretch; }
.woocommerce div.product form.cart.variations_form { display: block; }
.woocommerce .stock { font-size: 14px; font-weight: 600; color: var(--wp--preset--color--primary); }
.woocommerce .stock.out-of-stock { color: var(--wp--preset--color--warning); }
.wp-block-woocommerce-product-details { margin-top: 56px; }
/* Tabs — flat underline style; selectors are long to outrank WooCommerce's boxed tabs */
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs { display: flex; gap: 26px; flex-wrap: wrap; margin: 0 0 24px; padding: 0; list-style: none; overflow: visible; border-bottom: 1px solid var(--wp--preset--color--border); }
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li::after { display: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li.active { margin: 0; padding: 0; border: 0; border-radius: 0; background: none; }
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li a { display: block; padding: 10px 0; margin-bottom: -1px; border-bottom: 2px solid transparent; color: var(--wp--preset--color--muted); font-weight: 600; font-size: 15.5px; }
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li a:hover { text-decoration: none; color: var(--wp--preset--color--contrast); }
.woocommerce div.product .woocommerce-tabs ul.tabs.wc-tabs li.active a { color: var(--wp--preset--color--contrast); border-bottom-color: var(--wp--preset--color--primary); }
.woocommerce-tabs .panel > h2:first-child { display: none; }
.wp-block-woocommerce-product-collection > .section-title { margin: 56px 0 20px; }

/* Form fields — same as the Hugo contact form inputs */
.woocommerce .quantity input.qty,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce table.variations select,
.woocommerce-ordering select,
.wc-block-components-text-input input,
.wc-block-components-textarea,
.wc-blocks-components-select .wc-blocks-components-select__select,
.wc-block-components-quantity-selector {
  border: 1px solid var(--wp--preset--color--border-input);
  border-radius: 4px;
  background: var(--wp--preset--color--surface);
  color: var(--wp--preset--color--contrast);
  font-family: inherit;
  font-size: 16px;
}
.woocommerce .quantity input.qty { width: 76px; padding: 12px 10px; text-align: center; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce table.variations select,
.woocommerce-ordering select { padding: 12px 14px; }
.woocommerce-ordering select { font-size: 14.5px; padding: 8px 12px; }
.wc-block-components-quantity-selector::after { border: 0; }
.wc-block-components-text-input.has-error input,
.wc-block-components-form .has-error .wc-blocks-components-select__select { border-color: var(--wp--preset--color--error); }
.wc-block-components-validation-error { color: var(--wp--preset--color--error); }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"] { border-color: var(--wp--preset--color--border-input); border-radius: 3px; }
.wc-block-components-checkbox .wc-block-components-checkbox__input[type="checkbox"]:checked { background: var(--wp--preset--color--primary); border-color: var(--wp--preset--color--primary); }
.wc-block-components-checkbox .wc-block-components-checkbox__mark { fill: var(--wp--preset--color--white); }

/* Notices — card with an accent edge; class is doubled to outrank WooCommerce's coloured banners */
.wc-block-components-notice-banner.wc-block-components-notice-banner,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  align-items: center;
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--border);
  border-left: 3px solid var(--wp--preset--color--primary);
  border-radius: 6px;
  color: var(--wp--preset--color--contrast);
  font-size: 15.5px;
  padding: 14px 18px;
}
.wc-block-components-notice-banner.wc-block-components-notice-banner > svg { background: var(--wp--preset--color--primary); }
.wc-block-components-notice-banner.wc-block-components-notice-banner.is-error,
.woocommerce-error { border-left-color: var(--wp--preset--color--error); }
.wc-block-components-notice-banner.wc-block-components-notice-banner.is-error > svg { background: var(--wp--preset--color--error); }
.wc-block-components-notice-banner.wc-block-components-notice-banner.is-warning { border-left-color: var(--wp--preset--color--warning); }
.wc-block-components-notice-banner.wc-block-components-notice-banner.is-warning > svg { background: var(--wp--preset--color--warning); }
.wc-block-components-notice-banner.wc-block-components-notice-banner .wc-block-components-notice-banner__content a,
.wc-block-components-notice-banner.wc-block-components-notice-banner .wc-block-components-notice-banner__content .wc-forward,
.wc-block-components-notice-banner.wc-block-components-notice-banner .wc-block-components-button.is-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--wp--preset--color--primary) !important;
  font-size: 15px;
  font-weight: 600;
  opacity: 1;
  text-decoration: none;
}
.wc-block-components-notice-banner.wc-block-components-notice-banner .wc-block-components-notice-banner__content a:hover,
.wc-block-components-notice-banner.wc-block-components-notice-banner .wc-block-components-notice-banner__content .wc-forward:hover { background: none; color: var(--wp--preset--color--primary-dark) !important; text-decoration: underline; }

/* Cart + checkout */
.wp-block-woocommerce-cart,
.wp-block-woocommerce-checkout { margin-top: 32px; }
.wc-block-cart .wc-block-components-sidebar {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
  padding: 18px 22px;
}
/* Checkout: Woo already boxes the order summary, so style that box rather than nesting it in another */
.wc-block-checkout .wc-block-checkout__sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
}
.wc-block-cart .wc-block-cart__totals-title,
.wc-block-cart table.wc-block-cart-items .wc-block-cart-items__header th {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--wp--preset--color--subtle);
}
.wc-block-cart table.wc-block-cart-items,
.wc-block-cart table.wc-block-cart-items td,
.wc-block-components-totals-wrapper,
.wc-block-components-order-summary-item { border-color: var(--wp--preset--color--border-faint); }
.wc-block-cart-item__image img,
.wc-block-components-order-summary-item__image img { border-radius: 4px; }
.wc-block-components-product-name { color: var(--wp--preset--color--contrast); font-weight: 600; font-size: 16.5px; }
.wc-block-components-product-metadata { color: var(--wp--preset--color--muted); font-size: 14.5px; }
.wc-block-cart-item__remove-link { color: var(--wp--preset--color--subtle); }
.wc-block-components-totals-footer-item .wc-block-components-totals-item__label { font-weight: 600; }
.wc-block-cart__submit-button,
.wc-block-components-checkout-place-order-button { width: 100%; padding: 14px 22px; font-size: 16.5px; }
.wc-block-components-title.wc-block-components-title,
.wc-block-components-checkout-step__title {
  font-family: var(--wp--preset--font-family--heading);
  font-weight: 600;
  font-size: 21px;
}
.wc-block-components-checkout-step__description { color: var(--wp--preset--color--muted); font-size: 14.5px; }
.wc-block-components-radio-control--highlight-checked,
.wc-block-components-radio-control-accordion-option { border-radius: 6px; }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked { border-color: var(--wp--preset--color--primary); }
.wc-block-components-radio-control .wc-block-components-radio-control__input:checked::before { background: var(--wp--preset--color--primary); }
.wc-block-checkout__terms { font-size: 13px; color: var(--wp--preset--color--subtle); }

/* My account + other shortcode pages rendered inside .prose */
.prose .woocommerce ul { list-style: none; padding-left: 0; }
/* Account menu — plain stacked list; selectors are long to outrank WooCommerce's own row padding */
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul {
  display: block;
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
  border-left: 1px solid var(--wp--preset--color--border);
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul li,
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul li:first-child,
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul li:last-child { margin: 0; padding: 0; border: 0; }
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a {
  display: block;
  margin-left: -1px;
  padding: 5px 14px;
  border-left: 2px solid transparent;
  color: var(--wp--preset--color--muted);
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.4;
  text-decoration: none;
}
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul li a:hover { color: var(--wp--preset--color--contrast); text-decoration: none; }
body.woocommerce-account nav.woocommerce-MyAccount-navigation ul li.is-active a { color: var(--wp--preset--color--contrast); font-weight: 600; text-decoration: none; border-left-color: var(--wp--preset--color--primary); }
.woocommerce form.login,
.woocommerce form.register,
.woocommerce form.lost_reset_password {
  background: var(--wp--preset--color--white);
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
  padding: 28px;
}
.woocommerce form fieldset {
  margin: 24px 0;
  padding: 18px 16px 4px;
  border: 1px solid var(--wp--preset--color--border);
  border-radius: 6px;
}
.woocommerce form fieldset legend { padding: 0 8px; font-weight: 600; }
.woocommerce form .form-row label { display: block; margin-bottom: 6px; font-size: 14.5px; font-weight: 600; }
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea { width: 100%; }
