@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600&family=Inter:wght@300;400;500&display=swap');

:root {
  /* Core Palette */
  --bg: #F4EEE6;
  --surface: #F7F2EB;
  --surface-2: #ECE5DB;
  
  /* Text */
  --ink: #23211F;
  --muted: #6E6A65;
  --charcoal: #2F2F2D;
  
  /* Accents */
  --sage: #9DAEA0;
  --sage-deep: #7F9585;
  --blue: #29518D;
  
  /* Borders & Shadows */
  --line: rgba(35, 33, 31, 0.12);
  --shadow-sm: 0 4px 12px rgba(47, 47, 45, 0.04);
  --shadow: 0 16px 40px rgba(47, 47, 45, 0.06);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Typography */
  --font-serif: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', sans-serif;

  /* Spacing */
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 4rem;
  --space-xxl: 8rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: var(--space-md);
}

h1 { font-size: clamp(3rem, 8vw, 5.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: var(--space-md);
  max-width: 65ch;
  color: var(--ink);
}

.text-muted { color: var(--muted); }
.text-center { text-align: center; }

a {
  color: inherit;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

a:hover { opacity: 0.7; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 4vw, 3rem);
}

.section {
  padding: clamp(4rem, 8vw, 8rem) 0;
  border-top: 1px solid var(--line);
}

.section-top { border-top: none; }

/* Grid Systems */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-lg);
}

/* Components */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px; /* Touch target > 44px */
  padding: 0.75rem 1.5rem;
  border-radius: 99px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 400;
  cursor: pointer;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  transition: all 0.3s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--sage);
  border-color: var(--sage);
  color: var(--surface);
}

.btn-primary:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
  opacity: 1;
}

.btn-secondary {
  background: var(--surface);
}

.btn-secondary:hover {
  background: var(--surface-2);
  opacity: 1;
}

.btn-outline {
  background: transparent;
  border-color: var(--ink);
}

.btn-outline:hover {
  background: var(--ink);
  color: var(--surface);
  opacity: 1;
}

/* Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #809888;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 0.5rem 0;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 500;
  color: #E5D8C7;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 400;
}

/* Nav Actions (Right side icons) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-action {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
}

.cart-action {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 0;
}

.cart-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
}

.cart-icon-bag {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #223b74;
  transform: translateY(-2px);
}

.cart-badge {
  position: absolute;
  left: 50%;
  top: 64%;
  transform: translate(-50%, -50%);
  font-size: 0.72rem;
  color: #223b74;
  font-weight: 600;
  font-family: var(--font-sans);
  line-height: 1;
}

.header-bubble-logo {
  display: inline-flex;
  align-items: center;
  margin-right: 1rem;
}

.header-bubble-logo img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
}

/* Artwork Cards */
.art-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.art-image-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 1.25rem;
  position: relative;
  aspect-ratio: 4/5;
}

.art-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Don't crop art */
}

.art-info {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.art-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.art-meta {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1rem;
}

.art-price-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

.art-price {
  font-size: 1.1rem;
  font-weight: 400;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 99px;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border: 1px solid var(--line);
  background: var(--surface-2);
}

.badge-sold { opacity: 0.6; }
.badge-available { background: var(--sage); color: white; border-color: var(--sage); }
.badge-private { background: var(--surface-2); color: var(--ink); border-color: var(--line); }

.shop-intro {
  padding-bottom: 2rem;
}

.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 3rem;
  align-items: start;
}

.shop-filters {
  position: sticky;
  top: 100px;
}

.shop-filter-title {
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.shop-filter-group {
  margin-bottom: 2rem;
}

.shop-filter-group h5 {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.shop-filter-options {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--muted);
}

.shop-filter-options label {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
}

.shop-filter-form {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

/* Footer */
.footer {
  margin-top: var(--space-xl);
  padding: clamp(3rem, 6vw, 5rem) 0;
}

.footer-box {
  background: var(--sage);
  color: var(--surface);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
}

.footer-box h2, .footer-box p {
  color: var(--surface);
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}

.footer-form {
  display: flex;
  gap: 0.5rem;
}

.footer-input {
  flex-grow: 1;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.3);
  color: var(--surface);
  padding: 0.75rem 0;
  font-size: 1rem;
}

.footer-input::placeholder { color: rgba(255,255,255,0.6); }
.footer-input:focus { outline: none; border-color: var(--surface); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  opacity: 0.8;
}

/* Specific Layouts */

/* Hero */
.hero {
  min-height: 85vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-xl);
}

.hero-visual {
  position: relative;
  width: 100%;
}

.hero-image-frame {
  width: min(100%, 650px);
  aspect-ratio: 4/5;
  background: var(--surface-2);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  padding-right: var(--space-lg);
}

.hero-label {
  display: inline-block;
  padding: 0.4rem 1rem;
  border-radius: 99px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: var(--space-lg);
}

/* Product Page */
.product-gallery {
  position: sticky;
  top: 100px;
}

.product-main-image {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  aspect-ratio: 4/5;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.product-thumb {
  aspect-ratio: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.product-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit;}

.product-thumb-btn {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  padding: 0;
  cursor: pointer;
  overflow: hidden;
  position: relative;
}

.product-thumb-btn img {
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.product-thumb-btn.is-active {
  border-color: var(--sage-deep);
  box-shadow: inset 0 0 0 1px var(--sage-deep);
}

.product-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid var(--line);
  background: rgba(247, 242, 235, 0.92);
  color: var(--ink);
  width: 40px;
  height: 40px;
  border-radius: 99px;
  cursor: pointer;
  font-size: 1.45rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.product-gallery-nav.prev {
  left: 0.9rem;
}

.product-gallery-nav.next {
  right: 0.9rem;
}

.product-info-block {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.spec-item {
  border-bottom: 1px solid var(--line);
  padding-bottom: 0.5rem;
}


.cart-drawer-body {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
}

.cart-drawer-footer {
  padding: 1rem;
  border-top: 1px solid var(--line);
}

.cart-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--radius);
}

.cart-item h4 {
  margin: 0;
  font-size: 1rem;
}

.cart-item p {
  margin: 0.5rem 0;
  color: var(--muted);
}

.spec-label { font-size: 0.8rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.05em; }
.spec-value { font-family: var(--font-serif); font-size: 1.2rem; }
.spec-item-no-border { border-bottom: none; padding-bottom: 0; }

.product-back-link {
  font-size: 0.85rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.product-quote {
  font-size: 1.1rem;
  font-style: italic;
  font-family: var(--font-serif);
  margin-bottom: 2rem;
}

.product-question-btn {
  width: 100%;
  margin-top: 1rem;
}

.single-product .product-info-block form.cart .quantity {
  display: none;
}

.single-product .product-info-block form.cart .single_add_to_cart_button {
  width: 100%;
  min-height: 48px;
  border-radius: 99px;
  border: 1px solid var(--sage);
  background: var(--sage);
  color: var(--surface);
  font-family: var(--font-sans);
  font-weight: 400;
}

.single-product .product-info-block form.cart .single_add_to_cart_button:hover {
  background: var(--sage-deep);
  border-color: var(--sage-deep);
}

.product-accordion {
  border-top: 1px solid var(--line);
  padding: 1.25rem 0;
}

.product-accordion:last-of-type {
  border-bottom: 1px solid var(--line);
}

.product-accordion summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-accordion summary::-webkit-details-marker {
  display: none;
}

.product-accordion summary::after {
  content: "+";
  font-size: 1.1rem;
}

.product-accordion[open] summary::after {
  content: "-";
}

.product-accordion p {
  margin: 0.75rem 0 0;
  font-size: 0.95rem;
  color: var(--muted);
  max-width: none;
}

/* Biography Timeline */
.timeline {
  border-left: 1px solid var(--sage);
  margin-left: 1rem;
  padding-left: 2rem;
  position: relative;
}

.timeline-item {
  margin-bottom: 2rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: var(--sage);
  border-radius: 50%;
  left: -2.35rem; /* -2rem padding + -6px half width - 1px border */
  top: 0.35rem;
}

.bio-portrait {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.bio-portrait img { width: 100%; height: auto; display: block;}

/* Responsive Breakpoints */
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: var(--space-lg);
  }
  
  .hero-visual { order: -1; } /* Visual on top for mobile */
  .hero-content { padding-right: 0; }
  
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters { position: static; }
  
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
  
  .product-gallery { position: static; margin-bottom: 2rem; }
  
}

/* Forms & Checkout */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--sage-deep);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* Stripe Element Mock */
.stripe-element {
  padding: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Cart Table */
.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  text-align: left;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
  font-weight: 400;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.cart-table td {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cart-item-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
}

.order-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 100px;
}

/* Cart Side Drawer */
.cart-overlay {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(35, 33, 31, 0.5);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0; 
  right: 0; /* Align right as requested */
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: var(--surface);
  z-index: 1000;
  transform: translateX(100%);
  transition: transform 0.6s ease, opacity 0.6s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 40px rgba(47, 47, 45, 0.15); /* shadow on the left side */
}

.cart-drawer.open {
  transform: translateX(0);
}

.cart-drawer-header {
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--sage);
}

.cart-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
}

.cart-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--line);
  align-items: start;
}

.cart-item-image img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius);
  background: var(--surface-2);
  display: block;
}

.cart-item-content {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cart-item-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.cart-item-meta h4 {
  margin: 0;
  font-size: 1rem;
}

.cart-item-remove {
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.1rem;
}

.cart-item-remove:hover {
  color: var(--ink);
}

.cart-item-price {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
}

.cart-item-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface);
}

.cart-item-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cart-qty-btn {
  width: 34px;
  height: 34px;
  border: none;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.05rem;
  line-height: 1;
}

.cart-qty-btn:hover {
  background: rgba(35, 33, 31, 0.06);
}

.cart-qty-value {
  min-width: 28px;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 500;
}


.cart-drawer-footer {
  padding: 1.5rem clamp(1rem, 3vw, 2rem);
  border-top: 1px solid var(--line);
  background: var(--bg);
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background: var(--bg);
  height: 38px;
}

.cart-qty-ctrl button {
  background: transparent;
  border: none;
  padding: 0 0.8rem;
  height: 100%;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease;
}

.cart-qty-ctrl button:hover {
  background: rgba(35, 33, 31, 0.05);
  color: var(--ink);
}

.cart-qty-ctrl input {
  width: 36px;
  text-align: center;
  border: none;
  background: transparent;
  pointer-events: none;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  padding: 0;
}

.site-main {
  display: block;
}

.site-branding {
  display: flex;
  align-items: center;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
}

.custom-logo {
  max-height: 72px;
  width: auto;
}

.site-navigation {
  flex: 1;
  display: flex;
  justify-content: center;
}

.nav-links,
.nav-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li.current-menu-item > a,
.nav-links li.current_page_item > a,
.nav-links li.current-menu-ancestor > a {
  font-weight: 500;
}

.page-content {
  max-width: 920px;
}

.entry-header {
  margin-bottom: 2rem;
}

.entry-content > * + * {
  margin-top: 1rem;
}

.entry-content ul,
.entry-content ol {
  margin-left: 1.5rem;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 980px) {
  .nav {
    flex-direction: column;
    gap: 1.5rem;
  }

  .site-navigation {
    justify-content: flex-start;
    width: 100%;
  }

  .nav-links {
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
  }

  .nav-actions {
    width: 100%;
    justify-content: flex-start;
  }
}

/* WooCommerce Cart & Checkout */
.woocommerce-cart .page-content,
.woocommerce-checkout .page-content {
  max-width: none;
}

.woocommerce-cart .entry-content .woocommerce,
.woocommerce-checkout .entry-content .woocommerce {
  width: 100%;
}

.woocommerce-cart-form .actions {
  padding-top: 1rem;
}

.woocommerce-cart-form .actions .coupon {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.woocommerce .button.btn {
  border-radius: 99px;
}

.woocommerce .cart .button,
.woocommerce .checkout-button,
.woocommerce #payment #place_order {
  border-radius: 99px;
  border: 1px solid var(--line);
  min-height: 48px;
  padding: 0.75rem 1.5rem;
  background: var(--sage);
  color: var(--surface);
  font-family: var(--font-sans);
  font-weight: 400;
}

.woocommerce .cart .button:hover,
.woocommerce .checkout-button:hover,
.woocommerce #payment #place_order:hover {
  background: var(--sage-deep);
  color: var(--surface);
}

.woocommerce .quantity .qty {
  width: 88px;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.woocommerce table.shop_table {
  border: none;
  background: transparent;
}

.woocommerce-cart .cart-collaterals .cart_totals,
.woocommerce-checkout-review-order-table,
.woocommerce-checkout #payment {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  border-color: var(--line);
}

.woocommerce-checkout #payment {
  margin-top: 1rem;
}

.woocommerce form .form-row label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}

.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.select2-container--default .select2-selection--single {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  min-height: 48px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 46px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 46px;
}

@media (max-width: 980px) {
  .woocommerce-cart .grid-2,
  .woocommerce-checkout .grid-2 {
    grid-template-columns: 1fr;
  }
}
