/* =============================================
   Soul Journey Creations — main.css
   All theme styles. Google Fonts loaded via wp_enqueue_style().
   Palette: #30618C · #59A8D9 · #5BB5D9 · #F2B279 · #F28F6B
   ============================================= */

/* ---- VARIABLES ---- */
:root {
  --navy:       #30618C;
  --blue:       #59A8D9;
  --sky:        #5BB5D9;
  --peach:      #F2B279;
  --coral:      #F28F6B;
  --white:      #FFFFFF;
  --dark:       #1C2B3A;
  --bg:         #fafafa;
  --espresso:   #3B2A20;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Montserrat', sans-serif;
  --max-width:  1200px;
}

/* ---- RESET ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

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

/* ---- BASE ---- */
body {
  font-family: var(--font-sans);
  color: var(--dark);
  background-color: var(--bg);
}

a { color: inherit; }

/* ---- ACCESSIBILITY ---- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute !important;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
  clip: auto;
  -webkit-clip-path: none;
  clip-path: none;
  height: auto;
  width: auto;
  margin: 0;
  overflow: visible;
  outline: 2px solid #fff;
  outline-offset: 2px;
}

/* Visible, consistent focus ring across the theme */
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}

/* Respect users who request reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .hero-bg { transform: none !important; }
}

/* ---- NAVIGATION ---- */
/* Use #site-navigation, not bare "nav", to avoid accidentally styling
   WooCommerce's <nav class="woocommerce-pagination"> with position:fixed */
#site-navigation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 40px;
  background: rgba(255, 252, 248, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 16px rgba(0, 0, 0, 0.08);
  transition: background 0.4s ease, box-shadow 0.4s ease;
}

/* Transparent when at top — hero shows through */
#site-navigation.nav-top {
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

#site-navigation.nav-top .nav-links a {
  color: rgba(255, 255, 255, 0.90);
}

#site-navigation.nav-top .nav-links a:hover {
  color: #ffffff;
}

#site-navigation.nav-top .nav-logo img,
#site-navigation.nav-top .nav-logo .custom-logo {
  filter: brightness(0) invert(1);
}

.nav-logo img,
.nav-logo .custom-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  display: block;
  opacity: 0.95;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links {
  display: flex;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a {
  color: var(--coral);
}

/* ---- DROPDOWN SUBMENUS ---- */
.nav-links li {
  position: relative;
}

.nav-links .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  list-style: none;
  margin: 0;
  padding: 14px 0;
  background: rgba(255, 252, 248, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  border-radius: 2px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
  z-index: 1100;
}

.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.nav-links .sub-menu li {
  display: block;
}

.nav-links .sub-menu a {
  display: block;
  padding: 10px 24px;
  color: var(--dark);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  white-space: nowrap;
  text-align: center;
}

.nav-links .sub-menu a:hover {
  color: var(--coral);
  background: rgba(48, 97, 140, 0.04);
}

/* Always-light dropdown even when nav is transparent (over hero) */
#site-navigation.nav-top .nav-links .sub-menu a {
  color: var(--dark);
}

/* Small chevron indicator for parents */
.nav-links .menu-item-has-children > a::after {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.7;
}

/* Mobile drawer — show submenus inline as indented links */
.nav-drawer-links .sub-menu {
  list-style: none;
  margin: 14px 0 0 16px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-left: 1px solid rgba(48, 97, 140, 0.15);
  padding-left: 16px;
}

.nav-drawer-links .sub-menu a {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.08em;
}

/* ---- SEARCH TOGGLE + DROPDOWN ---- */
.nav-search-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  color: var(--dark);
  transition: color 0.25s;
}

.nav-search-toggle svg { width: 20px; height: 20px; }

#site-navigation.nav-top .nav-search-toggle { color: rgba(255, 255, 255, 0.90); }

.nav-search-toggle:hover { color: var(--coral); }

.nav-search-form {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
  background: rgba(255, 252, 248, 0.98);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.10);
  padding: 110px 40px 28px;
  transform: translateY(-12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s linear 0.25s;
}

.nav-search-form.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0s;
}

.nav-search-form .search-form {
  display: flex;
  gap: 10px;
  max-width: 480px;
  margin: 0 auto;
}

.nav-search-form .search-field {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid rgba(48, 97, 140, 0.22);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border-radius: 2px;
}

.nav-search-form .search-submit {
  padding: 13px 26px;
  border: 1.5px solid var(--navy);
  background: var(--navy);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s, border-color 0.25s;
}

.nav-search-form .search-submit:hover {
  background: var(--coral);
  border-color: var(--coral);
}

/* ---- HAMBURGER BUTTON (mobile) ---- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: background 0.25s, transform 0.25s, opacity 0.25s;
}

nav.nav-top .nav-toggle span { background: rgba(255, 255, 255, 0.90); }

.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- MOBILE NAV DRAWER ---- */
.nav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(320px, 85vw);
  background: var(--white);
  z-index: 1100;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 36px 40px;
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 40px rgba(0, 0, 0, 0.12);
}

.nav-drawer.is-open { transform: translateX(0); }

.nav-drawer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--dark);
  line-height: 1;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.nav-drawer-close:hover { opacity: 1; }

.nav-drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.nav-drawer-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-family: var(--font-serif);
  transition: color 0.2s;
}

.nav-drawer-links a:hover { color: var(--coral); }

/* Overlay behind drawer */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(28, 43, 58, 0.45);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.nav-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* ---- HERO (parallax) ---- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: -15% 0; /* extra height top+bottom for parallax travel */
  will-change: transform;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(28, 43, 58, 0.15) 0%,
    rgba(28, 43, 58, 0.35) 55%,
    rgba(28, 43, 58, 0.60) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
  padding: 0 20px;
}

.hero-content h1 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 300;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.35);
}

.hero-content .subtitle {
  margin-top: 18px;
  font-size: clamp(0.78rem, 1.8vw, 1rem);
  font-weight: 300;
  letter-spacing: 0.30em;
  text-transform: uppercase;
  opacity: 0.88;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-scroll::after {
  content: '';
  display: block;
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.55);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  height: 360px;
  background-image: url('../images/cover.webp');
  background-size: cover;
  background-position: center 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  /* Nav is position:fixed — hero starts at top of page and shows behind it */
  margin-top: 0;
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(28, 43, 58, 0.50);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  font-family: var(--font-serif);
  color: white;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 300;
  letter-spacing: 0.12em;
}

/* Slim solid-color bar variant (used on Shop + Kurv instead of the full cover image) */
.page-hero--bar {
  height: 140px;
  background-image: none;
  background-color: var(--espresso);
}

.page-hero--bar::after { content: none; }

.page-hero--bar h1 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
}

/* ---- FIXED BACKGROUND WRAPPER ---- */
.main-content {
  background-image: url('../images/baggrundgennemsigtig.webp');
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  position: relative;
}

.main-content::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.78);
  pointer-events: none;
  z-index: 0;
}

.main-content > * {
  position: relative;
  z-index: 1;
}

/* ---- SECTION TITLE ---- */
.section-title {
  text-align: center;
  margin-bottom: 56px;
}

.section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 14px;
}

.divider {
  display: block;
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--coral), var(--blue));
  margin: 0 auto;
}

/* ---- QUOTE ---- */
.quote-section {
  padding: 240px 20px 300px;
  text-align: center;
}

.quote-section blockquote {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4.5vw, 3.4rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.6;
  color: var(--navy);
  max-width: 1300px;
  margin: 0 auto;
}

.quote-section blockquote p:first-child { white-space: nowrap; }

.quote-section blockquote .line2 { color: var(--navy); }

@media (max-width: 900px) {
  .quote-section blockquote p:first-child { white-space: normal; }
}

/* ---- QUOTE BANNER (full-width image) ---- */
.quote-banner {
  width: 100%;
  line-height: 0;
}

.quote-banner img {
  width: 100%;
  height: auto;
  display: block;
}

/* ---- COLOR BLOCKS ---- */
.color-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 580px;
}

.color-block.reverse { direction: rtl; }
.color-block.reverse > * { direction: ltr; }

.block-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 50px 70px;
  color: var(--white);
  height: 580px;
  overflow: hidden;
}

.block-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  margin-bottom: 20px;
  line-height: 1.2;
}

.block-text p {
  font-size: 0.95rem;
  line-height: 1.85;
  opacity: 0.93;
  max-width: 420px;
}

.block-text .btn {
  display: inline-block;
  margin-top: 32px;
  padding: 13px 32px;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: var(--white);
  text-decoration: none;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: background 0.25s, border-color 0.25s;
  align-self: flex-start;
}

.block-text .btn:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: white;
}

.block-img {
  overflow: hidden;
  height: 580px;
}

.block-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.block-img:hover img { transform: scale(1.04); }

.bg-navy  { background-color: var(--navy); }
.bg-blue  { background-color: var(--blue); }
.bg-coral { background-color: var(--coral); }
.bg-peach { background-color: var(--peach); color: var(--dark) !important; }

.bg-peach h2,
.bg-peach p { color: var(--dark) !important; }

.bg-peach .btn { border-color: rgba(28, 43, 58, 0.5); color: var(--dark); }
.bg-peach .btn:hover { background: rgba(28, 43, 58, 0.1); }

/* ---- CATEGORIES ---- */
.categories-section { padding: 90px 0; }

.categories-section .section-title {
  text-align: center;
  margin-bottom: 56px;
  padding: 0 40px;
}

.categories-section .section-title h2 {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 14px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  max-width: none;
  margin: 0;
}

.category-card {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.category-card img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s ease;
}

/* Øreringe card — bring earring stones toward the center of the crop */
.categories-grid .category-card:nth-child(2) img {
  object-position: center 25%;
}

.category-card:hover img { transform: scale(1.06); }

.category-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 40px;
  background: linear-gradient(
    to top,
    rgba(28, 43, 58, 0.72) 0%,
    rgba(28, 43, 58, 0.12) 55%,
    transparent 100%
  );
  transition: background 0.35s;
}

.category-card:hover .category-overlay {
  background: linear-gradient(
    to top,
    rgba(48, 97, 140, 0.82) 0%,
    rgba(48, 97, 140, 0.22) 55%,
    transparent 100%
  );
}

.category-overlay h3 {
  font-family: var(--font-serif);
  color: white;
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.category-overlay span {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255, 255, 255, 0.45);
  padding-bottom: 2px;
  transition: color 0.25s, border-color 0.25s;
}

.category-card:hover .category-overlay span {
  color: white;
  border-color: white;
}

/* ---- GALLERY SECTION ---- */
.gallery-section { padding: 90px 40px; }

.gallery-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  position: relative;
  display: block;
  text-decoration: none;
  color: inherit;
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(48, 97, 140, 0.72) 0%, transparent 55%);
  opacity: 0;
  transition: opacity 0.35s;
  display: flex;
  align-items: flex-end;
  padding: 20px;
  color: white;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
}

.gallery-item:hover .gallery-item-overlay { opacity: 1; }

/* ---- FOOTER ---- */
footer {
  background: var(--espresso);
  color: rgba(255, 255, 255, 0.7);
  padding: 56px 60px 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

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

footer .footer-logo img,
footer .footer-logo .custom-logo {
  height: 175px;
  opacity: 0.88;
  display: block;
}

footer p {
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  line-height: 2;
}

footer .footer-brand {
  font-weight: 300;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.90);
  margin-bottom: 10px;
}

footer .footer-info { color: rgba(255, 255, 255, 0.65); }

footer .footer-info a {
  color: rgba(255, 255, 255, 0.90);
  text-decoration: none;
  font-weight: 300;
  transition: color 0.2s;
}

footer .footer-info a:hover { color: var(--sky); }

footer .footer-links {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
}

footer .footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 0.88rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  transition: color 0.2s;
}

footer .footer-links a:hover { color: var(--sky); }

.footer-legal {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  list-style: none;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.footer-legal a:hover { color: var(--sky); }

footer .copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.3);
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

/* ---- 404 PAGE ---- */
.error-404-section {
  padding: 120px 40px;
  text-align: center;
}

.error-404-inner {
  max-width: 600px;
  margin: 0 auto;
}

.error-404-inner h2 {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 20px;
}

.error-404-inner p {
  font-size: 1rem;
  line-height: 2;
  color: #4a5a6a;
  margin-bottom: 36px;
}

.error-404-inner .search-form {
  margin-top: 30px;
  display: flex;
  gap: 10px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.error-404-inner .search-form input[type="search"] {
  flex: 1;
  padding: 13px 16px;
  border: 1px solid rgba(48, 97, 140, 0.22);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  border-radius: 2px;
}

/* ---- GENERIC PAGE CONTENT ---- */
.page-content-section {
  padding: 90px 40px;
}

.page-content-inner {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 2;
  color: #2d3e4f;
}

.page-content-inner h2,
.page-content-inner h3 {
  font-family: var(--font-serif);
  font-weight: 300;
  color: var(--navy);
  margin: 32px 0 16px;
  line-height: 1.3;
}

.page-content-inner h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.page-content-inner h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }

.page-content-inner p { margin-bottom: 22px; }

.page-content-inner a {
  color: var(--coral);
  transition: color 0.2s;
}

.page-content-inner a:hover { color: var(--navy); }

.page-content-inner ul,
.page-content-inner ol {
  margin: 0 0 22px 24px;
}

.page-content-inner h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--navy);
  margin: 0 0 14px;
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: 22px;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  line-height: 1.6;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid rgba(48, 97, 140, 0.15);
  vertical-align: top;
}

.legal-table th {
  background: rgba(48, 97, 140, 0.06);
  color: var(--navy);
  font-weight: 600;
}

/* ---- ABOUT PAGE ---- */
.about-section { padding: 90px 24px; }

.about-inner {
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-portrait {
  order: 2;
}

.about-portrait img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.14);
  display: block;
}

.portrait-accent {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--coral), var(--blue));
  margin-top: 20px;
}

.about-text {
  max-width: 640px;
  order: 1;
  margin: 0 auto;
}

.about-text h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 30px;
  line-height: 1.25;
}

.about-text p {
  font-size: 0.97rem;
  line-height: 2;
  color: #2d3e4f;
  margin-bottom: 22px;
}

.about-quote {
  border-left: 3px solid var(--coral);
  padding: 16px 0 16px 28px;
  margin: 36px 0;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--coral);
  line-height: 1.5;
}

/* ---- CONTACT PAGE ---- */
.contact-section { padding: 90px 40px; }

.contact-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 90px;
  align-items: start;
}

.contact-info h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-info > p {
  font-size: 0.95rem;
  line-height: 1.9;
  color: #4a5a6a;
  margin-bottom: 36px;
}

.contact-details {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-details li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--coral);
}

.contact-details a {
  color: var(--dark);
  text-decoration: none;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.contact-details a:hover { color: var(--coral); }

/* ---- FORMS (contact + WooCommerce checkout) ---- */
.contact-form,
.woocommerce-checkout .checkout,
.woocommerce-cart .cart-collaterals {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group,
.woocommerce-form-row {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label,
.woocommerce-form-row label {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

.form-group input,
.form-group textarea,
.form-group select,
.woocommerce-form-row input,
.woocommerce-form-row textarea,
.woocommerce-form-row select,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce textarea,
.woocommerce select {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid rgba(48, 97, 140, 0.22);
  background: rgba(255, 255, 255, 0.75);
  font-family: var(--font-sans);
  font-size: 0.92rem;
  color: var(--dark);
  border-radius: 2px;
  outline: none;
  transition: border-color 0.25s;
  appearance: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.woocommerce input:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  border-color: var(--navy);
  background: #fff;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.woocommerce input::placeholder,
.woocommerce textarea::placeholder {
  color: #aab0bc;
}

.form-group textarea { resize: vertical; min-height: 150px; }

.form-btn,
.woocommerce button[type="submit"],
.woocommerce input[type="submit"],
.woocommerce .button,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.single_add_to_cart_button,
.button.alt {
  display: inline-block;
  padding: 14px 40px;
  background: var(--navy);
  color: #fff;
  border: none;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.25s;
  text-decoration: none;
}

.form-btn:hover,
.woocommerce button[type="submit"]:hover,
.woocommerce input[type="submit"]:hover,
.woocommerce .button:hover,
.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover,
.single_add_to_cart_button:hover,
.button.alt:hover {
  background: var(--coral);
  color: #fff;
}

/* ---- SHOP PAGE ---- */
.shop-section {
  padding: 90px 40px;
  min-height: 80vh;
}

.shop-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* WooCommerce result count + ordering */
.woocommerce-result-count {
  font-size: 0.82rem;
  color: #888;
  margin-bottom: 16px;
}

.woocommerce-ordering select {
  padding: 8px 12px;
  border: 1px solid rgba(48, 97, 140, 0.22);
  border-radius: 2px;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--dark);
  background: #fff;
  cursor: pointer;
  margin-bottom: 24px;
}

/* ---- PAGINATION ---- */
.woocommerce-pagination {
  margin-top: 60px;
  display: flex;
  justify-content: center;
}

.woocommerce-pagination ul.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-pagination ul.page-numbers li {
  display: flex;
}

.woocommerce-pagination .page-numbers {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 10px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid rgba(48, 97, 140, 0.22);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.70);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.woocommerce-pagination .page-numbers:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--navy);
  color: var(--navy);
}

.woocommerce-pagination .page-numbers.current {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  pointer-events: none;
}

.woocommerce-pagination .page-numbers.next,
.woocommerce-pagination .page-numbers.prev {
  font-size: 1rem;
  letter-spacing: 0;
}

/* Shop page background — soft watery pattern from baggrund.webp */
.woocommerce.archive .shop-section,
.sj-shop .shop-section,
.sj-product-category .shop-section,
.sj-woocommerce.post-type-archive-product .shop-section {
  background-image: url('../images/baggrundgennemsigtig.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* Product grid — 3 columns, generous spacing.
   Overrides WooCommerce's .columns-2/3/4 utility classes with high specificity. */
.shop-inner .product-grid,
.shop-inner ul.products,
.shop-inner .woocommerce ul.products,
.woocommerce ul.products,
.woocommerce-page ul.products,
ul.products.columns-1,
ul.products.columns-2,
ul.products.columns-3,
ul.products.columns-4,
ul.products.columns-5,
ul.products.columns-6 {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 64px 36px !important;
  margin: 60px 0 0;
  list-style: none;
  padding: 0;
  width: 100%;
}

/* Reset WooCommerce default float/width on product list items */
.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  clear: none !important;
}

/* ---- PRODUCT CATEGORY TILES (shop page subcategory grid) ---- */
.woocommerce-loop-category__title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 500;
  font-style: normal;
  color: var(--dark);
  text-align: center;
  letter-spacing: 0.02em;
  margin: 16px 0 0;
  padding: 0;
}

/* Hide product count "(11)" and its yellow WC highlight */
.woocommerce-loop-category__title .count,
.woocommerce-loop-category__title mark.count {
  display: none !important;
}

/* Product card */
.product-card,
ul.products li.product {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
  text-align: center;
  position: relative;
}

.product-card-link,
ul.products li.product > a {
  display: block;
  text-decoration: none !important;
  color: inherit;
}

/* Image frame — preserves full aspect ratio so necklaces aren't cropped */
.product-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  margin-bottom: 22px;
  background: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-card-image img,
.product-card img.wp-post-image,
ul.products li.product img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform 1.1s ease;
  margin: 0;
  padding: 4%;
}

.product-card:hover .product-card-image img,
ul.products li.product:hover img {
  transform: scale(1.03);
}

/* Sold-out badge (WooCommerce adds .outofstock class) */
.product-card.outofstock .product-card-image::after,
ul.products li.product.outofstock .product-card-image::after {
  content: 'Udsolgt';
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy);
  padding: 6px 14px;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 20px;
  font-family: var(--font-sans);
  font-weight: 500;
  z-index: 2;
}

/* Title + price — centered Lora */
.product-card-meta {
  padding: 0 8px;
  text-align: center;
}

.product-card-meta h3,
.product-card .woocommerce-loop-product__title,
ul.products li.product h2.woocommerce-loop-product__title,
ul.products li.product .woocommerce-loop-product__title {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 500;
  font-style: normal;
  color: var(--dark);
  margin: 0 0 8px;
  padding: 0;
  letter-spacing: 0.01em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.product-card-meta h3 a,
.product-card .woocommerce-loop-product__title a,
ul.products li.product .woocommerce-loop-product__title a {
  text-decoration: none !important;
  color: inherit;
  background-image: none !important;
  border-bottom: none !important;
}

.product-card .price,
ul.products li.product .price {
  display: block;
  padding: 0;
  margin: 0;
  font-family: 'Lora', Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: none;
  text-align: center;
  color: var(--navy);
  text-decoration: none;
}

.product-card .price del,
ul.products li.product .price del {
  opacity: 0.5;
  margin-right: 8px;
  font-size: 0.92rem;
  text-decoration: line-through;
}

/* Hide loop add-to-cart, short description, ratings on the grid */
ul.products li.product .button,
ul.products li.product .add_to_cart_button,
ul.products li.product .woocommerce-product-details__short-description,
ul.products li.product .star-rating {
  display: none !important;
}

.coming-soon-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 6px 16px;
  background: #EDF4FA;
  color: var(--navy);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 20px;
}

/* ---- SINGLE PRODUCT ---- */
.sj-single-product .shop-section { min-height: unset; }

.single-product-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 80px;
  align-items: start;
  padding-bottom: 60px;
}

/* WooCommerce product gallery — fills its column for a luxury, large feel */
.single-product-gallery {
  width: 100%;
}

.woocommerce-product-gallery {
  position: relative;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* Main image — fixed 4:5 frame so it visually aligns with the heading column */
.woocommerce-product-gallery__wrapper {
  width: 100%;
  margin: 0;
}

.woocommerce-product-gallery__image {
  display: block;
  width: 100%;
  background: #f4f1ec;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  position: relative;
}

.woocommerce-product-gallery__image > a {
  display: block;
  width: 100%;
  height: 100%;
}

.woocommerce-product-gallery__image img,
.woocommerce-product-gallery__image--placeholder img,
.flex-viewport .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover;
  object-position: center;
  display: block;
  margin: 0 !important;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.08);
}

/* Hide non-active slides when JS hasn't initialized (FlexSlider stack) */
.woocommerce-product-gallery--with-images
  .woocommerce-product-gallery__wrapper
  > .woocommerce-product-gallery__image:nth-child(n+2) {
  display: none;
}
.woocommerce-product-gallery.flexslider-enabled
  .woocommerce-product-gallery__wrapper
  > .woocommerce-product-gallery__image:nth-child(n+2) {
  display: block;
}

/* Zoom magnifier icon */
.woocommerce-product-gallery__trigger {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 5;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  text-decoration: none;
  color: var(--navy);
  font-size: 1rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  transition: background 0.2s;
}

.woocommerce-product-gallery__trigger:hover {
  background: #fff;
}

/* Thumbnail row beneath main image */
.flex-control-thumbs {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 14px 0 0;
  padding: 0;
}

.flex-control-thumbs li {
  cursor: pointer;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #f4f1ec;
}

.flex-control-thumbs li img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.65;
  transition: opacity 0.2s;
  display: block;
}

.flex-control-thumbs li img.flex-active,
.flex-control-thumbs li img:hover {
  opacity: 1;
}

.flex-viewport {
  overflow: hidden;
}

/* Single product summary */
.single-product-summary .product_title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 300;
  color: var(--dark);
  margin-bottom: 16px;
  line-height: 1.2;
}

.single-product-summary .price {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--navy);
  margin-bottom: 20px;
  display: block;
}

.single-product-summary .price del { opacity: 0.55; font-size: 1.2rem; }

.single-product-summary .woocommerce-product-details__short-description {
  font-size: 0.95rem;
  line-height: 2;
  color: #4a5a6a;
  margin-bottom: 28px;
}

/* Quantity input */
.quantity {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.quantity .qty {
  width: 70px;
  text-align: center;
  padding: 10px;
  border: 1px solid rgba(48, 97, 140, 0.22);
  border-radius: 2px;
  font-size: 1rem;
  font-family: var(--font-sans);
}

/* Quantity +/- buttons (added by woocommerce.js) */
.qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: none;
  border: 1px solid rgba(48, 97, 140, 0.22);
  border-radius: 2px;
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--navy);
  transition: background 0.2s, color 0.2s;
  line-height: 1;
}

.qty-btn:hover {
  background: var(--navy);
  color: #fff;
}

/* Star ratings */
.star-rating {
  display: inline-block;
  overflow: hidden;
  position: relative;
  height: 1em;
  line-height: 1;
  font-size: 1em;
  width: 5.4em;
  font-family: "star";
  font-weight: 900;
}

.star-rating::before {
  content: '\53\53\53\53\53';
  opacity: 0.25;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}

.star-rating span { overflow: hidden; float: left; top: 0; left: 0; position: absolute; }
.star-rating span::before { content: '\53\53\53\53\53'; top: 0; position: absolute; color: var(--coral); }

/* Product tabs (description, reviews) */
.woocommerce-tabs {
  margin-top: 60px;
  border-top: 1px solid rgba(48, 97, 140, 0.12);
  padding-top: 40px;
}

.woocommerce-tabs ul.tabs {
  list-style: none;
  display: flex;
  gap: 0;
  margin-bottom: 32px;
  border-bottom: 1px solid rgba(48, 97, 140, 0.12);
}

.woocommerce-tabs ul.tabs li {
  padding: 12px 28px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  transition: color 0.2s, border-color 0.2s;
  color: #888;
}

.woocommerce-tabs ul.tabs li.active,
.woocommerce-tabs ul.tabs li:hover {
  color: var(--navy);
  border-bottom-color: var(--coral);
}

.woocommerce-tabs ul.tabs li a {
  text-decoration: none;
  color: inherit;
}

.woocommerce-Tabs-panel {
  font-size: 0.95rem;
  line-height: 2;
  color: #4a5a6a;
}

/* Related products */
.related.products {
  margin-top: 60px;
  border-top: 1px solid rgba(48, 97, 140, 0.12);
  padding-top: 40px;
}

.related.products > h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 32px;
}

/* ---- WOOCOMMERCE NOTICES ---- */
.woocommerce-notices-wrapper { margin-bottom: 24px; }

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  list-style: none;
  padding: 16px 20px;
  margin-bottom: 20px;
  border-radius: 2px;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
}

.woocommerce-message {
  background: #e8f5e9;
  border-left: 4px solid #66bb6a;
  color: #2e7d32;
}

.woocommerce-info {
  background: #EDF4FA;
  border-left: 4px solid var(--blue);
  color: var(--navy);
}

.woocommerce-error {
  background: #fff3f3;
  border-left: 4px solid #ef5350;
  color: #c62828;
}

/* ---- CART ---- */
.woocommerce-cart .shop-section { padding: 90px 40px; }

.cart-table-wrapper { overflow-x: auto; }

table.woocommerce-cart-form__contents,
table.shop_table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

table.woocommerce-cart-form__contents th,
table.shop_table th {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 2px solid rgba(48, 97, 140, 0.12);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}

table.woocommerce-cart-form__contents td,
table.shop_table td {
  padding: 16px;
  border-bottom: 1px solid rgba(48, 97, 140, 0.08);
  vertical-align: middle;
}

.cart-collaterals {
  margin-top: 40px;
  display: flex;
  justify-content: flex-end;
}

.cart_totals {
  width: 100%;
  max-width: 420px;
}

.cart_totals h2 {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 20px;
}

.cart_totals table { width: 100%; border-collapse: collapse; }
.cart_totals table th,
.cart_totals table td {
  padding: 12px 0;
  border-bottom: 1px solid rgba(48, 97, 140, 0.08);
  font-size: 0.9rem;
}

.wc-proceed-to-checkout {
  margin-top: 24px;
}

.wc-proceed-to-checkout .checkout-button {
  display: block;
  text-align: center;
  width: 100%;
  padding: 16px;
  font-size: 0.82rem;
}

/* ---- CHECKOUT ---- */
.woocommerce-checkout .shop-section { padding: 90px 40px; }

.woocommerce-checkout .col2-set {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.woocommerce-checkout #order_review_heading {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  color: var(--navy);
  margin-bottom: 20px;
  margin-top: 40px;
}

/* ---- CHECKOUT: order summary block (WooCommerce Blocks) ---- */
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name {
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.4;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-name::after {
  content: '\25BE';
  font-size: 0.7em;
  color: rgba(28, 43, 58, 0.5);
  transition: transform 0.2s ease;
}

.wp-block-woocommerce-checkout-order-summary-block .sj-desc-open .wc-block-components-product-name::after {
  transform: rotate(180deg);
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-product-metadata,
.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__description {
  font-size: 0.8rem;
  line-height: 1.5;
  display: none;
}

.wp-block-woocommerce-checkout-order-summary-block .sj-desc-open .wc-block-components-product-metadata,
.wp-block-woocommerce-checkout-order-summary-block .sj-desc-open .wc-block-components-order-summary-item__description {
  display: block;
  margin-top: 6px;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item {
  align-items: flex-start;
  gap: 12px;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__image {
  flex-shrink: 0;
}

.wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary-item__total-price {
  font-size: 0.88rem;
  white-space: nowrap;
}

/* ---- MY ACCOUNT ---- */
.woocommerce-account .shop-section { padding: 90px 40px; }

.woocommerce-MyAccount-navigation {
  margin-bottom: 32px;
}

.woocommerce-MyAccount-navigation ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.woocommerce-MyAccount-navigation ul a {
  display: block;
  padding: 10px 20px;
  border: 1px solid rgba(48, 97, 140, 0.22);
  color: var(--navy);
  text-decoration: none;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background 0.2s, color 0.2s;
}

.woocommerce-MyAccount-navigation ul .is-active a,
.woocommerce-MyAccount-navigation ul a:hover {
  background: var(--navy);
  color: #fff;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .single-product-inner { grid-template-columns: 1fr; gap: 40px; }
  .woocommerce-product-gallery { position: static; }
  .woocommerce-checkout .col2-set { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 780px) {
  .shop-inner .product-grid,
  .shop-inner ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  ul.products.columns-1,
  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 48px 28px !important;
  }
}

@media (max-width: 480px) {
  .shop-inner .product-grid,
  .shop-inner ul.products,
  .woocommerce ul.products,
  .woocommerce-page ul.products,
  ul.products.columns-1,
  ul.products.columns-2,
  ul.products.columns-3,
  ul.products.columns-4 {
    grid-template-columns: 1fr !important;
    gap: 48px !important;
  }
}

@media (max-width: 960px) {
  nav { padding: 12px 20px; }
  .nav-links { gap: 20px; }

  .color-block {
    grid-template-columns: 1fr;
    height: auto;
    min-height: unset;
  }

  .color-block.reverse { direction: ltr; }
  .color-block:not(.reverse) .block-img { order: -1; }
  .block-img { height: 280px; }
  .block-text { height: auto; padding: 48px 32px; }

  .categories-grid {
    grid-template-columns: 1fr;
    max-width: none;
    gap: 4px;
  }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-portrait { position: static; }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-section { padding: 60px 20px; }
}

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

  .nav-search-form { padding: 90px 20px 22px; }
  .nav-search-form .search-form { flex-direction: column; }

  .hero-content h1 { font-size: 2.4rem; }

  .page-hero h1 { text-align: center; padding: 0 24px; }

  .gallery-section,
  .shop-section,
  .about-section { padding: 60px 20px; }

  .categories-section { padding: 60px 0; }
  .categories-section .section-title { padding: 0 20px; }

  footer { padding: 44px 24px 28px; }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .footer-inner .footer-right { order: -1; }

  .woocommerce-cart .shop-section,
  .woocommerce-checkout .shop-section { padding: 60px 20px; }
}
