:root {
  --woo-panel-shadow: 0 22px 52px rgba(12, 47, 38, 0.08);
}

.woocommerce,
.woocommerce-page {
  background: var(--richmond-cream);
}

.woocommerce main.site-main {
  background: var(--richmond-cream);
}

.button--outline-green,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid var(--richmond-green);
  border-radius: 6px;
  background: transparent;
  color: var(--richmond-green);
  font-family: Blinker, Inter, Arial, sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
  text-decoration: none;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover,
.button--outline-green:hover {
  border-color: var(--richmond-gold);
  background: var(--richmond-gold);
  color: var(--richmond-text);
}

.woocommerce a.button--gold,
.woocommerce button.button--gold,
.woocommerce input.button--gold,
.woocommerce .button--gold,
.woocommerce-page .button--gold {
  border-color: var(--richmond-gold);
  background: var(--richmond-gold);
  color: var(--richmond-text);
}

.woocommerce a.button--gold:hover,
.woocommerce button.button--gold:hover,
.woocommerce input.button--gold:hover,
.woocommerce .button--gold:hover,
.woocommerce-page .button--gold:hover {
  border-color: #d99a2d;
  background: #d99a2d;
  color: var(--richmond-text);
}

.woocommerce a.button--outline-light,
.woocommerce .button--outline-light {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(0, 66, 37, 0.12);
  color: var(--richmond-white);
}

.woocommerce a.button--outline-light:hover,
.woocommerce .button--outline-light:hover {
  border-color: var(--richmond-gold);
  background: var(--richmond-gold);
  color: var(--richmond-text);
}

.woocommerce a.button--outline-gold,
.woocommerce .button--outline-gold {
  border-color: var(--richmond-gold);
  color: var(--richmond-gold);
}

.richmond-breadcrumbs,
.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 26px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Blinker, Inter, Arial, sans-serif;
  font-size: 14px;
}

.richmond-breadcrumbs a,
.woocommerce .woocommerce-breadcrumb a {
  color: var(--richmond-gold);
  text-decoration: none;
}

.woo-hero {
  position: relative;
  overflow: hidden;
  background: image-set(url("../images/richmond-page-hero-course-products.webp") 1x, url("../images/richmond-page-hero-course-products@2x.webp") 2x) center / cover no-repeat;
  color: var(--richmond-white);
}

.woo-hero--category {
  background: image-set(url("../images/richmond-page-hero-course-products.webp") 1x, url("../images/richmond-page-hero-course-products@2x.webp") 2x) center / cover no-repeat;
}

.woo-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.65fr);
  gap: 64px;
  align-items: center;
  min-height: 430px;
  padding: 78px 0;
}

.woo-hero__copy {
  position: relative;
  max-width: 760px;
}

.woo-hero .section-eyebrow,
.quote-page-hero .section-eyebrow,
.woo-section-heading .section-eyebrow,
.woo-guidance .section-eyebrow {
  margin: 0 0 12px;
  color: var(--richmond-gold);
  font-family: Blinker, Inter, Arial, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.woo-hero h1,
.quote-page-hero h1,
.woo-section-heading h2,
.woo-guidance h2,
.woo-product-tabs h2,
.woo-empty h2,
.woo-seo-copy h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.woo-hero h1,
.quote-page-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 5.4vw, 82px);
  line-height: 0.98;
}

.woo-hero p:not(.section-eyebrow),
.quote-page-hero p {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.6;
}

.woo-hero .section-eyebrow,
.woo-hero h1,
.woo-hero p:not(.section-eyebrow),
.quote-page-hero .section-eyebrow,
.quote-page-hero h1,
.quote-page-hero p {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

.woo-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.woo-hero__image {
  margin: 0;
  padding: 18px;
  border: 1px solid rgba(231, 220, 200, 0.32);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.24);
}

.woo-hero__image img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.woo-category-nav,
.woo-archive-section,
.woo-related-categories,
.woo-related-products,
.woo-product-tabs-section,
.woo-seo-copy {
  padding: 84px 0;
}

.woo-category-nav + .woo-archive-section,
.woo-related-categories,
.woo-related-products {
  padding-top: 18px;
}

.woo-section-heading {
  display: flex;
  gap: 24px;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 30px;
}

.woo-section-heading h2 {
  color: var(--richmond-text);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1;
}

.woo-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: flex-end;
  color: var(--richmond-muted);
  font-size: 15px;
}

.woo-toolbar .woocommerce-result-count {
  margin: 0;
}

.woo-toolbar .orderby {
  min-height: 44px;
  padding: 0 38px 0 14px;
  border: 1px solid var(--richmond-border);
  border-radius: 6px;
  background-color: var(--richmond-white);
  color: var(--richmond-text);
  font: inherit;
}

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

.product-card {
  position: relative;
}

.product-card__badge {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--richmond-green);
  color: var(--richmond-white);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-card__excerpt {
  min-height: 48px;
  color: var(--richmond-muted);
  font-size: 15px;
  line-height: 1.45;
}

.product-card__meta {
  margin-top: auto;
  color: var(--richmond-green);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.woo-empty,
.woo-seo-copy article,
.woo-guidance {
  border: 1px solid var(--richmond-border);
  border-radius: 10px;
  background: var(--richmond-white);
  box-shadow: var(--woo-panel-shadow);
}

.woo-empty {
  padding: 42px;
}

.woo-empty p {
  max-width: 680px;
}

.woo-guidance-section,
.woo-product-quote-band {
  padding: 0 0 84px;
}

.woo-category-intro {
  padding: 72px 0 0;
  background: var(--richmond-cream);
}

.woo-category-intro article {
  max-width: 980px;
  padding: clamp(30px, 4vw, 50px);
  border: 1px solid var(--richmond-border);
  border-radius: 10px;
  background: var(--richmond-white);
  box-shadow: var(--woo-panel-shadow);
}

.woo-category-intro h2 {
  margin: 0 0 16px;
  color: var(--richmond-text);
  font-size: clamp(34px, 3vw, 48px);
}

.woo-category-intro p:not(.section-eyebrow) {
  color: var(--richmond-muted);
  font-size: 17px;
  line-height: 1.7;
}

.woo-brand-strip {
  padding: 34px 0 0;
  background: var(--richmond-cream);
}

.woo-brand-strip__panel {
  display: grid;
  grid-template-columns: minmax(220px, 330px) 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(231, 220, 200, 0.95);
  border-radius: 14px;
  background: #fff;
  box-shadow: var(--woo-panel-shadow);
}

.woo-brand-strip__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 132px;
  padding: 18px;
  border-radius: 10px;
  background: #fff;
}

.woo-brand-strip__logo img {
  display: block;
  width: min(100%, 300px);
  height: auto;
}

.woo-brand-strip__copy h2 {
  margin: 0 0 12px;
  color: var(--richmond-text);
  font-size: clamp(30px, 3vw, 44px);
  line-height: 1.05;
}

.woo-brand-strip__copy p:not(.section-eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--richmond-muted);
  font-size: 17px;
  line-height: 1.65;
}

.woo-guidance {
  display: flex;
  gap: 28px;
  align-items: center;
  justify-content: space-between;
  padding: 42px;
}

.woo-guidance h2 {
  color: var(--richmond-text);
  font-size: clamp(34px, 3.2vw, 50px);
  line-height: 1.02;
}

.woo-guidance p:not(.section-eyebrow) {
  max-width: 760px;
  margin: 14px 0 0;
  color: var(--richmond-muted);
  font-size: 17px;
  line-height: 1.55;
}

.woo-seo-copy article {
  padding: 44px;
}

.woo-seo-copy h2 {
  color: var(--richmond-text);
  font-size: clamp(34px, 3vw, 48px);
}

.woo-seo-copy p {
  max-width: 920px;
  color: var(--richmond-muted);
  font-size: 17px;
  line-height: 1.7;
}

.woocommerce-pagination {
  margin-top: 34px;
}

.woocommerce-pagination ul {
  display: flex;
  gap: 8px;
  justify-content: center;
  padding: 0;
  border: 0;
}

.woocommerce-pagination li {
  list-style: none;
}

.woocommerce-pagination a,
.woocommerce-pagination span {
  display: grid;
  min-width: 42px;
  min-height: 42px;
  place-items: center;
  border: 1px solid var(--richmond-border);
  border-radius: 6px;
  background: var(--richmond-white);
  color: var(--richmond-text);
  text-decoration: none;
}

.woocommerce-pagination .current {
  border-color: var(--richmond-gold);
  background: var(--richmond-gold);
}

.woo-product-hero {
  padding: 46px 0 88px;
  background: var(--richmond-cream);
}

.woo-product-hero .richmond-breadcrumbs,
.woo-product-hero .woocommerce-breadcrumb {
  color: var(--richmond-muted);
}

.woo-product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.82fr);
  gap: 52px;
  align-items: start;
}

.woo-product-gallery__main,
.woo-product-summary {
  border: 1px solid var(--richmond-border);
  border-radius: 10px;
  background: var(--richmond-white);
  box-shadow: var(--woo-panel-shadow);
}

.woo-product-gallery__main {
  margin: 0;
  padding: 24px;
}

.woo-product-gallery__main img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 0.82;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.woo-product-gallery__thumbs {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.woo-product-gallery__thumbs img {
  width: 86px;
  height: 86px;
  object-fit: contain;
  border: 1px solid var(--richmond-border);
  border-radius: 6px;
  background: #fff;
}

.woo-product-summary {
  padding: 42px;
}

.woo-product-summary .section-eyebrow a {
  color: var(--richmond-gold);
  text-decoration: none;
}

.woo-product-summary .product_title {
  margin: 0;
  color: var(--richmond-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(44px, 4.6vw, 68px);
  line-height: 0.98;
}

.woo-product-summary .woocommerce-product-details__short-description {
  margin-top: 18px;
  color: var(--richmond-muted);
  font-size: 17px;
  line-height: 1.65;
}

.woo-product-price-from {
  margin: 22px 0 0;
  color: var(--richmond-green);
  font-size: 22px;
  font-weight: 800;
}

.woo-product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.woo-product-reassurance {
  margin: 14px 0 0;
  color: var(--richmond-muted);
  font-size: 14px;
  line-height: 1.5;
}

.woo-product-actions form.cart {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 0;
}

.woo-product-actions .quantity input {
  width: 74px;
  min-height: 46px;
  border: 1px solid var(--richmond-border);
  border-radius: 6px;
  text-align: center;
}

.woo-product-key-info {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
}

.woo-product-key-info div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid var(--richmond-border);
}

.woo-product-key-info dt {
  color: var(--richmond-text);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.woo-product-key-info dd {
  margin: 0;
  color: var(--richmond-muted);
  line-height: 1.5;
}

.woo-product-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.woo-product-tabs section {
  padding: 30px;
  border: 1px solid var(--richmond-border);
  border-radius: 10px;
  background: var(--richmond-white);
}

.woo-product-tabs h2 {
  color: var(--richmond-text);
  font-size: 32px;
  line-height: 1.05;
}

.woo-product-tabs p {
  color: var(--richmond-muted);
  font-size: 16px;
  line-height: 1.65;
}

.quote-page-hero {
  background: image-set(url("../images/richmond-page-hero-course-quote.webp") 1x, url("../images/richmond-page-hero-course-quote@2x.webp") 2x) center / cover no-repeat;
  color: var(--richmond-white);
}

.quote-page-hero__inner {
  position: relative;
  padding: 92px 0;
}

.quote-page-hero p:not(.section-eyebrow) {
  max-width: 760px;
}

.woocommerce-cart .entry-content,
.woocommerce-checkout .entry-content,
.woocommerce-account .entry-content {
  padding: 48px;
  border: 1px solid var(--richmond-border);
  border-radius: 10px;
  background: var(--richmond-white);
  box-shadow: var(--woo-panel-shadow);
}

.woocommerce-cart .content-page,
.woocommerce-checkout .content-page,
.woocommerce-account .content-page,
.woocommerce-order-received .content-page {
  max-width: 1180px;
}

.woocommerce table.shop_table,
.woocommerce-checkout-review-order,
.woocommerce-MyAccount-navigation,
.woocommerce-MyAccount-content,
.woocommerce-order,
.richmond-empty-cart {
  border: 1px solid var(--richmond-border);
  border-radius: 8px;
  background: var(--richmond-white);
}

.woocommerce-cart table.shop_table {
  overflow: hidden;
  box-shadow: var(--woo-panel-shadow);
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 16px;
}

.woocommerce table.shop_table th {
  color: var(--richmond-text);
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.woocommerce table.shop_table td {
  color: var(--richmond-muted);
}

.woocommerce-cart-form .product-thumbnail img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.woocommerce .cart_totals,
.woocommerce-checkout-review-order,
.woocommerce-billing-fields,
.woocommerce-shipping-fields,
.woocommerce-additional-fields,
.woocommerce-order,
.richmond-order-next-steps,
.woocommerce-checkout #payment {
  padding: 28px;
  border: 1px solid var(--richmond-border);
  border-radius: 10px;
  background: var(--richmond-white);
  box-shadow: var(--woo-panel-shadow);
}

.woocommerce .cart_totals h2,
.woocommerce-checkout h3,
.woocommerce-order h2,
.woocommerce-account h2,
.woocommerce-account h3,
.richmond-empty-cart h2 {
  color: var(--richmond-text);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(32px, 3vw, 46px);
  line-height: 1;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.78fr);
  gap: 30px;
}

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  grid-column: 2;
}

.woocommerce-checkout .col2-set {
  grid-column: 1;
  grid-row: 1 / span 2;
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce .select2-container .select2-selection--single {
  min-height: 48px;
  border: 1px solid var(--richmond-border);
  border-radius: 6px;
  color: var(--richmond-text);
  font-size: 15px;
}

.woocommerce form .form-row label {
  color: var(--richmond-text);
  font-weight: 700;
}

.woocommerce .quantity .qty {
  min-height: 46px;
  border: 1px solid var(--richmond-border);
  border-radius: 6px;
}

.richmond-product-artwork-upload {
  width: 100%;
  margin: 12px 0 0;
  padding: 16px;
  border: 1px solid var(--richmond-border);
  border-radius: 8px;
  background: #fbf8f1;
}

.richmond-product-artwork-upload label {
  display: block;
  color: var(--richmond-text);
  margin-bottom: 8px;
}

.richmond-product-artwork-upload input {
  width: 100%;
}

.richmond-product-artwork-upload p {
  margin: 8px 0 0;
  color: var(--richmond-muted);
  font-size: 14px;
}

.richmond-checkout-artwork-upload {
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--richmond-border);
  border-radius: 10px;
  background: #fbf8f1;
}

.richmond-checkout-artwork-upload h3 {
  margin-top: 0;
}

.richmond-checkout-artwork-upload p {
  color: var(--richmond-muted);
  font-size: 15px;
  line-height: 1.55;
}

.richmond-checkout-artwork-upload input[type="file"] {
  width: 100%;
  padding: 13px;
  border: 1px dashed var(--richmond-sage);
  border-radius: 8px;
  background: var(--richmond-white);
  color: var(--richmond-text);
}

.richmond-checkout-artwork-upload__note {
  margin-bottom: 0;
}

.woocommerce-checkout #payment {
  background: #fbf8f1;
}

.woocommerce-checkout #payment div.payment_box {
  color: var(--richmond-muted);
  background: var(--richmond-white);
}

.richmond-order-next-steps {
  margin-top: 28px;
}

.richmond-order-next-steps ol {
  display: grid;
  gap: 10px;
  margin: 0 0 22px 20px;
  color: var(--richmond-muted);
  font-size: 16px;
  line-height: 1.55;
}

.richmond-empty-cart {
  padding: 36px;
  box-shadow: var(--woo-panel-shadow);
}

.richmond-empty-cart p {
  color: var(--richmond-muted);
  font-size: 17px;
  line-height: 1.6;
}

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  margin: 24px 0;
  padding: 16px 18px;
  border: 1px solid var(--richmond-border);
  border-left: 4px solid var(--richmond-gold);
  border-radius: 8px;
  background: var(--richmond-white);
  color: var(--richmond-text);
}

.woocommerce-MyAccount-navigation {
  padding: 18px;
}

.woocommerce-MyAccount-navigation ul {
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation li {
  list-style: none;
}

.woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 14px;
  border-radius: 6px;
  color: var(--richmond-text);
  font-weight: 700;
}

.woocommerce-MyAccount-navigation .is-active a,
.woocommerce-MyAccount-navigation a:hover {
  background: var(--richmond-gold);
  color: var(--richmond-text);
}

.woocommerce-MyAccount-content {
  padding: 28px;
}

@media (max-width: 1180px) {
  .woo-hero__grid,
  .woo-product-hero__grid {
    gap: 36px;
  }

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

@media (max-width: 900px) {
  .woo-hero__grid,
  .woo-product-hero__grid,
  .woo-product-tabs {
    grid-template-columns: 1fr;
  }

  .woo-hero__grid {
    min-height: 0;
    padding: 62px 0;
  }

  .woo-hero__image {
    max-width: 420px;
  }

  .woo-brand-strip__panel {
    grid-template-columns: 1fr;
  }

  .woo-brand-strip__logo {
    min-height: 108px;
  }

  .woo-section-heading,
  .woo-guidance {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .woo-hero h1,
  .quote-page-hero h1 {
    font-size: clamp(42px, 11vw, 52px);
  }

  .woo-hero p:not(.section-eyebrow),
  .quote-page-hero p {
    font-size: 16px;
  }

  .woo-hero__actions,
  .woo-product-actions {
    display: grid;
  }

  .product-grid--woo {
    grid-template-columns: 1fr;
  }

  .woo-category-nav,
  .woo-brand-strip,
  .woo-archive-section,
  .woo-related-categories,
  .woo-related-products,
  .woo-product-tabs-section,
  .woo-seo-copy {
    padding: 58px 0;
  }

  .woo-product-hero {
    padding: 28px 0 58px;
  }

  .woo-product-summary,
  .woo-guidance,
  .woo-seo-copy article,
  .woocommerce-cart .entry-content,
  .woocommerce-checkout .entry-content,
  .woocommerce-account .entry-content {
    padding: 24px;
  }

  .woo-product-key-info div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .woo-product-gallery__main {
    padding: 14px;
  }

  .woo-product-gallery__main img {
    aspect-ratio: 1 / 0.88;
  }

  .woo-toolbar {
    justify-content: flex-start;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout .col2-set {
    grid-column: auto;
    grid-row: auto;
  }
}
