*, ::before, ::after {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

::backdrop {
  --tw-border-spacing-x: 0;
  --tw-border-spacing-y: 0;
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  --tw-pan-x:  ;
  --tw-pan-y:  ;
  --tw-pinch-zoom:  ;
  --tw-scroll-snap-strictness: proximity;
  --tw-gradient-from-position:  ;
  --tw-gradient-via-position:  ;
  --tw-gradient-to-position:  ;
  --tw-ordinal:  ;
  --tw-slashed-zero:  ;
  --tw-numeric-figure:  ;
  --tw-numeric-spacing:  ;
  --tw-numeric-fraction:  ;
  --tw-ring-inset:  ;
  --tw-ring-offset-width: 0px;
  --tw-ring-offset-color: #fff;
  --tw-ring-color: rgb(59 130 246 / 0.5);
  --tw-ring-offset-shadow: 0 0 #0000;
  --tw-ring-shadow: 0 0 #0000;
  --tw-shadow: 0 0 #0000;
  --tw-shadow-colored: 0 0 #0000;
  --tw-blur:  ;
  --tw-brightness:  ;
  --tw-contrast:  ;
  --tw-grayscale:  ;
  --tw-hue-rotate:  ;
  --tw-invert:  ;
  --tw-saturate:  ;
  --tw-sepia:  ;
  --tw-drop-shadow:  ;
  --tw-backdrop-blur:  ;
  --tw-backdrop-brightness:  ;
  --tw-backdrop-contrast:  ;
  --tw-backdrop-grayscale:  ;
  --tw-backdrop-hue-rotate:  ;
  --tw-backdrop-invert:  ;
  --tw-backdrop-opacity:  ;
  --tw-backdrop-saturate:  ;
  --tw-backdrop-sepia:  ;
  --tw-contain-size:  ;
  --tw-contain-layout:  ;
  --tw-contain-paint:  ;
  --tw-contain-style:  ;
}

/*
! tailwindcss v3.4.13 | MIT License | https://tailwindcss.com
*/

/*
1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)
2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)
*/

*,
::before,
::after {
  box-sizing: border-box;
  /* 1 */
  border-width: 0;
  /* 2 */
  border-style: solid;
  /* 2 */
  border-color: #e5e7eb;
  /* 2 */
}

::before,
::after {
  --tw-content: '';
}

/*
1. Use a consistent sensible line-height in all browsers.
2. Prevent adjustments of font size after orientation changes in iOS.
3. Use a more readable tab size.
4. Use the user's configured `sans` font-family by default.
5. Use the user's configured `sans` font-feature-settings by default.
6. Use the user's configured `sans` font-variation-settings by default.
7. Disable tap highlights on iOS
*/

html,
:host {
  line-height: 1.5;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  -moz-tab-size: 4;
  /* 3 */
  -o-tab-size: 4;
     tab-size: 4;
  /* 3 */
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  /* 4 */
  font-feature-settings: normal;
  /* 5 */
  font-variation-settings: normal;
  /* 6 */
  -webkit-tap-highlight-color: transparent;
  /* 7 */
}

/*
1. Remove the margin in all browsers.
2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.
*/

body {
  margin: 0;
  /* 1 */
  line-height: inherit;
  /* 2 */
}

/*
1. Add the correct height in Firefox.
2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)
3. Ensure horizontal rules are visible by default.
*/

hr {
  height: 0;
  /* 1 */
  color: inherit;
  /* 2 */
  border-top-width: 1px;
  /* 3 */
}

/*
Add the correct text decoration in Chrome, Edge, and Safari.
*/

abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/*
Remove the default font size and weight for headings.
*/

h1,
h2,
h3,
h4,
h5,
h6 {
  font-size: inherit;
  font-weight: inherit;
}

/*
Reset links to optimize for opt-in styling instead of opt-out.
*/

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

/*
Add the correct font weight in Edge and Safari.
*/

b,
strong {
  font-weight: bolder;
}

/*
1. Use the user's configured `mono` font-family by default.
2. Use the user's configured `mono` font-feature-settings by default.
3. Use the user's configured `mono` font-variation-settings by default.
4. Correct the odd `em` font sizing in all browsers.
*/

code,
kbd,
samp,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  /* 1 */
  font-feature-settings: normal;
  /* 2 */
  font-variation-settings: normal;
  /* 3 */
  font-size: 1em;
  /* 4 */
}

/*
Add the correct font size in all browsers.
*/

small {
  font-size: 80%;
}

/*
Prevent `sub` and `sup` elements from affecting the line height in all browsers.
*/

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/*
1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)
2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)
3. Remove gaps between table borders by default.
*/

table {
  text-indent: 0;
  /* 1 */
  border-color: inherit;
  /* 2 */
  border-collapse: collapse;
  /* 3 */
}

/*
1. Change the font styles in all browsers.
2. Remove the margin in Firefox and Safari.
3. Remove default padding in all browsers.
*/

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  /* 1 */
  font-feature-settings: inherit;
  /* 1 */
  font-variation-settings: inherit;
  /* 1 */
  font-size: 100%;
  /* 1 */
  font-weight: inherit;
  /* 1 */
  line-height: inherit;
  /* 1 */
  letter-spacing: inherit;
  /* 1 */
  color: inherit;
  /* 1 */
  margin: 0;
  /* 2 */
  padding: 0;
  /* 3 */
}

/*
Remove the inheritance of text transform in Edge and Firefox.
*/

button,
select {
  text-transform: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Remove default button styles.
*/

button,
input:where([type='button']),
input:where([type='reset']),
input:where([type='submit']) {
  -webkit-appearance: button;
  /* 1 */
  background-color: transparent;
  /* 2 */
  background-image: none;
  /* 2 */
}

/*
Use the modern Firefox focus style for all focusable elements.
*/

:-moz-focusring {
  outline: auto;
}

/*
Remove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)
*/

:-moz-ui-invalid {
  box-shadow: none;
}

/*
Add the correct vertical alignment in Chrome and Firefox.
*/

progress {
  vertical-align: baseline;
}

/*
Correct the cursor style of increment and decrement buttons in Safari.
*/

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/*
1. Correct the odd appearance in Chrome and Safari.
2. Correct the outline style in Safari.
*/

[type='search'] {
  -webkit-appearance: textfield;
  /* 1 */
  outline-offset: -2px;
  /* 2 */
}

/*
Remove the inner padding in Chrome and Safari on macOS.
*/

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/*
1. Correct the inability to style clickable types in iOS and Safari.
2. Change font properties to `inherit` in Safari.
*/

::-webkit-file-upload-button {
  -webkit-appearance: button;
  /* 1 */
  font: inherit;
  /* 2 */
}

/*
Add the correct display in Chrome and Safari.
*/

summary {
  display: list-item;
}

/*
Removes the default spacing and border for appropriate elements.
*/

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol,
ul,
menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

/*
Reset default styling for dialogs.
*/

dialog {
  padding: 0;
}

/*
Prevent resizing textareas horizontally by default.
*/

textarea {
  resize: vertical;
}

/*
1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)
2. Set the default placeholder color to the user's configured gray 400 color.
*/

input::-moz-placeholder, textarea::-moz-placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

input::placeholder,
textarea::placeholder {
  opacity: 1;
  /* 1 */
  color: #9ca3af;
  /* 2 */
}

/*
Set the default cursor for buttons.
*/

button,
[role="button"] {
  cursor: pointer;
}

/*
Make sure disabled buttons don't get the pointer cursor.
*/

:disabled {
  cursor: default;
}

/*
1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)
2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)
   This can trigger a poorly considered lint error in some tools but is included by design.
*/

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  /* 1 */
  vertical-align: middle;
  /* 2 */
}

/*
Constrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)
*/

img,
video {
  max-width: 100%;
  height: auto;
}

/* Make elements with the HTML hidden attribute stay hidden by default */

[hidden] {
  display: none;
}

:root {
  --color-brand:        #0f172a;
  --color-brand-muted:  #1e293b;
  --color-brand-light:  #334155;
  --color-accent:       #2563eb;
  --color-accent-dark:  #1d4ed8;
  --color-accent-light: #dbeafe;
  --color-text:         #1e293b;
  --color-text-muted:   #64748b;
  --color-bg:           #ffffff;
  --color-bg-alt:       #f8fafc;
  --color-border:       #e2e8f0;
  --color-border-focus: #93c5fd;
  --radius-sm:          0.25rem;
  --radius:             0.375rem;
  --radius-lg:          0.5rem;
  --spacing-section:    4rem;
  --spacing-section-sm: 2rem;
}

/* --- Typography --- */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-brand);
  margin-bottom: 0.5em;
}

h1 {
  font-size: clamp(1.875rem, 4vw, 2.75rem);
}

h2 {
  font-size: clamp(1.5rem,   3vw, 2rem);
}

h3 {
  font-size: 1.375rem;
}

h4 {
  font-size: 1.125rem;
}

h5 {
  font-size: 1rem;
}

h6 {
  font-size: 0.875rem;
}

p {
  margin-bottom: 1rem;
}

p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--color-accent);
  text-decoration: none;
  transition: color 150ms;
}

a:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* Section padding — applied via existing template class names */

.site-main,
  .page-content,
  .single-content,
  .archive-content,
  .pd-main-content {
  padding-top: var(--spacing-section);
  padding-bottom: var(--spacing-section);
}

/* --- Forms --- */

input[type="text"],
  input[type="email"],
  input[type="password"],
  input[type="number"],
  input[type="tel"],
  input[type="search"],
  input[type="url"],
  textarea,
  select {
  display: block;
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--color-text);
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
  transition: border-color 150ms, box-shadow 150ms;
}

input[type="text"]:focus,
  input[type="email"]:focus,
  input[type="password"]:focus,
  input[type="number"]:focus,
  input[type="tel"]:focus,
  input[type="search"]:focus,
  input[type="url"]:focus,
  textarea:focus,
  select:focus {
  outline: none;
  border-color: var(--color-border-focus);
  box-shadow: 0 0 0 3px rgb(147 197 253 / 0.4);
}

label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand);
  margin-bottom: 0.375rem;
}

textarea {
  min-height: 8rem;
  resize: vertical;
}

.container {
  width: 100%;
  margin-right: auto;
  margin-left: auto;
  padding-right: 1rem;
  padding-left: 1rem;
}

@media (min-width: 640px) {
  .container {
    max-width: 640px;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }
}

@media (min-width: 768px) {
  .container {
    max-width: 768px;
  }
}

@media (min-width: 1024px) {
  .container {
    max-width: 1024px;
    padding-right: 2rem;
    padding-left: 2rem;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1536px) {
  .container {
    max-width: 1536px;
  }
}

/* --- Site header --- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
  gap: 2rem;
}

.site-logo {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--color-brand);
  text-decoration: none;
  flex-shrink: 0;
  letter-spacing: -0.02em;
}

.site-logo:hover {
  color: var(--color-brand);
  text-decoration: none;
}

.site-logo img {
  height: 2rem;
  width: auto;
  display: block;
}

/* Primary nav */

.site-nav__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0.125rem;
  align-items: center;
}

.site-nav__menu a {
  display: block;
  padding: 0.375rem 0.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-text);
  text-decoration: none;
  border-radius: var(--radius-sm);
  transition: color 150ms, background-color 150ms;
}

.site-nav__menu a:hover {
  color: var(--color-accent);
  background-color: var(--color-accent-light);
  text-decoration: none;
}

.site-nav__menu .current-menu-item > a,
  .site-nav__menu .current-page-ancestor > a {
  color: var(--color-accent);
}

/* Header right cluster */

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  flex-shrink: 0;
}

/* Cart icon */

.header-cart {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  color: var(--color-brand);
  text-decoration: none;
  border-radius: var(--radius);
  transition: background-color 150ms;
}

.header-cart:hover {
  background-color: var(--color-bg-alt);
  color: var(--color-brand);
  text-decoration: none;
}

.header-cart svg {
  width: 1.375rem;
  height: 1.375rem;
  display: block;
}

.header-cart__count {
  position: absolute;
  top: -1px;
  right: -1px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.125rem;
  height: 1.125rem;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0 0.25rem;
  line-height: 1;
}

/* Mobile toggle */

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 1.5rem;
  height: 1.125rem;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand);
  border-radius: 1px;
  transition: transform 250ms, opacity 250ms;
}

@media (max-width: 767px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 4rem;
    left: 0;
    right: 0;
    background-color: var(--color-bg);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 4px 12px rgb(0 0 0 / 0.06);
    z-index: 99;
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav__menu {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem;
  }

  .site-nav__menu li {
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav__menu li:last-child {
    border-bottom: none;
  }

  .site-nav__menu a {
    padding: 0.75rem 0;
    border-radius: 0;
  }
}

/* --- Site footer --- */

.site-footer {
  background-color: var(--color-brand);
  color: rgba(255, 255, 255, 0.65);
  padding: 3rem 0 0;
  margin-top: var(--spacing-section);
}

.site-footer__brand {
  display: block;
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.site-footer__brand:hover {
  color: #fff;
  text-decoration: none;
}

.site-footer__tagline {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.4);
  margin: 0;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}

/* ----------------------------------------------------------
     HERO SLIDER
     Liquid-blob animated banner. To swap a slide to a real
     background image later: add background-image + bg-cover
     to the .hero-slide wrapper and remove the .slide-bg div.
     ---------------------------------------------------------- */

.hero-track {
  transition: transform 0.5s ease-in-out;
}

.hero-slide {
  background-color: var(--color-brand);
}

.slide-bg {
  overflow: hidden;
  background-color: var(--color-brand);
}

.blob {
  position: absolute;
  border-radius: 9999px;
  filter: blur(72px);
  will-change: transform;
}

.blob-a {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #1a3a6e 0%, #0a1f4d 100%);
  top: -25%;
  left: -10%;
  opacity: 0.65;
  animation: blob-a 13s ease-in-out infinite;
}

.blob-b {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 100%);
  bottom: -20%;
  right: -5%;
  opacity: 0.35;
  animation: blob-b 10s ease-in-out infinite;
}

.blob-c {
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, #1e3a5f 0%, #0d2854 100%);
  top: 20%;
  left: 30%;
  opacity: 0.55;
  animation: blob-c 16s ease-in-out infinite;
}

.hero-dot {
  display: block;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.4);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.hero-dot[aria-selected="true"] {
  background-color: #ffffff;
  transform: scale(1.25);
}

/* Slide 3 — accent blue gradient */

.slide-bg--3 {
  background-color: #0f1f3d;
}

.slide-bg--3 .blob-a {
  background: radial-gradient(circle, #2563eb 0%, #1d4ed8 100%);
  opacity: 0.55;
}

.slide-bg--3 .blob-b {
  background: radial-gradient(circle, #3b82f6 0%, #2563eb 100%);
  opacity: 0.4;
}

.slide-bg--3 .blob-c {
  background: radial-gradient(circle, #1e3a8a 0%, #0f172a 100%);
  opacity: 0.65;
}

/* Slide 2 — slate / dark blue-grey */

.slide-bg--2 {
  background-color: #1e293b;
}

.slide-bg--2 .blob-a {
  background: radial-gradient(circle, #2d4263 0%, #1a2d47 100%);
  opacity: 0.7;
}

.slide-bg--2 .blob-b {
  background: radial-gradient(circle, #4b6a8f 0%, #2d4a6b 100%);
  opacity: 0.4;
}

.slide-bg--2 .blob-c {
  background: radial-gradient(circle, #233044 0%, #182538 100%);
  opacity: 0.6;
}

/* ----------------------------------------------------------
     SINGLE PRODUCT PAGE
     ---------------------------------------------------------- */

/* Layout */

.pd-product {
  max-width: 100%;
}

.pd-breadcrumb {
  padding: 1rem 0 0;
  border-bottom: 1px solid var(--color-border);
}

.pd-breadcrumb .woocommerce-breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  padding: 0.625rem var(--wp--style--global--content-size, 1.5rem);
  max-width: 72rem;
  margin: 0 auto;
}

.pd-breadcrumb .woocommerce-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.pd-breadcrumb .woocommerce-breadcrumb a:hover {
  color: var(--color-accent);
}

.pd-back-link {
  max-width: 72rem;
  margin: 0 auto;
  padding: 0.875rem 1.5rem 0;
}

.pd-back-link__anchor {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.pd-back-link__anchor:hover {
  color: var(--color-accent);
}

/* Hero 2-col grid */

.pd-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: start;
  max-width: 72rem;
  margin: 2rem auto 0;
  padding: 0 1.5rem 3rem;
}

@media (max-width: 768px) {
  .pd-hero {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Gallery — sticky on desktop */

.pd-gallery {
  position: sticky;
  top: 2rem;
}

@media (max-width: 768px) {
  .pd-gallery {
    position: static;
  }
}

.pd-gallery__tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--color-border);
  border-bottom: none;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

.pd-gallery__tab {
  flex: 1;
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
  border-right: 1px solid var(--color-border);
}

.pd-gallery__tab:last-child {
  border-right: none;
}

.pd-gallery__tab.is-active {
  background: var(--color-bg);
  color: var(--color-brand);
}

.pd-gallery__tab:hover:not(.is-active) {
  background: var(--color-bg);
  color: var(--color-brand);
}

.pd-gallery__track {
  border: 1px solid var(--color-border);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  overflow: hidden;
  background: var(--color-bg-alt);
}

.pd-gallery__tabs + .pd-gallery__track {
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.pd-gallery__track:first-child {
  border-radius: var(--radius-lg);
}

.pd-gallery__slide {
  display: none;
}

.pd-gallery__slide.is-active {
  display: block;
}

.pd-gallery__img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 1 / 1;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 1.5rem;
  background: var(--color-bg-alt);
}

.pd-gallery__coa-wrap {
  position: relative;
}

.pd-gallery__img--coa {
  opacity: 0.85;
  cursor: pointer;
}

.pd-gallery__coa-overlay {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
}

.pd-gallery__arrows {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 0.75rem;
}

.pd-gallery__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  color: var(--color-brand);
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.pd-gallery__arrow:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

/* Summary — right column */

.pd-summary__title {
  font-size: clamp(1.375rem, 3vw, 1.875rem);
  font-weight: 700;
  color: var(--color-brand);
  line-height: 1.25;
  margin: 0 0 0.5rem;
}

.pd-summary__subtitle {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0 0 1.25rem;
  line-height: 1.6;
}

.pd-summary__price .price {
  font-size: 1.625rem;
  font-weight: 700;
  color: var(--color-brand);
}

.pd-summary__price .price del {
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-right: 0.375rem;
}

.pd-summary__price .price ins {
  text-decoration: none;
}

/* COA inline block */

.pd-coa-inline {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 0.75rem 0 1.5rem;
  padding: 1rem;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
}

.pd-coa-inline__note {
  font-size: 0.75rem;
  color: #3b82f6;
  margin: 0;
}

.pd-coa-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}

.pd-coa-link:hover {
  color: var(--color-accent-dark);
  text-decoration: underline;
}

/* Prominent COA button — inside .pd-coa-inline */

.pd-coa-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: #fff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none !important;
  transition: background 0.15s;
}

.pd-coa-btn:hover {
  background: var(--color-accent-dark);
  color: #fff !important;
}

/* COA gallery placeholder — shown when no preview image is uploaded */

.pd-gallery__coa-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  aspect-ratio: 1 / 1;
  background: #eff6ff;
  color: var(--color-accent);
  padding: 2rem;
  text-align: center;
}

.pd-gallery__coa-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--color-brand);
  margin: 0;
}

.pd-gallery__coa-sub {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* WooCommerce cart form overrides */

.pd-cart-form {
  margin: 0 0 1.5rem;
}

.pd-cart-form .variations {
  width: 100%;
  border-collapse: collapse;
  border: none;
}

.pd-cart-form .variations tr {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  margin-bottom: 1.25rem;
}

.pd-cart-form .variations td.label label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-brand);
}

.pd-cart-form .variations td.value select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.9375rem;
  color: var(--color-brand);
  background-color: var(--color-bg);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: auto;
}

.pd-cart-form .variations td.value select:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.pd-cart-form .reset_variations {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.pd-cart-form .woocommerce-variation-price .price {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-brand);
}

.pd-cart-form .woocommerce-variation-availability .in-stock {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #16a34a;
}

.pd-cart-form .woocommerce-variation-availability .out-of-stock {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #dc2626;
}

.pd-cart-form .single_variation_wrap {
  margin-top: 0.25rem;
}

.pd-cart-form .woocommerce-variation-add-to-cart {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.pd-cart-form .quantity {
  display: flex;
  align-items: center;
}

.pd-cart-form .qty {
  width: 4.5rem;
  height: 2.875rem;
  padding: 0 0.75rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-brand);
  text-align: center;
  background: var(--color-bg);
  transition: border-color 0.15s, box-shadow 0.15s;
}

.pd-cart-form .qty:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-light);
}

.pd-cart-form .single_add_to_cart_button {
  flex: 1;
  min-width: 10rem;
  height: 2.875rem;
  padding: 0 2rem;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.pd-cart-form .single_add_to_cart_button:hover:not(:disabled) {
  background-color: var(--color-accent-dark);
}

.pd-cart-form .single_add_to_cart_button.disabled,
  .pd-cart-form .single_add_to_cart_button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Trust bullets */

.pd-trust-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--color-border);
  padding-top: 1.25rem;
}

.pd-trust-bullets li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

.pd-trust-bullets__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #16a34a;
}

/* Shared buttons */

.pd-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
  border: 2px solid transparent;
}

.pd-btn--primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.pd-btn--primary:hover {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
}

.pd-btn--secondary {
  background-color: var(--color-bg);
  color: var(--color-brand);
  border-color: var(--color-border);
}

.pd-btn--secondary:hover {
  border-color: var(--color-brand);
  color: var(--color-brand);
}

/* Page sections */

.pd-section {
  padding: 4rem 1.5rem;
  border-top: 1px solid var(--color-border);
}

.pd-section--alt {
  background-color: var(--color-bg-alt);
}

.pd-section__inner {
  max-width: 72rem;
  margin: 0 auto;
}

.pd-section__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0 0 1.75rem;
}

.pd-section__placeholder {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  font-style: italic;
}

/* Prose content */

.pd-prose p {
  margin-bottom: 1rem;
  color: var(--color-text);
  line-height: 1.75;
}

.pd-prose ul, .pd-prose ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.pd-prose ul {
  list-style: disc;
}

.pd-prose ol {
  list-style: decimal;
}

.pd-prose li {
  margin-bottom: 0.4rem;
  color: var(--color-text);
}

/* Specs */

.pd-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 0;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pd-spec {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--color-border);
  border-right: 1px solid var(--color-border);
}

.pd-spec:last-child {
  border-bottom: none;
}

.pd-spec dt {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.pd-spec dd {
  font-size: 0.9375rem;
  color: var(--color-brand);
  font-weight: 500;
  margin: 0;
}

.pd-spec__mono {
  font-family: ui-monospace, monospace;
  font-size: 0.8125rem;
  word-break: break-all;
}

/* COA section */

.pd-coa-section {
  background-color: #f0f9ff;
  border-top-color: #bae6fd;
}

.pd-coa-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.pd-coa-header__icon {
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #dbeafe;
  border-radius: var(--radius-lg);
  color: var(--color-accent);
}

.pd-coa-header .pd-section__heading {
  margin-bottom: 0.375rem;
}

.pd-coa-header__sub {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

.pd-coa-links__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-muted);
  margin: 0 0 0.875rem;
}

.pd-coa-links__grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-coa-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  background: var(--color-bg);
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius-lg);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
  min-width: 14rem;
}

.pd-coa-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.12);
}

.pd-coa-card__icon {
  color: var(--color-accent);
  flex-shrink: 0;
}

.pd-coa-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
  flex: 1;
}

.pd-coa-card__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand);
}

.pd-coa-card__sku {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
}

.pd-coa-card__arrow {
  font-size: 0.875rem;
  color: var(--color-accent);
  margin-left: auto;
}

/* Shipping */

.pd-shipping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 1.75rem;
}

.pd-shipping-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.pd-shipping-item__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-accent-light);
  border-radius: var(--radius);
  color: var(--color-accent);
}

.pd-shipping-item strong {
  display: block;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 0.25rem;
}

.pd-shipping-item p {
  font-size: 0.875rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* FAQ accordion */

.pd-faq {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pd-faq__item {
  border-bottom: 1px solid var(--color-border);
}

.pd-faq__item:last-child {
  border-bottom: none;
}

.pd-faq__question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  width: 100%;
  padding: 1.125rem 1.25rem;
  background: var(--color-bg);
  border: none;
  cursor: pointer;
  text-align: left;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-brand);
  transition: background 0.15s;
}

.pd-faq__question:hover {
  background: var(--color-bg-alt);
}

.pd-faq__question[aria-expanded="true"] {
  background: var(--color-bg-alt);
}

.pd-faq__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.pd-faq__question[aria-expanded="true"] .pd-faq__chevron {
  transform: rotate(180deg);
}

.pd-faq__answer {
  padding: 0 1.25rem 1.25rem;
  background: var(--color-bg-alt);
}

.pd-faq__answer p {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* Related products */

.pd-related-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 1.5rem;
}

.pd-related-header .pd-section__heading {
  margin-bottom: 0;
}

.pd-related-header__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-accent);
  text-decoration: none;
  white-space: nowrap;
}

.pd-related-header__link:hover {
  color: var(--color-accent-dark);
}

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 1.5rem;
}

.pd-related-card {
  display: flex;
  flex-direction: column;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s;
}

.pd-related-card:hover {
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.08);
}

.pd-related-card__img-wrap {
  display: block;
  overflow: hidden;
}

.pd-related-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.pd-related-card:hover .pd-related-card__img {
  transform: scale(1.03);
}

.pd-related-card__body {
  padding: 1.125rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.pd-related-card__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-brand);
  margin: 0 0 0.375rem;
  line-height: 1.35;
}

.pd-related-card__title a {
  color: inherit;
  text-decoration: none;
}

.pd-related-card__title a:hover {
  color: var(--color-accent);
}

.pd-related-card__price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.875rem;
}

.pd-related-card__btn {
  margin-top: auto;
  width: 100%;
}

/* Bottom nav */

.pd-bottom-nav {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 1.5rem;
  background: var(--color-bg-alt);
}

.pd-bottom-nav__inner {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

.pd-bottom-nav__group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.pd-bottom-nav__label {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.pd-bottom-nav__group a {
  font-size: 0.875rem;
  color: var(--color-brand);
  text-decoration: none;
  transition: color 0.15s;
}

.pd-bottom-nav__group a:hover {
  color: var(--color-accent);
}

.visible {
  visibility: visible;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.sticky {
  position: sticky;
}

.inset-0 {
  inset: 0px;
}

.bottom-5 {
  bottom: 1.25rem;
}

.left-1\/2 {
  left: 50%;
}

.left-3 {
  left: 0.75rem;
}

.left-4 {
  left: 1rem;
}

.right-4 {
  right: 1rem;
}

.top-1\/2 {
  top: 50%;
}

.top-3 {
  top: 0.75rem;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.col-span-2 {
  grid-column: span 2 / span 2;
}

.m-0 {
  margin: 0px;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-10 {
  margin-bottom: 2.5rem;
}

.mb-3 {
  margin-bottom: 0.75rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-6 {
  margin-bottom: 1.5rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

.mt-0 {
  margin-top: 0px;
}

.mt-auto {
  margin-top: auto;
}

.block {
  display: block;
}

.flex {
  display: flex;
}

.table {
  display: table;
}

.grid {
  display: grid;
}

.hidden {
  display: none;
}

.aspect-square {
  aspect-ratio: 1 / 1;
}

.h-10 {
  height: 2.5rem;
}

.h-12 {
  height: 3rem;
}

.h-5 {
  height: 1.25rem;
}

.w-10 {
  width: 2.5rem;
}

.w-12 {
  width: 3rem;
}

.w-5 {
  width: 1.25rem;
}

.w-full {
  width: 100%;
}

.min-w-full {
  min-width: 100%;
}

.max-w-lg {
  max-width: 32rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.-translate-x-1\/2 {
  --tw-translate-x: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.-translate-y-1\/2 {
  --tw-translate-y: -50%;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.transform {
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.list-none {
  list-style-type: none;
}

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

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

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-end {
  align-items: flex-end;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-10 {
  gap: 2.5rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-8 {
  gap: 2rem;
}

.space-y-2 > :not([hidden]) ~ :not([hidden]) {
  --tw-space-y-reverse: 0;
  margin-top: calc(0.5rem * calc(1 - var(--tw-space-y-reverse)));
  margin-bottom: calc(0.5rem * var(--tw-space-y-reverse));
}

.overflow-hidden {
  overflow: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-full {
  border-radius: 9999px;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.border {
  border-width: 1px;
}

.border-b {
  border-bottom-width: 1px;
}

.border-slate-200 {
  --tw-border-opacity: 1;
  border-color: rgb(226 232 240 / var(--tw-border-opacity));
}

.border-white\/10 {
  border-color: rgb(255 255 255 / 0.1);
}

.bg-accent {
  --tw-bg-opacity: 1;
  background-color: rgb(37 99 235 / var(--tw-bg-opacity));
}

.bg-accent-light {
  --tw-bg-opacity: 1;
  background-color: rgb(219 234 254 / var(--tw-bg-opacity));
}

.bg-slate-100 {
  --tw-bg-opacity: 1;
  background-color: rgb(241 245 249 / var(--tw-bg-opacity));
}

.bg-slate-50 {
  --tw-bg-opacity: 1;
  background-color: rgb(248 250 252 / var(--tw-bg-opacity));
}

.bg-white {
  --tw-bg-opacity: 1;
  background-color: rgb(255 255 255 / var(--tw-bg-opacity));
}

.bg-white\/10 {
  background-color: rgb(255 255 255 / 0.1);
}

.object-cover {
  -o-object-fit: cover;
     object-fit: cover;
}

.p-0 {
  padding: 0px;
}

.p-5 {
  padding: 1.25rem;
}

.px-2 {
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.py-0\.5 {
  padding-top: 0.125rem;
  padding-bottom: 0.125rem;
}

.py-12 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.py-14 {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.py-16 {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.py-24 {
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.text-center {
  text-align: center;
}

.text-4xl {
  font-size: 2.25rem;
  line-height: 2.5rem;
}

.text-base {
  font-size: 1rem;
  line-height: 1.5rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-xs {
  font-size: 0.75rem;
  line-height: 1rem;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.uppercase {
  text-transform: uppercase;
}

.leading-relaxed {
  line-height: 1.625;
}

.leading-snug {
  line-height: 1.375;
}

.leading-tight {
  line-height: 1.25;
}

.tracking-wide {
  letter-spacing: 0.025em;
}

.tracking-widest {
  letter-spacing: 0.1em;
}

.text-accent {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.text-slate-300 {
  --tw-text-opacity: 1;
  color: rgb(203 213 225 / var(--tw-text-opacity));
}

.text-slate-500 {
  --tw-text-opacity: 1;
  color: rgb(100 116 139 / var(--tw-text-opacity));
}

.text-slate-900 {
  --tw-text-opacity: 1;
  color: rgb(15 23 42 / var(--tw-text-opacity));
}

.text-white {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.text-white\/40 {
  color: rgb(255 255 255 / 0.4);
}

.text-white\/65 {
  color: rgb(255 255 255 / 0.65);
}

.text-white\/70 {
  color: rgb(255 255 255 / 0.7);
}

.no-underline {
  text-decoration-line: none;
}

.transition {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-colors {
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-shadow {
  transition-property: box-shadow;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.transition-transform {
  transition-property: transform;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}

.duration-200 {
  transition-duration: 200ms;
}

.duration-300 {
  transition-duration: 300ms;
}

.will-change-transform {
  will-change: transform;
}

/* ============================================================
   TOKENS
   Placeholder palette — update when brand guidelines confirmed.
   ============================================================ */

/* ============================================================
   COMPONENTS
   ============================================================ */

@keyframes blob-a {
  0%   {
    transform: translate(0, 0) scale(1);
  }

  33%  {
    transform: translate(45px, 30px) scale(1.07);
  }

  66%  {
    transform: translate(-20px, 45px) scale(0.93);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blob-b {
  0%   {
    transform: translate(0, 0) scale(1);
  }

  33%  {
    transform: translate(-40px, -25px) scale(1.05);
  }

  66%  {
    transform: translate(25px, -40px) scale(0.96);
  }

  100% {
    transform: translate(0, 0) scale(1);
  }
}

@keyframes blob-c {
  0%   {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  50%  {
    transform: translate(30px, -35px) scale(1.1) rotate(15deg);
  }

  100% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
}

/* ============================================================
   BUTTONS
   Outside @layer so these are never purged — used dynamically
   by WooCommerce templates and custom content.
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms, border-color 150ms, color 150ms;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

.btn-primary {
  background-color: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-accent-dark);
  border-color: var(--color-accent-dark);
  color: #fff;
  text-decoration: none;
}

.btn-secondary {
  background-color: var(--color-bg);
  color: var(--color-brand);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  background-color: var(--color-bg-alt);
  text-decoration: none;
}

.btn-outline {
  background-color: transparent;
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.btn-outline:hover {
  background-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
}

/* ============================================================
   WOOCOMMERCE BASELINE
   Outside @layer so these win over WooCommerce's own CSS.
   ============================================================ */

/* Product grid */

.woocommerce ul.products,
.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
}

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  display: flex;
  flex-direction: column;
  background-color: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 200ms;
}

.woocommerce ul.products li.product:hover {
  box-shadow: 0 4px 20px rgb(0 0 0 / 0.08);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  text-decoration: none;
}

.woocommerce ul.products li.product img {
  width: 100%;
  aspect-ratio: 4 / 3;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-brand);
  padding: 0.875rem 1rem 0.25rem;
  margin: 0;
}

.woocommerce ul.products li.product .price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-accent);
  padding: 0 1rem 0.75rem;
  margin: 0;
}

.woocommerce ul.products li.product .price del {
  color: var(--color-text-muted);
  font-weight: 400;
  font-size: 0.875rem;
  margin-right: 0.25rem;
}

.woocommerce ul.products li.product .price ins {
  text-decoration: none;
}

.woocommerce ul.products li.product .button {
  margin: auto 1rem 1rem;
  display: block;
  text-align: center;
}

/* Sale badge */

.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  background-color: var(--color-accent);
  color: #fff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
}

/* Global WooCommerce buttons */

.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.25;
  border-radius: var(--radius);
  border: none;
  background-color: var(--color-accent);
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 150ms;
}

.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  background-color: var(--color-accent-dark);
  color: #fff;
  text-decoration: none;
}

.woocommerce a.button.alt,
.woocommerce button.button.alt {
  background-color: var(--color-brand);
}

.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover {
  background-color: var(--color-brand-muted);
}

/* Notices */

.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  padding: 0.875rem 1.25rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  list-style: none;
}

.woocommerce-message {
  background-color: #f0fdf4;
  border-left: 4px solid #22c55e;
  color: #15803d;
  padding-left: 2.75rem;
  position: relative;
}

.woocommerce-message::before {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.woocommerce-error {
  background-color: #fef2f2;
  border-left: 4px solid #ef4444;
  color: #b91c1c;
}

.woocommerce-info {
  background-color: var(--color-accent-light);
  border-left: 4px solid var(--color-accent);
  color: var(--color-accent-dark);
}

/* Cart table */

.woocommerce table.shop_table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2rem;
  font-size: 0.9375rem;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-border);
  text-align: left;
  vertical-align: middle;
}

.woocommerce table.shop_table th {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  background-color: var(--color-bg-alt);
}

.woocommerce table.shop_table img {
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--radius-sm);
}

.woocommerce .cart_totals .order-total th,
.woocommerce .cart_totals .order-total td {
  font-weight: 700;
  font-size: 1.0625rem;
  border-top: 2px solid var(--color-border);
  padding-top: 1rem;
}

/* Breadcrumb */

.woocommerce .woocommerce-breadcrumb {
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
}

.woocommerce .woocommerce-breadcrumb a {
  color: var(--color-text-muted);
  text-decoration: none;
}

.woocommerce .woocommerce-breadcrumb a:hover {
  color: var(--color-accent);
  text-decoration: underline;
}

/* Single product */

.woocommerce div.product .product_title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 1rem;
  display: block;
}

.woocommerce div.product .woocommerce-product-details__short-description {
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

/* Result count and ordering */

.woocommerce-result-count {
  font-size: 0.875rem;
  color: var(--color-text-muted);
}

.woocommerce-ordering select {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
  width: auto;
}

/* ============================================================
   PAGE CONTENT
   Styles for page.php — title + prose content on policy,
   contact, legal, and other static pages.
   ============================================================ */

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--color-brand);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.entry-content {
  color: var(--color-text);
  line-height: 1.8;
}

.entry-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
}

.entry-content h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-brand);
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}

.entry-content p {
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content li {
  margin-bottom: 0.4rem;
}

.entry-content a {
  color: var(--color-accent);
  text-decoration: underline;
}

.entry-content a:hover {
  color: var(--color-accent-dark);
}

.entry-content strong {
  font-weight: 600;
  color: var(--color-brand);
}

.entry-content hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: 2rem 0;
}

.entry-content code {
  font-family: ui-monospace, monospace;
  font-size: 0.875em;
  background: var(--color-bg-alt);
  padding: 0.15em 0.4em;
  border-radius: var(--radius-sm);
  color: var(--color-brand);
}

/* ================================================================
   CART PAGE
   ================================================================ */

/* Checkout button — full width, pill-rounded, prominent */

.pd-checkout-btn {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.5rem;
  width: 100%;
  padding: 1rem 1.5rem;
  background: var(--color-accent) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  border-radius: 0.75rem !important;
  border: none !important;
  cursor: pointer;
  transition: background 0.15s, box-shadow 0.15s;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
  letter-spacing: 0.01em;
}

.pd-checkout-btn:hover {
  background: var(--color-accent-dark) !important;
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.38);
}

/* Extra specificity to beat WooCommerce global link color */

.pd-cart-totals a.pd-checkout-btn,
.pd-cart-totals a.pd-checkout-btn:visited,
.pd-cart-totals a.pd-checkout-btn:hover {
  color: #fff !important;
}

/* Ghost button variant (used for Update Cart) */

.pd-btn--ghost {
  background: transparent;
  color: var(--color-text-muted);
  border-color: var(--color-border);
  font-weight: 500;
}

.pd-btn--ghost:hover {
  color: var(--color-brand);
  border-color: var(--color-brand-muted);
}

/* Page wrapper */

.pd-cart-page {
  padding: 2rem 0 5rem;
}

/* Hide the WordPress page template title on the cart/checkout pages — we render our own */

.woocommerce-cart .page-title,
.woocommerce-checkout .page-title {
  display: none;
}

/* Page header */

.pd-cart-page__header {
  margin-bottom: 2rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.pd-cart-page__header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-cart-page__title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-brand);
  margin: 0;
  line-height: 1.2;
}

.pd-cart-page__count {
  font-weight: 400;
  color: var(--color-text-muted);
}

/* ── Checkout page header (mirrors cart header) ── */

.pd-checkout-page-header {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}

.pd-checkout-page-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pd-checkout-page-header__title {
  font-size: clamp(1.375rem, 3vw, 1.75rem);
  font-weight: 700;
  color: var(--color-brand);
  margin: 0;
  line-height: 1.2;
}

.pd-cart-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  text-decoration: none;
  transition: color 0.15s;
}

.pd-cart-back-link:hover {
  color: var(--color-accent);
}

/* Empty state */

.pd-cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 1.5rem;
  gap: 1rem;
}

.pd-cart-empty__icon {
  opacity: 0.3;
  color: var(--color-text-muted);
}

.pd-cart-empty__heading {
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0;
}

.pd-cart-empty__sub {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Two-column layout ── */

.pd-cart-layout {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 960px) {
  .pd-cart-layout {
    grid-template-columns: 1fr;
  }
}

/* Left column */

.pd-cart-items {
  min-width: 0;
}

/* Right column — sticky */

.pd-cart-summary-col {
  position: sticky;
  top: 2rem;
}

/* ── Column header labels (desktop) ── */

.pd-cart-col-head {
  display: grid;
  grid-template-columns: 80px 1fr 5rem 5rem 2rem 5.5rem;
  gap: 0.75rem;
  padding: 0.5rem 1rem 0.5rem 0;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  border-bottom: 1.5px solid var(--color-border);
  margin-bottom: 0;
}

.pd-cart-col-head__product {
  grid-column: span 2;
}

.pd-cart-col-head__price,
.pd-cart-col-head__qty,
.pd-cart-col-head__total {
  text-align: center;
}

@media (max-width: 640px) {
  .pd-cart-col-head {
    display: none;
  }
}

/* ── Cart rows container ── */

.pd-cart-rows {
  border: 1px solid var(--color-border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

/* Individual cart row — img | info | price | qty | trash | subtotal */

.pd-cart-row {
  display: grid;
  grid-template-columns: 80px 1fr 5rem 5rem 2rem 5.5rem;
  gap: 0.75rem;
  align-items: center;
  padding: 1.25rem 1rem 1.25rem 0;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg);
}

.pd-cart-row:last-child {
  border-bottom: none;
  border-radius: 0 0 var(--radius) var(--radius);
}

@media (max-width: 640px) {
  .pd-cart-row {
    grid-template-columns: 72px 1fr;
    grid-template-rows: auto auto auto;
    gap: 0.625rem;
    padding: 1rem 0;
  }

  .pd-cart-row__price,
  .pd-cart-row__qty,
  .pd-cart-row__subtotal {
    grid-column: 2;
  }

  .pd-cart-row__actions {
    grid-column: 2;
    justify-content: flex-start;
  }

  .pd-cart-row__price::before {
    content: attr(data-label) ': ';
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
  }

  .pd-cart-row__subtotal::before {
    content: attr(data-label) ': ';
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-text-muted);
  }
}

/* Image cell */

.pd-cart-row__img a {
  display: block;
}

.pd-cart-row__img img {
  width: 76px;
  height: 76px;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  padding: 0.25rem;
  display: block;
}

/* Name + meta + remove */

.pd-cart-row__name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-brand);
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.pd-cart-row__name a {
  color: inherit;
  text-decoration: none;
}

.pd-cart-row__name a:hover {
  color: var(--color-accent);
}

.pd-cart-row__info .variation {
  margin: 0.2rem 0;
}

.pd-cart-row__info .variation dt,
.pd-cart-row__info .variation dd {
  display: inline;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
  margin: 0;
}

.pd-cart-row__info .variation dt::after {
  content: ': ';
}

.pd-cart-row__info .variation dd::after {
  content: '';
  display: block;
}

.pd-cart-row__remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: #cbd5e1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.15s;
}

.pd-cart-row__remove:hover {
  color: #94a3b8;
}

/* Price / Qty / Subtotal cells */

.pd-cart-row__price,
.pd-cart-row__qty,
.pd-cart-row__subtotal {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-brand);
}

.pd-cart-row__subtotal {
  font-weight: 700;
}

/* Trash icon column */

.pd-cart-row__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 3px;
}

/* WooCommerce qty input */

.pd-cart-row .quantity {
  display: flex;
  justify-content: center;
}

.pd-cart-row .quantity .qty {
  width: 3.25rem;
  padding: 0.375rem 0.375rem;
  text-align: center;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--color-brand);
  background: var(--color-bg);
}

.pd-cart-row .quantity .qty:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* ── Cart footer: coupon + update ── */

.pd-cart-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.pd-cart-coupon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.pd-cart-coupon__field {
  padding: 0.5rem 0.875rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  color: var(--color-brand);
  background: var(--color-bg);
  width: 170px;
}

.pd-cart-coupon__field:focus {
  outline: none;
  border-color: var(--color-accent);
}

.pd-cart-footer {
  justify-content: flex-end;
}

.pd-cart-footer__right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Update Cart button — hidden until qty changes, then auto-submits */

.pd-cart-update-btn {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1.125rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #1d4ed8;
  background: #dbeafe;
  border: 1.5px solid #bfdbfe;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.pd-cart-update-btn.is-visible {
  display: inline-flex;
}

.pd-cart-update-btn:hover {
  background: #bfdbfe;
  border-color: #93c5fd;
}

/* ── Order summary panel (cart-totals.php) ── */

.pd-cart-totals {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pd-cart-totals__header {
  display: flex;
  align-items: center;
  min-height: 2.25rem;
  padding: 0 1.25rem;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.pd-cart-totals__heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1;
}

/* Coupon inside summary */

.pd-cart-totals__coupon {
  display: flex;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

.pd-cart-totals__coupon .pd-cart-coupon__field {
  flex: 1;
  min-width: 0;
}

/* Totals table */

.pd-cart-totals__table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
}

.pd-cart-totals__table th,
.pd-cart-totals__table td {
  padding: 0.45rem 1.5rem;
  font-size: 0.9375rem;
  color: var(--color-brand);
  border-bottom: 1px solid var(--color-border);
  vertical-align: middle;
}

.pd-cart-totals__table th {
  font-weight: 500;
  text-align: left;
}

.pd-cart-totals__table td {
  text-align: right;
  font-weight: 600;
}

/* Strip all WooCommerce shop_table borders, use only thin bottom separators */

.pd-cart-totals .shop_table {
  border: none !important;
}

.pd-cart-totals .shop_table th,
.pd-cart-totals .shop_table td {
  border: none !important;
  border-bottom: 1px solid var(--color-border) !important;
}

.pd-cart-totals .shop_table tr:last-child th,
.pd-cart-totals .shop_table tr:last-child td,
.pd-cart-totals .shop_table .order-total th,
.pd-cart-totals .shop_table .order-total td {
  border-bottom: none !important;
}

/* Make WooCommerce's own shipping calculator fit */

.pd-cart-totals__table .shipping td {
  text-align: left;
  font-weight: 400;
}

.pd-cart-totals__table .order-total th,
.pd-cart-totals__table .order-total td {
  font-size: 1.0625rem;
  font-weight: 700;
  border-bottom: none;
  padding-bottom: 1.25rem;
}

.pd-cart-totals__table .order-total .amount {
  font-size: 1.25rem;
}

/* Checkout button area */

.pd-cart-totals__checkout {
  padding: 0 1.5rem 1.25rem;
}

.pd-cart-totals__checkout .checkout-button,
.pd-cart-totals__checkout a.button {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.9375rem 1.5rem !important;
  background: var(--color-accent) !important;
  color: #fff !important;
  font-size: 1rem !important;
  font-weight: 700 !important;
  text-align: center;
  border: none !important;
  border-radius: var(--radius) !important;
  cursor: pointer;
  text-decoration: none !important;
  transition: background 0.15s !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.pd-cart-totals__checkout .checkout-button:hover,
.pd-cart-totals__checkout a.button:hover {
  background: var(--color-accent-dark) !important;
  color: #fff !important;
}

/* Trust callouts — 2×2 grid */

.pd-cart-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.625rem;
  padding: 1.125rem 1.5rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.pd-cart-trust__item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.pd-cart-trust__item svg {
  flex-shrink: 0;
  color: var(--color-accent);
}

/* Info tooltip (shipping row) */

.pd-info-tip {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.3rem;
  vertical-align: middle;
  cursor: default;
  color: var(--color-text-muted);
}

.pd-info-tip__text {
  display: none;
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  padding: 0.5rem 0.75rem;
  background: var(--color-brand);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.4;
  border-radius: var(--radius);
  white-space: normal;
  pointer-events: none;
  z-index: 10;
}

.pd-info-tip__text::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: var(--color-brand);
}

.pd-info-tip:hover .pd-info-tip__text {
  display: block;
}

/* Shipping row helpers */

.pd-shipping-tbd {
  color: var(--color-text-muted);
  font-style: italic;
  font-size: 0.875rem;
}

.pd-shipping-location {
  display: block;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: 0.125rem;
}

/* Payment note */

.pd-cart-totals__pay-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  margin: 0;
  padding: 0.875rem 1.5rem;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  border-top: 1px solid var(--color-border);
}

/* ── Accessory Upsells ── */

.pd-cart-upsells {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

/* "You Might Also Like" suggestions — slightly more visual separation */

.pd-cart-suggestions {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-border);
}

.pd-cart-upsells__header {
  text-align: center;
  margin-bottom: 1.75rem;
}

.pd-cart-upsells__heading {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-brand);
  margin: 0 0 0.375rem;
}

.pd-cart-upsells__sub {
  font-size: 0.9375rem;
  color: var(--color-text-muted);
  margin: 0;
}

.pd-cart-upsells__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1.25rem;
}

.pd-upsell-card {
  background: var(--color-bg);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.15s, box-shadow 0.15s;
  display: flex;
  flex-direction: column;
}

.pd-upsell-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 4px 16px rgba(0,0,0,0.07);
}

.pd-upsell-card__img-wrap {
  display: block;
  background: var(--color-bg-alt);
}

.pd-upsell-card__img {
  width: 100%;
  aspect-ratio: 1 / 1;
  -o-object-fit: contain;
     object-fit: contain;
  padding: 1rem;
  display: block;
}

.pd-upsell-card__body {
  padding: 0.875rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.375rem;
}

.pd-upsell-card__name {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-brand);
  margin: 0;
  line-height: 1.4;
  flex: 1;
}

.pd-upsell-card__name a {
  color: inherit;
  text-decoration: none;
}

.pd-upsell-card__name a:hover {
  color: var(--color-accent);
}

.pd-upsell-card__price {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brand);
}

.pd-upsell-card__btn {
  display: block !important;
  width: 100%;
  text-align: center;
  font-size: 0.8125rem !important;
  margin-top: 0.25rem;
}

/* ── Compact upsells: checkout order-review sidebar ── */

.pd-cart-upsells--compact {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

.pd-cart-upsells--compact .pd-cart-upsells__header {
  text-align: left;
  margin-bottom: 0.75rem;
}

.pd-cart-upsells--compact .pd-cart-upsells__heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.pd-cart-upsells--compact .pd-cart-upsells__sub {
  display: none;
}

.pd-cart-upsells--compact .pd-cart-upsells__grid {
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 0.5rem;
}

.pd-cart-upsells--compact .pd-upsell-card {
  border-radius: var(--radius-sm);
}

.pd-cart-upsells--compact .pd-upsell-card__body {
  padding: 0.4rem 0.5rem 0.5rem;
  gap: 0.2rem;
}

.pd-cart-upsells--compact .pd-upsell-card__name {
  font-size: 0.6875rem;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pd-cart-upsells--compact .pd-upsell-card__price {
  font-size: 0.75rem;
}

.pd-cart-upsells--compact .pd-upsell-card__btn {
  font-size: 0.625rem !important;
  padding: 0.2rem 0.375rem !important;
  letter-spacing: 0.02em;
}

/* ============================================================
   CHECKOUT PAGE
   ============================================================ */

/* ── 2-column layout — 50/50 ── */

.pd-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
}

/* ── Left: fields ── */

.pd-checkout-fields .woocommerce-billing-fields h3,
.pd-checkout-fields .woocommerce-shipping-fields h3,
.pd-checkout-fields .woocommerce-additional-fields h3 {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 0.625rem;
  margin-bottom: 1.25rem;
  margin-top: 2rem;
}

.pd-checkout-fields .woocommerce-billing-fields:first-child h3 {
  margin-top: 0;
}

.pd-checkout-fields .form-row {
  margin-bottom: 0.875rem;
}

.pd-checkout-fields .form-row-first,
.pd-checkout-fields .form-row-last {
  width: calc(50% - 0.5rem);
  float: left;
}

.pd-checkout-fields .form-row-first {
  margin-right: 1rem;
}

.pd-checkout-fields .form-row-last  {
  float: right;
}

.pd-checkout-fields .form-row:not(.form-row-first):not(.form-row-last) {
  clear: both;
}

.pd-checkout-fields .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

#ship-to-different-address {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  margin: 0.5rem 0 1.25rem;
  clear: both;
}

#ship-to-different-address span {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--color-brand);
}

#ship-to-different-address input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  display: inline-block;
}

/* ── Right: sticky sidebar ── */

.pd-checkout-sidebar__inner {
  position: sticky;
  top: 5rem;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.pd-checkout-sidebar__heading {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 0.875rem 1.125rem;
}

#order_review_heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--color-text-muted);
  margin: 0;
}

/* ── Review order table ── */

.pd-review-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  border: 1px solid var(--color-border) !important;
}

.pd-review-table thead tr {
  background: var(--color-brand);
  border-bottom: none;
}

.pd-review-table thead th {
  padding: 0.5rem 0.75rem;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fff;
  white-space: nowrap;
}

.pd-review-table thead .pd-review-table__img {
  width: 80px;
  padding: 0.5rem 0.75rem;
}

.pd-review-table thead .pd-review-table__qty,
.pd-review-table thead .pd-review-table__price,
.pd-review-table thead .pd-review-table__subtotal {
  text-align: right;
}

.pd-review-table tbody tr {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.pd-review-table__img {
  width: 80px;
  padding: 0.625rem 0.75rem 0.625rem 0.875rem;
  vertical-align: middle;
}

.pd-review-table__img img {
  width: 64px;
  height: 64px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  display: block;
}

.pd-review-table__img a {
  display: block;
}

.pd-review-table__name {
  padding: 0.625rem 0.75rem;
  vertical-align: middle;
  color: var(--color-text);
  font-weight: 500;
  line-height: 1.35;
}

.pd-review-table__name .variation {
  font-size: 0.6875rem;
  color: var(--color-text-muted);
  margin: 0.15rem 0 0;
}

.pd-review-table__name .variation p {
  margin: 0;
}

.pd-review-table__qty,
.pd-review-table__price,
.pd-review-table__subtotal {
  padding: 0.625rem 0.75rem;
  vertical-align: middle;
  text-align: right;
  white-space: nowrap;
}

.pd-review-table__qty {
  color: var(--color-text-muted);
  font-size: 0.75rem;
}

.pd-review-table__subtotal {
  font-weight: 700;
  color: var(--color-brand);
}

.pd-review-table__subtotal:last-child {
  padding-right: 0.875rem;
}

/* Tfoot totals */

.pd-review-table tfoot tr {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
}

.pd-review-table tfoot th,
.pd-review-table tfoot td {
  padding: 0.5rem 0.875rem 0.5rem 0.75rem;
  font-size: 0.8125rem;
  vertical-align: middle;
}

.pd-review-table tfoot th {
  color: var(--color-text-muted);
  font-weight: 500;
  text-align: right !important;
  padding-right: 0.5rem !important;
}

.pd-review-table tfoot td {
  text-align: right !important;
  font-weight: 600;
}

.pd-review-table tfoot .order-total {
  background: #edf2f7;
}

.pd-review-table tfoot .order-total th,
.pd-review-table tfoot .order-total td {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--color-brand);
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

/* ── Payment section ── */

#payment {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 1rem 0.875rem;
}

#payment ul.payment_methods {
  list-style: none;
  margin: 0 0 1rem;
  padding: 0;
  font-size: 0.875rem;
}

#payment ul.payment_methods li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  flex-wrap: wrap;
}

#payment ul.payment_methods li:last-child {
  border-bottom: none;
}

#payment .payment_box {
  width: 100%;
  padding: 0.5rem 0 0.125rem 1.375rem;
  font-size: 0.8125rem;
  color: var(--color-text-muted);
}

#place_order {
  display: block;
  width: 100%;
  padding: 0.875rem 1.25rem;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.9375rem;
  font-weight: 700;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 150ms;
  text-align: center;
  margin-top: 0.25rem;
}

#place_order:hover {
  background: var(--color-accent-dark);
}

/* Compact accessories inside sidebar — spaced from place order, bold heading */

.pd-checkout-sidebar__inner .pd-cart-upsells--compact {
  padding: 1rem 0.875rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

.pd-checkout-sidebar__inner .pd-cart-upsells--compact .pd-cart-upsells__grid {
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}

.pd-checkout-sidebar__inner .pd-cart-upsells--compact .pd-cart-upsells__heading {
  font-weight: 700;
  color: var(--color-brand);
}

/* Trust items + pay note inside checkout sidebar */

.pd-checkout-sidebar__trust {
  padding: 0.875rem;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
  margin: 0;
}

.pd-checkout-sidebar__inner .pd-cart-totals__pay-note {
  padding: 0.625rem 0.875rem;
  margin: 0;
  border-top: 1px solid var(--color-border);
  background: var(--color-bg-alt);
}

/* ── Sign-in notice ── */

.pd-checkout-signin {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 0.625rem 0.875rem;
  margin-bottom: 1.5rem;
}

.pd-checkout-signin a {
  font-weight: 600;
  color: var(--color-accent);
  white-space: nowrap;
}

.pd-checkout-signin a:hover {
  color: var(--color-accent-dark);
}

/* ── Coupon row in order summary table ── */

.pd-review-coupon-cell {
  padding: 0.625rem 0.875rem !important;
  background: var(--color-bg-alt);
  border-bottom: 1px solid var(--color-border);
}

.pd-review-coupon {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: flex-end;
}

.pd-review-coupon__input {
  flex: 0 1 130px;
  padding: 0.35rem 0.5rem !important;
  font-size: 0.75rem !important;
  border-radius: var(--radius-sm) !important;
  height: auto !important;
  width: auto !important;
  display: inline-block !important;
}

.pd-review-coupon__btn {
  padding: 0.35rem 0.625rem !important;
  font-size: 0.75rem !important;
  white-space: nowrap;
  border: 1px solid var(--color-border) !important;
  background: var(--color-bg) !important;
  color: var(--color-brand) !important;
  border-radius: var(--radius-sm) !important;
  cursor: pointer;
  transition: border-color 150ms, background 150ms;
}

.pd-review-coupon__btn:hover {
  border-color: var(--color-accent) !important;
  color: var(--color-accent) !important;
}

/* ── WooCommerce error notices — fix ! icon overlapping text ── */

.woocommerce-error {
  list-style: none !important;
  padding: 0.75rem 0.875rem 0.75rem 2.5rem !important;
  position: relative;
}

.woocommerce-error li {
  padding-left: 0 !important;
  position: relative;
}

.woocommerce-error::before {
  content: "!";
  position: absolute;
  left: 0.875rem;
  top: 0.8rem;
  font-weight: 700;
  font-size: 0.9375rem;
}

/* ── Responsive ── */

@media (max-width: 1080px) {
  .pd-checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .pd-checkout-layout {
    grid-template-columns: 1fr;
  }

  .pd-checkout-sidebar__inner {
    position: static;
  }

  .pd-checkout-fields .form-row-first,
  .pd-checkout-fields .form-row-last {
    width: 100%;
    float: none;
    margin-right: 0;
  }
}

.hover\:bg-white\/20:hover {
  background-color: rgb(255 255 255 / 0.2);
}

.hover\:text-accent:hover {
  --tw-text-opacity: 1;
  color: rgb(37 99 235 / var(--tw-text-opacity));
}

.hover\:text-accent-dark:hover {
  --tw-text-opacity: 1;
  color: rgb(29 78 216 / var(--tw-text-opacity));
}

.hover\:text-white:hover {
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity));
}

.hover\:shadow-md:hover {
  --tw-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.focus-visible\:outline:focus-visible {
  outline-style: solid;
}

.focus-visible\:outline-2:focus-visible {
  outline-width: 2px;
}

.focus-visible\:outline-white:focus-visible {
  outline-color: #fff;
}

.group:hover .group-hover\:scale-105 {
  --tw-scale-x: 1.05;
  --tw-scale-y: 1.05;
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

@media (min-width: 640px) {
  .sm\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 768px) {
  .md\:py-20 {
    padding-top: 5rem;
    padding-bottom: 5rem;
  }

  .md\:py-32 {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }

  .md\:text-5xl {
    font-size: 3rem;
    line-height: 1;
  }

  .md\:text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
  }
}

@media (min-width: 1024px) {
  .lg\:col-span-1 {
    grid-column: span 1 / span 1;
  }

  .lg\:grid-cols-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lg\:grid-cols-5 {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
