/*
Theme Name: Pawcielo Jewelry
Theme URI: https://pawcielo.shop/
Author: Pawcielo
Description: Editorial jewelry storefront inspired by bold fashion catalog layouts.
Version: 1.0.0
Text Domain: pawcielo-jewelry
*/

:root {
  --green: #2f7d57;
  --ink: #050505;
  --cream: #f4eadc;
  --paper: #fff8ef;
  --muted: rgba(5, 5, 5, 0.62);
  --line: rgba(5, 5, 5, 0.28);
  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--green) !important;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.2;
}

body.custom-background {
  background-color: var(--green) !important;
  background-image: none !important;
}

body,
button,
input {
  -webkit-font-smoothing: antialiased;
}

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

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

.site-shell {
  min-height: 100vh;
  background: var(--green);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
  gap: 24px;
  padding: 24px 28px 16px;
  background: color-mix(in srgb, var(--green) 94%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(5, 5, 5, 0.08);
}

.nav-left,
.nav-right {
  display: flex;
  gap: 18px;
  align-items: baseline;
}

.nav-right {
  justify-content: flex-end;
  font-family: var(--serif);
  font-size: 22px;
}

.nav-left a {
  font-size: clamp(24px, 3vw, 38px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.brand {
  display: grid;
  place-items: center;
  font-size: clamp(48px, 9vw, 132px);
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.cart-count {
  font-family: var(--sans);
  font-size: 15px;
  vertical-align: top;
}

.hero {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  min-height: calc(100vh - 110px);
  border-bottom: 1px solid var(--line);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 34px 28px 28px;
  border-right: 1px solid var(--line);
}

.hero-kicker {
  max-width: 900px;
  font-family: var(--serif);
  font-size: clamp(36px, 7.2vw, 116px);
  line-height: 0.88;
  letter-spacing: -0.055em;
}

.hero-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.big-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 58px;
  padding: 13px 16px;
  border: 1px solid var(--ink);
  font-size: clamp(18px, 2.2vw, 30px);
  letter-spacing: -0.04em;
  text-transform: uppercase;
  transition: background 180ms ease, color 180ms ease;
}

.big-link:hover {
  background: var(--ink);
  color: var(--green);
}

.hero-media {
  position: relative;
  overflow: hidden;
  min-height: 620px;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92) contrast(1.03);
}

.hero-caption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 14px;
  text-transform: uppercase;
}

.category-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-bottom: 1px solid var(--line);
}

.category-card {
  min-height: 220px;
  padding: 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.category-card:last-child {
  border-right: 0;
}

.category-card span {
  font-size: clamp(24px, 3.6vw, 54px);
  letter-spacing: -0.055em;
  text-transform: uppercase;
}

.category-card small {
  font-family: var(--serif);
  font-size: 18px;
}

.category-card:hover {
  background: var(--cream);
}

.section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 28px 16px;
}

.section-title h2 {
  margin: 0;
  font-size: clamp(46px, 8vw, 124px);
  font-weight: 300;
  line-height: 0.85;
  letter-spacing: -0.07em;
  text-transform: uppercase;
}

.section-title p {
  max-width: 360px;
  margin: 0;
  font-family: var(--serif);
  font-size: 21px;
  line-height: 1.05;
}

.shop-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 28px 22px;
  border-bottom: 1px solid var(--line);
}

.shop-filters a,
.shop-filters span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(5, 5, 5, 0.32);
  font-size: 13px;
  text-transform: uppercase;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card {
  display: grid;
  grid-template-rows: auto 1fr;
  border-right: 1px solid var(--line);
  min-width: 0;
}

.product-card:nth-child(4n) {
  border-right: 0;
}

.product-image {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms ease;
}

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

.product-info {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 12px 14px 18px;
  min-height: 90px;
  align-items: start;
}

.product-name {
  font-size: clamp(18px, 1.8vw, 25px);
  letter-spacing: -0.05em;
  text-transform: uppercase;
}

.product-price {
  font-family: var(--serif);
  font-size: 19px;
}

.editorial {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  border-bottom: 1px solid var(--line);
}

.editorial-image {
  min-height: 760px;
  border-right: 1px solid var(--line);
  overflow: hidden;
}

.editorial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.editorial-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.editorial-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(44px, 7vw, 108px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.editorial-copy p {
  max-width: 650px;
  margin: 38px 0 0;
  font-size: clamp(20px, 2.2vw, 34px);
  letter-spacing: -0.04em;
}

.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-bottom: 1px solid var(--line);
}

.journal-item {
  min-height: 360px;
  padding: 18px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.journal-item:last-child {
  border-right: 0;
}

.journal-item h3 {
  margin: 0;
  max-width: 460px;
  font-size: clamp(28px, 4vw, 62px);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.06em;
  text-transform: uppercase;
}

.journal-item p {
  margin: 0;
  max-width: 340px;
  font-family: var(--serif);
  font-size: 19px;
}

.footer {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 28px;
  background: var(--ink);
  color: var(--green);
}

.footer-logo {
  font-size: clamp(54px, 11vw, 164px);
  line-height: 0.82;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 24px;
  align-content: end;
}

.footer-links a,
.footer-links span {
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 30px);
}

.page-main {
  min-height: calc(100vh - 120px);
  padding: clamp(22px, 4vw, 58px);
  background: var(--green);
}

.page-content {
  max-width: 1180px;
  margin: 0 auto;
  color: var(--ink);
}

.page-content .woocommerce {
  font-family: var(--sans);
}

.page-content .woocommerce table.shop_table,
.page-content .woocommerce-cart-form,
.page-content .cart_totals,
.page-content .woocommerce-checkout,
.page-content .woocommerce-MyAccount-navigation,
.page-content .woocommerce-MyAccount-content {
  background: #f5efe5;
  border: 1px solid var(--line);
  border-radius: 0;
}

.page-content .woocommerce-MyAccount-content,
.page-content .woocommerce-MyAccount-navigation {
  padding: 22px;
}

.page-content .woocommerce .u-columns.col2-set {
  display: block;
  max-width: 520px;
  margin: 0 auto;
  background: #f5efe5;
  border: 1px solid var(--line);
}

.page-content .woocommerce .u-columns.col2-set::before,
.page-content .woocommerce .u-columns.col2-set::after {
  content: none;
}

.page-content .woocommerce .u-columns.col2-set .col-1,
.page-content .woocommerce .u-columns.col2-set .col-2 {
  float: none;
  width: 100%;
  padding: 22px;
}

.page-content .woocommerce .u-columns.col2-set .col-1 {
  border-right: 0;
}

.page-content .woocommerce .u-columns.col2-set .col-2 {
  display: none;
}

.page-content .woocommerce .u-columns.col2-set.show-register .col-1 {
  display: none;
}

.page-content .woocommerce .u-columns.col2-set.show-register .col-2 {
  display: block;
}

.account-switch {
  margin: 18px 0 0;
  font-family: var(--serif);
  font-size: 17px;
  text-align: center;
}

.account-switch button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.page-content .woocommerce form.login,
.page-content .woocommerce form.register {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
}

.page-content .woocommerce-MyAccount-navigation ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-content .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--line);
}

.page-content .woocommerce-MyAccount-navigation li:last-child {
  border-bottom: 0;
}

.page-content .woocommerce-MyAccount-navigation a {
  display: block;
  padding: 12px 0;
  text-transform: uppercase;
}

.page-content .woocommerce form .form-row input.input-text {
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: #fffaf3;
  color: var(--ink);
}

.page-content .woocommerce table.shop_table {
  border-collapse: collapse;
}

.page-content .woocommerce a.button,
.page-content .woocommerce button.button,
.page-content .woocommerce input.button,
.page-content .woocommerce #respond input#submit,
.page-content .woocommerce .checkout-button {
  border-radius: 0;
  background: var(--ink);
  color: var(--green);
  text-transform: uppercase;
}

body.woocommerce-checkout {
  background: #f5f5f5 !important;
  color: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.35;
  overflow: hidden;
}

body.woocommerce-checkout .checkout-shell {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background: #f5f5f5;
}

body.woocommerce-checkout .checkout-topbar {
  width: min(980px, calc(100vw - 40px));
  margin: 0 auto;
  padding: 20px 0 28px;
  background: transparent;
  border: 0;
}

body.woocommerce-checkout .checkout-shell::before {
  display: none;
}

body.woocommerce-checkout .checkout-store-link {
  display: none;
  align-items: center;
  min-height: 22px;
  color: #000;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.woocommerce-checkout .checkout-brand {
  display: block;
  width: max-content;
  margin-top: 0;
  color: #000;
  font-size: clamp(92px, 10.2vw, 138px);
  font-weight: 800;
  letter-spacing: 0;
  line-height: 0.9;
  text-transform: uppercase;
}

body.woocommerce-checkout .checkout-main {
  height: calc(100vh - 166px);
  min-height: 0;
  padding: 0;
  overflow: hidden;
  border-top: 1px solid #d6d6d6;
  background: linear-gradient(90deg, #f5f5f5 0 calc((100vw - 1060px) / 2 + 572px), #fff calc((100vw - 1060px) / 2 + 572px) 100%) !important;
}

body.woocommerce-checkout .checkout-content {
  height: 100%;
  min-height: 0;
  max-width: none;
  margin: 0;
  color: #000;
  overflow: hidden;
}

body.woocommerce-checkout .checkout-content > .woocommerce {
  width: 100%;
  margin: 0;
  font-family: inherit;
}

body.woocommerce-checkout .page-content .woocommerce-checkout,
body.woocommerce-checkout .wc-block-checkout {
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.woocommerce-checkout .wc-block-checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 58px;
  align-items: start;
  padding: 24px 0 54px;
}

body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
  position: relative !important;
  display: block !important;
  height: 100% !important;
  min-height: 0 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
  position: absolute !important;
  inset: 0 !important;
  display: grid !important;
  grid-template-columns: minmax(0, calc((100vw - 1060px) / 2 + 572px)) minmax(0, 1fr) !important;
  gap: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: 100% !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  align-items: stretch !important;
  overflow: hidden !important;
  background: transparent !important;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout::after {
  display: none;
}

body.woocommerce-checkout .wc-block-components-sidebar-layout > .with-scroll-to-top__scroll-point {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-main {
  align-self: stretch;
  box-sizing: border-box;
  justify-self: end;
  width: 499px;
  max-width: 499px;
  margin: 0 40px 0 0;
  padding: 54px 0 80px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  scrollbar-width: none;
}

body.woocommerce-checkout .wc-block-components-sidebar {
  position: relative;
  top: 0;
  align-self: stretch;
  box-sizing: border-box;
  width: 480px;
  margin: 0;
  padding: 5px 0 80px 40px;
  height: 100%;
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: transparent;
  border: 0;
  border-left: 1px solid #d6d6d6;
  border-radius: 0;
  color: #000;
  scrollbar-width: none;
}

body.woocommerce-checkout .wc-block-components-main::-webkit-scrollbar,
body.woocommerce-checkout .wc-block-components-sidebar::-webkit-scrollbar {
  display: none;
}

body.woocommerce-checkout .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__shipping-fields .wc-block-components-title,
body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-title {
  margin: 0 0 14px;
  color: #000;
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: none;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading-container,
body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  display: flex !important;
  align-items: baseline !important;
  justify-content: space-between !important;
  gap: 18px !important;
}

body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading-container {
  height: 26px !important;
  min-height: 0 !important;
  margin-bottom: 13px !important;
}

body.woocommerce-checkout .wc-block-checkout__contact-fields .wc-block-components-checkout-step__heading {
  height: 26px !important;
  min-height: 0 !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading {
  width: 100% !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading .wc-block-components-title {
  width: auto !important;
  margin-bottom: 14px !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step__heading-content,
body.woocommerce-checkout .wc-block-checkout__login-prompt {
  margin-left: auto !important;
  color: #000 !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 18.9px !important;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

body.woocommerce-checkout .wc-block-components-express-payment,
body.woocommerce-checkout .wc-block-components-express-payment-continue-rule,
body.woocommerce-checkout .wc-block-checkout__guest-checkout-notice,
body.woocommerce-checkout .wc-block-checkout__create-account {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-checkout-step {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

body.woocommerce-checkout .wc-block-components-checkout-step__container,
body.woocommerce-checkout .wc-block-components-checkout-step__content {
  padding: 0;
}

body.woocommerce-checkout .wc-block-components-text-input input,
body.woocommerce-checkout .wc-block-components-combobox .wc-block-components-combobox-control input.components-combobox-control__input,
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="email"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="tel"],
body.woocommerce-checkout .wc-block-components-form .wc-block-components-text-input input[type="text"],
body.woocommerce-checkout .wc-block-components-form select,
body.woocommerce-checkout .wc-block-components-address-form input,
body.woocommerce-checkout .wc-block-components-address-form select {
  min-height: 49px;
  padding: 13px 12px !important;
  background: #fff !important;
  border: 1px solid #d5d5d5 !important;
  border-radius: 12px !important;
  box-shadow: none !important;
  color: #000 !important;
  font-family: inherit;
  font-size: 14px !important;
  line-height: 1.3;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__select {
  height: 50px !important;
  min-height: 50px !important;
  padding: 20px 38px 7px 12px !important;
  line-height: 20px !important;
}

body.woocommerce-checkout .wc-blocks-components-select .wc-blocks-components-select__label {
  top: 6px !important;
  transform: none !important;
  line-height: 14px !important;
  pointer-events: none;
}

body.woocommerce-checkout .wc-block-components-address-form__country .wc-blocks-components-select__select {
  padding-top: 21px !important;
  padding-bottom: 6px !important;
}

body.woocommerce-checkout .wc-block-components-text-input label,
body.woocommerce-checkout .wc-block-components-combobox label,
body.woocommerce-checkout .wc-block-components-address-form label {
  color: rgba(0, 0, 0, 0.72) !important;
  font-size: 12px !important;
}

body.woocommerce-checkout .wc-block-components-checkbox,
body.woocommerce-checkout .wc-block-components-checkbox label {
  color: #000;
  font-size: 14px;
}

body.woocommerce-checkout .checkout-marketing-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 12px 0 34px;
  color: #000;
  font-size: 14px;
}

body.woocommerce-checkout .checkout-marketing-row input {
  appearance: none;
  display: grid;
  place-items: center;
  width: 18px !important;
  height: 18px !important;
  min-height: 18px !important;
  margin: 0;
  padding: 0 !important;
  border: 1px solid #000 !important;
  border-radius: 6px !important;
  background: #000 !important;
}

body.woocommerce-checkout .checkout-marketing-row input::before {
  content: "";
  width: 8px;
  height: 5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: translateY(-1px) rotate(-45deg);
}

body.woocommerce-checkout .wc-block-components-radio-control,
body.woocommerce-checkout .wc-block-checkout__shipping-method-container,
body.woocommerce-checkout .wc-block-components-payment-methods,
body.woocommerce-checkout .wc-block-components-main .wc-block-components-panel {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  background: #fff;
  border: 1px solid #d5d5d5;
  border-radius: 12px;
  overflow: hidden;
}

body.woocommerce-checkout .wc-block-components-radio-control__option,
body.woocommerce-checkout .wc-block-components-shipping-rates-control__package {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 14px 16px 14px 44px !important;
  border-bottom: 1px solid #e6e6e6;
  background: #fff;
  position: relative;
  z-index: 2;
  min-height: 52px;
  overflow: hidden;
}

body.woocommerce-checkout .wc-block-components-radio-control__input {
  left: 16px !important;
  margin: 0 !important;
  transform: translateY(-50%) !important;
}

body.woocommerce-checkout .wc-block-components-radio-control__option:last-child {
  border-bottom: 0;
}

body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-radio-control__secondary-label,
body.woocommerce-checkout .wc-block-components-shipping-rates-control__package-title {
  color: #000;
  font-size: 14px;
  line-height: 1.25;
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-radio-control__label,
body.woocommerce-checkout .wc-block-components-shipping-rates-control__package-title {
  flex: 1 1 auto;
  padding-right: 14px;
  overflow: hidden;
  text-overflow: ellipsis;
}

body.woocommerce-checkout .wc-block-components-radio-control__option-layout,
body.woocommerce-checkout .wc-block-components-radio-control__label-group {
  display: flex !important;
  align-items: center;
  width: 100%;
  min-width: 0;
}

body.woocommerce-checkout .wc-block-components-radio-control__secondary-label {
  flex: 0 0 auto !important;
  width: auto !important;
  min-width: max-content;
  margin-left: auto;
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-checkout .wc-block-components-radio-control__secondary-label {
  font-weight: 600;
}

body.woocommerce-checkout .wc-block-components-button,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button,
body.woocommerce-checkout .page-content .woocommerce button.button,
body.woocommerce-checkout .page-content .woocommerce .checkout-button {
  min-height: 52px;
  width: 100%;
  padding: 14px 18px !important;
  background: #000 !important;
  border: 0 !important;
  border-radius: 12px !important;
  color: #fff !important;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
  text-transform: none;
}

body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control {
  overflow: visible;
}

body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-content {
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  padding-bottom: 34px !important;
  overflow: visible;
}

body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option {
  box-sizing: border-box;
  position: relative;
  width: 100%;
  max-width: 100%;
}

body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option {
  margin-top: 22px;
  background: #fff;
  border-top: 1px solid #e6e6e6;
  z-index: 3;
}

body.woocommerce-checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option + .wc-block-components-radio-control-accordion-option .wc-block-components-radio-control__option {
  background: #fff;
}

body.woocommerce-checkout .wc-block-checkout__actions {
  margin-top: 28px;
}

body.woocommerce-checkout .wc-block-components-button:hover,
body.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: #1d1d1d !important;
  color: #fff !important;
}

body.woocommerce-checkout .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-totals-item,
body.woocommerce-checkout .wc-block-components-order-summary-item {
  color: #000;
  border-color: #d5d5d5;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel,
body.woocommerce-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-wrapper,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-totals-item {
  background: transparent !important;
  border-left: 0 !important;
  border-right: 0 !important;
  border-radius: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-panel {
  border-top: 0 !important;
  border-bottom: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
  width: 400px !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-checkout-order-summary__title {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-checkout-order-summary__content {
  padding-top: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item {
  min-height: 72px !important;
  padding: 0 0 4px !important;
  gap: 14px !important;
  align-items: flex-start !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__image {
  width: 64px !important;
  min-width: 64px !important;
  height: 64px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__image img {
  display: block !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: 64px !important;
  min-height: 64px !important;
  max-height: none !important;
  object-fit: cover !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__image > img {
  height: 64px !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-product-name {
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  max-height: 36px !important;
  overflow: hidden !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-product-metadata,
body.woocommerce-checkout .wc-block-components-sidebar .wc-block-cart-item__prices {
  display: none !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__description {
  min-height: 0 !important;
  gap: 0 !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary-item__total-price {
  min-height: 0 !important;
  height: auto !important;
}

body.woocommerce-checkout .wc-block-components-sidebar .wc-block-components-order-summary {
  padding: 0 !important;
}

body.woocommerce-checkout .wc-block-components-order-summary .wc-block-components-order-summary-item__image {
  border-radius: 0;
  overflow: hidden;
  background: transparent;
}

body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
body.woocommerce-checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  color: #000;
  font-size: 19px;
  font-weight: 700;
}

body.woocommerce-checkout .wc-block-components-notice-banner {
  border-radius: 12px;
}

body.woocommerce-checkout a {
  color: #000;
}

@media (max-width: 920px) {
  body.woocommerce-checkout {
    overflow: auto;
  }

  body.woocommerce-checkout .checkout-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  body.woocommerce-checkout .checkout-shell::before,
  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout::after {
    display: none;
  }

  body.woocommerce-checkout .checkout-main {
    height: auto;
    overflow: visible;
    background: #f5f5f5 !important;
  }

  body.woocommerce-checkout .checkout-topbar,
  body.woocommerce-checkout .checkout-content > .woocommerce,
  body.woocommerce-checkout .wp-block-woocommerce-checkout.alignwide.wc-block-checkout {
    width: calc(100vw - 32px) !important;
  }

  body.woocommerce-checkout .checkout-topbar {
    padding-top: 14px;
  }

  body.woocommerce-checkout .checkout-brand {
    margin-top: 18px;
    font-size: 25px;
  }

  body.woocommerce-checkout .wc-block-components-sidebar-layout.wc-block-checkout {
    position: static !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 24px !important;
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    overflow: visible !important;
  }

  body.woocommerce-checkout .wc-block-components-main,
  body.woocommerce-checkout .wc-block-components-sidebar {
    height: auto !important;
    max-height: none !important;
    width: 100% !important;
    max-width: none !important;
    overflow: visible !important;
  }

  body.woocommerce-checkout .wc-block-components-sidebar {
    position: static;
    order: -1;
    padding: 18px;
  }
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: start;
  min-height: calc(100vh - 110px);
  border-bottom: 1px solid var(--line);
  background: var(--green);
}

.product-gallery {
  position: relative;
  align-self: start;
  display: block;
  min-height: auto;
  padding: 0;
  border-right: 1px solid var(--line);
  background: #f5efe5;
}

.gallery-frame {
  position: relative;
  align-self: start;
  min-height: 0;
}

.gallery-stage {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  min-height: 0;
  height: min(calc(100vh - 150px), calc(52vw * 1.22));
  min-height: 520px;
  overflow: hidden;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  background: transparent;
  border: 0;
  scrollbar-width: none;
}

.gallery-stage::-webkit-scrollbar {
  display: none;
}

.gallery-slide {
  min-width: 100%;
  flex: 0 0 100%;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  scroll-snap-align: start;
}

.gallery-slide img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.gallery-video {
  width: auto;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  background: #000;
}

.gallery-controls {
  position: absolute;
  left: 50%;
  right: auto;
  bottom: 12px;
  z-index: 5;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 0;
  pointer-events: none;
  transform: translateX(-50%);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 54px;
  height: 72px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(5, 5, 5, 0.68);
  box-shadow: none;
  cursor: pointer;
  transform: translateY(-50%);
  transition: color 160ms ease, transform 160ms ease;
}

.gallery-arrow span {
  display: block;
  margin-top: -3px;
  font: 58px/1 Georgia, "Times New Roman", serif;
  text-shadow: 0 1px 14px rgba(255, 250, 243, 0.78);
}

.gallery-arrow-prev {
  left: 16px;
}

.gallery-arrow-next {
  right: 16px;
}

.gallery-arrow:hover {
  background: transparent;
  border-color: transparent;
  color: var(--ink);
  transform: translateY(-50%) scale(1.04);
}

.gallery-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  backdrop-filter: none;
  pointer-events: auto;
}

.gallery-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.gallery-dot.is-active {
  background: var(--ink);
}

.product-detail-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  padding: clamp(26px, 4vw, 58px);
}

.product-kicker {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  color: rgba(5, 5, 5, 0.72);
}

.product-detail-info h1 {
  margin: 0;
  max-width: 850px;
  font-size: clamp(42px, 5.8vw, 88px);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.058em;
  text-transform: uppercase;
}

.detail-price {
  font-family: var(--serif);
  font-size: clamp(40px, 5vw, 72px);
  line-height: 0.95;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.detail-summary {
  max-width: 600px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.02;
}

.purchase-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.purchase-notes span {
  min-height: 36px;
  padding: 9px 10px;
  border: 1px solid rgba(5, 5, 5, 0.24);
  font-size: 13px;
  line-height: 1.2;
  text-transform: uppercase;
}

.product-specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.product-specs div {
  min-height: 96px;
  padding: 14px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-specs dt {
  margin: 0 0 10px;
  color: rgba(5, 5, 5, 0.62);
  font-size: 13px;
  text-transform: uppercase;
}

.product-specs dd {
  margin: 0;
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.08;
}

.detail-copy {
  max-width: 720px;
  color: rgba(5, 5, 5, 0.72);
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.35;
}

.detail-copy p {
  margin: 0 0 18px;
}

.purchase-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: auto;
}

.purchase-form {
  display: block;
  margin: 0;
}

.purchase-button {
  width: 100%;
  font-family: var(--sans);
  color: inherit;
  background: transparent;
  cursor: pointer;
}

.purchase-button:hover {
  background: var(--ink);
  color: var(--green);
}

@media (max-width: 920px) {
  .topbar {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 16px;
  }

  .brand {
    justify-content: start;
    place-items: start;
    font-size: clamp(54px, 18vw, 96px);
  }

  .nav-left,
  .nav-right {
    justify-content: space-between;
    gap: 12px;
  }

  .hero,
  .editorial,
  .footer,
  .product-detail {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .editorial-image,
  .product-gallery {
    border-right: 0;
  }

  .hero-copy {
    min-height: 56vh;
    padding: 20px 16px;
  }

  .hero-actions {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .editorial-image {
    min-height: 72vh;
  }

  .category-strip,
  .product-grid,
  .journal-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-card:nth-child(2n),
  .product-card:nth-child(2n),
  .journal-item:nth-child(2n) {
    border-right: 0;
  }

  .section-title {
    display: block;
    padding: 22px 16px 14px;
  }

  .section-title p {
    margin-top: 12px;
  }

  .editorial-copy {
    min-height: 560px;
    padding: 22px 16px;
  }

  .product-detail-info {
    padding: 22px 16px;
  }

  .purchase-actions {
    grid-template-columns: 1fr;
  }

  .product-gallery {
    min-height: auto;
    padding: 0;
  }

  .gallery-stage {
    height: min(74vh, 128vw);
    min-height: 360px;
  }
}

@media (max-width: 560px) {
  .nav-left a {
    font-size: 22px;
  }

  .nav-right {
    font-size: 18px;
  }

  .category-strip,
  .product-grid,
  .journal-grid {
    grid-template-columns: 1fr;
  }

  .category-card,
  .product-card,
  .journal-item {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-card:nth-child(4n),
  .product-card:nth-child(2n) {
    border-right: 0;
  }

  .hero-media,
  .editorial-image {
    min-height: 58vh;
  }

  .footer-links {
    grid-template-columns: 1fr;
  }

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

  .purchase-notes {
    grid-template-columns: 1fr;
  }

  .gallery-controls {
    min-height: 24px;
  }

  .gallery-arrow {
    width: 42px;
    height: 60px;
  }

  .gallery-arrow span {
    font-size: 46px;
  }

  .gallery-arrow-prev {
    left: 10px;
  }

  .gallery-arrow-next {
    right: 10px;
  }
}

.product-gallery .gallery-stage {
  display: flex !important;
  flex-flow: row nowrap !important;
  overflow-x: auto !important;
  overflow-y: hidden !important;
}

.product-gallery .gallery-slide {
  flex: 0 0 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: grid !important;
  place-items: center !important;
}
