@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&display=swap");

:root {
  --radius: 0.75rem;
  --brand-orange: #E84325;
  --brand-coral: #E8795A;
  --brand-yellow: #F6C342;
  /*--cream: #FBDEB0;*/
  --cream: #f9ecdb;
  --cream-deep: #f0d09a;
  /*--brand-ink: #2B2D31;*/
  --brand-ink: #000;
  --background: var(--cream);
  --foreground: var(--brand-ink);
  --card: #f5d9a0;
  --card-foreground: var(--brand-ink);
  --primary: var(--brand-orange);
  --primary-foreground: #fff8ee;
  --secondary: var(--brand-yellow);
  --secondary-foreground: var(--brand-ink);
  --muted: var(--cream-deep);
  --muted-foreground: #5a4d3a;
  --border: #d9c494;
  --input: #e2cf9e;
  --ring: var(--brand-orange);
}

* { box-sizing: border-box; margin: 0; padding: 0; border-color: var(--border); }

body {
  background-color: var(--background);
  color: var(--foreground);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

h1, h2, h3, h4, .font-display {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  letter-spacing: 0.01em;
  line-height: 1.1;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: 80rem; margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 3rem; border-radius: 9999px; padding: 0 1.75rem;
  font-weight: 500; font-size: 0.875rem; transition: opacity 0.2s;
  cursor: pointer; border: none; gap: 0.5rem;
}
.btn:hover { opacity: 0.9; }
.btn-primary { background: var(--primary); color: var(--primary-foreground); }
.btn-secondary { background: var(--secondary); color: var(--secondary-foreground); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--foreground); }
.btn-outline:hover { background: var(--muted); }

/* Top bar */
.top-bar {
  background: var(--primary); color: var(--primary-foreground);
  font-size: 0.6875rem; letter-spacing: 0.18em; text-transform: uppercase;
  text-align: center; padding: 0.5rem 0.75rem;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
}
.top-bar svg { width: 14px; height: 14px; }
@media (min-width: 768px) { .top-bar { font-size: 0.75rem; } }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  /*background: rgba(251, 222, 176, 0.85);*/
  background: var(--background);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 196, 148, 0.6);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 4rem; max-width: 80rem; margin: 0 auto; padding: 0 1.25rem;
}
@media (min-width: 768px) { .header-inner { height: 5rem; padding: 0 2rem; } }
.header-logo img { height: 2.25rem; width: auto; }
@media (min-width: 768px) { .header-logo img { height: 2.75rem; } }
.header-nav { display: none; gap: 2rem; }
@media (min-width: 768px) { .header-nav { display: flex; } }

/*new menu*/

.footer-links > li,
.header-nav > li {
    list-style: none;
    margin: 0;
    padding: 0;
}


.header-nav > li {
    position: relative;
    list-style: none;
}

.header-nav .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    padding: 14px 0;
    margin: 0;
    list-style: none;
    background: #fff;
    z-index: 999;
}

.header-nav li:hover > .sub-menu,
.header-nav li.is-open > .sub-menu {
    display: block;
}

.header-nav .sub-menu li {
    list-style: none;
    margin: 0;
}

.header-nav .sub-menu a {
    display: block;
    padding: 8px 18px;
    white-space: nowrap;
}

@media (max-width: 991px) {
	.mobile-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav .sub-menu {
    display: none;
    margin: 8px 0 8px 16px;
    padding: 0;
    list-style: none;
}

.mobile-nav li.is-open > .sub-menu {
    display: block;
}

.mobile-nav .menu-item-has-children > a::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform 0.2s ease;
}

.mobile-nav .menu-item-has-children.is-open > a::after {
    transform: rotate(225deg) translate(-2px, -1px);
}

.mobile-nav .sub-menu a {
    display: block;
    padding: 6px 0;
    font-size: 14px;
}
}

.header-nav > li > a,/*new menu*/
.header-nav a {
  font-size: 0.875rem; font-weight: 500;
  color: var(--foreground); opacity: 0.8; transition: color 0.2s, opacity 0.2s;
}
.header-nav a:hover { color: var(--primary); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 0.75rem; }
.header-icon-btn {
  display: none; width: 2.25rem; height: 2.25rem;
  align-items: center; justify-content: center;
  border-radius: 9999px; background: none; border: none;
  cursor: pointer; color: var(--foreground); opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}
.header-icon-btn:hover { color: var(--primary); opacity: 1; }
@media (min-width: 640px) { .header-icon-btn { display: inline-flex; } }
.header-cart {
  position: relative; display: none; width: 2.25rem; height: 2.25rem;
  align-items: center; justify-content: center;
  border-radius: 9999px; background: none; border: none;
  cursor: pointer; color: var(--foreground); opacity: 0.8;
  transition: color 0.2s, opacity 0.2s;
}
.header-cart:hover { color: var(--primary); opacity: 1; }
@media (min-width: 640px) { .header-cart { display: inline-flex; } }
.header-cart .cart-count {
  position: absolute; top: -2px; right: -2px;
  background: var(--primary); color: var(--primary-foreground);
  font-size: 0.625rem; min-width: 1.125rem; height: 1.125rem;
  padding: 0 0.25rem; border-radius: 9999px;
  display: flex; align-items: center; justify-content: center; font-weight: 500;
}
.header-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border-radius: 9999px; background: var(--primary); color: var(--primary-foreground);
  padding: 0 1.25rem; height: 2.5rem; font-size: 0.875rem; font-weight: 500;
  border: none; cursor: pointer; text-decoration: none;
  transition: opacity 0.2s;
}
.header-cta:hover { opacity: 0.9; }
.mobile-menu-btn { display: block; background: none; border: none; cursor: pointer; color: var(--foreground); }
@media (min-width: 768px) { .mobile-menu-btn { display: none; } }
.mobile-nav {
  display: none; flex-direction: column; gap: 1rem; padding: 1rem 1.25rem 1.5rem;
  border-top: 1px solid var(--border); background: var(--background);
}
.mobile-nav.active { display: flex; }
.mobile-nav a {
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--foreground);
}

/* Menu Image plugin support */
.header-nav a,
.mobile-nav a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.header-nav > li > a {
  display: inline-flex;
}

.header-nav .sub-menu a,
.mobile-nav .sub-menu a {
  display: flex;
}

.header-nav a img,
.mobile-nav a img,
.header-nav .menu-image,
.mobile-nav .menu-image {
  width: 1.05rem;
  height: 1.05rem;
  max-width: 1.05rem;
  max-height: 1.05rem;
  object-fit: contain;
  flex: 0 0 auto;
  display: inline-block;
}

.header-nav .sub-menu a img,
.header-nav .sub-menu .menu-image {
  width: 1rem;
  height: 1rem;
  max-width: 1rem;
  max-height: 1rem;
}

.header-nav .menu-image-title,
.mobile-nav .menu-image-title {
  display: inline-block;
}

/* Search overlay */
.header-search-overlay {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: rgba(251, 222, 176, 0.95); backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 0;
}
.header-search-inner {
  max-width: 48rem; margin: 0 auto; padding: 0 1.25rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.header-search-form {
  flex: 1; display: flex; align-items: center;
  background: rgba(255,255,255,0.6); border: 1px solid var(--border);
  border-radius: 9999px; overflow: hidden; height: 3rem;
}
.header-search-form input {
  flex: 1; height: 100%; border: none; background: none;
  padding: 0 1.25rem; font-family: inherit; font-size: 0.9375rem;
  outline: none; color: var(--foreground);
}
.header-search-form input::placeholder { color: var(--muted-foreground); }
.header-search-form button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 100%; background: none; border: none;
  color: var(--foreground); cursor: pointer;
}
.header-search-form button:hover { color: var(--primary); }
.header-search-close {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; border-radius: 9999px;
  background: none; border: none; cursor: pointer;
  color: var(--foreground); opacity: 0.7;
}
.header-search-close:hover { opacity: 1; color: var(--primary); }

/* Hero */
.hero {
  position: relative; background: var(--primary); color: var(--primary-foreground);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; background-size: cover;
  background-position: center;
}
@media (min-width: 768px) { .hero-bg { background-position: right; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(235,63,28,0.8), rgba(235,63,28,0.4), transparent);
}
@media (min-width: 768px) {
  .hero-overlay { background: linear-gradient(to right, rgba(235,63,28,0.7), rgba(235,63,28,0.2), transparent); }
}
.hero-content {
  position: relative; z-index: 10; max-width: 80rem; margin: 0 auto;
  padding: 3rem 1.25rem; min-height: 520px;
  display: flex; align-items: center;
}
@media (min-width: 768px) { .hero-content { padding: 5rem 2.5rem; } }
.hero-text { max-width: 32rem; }
.hero-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em;
  margin-bottom: 1.25rem; opacity: 0.9; color: var(--secondary);
}
.hero-title { font-size: 3.25rem; color: var(--secondary); line-height: 0.95; font-weight: 700; }
@media (min-width: 768px) { .hero-title { font-size: 5rem; } }
.hero-desc { margin-top: 1.5rem; font-size: 1.125rem; opacity: 0.95; max-width: 28rem; }
.hero-actions { margin-top: 1.75rem; display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem; }
.hero-link {
  font-size: 0.875rem; color: var(--primary-foreground);
  text-decoration: underline; text-underline-offset: 4px;
}
.hero-link:hover { opacity: 0.8; }

/* Slider dots */
.slider-dots { display: flex; gap: 0.5rem; justify-content: center; margin-top: 1.5rem; }
.slider-dot { height: 6px; border-radius: 9999px; background: var(--foreground); opacity: 0.3; }
.slider-dot.active { width: 1.5rem; background: var(--primary); opacity: 1; }
.slider-dot:not(.active) { width: 6px; }

/* Features strip */
.features-strip { background: var(--background); }
.features-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  text-align: center; gap: 2rem 0; padding: 2.5rem 0;
}
@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(4, 1fr); }
  .features-grid > div { border-right: 1px solid var(--border); }
  .features-grid > div:last-child { border-right: none; }
}
.features-grid .feature-icon { color: var(--primary); margin: 0 auto 0.5rem; }
.features-grid h3 { font-size: 0.875rem; font-weight: 600; font-family: "IBM Plex Sans", sans-serif; }
.features-grid p { font-size: 0.75rem; color: var(--muted-foreground); }

/* Products grid */
.products-section { background: var(--background); padding: 4rem 0 5rem; }
.products-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; gap: 1.5rem; flex-wrap: wrap;
}
.products-header .section-label {
  font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em;
  color: var(--muted-foreground); margin-bottom: 0.75rem;
}
.products-header h2 { font-size: 2rem; font-weight: 700; }
@media (min-width: 768px) { .products-header h2 { font-size: 3.25rem; } }
.products-header a {
  font-size: 0.875rem; font-weight: 500; display: inline-flex;
  align-items: center; gap: 0.25rem;
}
.products-header a:hover { color: var(--primary); }
.products-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 640px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .products-grid { grid-template-columns: repeat(6, 1fr); } }

/* Product card */
.product-card {
  display: flex; flex-direction: column; height: 100%;
  border-radius: 1rem; border: 1px solid var(--border);
  background: rgba(255,255,255,0.5); overflow: hidden;
  transition: box-shadow 0.3s, border-color 0.3s;
}
.product-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); border-color: rgba(235,63,28,0.4); }
.product-card-image {
  position: relative; aspect-ratio: 4/5; overflow: hidden;
  background: var(--cream-deep);
}
.product-card-image img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; transition: opacity 0.5s;
}
.product-card-image .hover-img { opacity: 0; }
.product-card:hover .product-card-image .main-img { opacity: 0; }
.product-card:hover .product-card-image .hover-img { opacity: 1; }
.product-card-body {
  display: flex; flex: 1; flex-direction: column; gap: 0.5rem;
  padding: 1rem; text-align: center;
}
.product-card-body h3 { font-size: 0.875rem; line-height: 1.3; }
.product-card-body .product-type { font-size: 0.75rem; color: var(--muted-foreground); }
.product-card-body .product-price {
  font-family: "IBM Plex Sans", sans-serif; font-size: 1.125rem; color: var(--primary);
  margin-top: auto; padding-top: 0.75rem;
  display: flex; align-items: baseline; justify-content: center; gap: 0.55rem; flex-wrap: wrap;
}
.product-card-body .product-price del {
  color: var(--foreground);
  opacity: 1;
}
.product-card-body .product-price del .amount {
  color: inherit;
}
.product-card-body .product-price ins {
  color: var(--primary);
  font-weight: 700;
  text-decoration: none;
}
.product-card-body .product-price ins .amount {
  color: inherit;
  font-weight: inherit;
}
.product-card-body .btn { font-size: 0.75rem; letter-spacing: 0.1em; }

/* Harmony section */
.harmony-section {
  position: relative; background: var(--secondary); color: var(--secondary-foreground);
  overflow: hidden; padding: 4rem 0 5rem;
}
.harmony-section .bg-pattern {
  position: absolute; inset: 0; opacity: 0.4;
  background-image: url('../images/pattern-yellow.png');
  background-size: 520px auto; background-repeat: repeat;
}
.harmony-grid { display: grid; gap: 2.5rem; }
/*@media (min-width: 768px) { .harmony-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; } }*/
@media (min-width: 768px) { .harmony-grid { grid-template-columns: 0.7fr 1fr; gap: 3.5rem; align-items: center; } }
.harmony-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
@media (min-width: 768px) { .harmony-cards { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.harmony-card {
  border-radius: 1rem; background: rgba(255,255,255,0.5);
  backdrop-filter: blur(8px); padding: 1.25rem; text-align: center;
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem; min-height: 150px; justify-content: center;
}
.harmony-card svg { color: var(--primary); width: 2.5rem; height: 2.5rem; }
.harmony-card p { font-size: 1rem; line-height: 1.3; }
.harmony-section h2 { font-size: 2rem; }
@media (min-width: 768px) { .harmony-section h2 { font-size: 3.25rem; } }

/* Wine world section */
.wine-world { background: var(--background); padding: 4rem 0 6rem; }
.wine-world-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .wine-world-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; } }
.wine-world-text h2 { font-size: 2rem; }
@media (min-width: 768px) { .wine-world-text h2 { font-size: 3.25rem; } }
.wine-world-text p { color: var(--muted-foreground); line-height: 1.7; margin-top: 1rem; }
.wine-world-text p:first-of-type { margin-top: 1.5rem; }
.wine-world img { border-radius: 2rem; box-shadow: 0 8px 30px rgba(0,0,0,0.12); object-fit: cover; width: 100%; aspect-ratio: 4/3; }
.wine-world-carousel {
  display: grid;
  gap: 1rem;
  cursor: grab;
  touch-action: pan-y;
}
.wine-world-carousel.is-swiping {
  cursor: grabbing;
}
.wine-world-stage {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  /*aspect-ratio: 4 / 3;*/
  aspect-ratio: 1;
  background: var(--cream-deep);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}
.wine-world-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.wine-world-stage img.is-active {
  opacity: 1;
  transform: scale(1);
}
.wine-world-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}
.wine-world-controls button {
  width: 0.65rem;
  height: 0.65rem;
  border: 0;
  border-radius: 9999px;
  background: var(--foreground);
  opacity: 0.25;
  cursor: pointer;
  transition: width 0.2s ease, opacity 0.2s ease, background 0.2s ease;
}
.wine-world-controls button.is-active {
  width: 1.65rem;
  background: var(--primary);
  opacity: 1;
}
@media (max-width: 767px) {
  .wine-world-stage {
    border-radius: 1.25rem;
  }
}

/* No compromise section */
.no-compromise { background: rgba(240, 208, 154, 0.6); padding: 4rem 0; text-align: center; }
.no-compromise .section-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.3em; color: var(--muted-foreground); margin-bottom: 1rem; }
.no-compromise h2 { font-size: 2rem; }
@media (min-width: 768px) { .no-compromise h2 { font-size: 3.25rem; } }
.no-compromise p { margin-top: 1.25rem; color: var(--muted-foreground); max-width: 42rem; margin-left: auto; margin-right: auto; font-size: 1.125rem; }
.no-compromise .btn { margin-top: 2rem; }

/* Newsletter */
.newsletter {
  background: var(--primary); color: var(--primary-foreground);
  position: relative; overflow: hidden; padding: 3rem 0 4rem; text-align: center;
}
.newsletter .bg-pattern {
  position: absolute; inset: 0; opacity: 0.2;
  background-image: url('../images/pattern-orange.png');
  background-size: 520px auto; background-repeat: repeat;
}
.newsletter-inner { position: relative; z-index: 1; max-width: 48rem; margin: 0 auto; }
.newsletter h2 { font-size: 1.5rem; }
@media (min-width: 768px) { .newsletter h2 { font-size: 1.875rem; } }
.newsletter p { font-size: 0.875rem; opacity: 0.9; margin-top: 0.5rem; }
.newsletter-form { margin-top: 1.5rem; max-width: 42rem; margin-left: auto; margin-right: auto; }
.newsletter-form .tnp,
.newsletter-form .tnp-subscription { width: 100%; }
.newsletter-form .tnp-subscription form,
.newsletter-form form {
  width: 100%;
  display: grid;
  gap: 0.75rem;
  align-items: start;
}
@media (min-width: 640px) {
  .newsletter-form .tnp-subscription form,
  .newsletter-form form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.newsletter-form .tnp-field { margin: 0 !important; }
.newsletter-form .tnp-field-firstname,
.newsletter-form .tnp-field-email { min-width: 0; }
.newsletter-form .tnp-field-email {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 36rem;
  margin-left: auto !important;
  margin-right: auto !important;
}
.newsletter-form .tnp-field-firstname label,
.newsletter-form .tnp-field-email label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: left;
  color: rgba(255, 248, 238, 0.92);
}
.newsletter-form .tnp-field-email label {
  display: none;
}
.newsletter-form input[type="email"],
.newsletter-form input[type="text"],
.newsletter-form > input[type="email"] {
  width: 100%; height: 3rem; border-radius: 9999px;
  background: var(--background); color: var(--foreground);
  padding: 0 1.25rem; border: none; outline: none;
}
.newsletter-form input[type="email"]::placeholder,
.newsletter-form input[type="text"]::placeholder,
.newsletter-form > input[type="email"]::placeholder { color: var(--muted-foreground); }
.newsletter-form input[type="email"]:focus,
.newsletter-form input[type="text"]:focus,
.newsletter-form > input[type="email"]:focus { box-shadow: 0 0 0 2px var(--secondary); }
.newsletter-form .tnp-privacy-field {
  text-align: left;
}
@media (min-width: 640px) {
  .newsletter-form .tnp-privacy-field,
  .newsletter-form .tnp-field-button { grid-column: 1 / -1; }
}
.newsletter-form .tnp-privacy-field label {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.875rem;
  line-height: 1.45;
  text-align: left;
  color: rgba(255, 248, 238, 0.94);
}
.newsletter-form .tnp-privacy-field a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}
.newsletter-form .tnp-privacy {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  accent-color: var(--secondary);
  flex: 0 0 auto;
}
.newsletter-form .tnp-field-button {
  text-align: center !important;
}
.newsletter-form .tnp-submit,
.newsletter-form button[type="submit"] {
  height: 3rem; border-radius: 9999px; padding: 0 1.75rem;
  border: none !important; outline: none; cursor: pointer;
  background: var(--secondary) !important; color: var(--secondary-foreground) !important;
  font-weight: 500; font-size: 0.875rem; transition: opacity 0.2s;
  width: 100% !important; -webkit-appearance: none; appearance: none;
}
.newsletter-form .tnp-submit:hover,
.newsletter-form button[type="submit"]:hover { opacity: 0.9; }
@media (min-width: 640px) {
  .newsletter-form .tnp-submit,
  .newsletter-form button[type="submit"] {
    width: auto !important;
    white-space: nowrap;
  }
}

/* Reviews */
.reviews-section { background: var(--background); padding: 4rem 0 5rem; }
.reviews-grid { display: grid; gap: 2.5rem; }
@media (min-width: 768px) { .reviews-grid { grid-template-columns: 1fr 3fr; gap: 3rem; align-items: start; } }
.reviews-score { text-align: center; }
@media (min-width: 768px) { .reviews-score { text-align: left; } }
.reviews-score .score { font-size: 3rem; }
@media (min-width: 768px) { .reviews-score .score { font-size: 3.75rem; } }
.reviews-score .score span { font-size: 1.25rem; color: var(--muted-foreground); }
.reviews-stars { display: flex; gap: 0.25rem; color: var(--primary); margin-top: 0.75rem; }
@media (min-width: 768px) { .reviews-stars { justify-content: flex-start; } }
.reviews-score .reviews-count { font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.75rem; }
.reviews-cards { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .reviews-cards { grid-template-columns: repeat(3, 1fr); } }
.review-card {
  display: flex; flex-direction: column; gap: 0.75rem;
  border-radius: 1rem; border: 1px solid var(--border); background: var(--background);
  padding: 1.25rem;
}
.review-card .stars { display: flex; gap: 0.25rem; color: var(--primary); }
.review-card .text { font-size: 0.875rem; color: var(--muted-foreground); font-style: italic; line-height: 1.6; }
.review-card .author { font-size: 0.875rem; font-weight: 600; }

/* Footer */
.site-footer { background: var(--primary); color: var(--primary-foreground); margin-top: 6rem; }
.footer-grid {
  display: grid; gap: 2.5rem; padding: 3.5rem 0;
}
@media (min-width: 768px) { .footer-grid { grid-template-columns: 2fr 1fr 1fr; } }
/*new foot*/
@media (max-width: 767px) {
    .footer-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 2rem 1.5rem;
    }

    .footer-grid > *:first-child {
        grid-column: 1 / -1;
    }
}
/*new foot*/
.footer-logo img { height: 3rem; width: auto; filter: brightness(0) invert(1); opacity: 0.95; }
.footer-desc { font-size: 0.875rem; max-width: 24rem; opacity: 0.9; margin-top: 1rem; line-height: 1.6; }
.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  display: flex; align-items: center; justify-content: center;
  width: 2rem; height: 2rem; border-radius: 9999px;
  background: rgba(255,255,255,0.1); transition: background 0.2s, opacity 0.2s;
  color: var(--primary-foreground);
}
.footer-social a:hover { background: rgba(255,255,255,0.2); opacity: 1; }
.footer-social svg { width: 1.125rem; height: 1.125rem; }
.footer-heading {
  font-family: "IBM Plex Sans", sans-serif; font-size: 0.875rem;
  text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-links a, .footer-links span { font-size: 0.875rem; opacity: 0.9; }
.footer-links a:hover { opacity: 1; text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.2); padding: 1.25rem 0;
  font-size: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem;
  opacity: 0.8;
}
@media (min-width: 768px) { .footer-bottom { flex-direction: row; justify-content: space-between; } }

/* Page templates */
.page-header { padding: 4rem 0 2.5rem; }
.page-header .section-label {
  font-size: 0.875rem; text-transform: uppercase; letter-spacing: 0.2em;
  color: var(--primary); margin-bottom: 0.75rem;
}
.page-header h1 { font-size: 2.75rem; }
@media (min-width: 768px) { .page-header h1 { font-size: 4rem; } }
.page-header p { margin-top: 1rem; color: var(--muted-foreground); font-size: 1.125rem; max-width: 36rem; }

/* Contact */
.contact-cards { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .contact-cards { grid-template-columns: repeat(3, 1fr); } }
.contact-card {
  border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem;
}
.contact-card svg { color: var(--primary); margin-bottom: 0.75rem; }
.contact-card .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted-foreground); }
.contact-card .value { font-size: 1.25rem; margin-top: 0.25rem; }
.contact-form { margin-top: 3.5rem; max-width: 36rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-form .form-row { display: grid; gap: 1rem; }
@media (min-width: 640px) { .contact-form .form-row { grid-template-columns: 1fr 1fr; } }
.contact-form input {
  height: 3rem; border-radius: 9999px; background: var(--card);
  border: 1px solid var(--border); padding: 0 1.25rem; outline: none;
  font-family: inherit; font-size: 0.875rem;
}
.contact-form input:focus { border-color: var(--primary); }
.contact-form textarea {
  border-radius: 1.5rem; background: var(--card);
  border: 1px solid var(--border); padding: 1.25rem; outline: none;
  font-family: inherit; font-size: 0.875rem; resize: vertical;
}
.contact-form textarea:focus { border-color: var(--primary); }

/* Contact page - service layout */
.contact-page {
  max-width: 76rem;
  padding-top: 2.5rem;
  padding-bottom: 6rem;
}
.contact-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}
.contact-breadcrumb a:hover {
  color: var(--primary);
}
.contact-title {
  margin-bottom: 1.5rem;
  font-size: 2rem;
}
.contact-layout {
  display: grid;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) {
  .contact-layout {
    grid-template-columns: minmax(20rem, 30rem) minmax(22rem, 1fr);
    gap: 5rem;
  }
}
.contact-form-panel {
  background: rgba(255,255,255,0.34);
  border: 1px solid rgba(217, 196, 148, 0.65);
  padding: 1.5rem;
}
.contact-form-panel h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
}
.contact-form.contact-form-compact {
  max-width: none;
  margin-top: 0;
  gap: 0.8rem;
}
.contact-form-compact form,
.contact-form-compact .wpcf7-form {
  display: grid;
  gap: 0.8rem;
}
.contact-form-compact label {
  display: grid;
  gap: 0.28rem;
}
.contact-form-compact .wpcf7-form-control-wrap {
  display: block;
}
.contact-form-compact label span {
  font-size: 0.78rem;
  font-weight: 600;
}
.contact-form-compact input,
.contact-form-compact select,
.contact-form-compact textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(255,255,255,0.72);
  color: var(--foreground);
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
}
.contact-form-compact input,
.contact-form-compact select {
  height: 2.35rem;
  padding: 0 0.7rem;
}
.contact-form-compact textarea {
  min-height: 5.5rem;
  padding: 0.7rem;
  resize: vertical;
}
.contact-form-compact .contact-consent,
.contact-form-compact .wpcf7-acceptance .wpcf7-list-item label {
  display: grid;
  grid-template-columns: 1rem 1fr;
  gap: 0.55rem;
  align-items: start;
}
.contact-form-compact .contact-consent input,
.contact-form-compact .wpcf7-acceptance input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.12rem;
  accent-color: var(--primary);
}
.contact-form-compact .contact-consent span,
.contact-form-compact .wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 0.72rem;
  line-height: 1.45;
  color: var(--muted-foreground);
}
.contact-form-compact .wpcf7-acceptance .wpcf7-list-item {
  margin: 0;
}
.contact-form-compact input:focus,
.contact-form-compact select:focus,
.contact-form-compact textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(232, 67, 37, 0.16);
}
.contact-form-compact select option {
  background: var(--background);
  color: var(--foreground);
}
.contact-form-compact select option:checked {
  background: var(--primary);
  color: var(--primary-foreground);
}
.contact-form-compact select.frimi-native-select {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  border: 0;
  opacity: 0;
  pointer-events: none;
}
.frimi-select {
  position: relative;
}
.frimi-select-toggle {
  position: relative;
  width: 100%;
  min-height: 2.35rem;
  border: 1px solid var(--border);
  border-radius: 0;
  background: rgba(255,255,255,0.72);
  color: var(--foreground);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9rem;
  line-height: 1.2;
  padding: 0 2.15rem 0 0.7rem;
  text-align: left;
}
.frimi-select-toggle::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0.8rem;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}
.frimi-select.is-open .frimi-select-toggle,
.frimi-select-toggle:focus-visible {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(232, 67, 37, 0.16);
  outline: none;
}
.contact-form-compact select.wpcf7-not-valid + .frimi-select .frimi-select-toggle {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(232, 67, 37, 0.18);
}
.frimi-select.is-open .frimi-select-toggle::after {
  transform: translateY(-35%) rotate(225deg);
}
.frimi-select-menu {
  position: absolute;
  top: calc(100% + 0.35rem);
  left: 0;
  right: 0;
  z-index: 20;
  display: none;
  overflow: hidden;
  border: 1px solid var(--primary);
  background: var(--background);
  box-shadow: 0 14px 30px rgba(0,0,0,0.12);
}
.frimi-select.is-open .frimi-select-menu {
  display: grid;
}
.frimi-select-option {
  width: 100%;
  min-height: 2.35rem;
  border: 0;
  background: var(--background);
  color: var(--foreground);
  cursor: pointer;
  font-family: inherit;
  font-size: 0.86rem;
  line-height: 1.25;
  padding: 0.6rem 0.75rem;
  text-align: left;
}
.frimi-select-option:hover,
.frimi-select-option:focus-visible,
.frimi-select-option.is-selected {
  background: var(--primary);
  color: var(--primary-foreground);
  outline: none;
}
.contact-form-compact .btn {
  align-self: center;
  height: 2.35rem;
  margin-top: 0.25rem;
  padding: 0 1.4rem;
  border-radius: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.contact-form-compact .wpcf7-submit {
  justify-self: center;
  min-height: 2.35rem;
  border: 0;
  border-radius: 0;
  background: var(--primary);
  color: var(--primary-foreground);
  padding: 0 1.4rem;
  font-family: inherit;
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
}
.contact-form-compact .wpcf7-submit:hover {
  opacity: 0.9;
}
.contact-form-compact .wpcf7-spinner {
  margin: 0 0 0 0.5rem;
}
.contact-form-compact .wpcf7-not-valid-tip {
  margin-top: 0.25rem;
  color: var(--primary);
  font-size: 0.72rem;
}
.contact-form-compact .wpcf7-response-output {
  margin: 0.75rem 0 0 !important;
  padding: 0.7rem !important;
  border-color: var(--border) !important;
  font-size: 0.78rem;
  line-height: 1.5;
}
.contact-form-note {
  margin-top: 0.4rem;
  font-size: 0.72rem;
  line-height: 1.55;
  color: var(--muted-foreground);
}
.contact-details {
  display: grid;
  gap: 1.05rem;
  max-width: 34rem;
}
.contact-image-section img {
  width: 100%;
  max-height: 18rem;
  object-fit: cover;
  border-radius: 1.25rem;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.contact-details-section h2 {
  margin-bottom: 0.25rem;
  font-size: 1rem;
  line-height: 1.25;
}
.contact-details-row {
  display: grid;
  gap: 0.05rem;
  margin-top: 0.25rem;
}
.contact-details-row span,
.contact-address p {
  font-size: 0.82rem;
  color: var(--muted-foreground);
}
.contact-details-row a {
  width: fit-content;
  color: var(--primary);
  font-size: 0.88rem;
  font-weight: 600;
}
.contact-details-row a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.contact-address {
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.contact-address p + p {
  margin-top: 0.25rem;
}
@media (max-width: 767px) {
  .contact-page {
    padding-top: 2rem;
  }

  .contact-form-panel {
    padding: 1rem;
  }

  .contact-details {
    max-width: none;
  }
}

/* About page */
.about-hero {
  background: var(--secondary); padding: 5rem 0 7rem; text-align: center;
  position: relative; overflow: hidden;
}
.about-hero .bg-pattern {
  position: absolute; inset: 0;
  background-image: url('../images/pattern-yellow.png');
  background-size: 520px auto; background-repeat: repeat; opacity: 0.4;
}
.about-hero-inner { position: relative; z-index: 1; max-width: 52rem; margin: 0 auto; padding: 0 1.25rem; }
.about-hero .castle-mark { height: 7rem; margin: 0 auto 1.5rem; }
@media (min-width: 768px) { .about-hero .castle-mark { height: 9rem; } }
.about-hero p:not(.section-label) {
  margin-top: 1.25rem;
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--foreground);
  font-size: 1.125rem;
  line-height: 1.7;
  opacity: 0.82;
}
.about-content {
  padding: 4rem 0 6rem;
  display: grid; gap: 2.5rem;
}
@media (min-width: 768px) { .about-content { grid-template-columns: 1fr 1fr; gap: 4rem; } }
.about-content p { color: var(--muted-foreground); line-height: 1.7; margin-top: 1rem; }
.about-text-block {
  max-width: 38rem;
}
.about-text-block + .about-text-block {
  margin-top: 2.75rem;
}
.about-text-block h2 {
  font-size: 2rem;
}
.about-text-block p {
  font-size: 1rem;
}
.pillar-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.pillar-card {
  border-radius: 1rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem;
  display: flex; flex-direction: column; justify-content: space-between;
  aspect-ratio: 1;
}
.pillar-card .pillar-title { font-size: 1.5rem; color: var(--primary); }
.pillar-card .pillar-desc { font-size: 0.875rem; color: var(--muted-foreground); }
.about-photo-carousel {
  display: grid;
  gap: 1rem;
  cursor: grab;
  touch-action: pan-y;
}
.about-photo-carousel.is-swiping {
  cursor: grabbing;
}
.about-photo-stage {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.45);
  aspect-ratio: 4 / 3;
}
.about-photo-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.02);
  pointer-events: none;
  user-select: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.about-photo-stage img.is-active {
  opacity: 1;
  transform: scale(1);
}
.about-photo-controls {
  display: flex;
  justify-content: center;
  gap: 0.55rem;
}
.about-photo-controls button {
  width: 0.65rem;
  height: 0.65rem;
  border: 0;
  border-radius: 9999px;
  background: var(--foreground);
  opacity: 0.28;
  cursor: pointer;
}
.about-photo-controls button.is-active {
  width: 1.65rem;
  background: var(--primary);
  opacity: 1;
}
@media (max-width: 767px) {
  .about-hero {
    padding: 3rem 0 3.75rem;
  }

  .about-hero .bg-pattern {
    background-size: 360px auto;
    opacity: 0.28;
  }

  .about-hero .castle-mark {
    height: 4.75rem;
    margin-bottom: 1rem;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-hero p:not(.section-label) {
    font-size: 0.98rem;
  }

  .about-content {
    padding-top: 2.75rem;
  }
}

/* About page refinement */
.about-hero {
  padding: 3.5rem 0 4rem;
}

.about-hero .bg-pattern {
  opacity: 0.28;
}

.about-hero .castle-mark {
  height: 5rem;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .about-hero .castle-mark {
    height: 6rem;
  }
}

.about-hero h1 {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .about-hero h1 {
    font-size: 3.25rem;
  }
}

.about-hero p:not(.section-label) {
  max-width: 34rem;
  font-size: 1rem;
  line-height: 1.55;
}

.about-content {
  max-width: 72rem;
  margin: 0 auto;
  padding-top: 3rem;
  grid-template-columns: minmax(0, 1.03fr) minmax(20rem, 0.97fr);
  gap: 3.5rem;
  align-items: start;
}

.about-text-block {
  max-width: 40rem;
}

.about-text-block h2 {
  font-size: 2.35rem;
  line-height: 1;
}

.about-text-block p {
  max-width: 38rem;
  font-size: 1.03rem;
  line-height: 1.85;
}

.about-text-block + .about-text-block {
  margin-top: 3rem;
}

.about-photo-carousel {
  position: sticky;
  top: 7rem;
  gap: 1.1rem;
}

.about-photo-stage {
  border: 0;
  background: transparent;
  aspect-ratio: 4 / 4.6;
  box-shadow: none;
}

.about-photo-stage img {
  object-fit: cover;
}

.about-photo-controls {
  justify-content: flex-start;
  padding-left: 0.25rem;
}

@media (max-width: 899px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-photo-carousel {
    position: static;
    order: -1;
  }

  .about-photo-stage {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 767px) {
  .about-hero {
    padding: 2.5rem 0 3rem;
  }

  .about-hero .castle-mark {
    height: 4.25rem;
  }

  .about-hero h1 {
    font-size: 2rem;
  }

  .about-content {
    padding-top: 2.25rem;
    padding-bottom: 4rem;
  }

  .about-text-block h2 {
    font-size: 1.8rem;
  }

  .about-text-block p {
    font-size: 0.96rem;
    line-height: 1.75;
  }
}

/* Blog */
.blog-grid { display: grid; gap: 1.5rem; margin-top: 3rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card {
  border-radius: 1.5rem; border: 1px solid var(--border);
  background: var(--card); padding: 1.5rem;
  display: flex; flex-direction: column;
}
.blog-card .tag { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.25em; color: var(--primary); }
.blog-card h2 { font-size: 1.5rem; margin-top: 0.75rem; }
.blog-card .excerpt { margin-top: 0.75rem; font-size: 0.875rem; color: var(--muted-foreground); line-height: 1.6; }
.blog-card .meta {
  margin-top: 1.5rem; display: flex; align-items: center;
  justify-content: space-between; font-size: 0.75rem; color: var(--muted-foreground);
}
.blog-card .meta a { color: var(--primary); font-weight: 500; }

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 3rem;
}
.blog-list-item {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
@media (min-width: 768px) {
  .blog-list-item {
    grid-template-columns: minmax(18rem, 21rem) 1fr;
    gap: 2.5rem;
    padding-bottom: 2.5rem;
  }
}
.blog-list-item:last-child {
  padding-bottom: 0;
  border-bottom: none;
}
.blog-list-media {
  display: block;
  overflow: hidden;
  border-radius: 1.5rem;
  background: var(--card);
  box-shadow: 0 14px 35px rgba(0,0,0,0.08);
}
.blog-list-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.blog-list-item:hover .blog-list-media img {
  transform: scale(1.03);
}
.blog-list-placeholder {
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--brand-coral));
  color: var(--primary-foreground);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.22em;
}
.blog-list-content {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  align-self: center;
  min-width: 0;
}
.blog-list-date {
  font-size: 0.95rem;
  color: var(--muted-foreground);
}
.blog-list-title {
  font-size: 2rem;
  line-height: 1.05;
  max-width: 18ch;
}
@media (min-width: 768px) {
  .blog-list-title {
    font-size: 3rem;
  }
}
.blog-list-title a {
  transition: color 0.2s ease;
}
.blog-list-title a:hover {
  color: var(--primary);
}
.blog-list-excerpt {
  max-width: 44rem;
  color: var(--muted-foreground);
  line-height: 1.8;
}
.blog-list-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}
.blog-list-category {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--primary);
}
.blog-list-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--primary);
  font-weight: 600;
}
.blog-list-link:hover {
  opacity: 0.85;
}

/* Blog list refinement */
.blog-list {
  gap: 0;
}
.blog-list-item {
  gap: 1.5rem;
  padding: 2.25rem 0;
}
.blog-list-item:first-child {
  padding-top: 0;
}
.blog-list-item:last-child {
  border-bottom: 1px solid var(--border);
}
.blog-list-media {
  border-radius: 1rem;
  box-shadow: none;
}
.blog-list-content {
  gap: 0.8rem;
  align-self: start;
}
.blog-list-date {
  color: var(--foreground);
  font-size: 0.95rem;
}
.blog-list-title {
  max-width: 20ch;
  font-size: 2.35rem;
}
.blog-list-excerpt {
  max-width: 50rem;
  font-size: 1rem;
  line-height: 1.85;
}
.blog-list-meta {
  margin-top: 0.75rem;
  padding-top: 0;
}
.blog-list-link {
  margin-left: auto;
}
@media (min-width: 900px) {
  .blog-list-item {
    grid-template-columns: 21rem minmax(0, 1fr);
    gap: 2.5rem;
    padding: 3rem 0;
  }

  .blog-list-media {
    margin-top: 0.25rem;
  }

  .blog-list-media img,
  .blog-list-placeholder {
    aspect-ratio: 4 / 3;
  }

  .blog-list-title {
    font-size: 3.3rem;
    line-height: 1.02;
  }
}
@media (max-width: 767px) {
  .blog-list-title {
    font-size: 2rem;
  }

  .blog-list-item {
    padding: 2rem 0;
  }
}

/* Compact news-list variant */
.blog-list {
  max-width: 74rem;
}

.blog-list-item {
  align-items: start;
}

@media (min-width: 900px) {
  .blog-list-item {
    grid-template-columns: 19rem minmax(0, 1fr);
    gap: 2.25rem;
    padding: 2.35rem 0;
  }
}

.blog-list-media {
  border-radius: 0.9rem;
}

.blog-list-title {
  max-width: 95%;
  font-size: 1.85rem;
  line-height: 1.12;
}

@media (min-width: 900px) {
  .blog-list-title {
    font-size: 2.35rem;
    line-height: 1.08;
  }
}

.blog-list-date {
  font-size: 0.9rem;
}

.blog-list-excerpt {
  max-width: 95%;
  font-size: 0.95rem;
  line-height: 1.75;
}

.blog-list-meta {
  margin-top: 0.5rem;
}

.blog-list-category {
  font-size: 0.68rem;
}

.blog-list-link {
  font-size: 0.95rem;
}

/* Client reference: compact blog rows */
.blog-list {
  max-width: 62rem;
  margin-top: 2.25rem !important;
}

@media (min-width: 900px) {
  .blog-list-item {
    grid-template-columns: 14rem minmax(0, 1fr);
    gap: 1.7rem;
    padding: 1.5rem 0;
  }
}

.blog-list-media {
  border-radius: 0;
  box-shadow: none;
}

.blog-list-media img,
.blog-list-placeholder {
  aspect-ratio: 1 / 1;
}

.blog-list-content {
  gap: 0.45rem;
  align-self: start;
}

.blog-list-date {
  font-size: 0.82rem;
  color: var(--muted-foreground);
}

.blog-list-title {
  width: 95%;
  max-width: 95%;
  font-size: 1.55rem;
  line-height: 1.15;
}

@media (min-width: 900px) {
  .blog-list-title {
    font-size: 1.75rem;
  }
}

.blog-list-excerpt {
  width: 95%;
  max-width: 95%;
  font-size: 0.88rem;
  line-height: 1.55;
}

.blog-list-meta {
  display: none;
}

.blog-list-link {
  display: none;
}

.blog-list-category {
  letter-spacing: 0.2em;
}

/* WooCommerce overrides */
.woocommerce-page .products { list-style: none; padding: 0; }
.woocommerce ul.products li.product {
  border-radius: 1rem; border: 1px solid var(--border);
  background: rgba(255,255,255,0.5); overflow: hidden;
  transition: box-shadow 0.3s;
}
.woocommerce ul.products li.product:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.08); }
.woocommerce ul.products li.product a img {
  border-radius: 0; margin: 0;
}
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: "IBM Plex Sans", sans-serif; font-size: 0.875rem;
  padding: 0.75rem 1rem 0; text-align: center;
}
.woocommerce ul.products li.product .price {
  font-family: "IBM Plex Sans", sans-serif; color: var(--primary);
  font-size: 1.125rem; text-align: center; display: block;
}
.woocommerce ul.products li.product .button,
.woocommerce .button,
.woocommerce input.button,
.woocommerce button.button {
  background: var(--primary) !important; color: var(--primary-foreground) !important;
  border-radius: 9999px !important; font-weight: 500;
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem;
  padding: 0.75rem 1.75rem !important; border: none !important;
  transition: opacity 0.2s;
}
.woocommerce ul.products li.product .button:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover {
  background: var(--primary) !important; opacity: 0.9;
}
.woocommerce .button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: var(--primary) !important; color: var(--primary-foreground) !important;
}

/* Single product WooCommerce */
.single-product .product .summary { padding: 1rem 0; }
.single-product .product .summary .product_title {
  font-family: "IBM Plex Sans", sans-serif; font-size: 2.5rem;
}
@media (min-width: 768px) { .single-product .product .summary .product_title { font-size: 3.75rem; } }
.single-product .product .summary .price {
  font-family: "IBM Plex Sans", sans-serif; font-size: 2rem; color: var(--primary);
}
.single-product .product .woocommerce-product-gallery {
  border-radius: 1.5rem; overflow: hidden;
}

/* WooCommerce cart & checkout */
.woocommerce table.shop_table { border-color: var(--border); }
.woocommerce table.shop_table th { background: var(--cream-deep); }
.woocommerce .woocommerce-cart-form .coupon .input-text,
.woocommerce .checkout .form-row input.input-text,
.woocommerce .checkout .form-row textarea {
  border: 1px solid var(--border); border-radius: 0.75rem;
  padding: 0.75rem 1rem; background: var(--card);
}

/* Age gate */
.age-gate-overlay {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 1rem;
}
.age-gate-modal {
  width: 100%; max-width: 32rem; border-radius: 1rem;
  background: var(--background); border: 1px solid var(--border);
  box-shadow: 0 25px 50px rgba(0,0,0,0.25); padding: 2rem 2.5rem; text-align: center;
}
.age-gate-modal .logo { height: 3rem; width: auto; margin: 0 auto 1.25rem; }
.age-gate-modal h2 { font-size: 1.5rem; margin-bottom: 0.75rem; }
@media (min-width: 768px) { .age-gate-modal h2 { font-size: 1.875rem; } }
.age-gate-modal p { font-size: 0.875rem; color: var(--muted-foreground); margin-bottom: 1.75rem; line-height: 1.6; }
.age-gate-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.age-gate-modal .footnote { margin-top: 1.25rem; font-size: 0.75rem; color: var(--muted-foreground); }

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(0,0,0,0.4); backdrop-filter: blur(2px);
  opacity: 0; visibility: hidden; transition: opacity 0.3s, visibility 0.3s;
}
.cart-drawer-overlay.active { opacity: 1; visibility: visible; }

.cart-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 999;
  width: 100%; max-width: 28rem;
  background: var(--background); box-shadow: -4px 0 30px rgba(0,0,0,0.12);
  display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
}
.cart-drawer.active { transform: translateX(0); }

.cart-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.5rem; border-bottom: 1px solid var(--border);
}
.cart-drawer-header h2 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.375rem; font-weight: 600;
  display: flex; align-items: center; gap: 0.5rem;
}
.cart-drawer-header h2 svg { color: var(--primary); }
.cart-drawer-count { font-size: 0.875rem; font-weight: 400; color: var(--muted-foreground); }
.cart-drawer-close {
  background: none; border: none; cursor: pointer; color: var(--foreground);
  padding: 0.25rem; border-radius: 0.5rem; transition: background 0.2s;
}
.cart-drawer-close:hover { background: var(--muted); }

.cart-drawer-body {
  flex: 1; overflow-y: auto; padding: 1rem 1.5rem;
}

.cart-drawer-items { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.cart-drawer-item {
  display: flex; gap: 1rem; border-radius: 1rem;
  border: 1px solid var(--border); background: rgba(255,255,255,0.5); padding: 0.75rem;
}
.cart-drawer-item-img { flex-shrink: 0; }
.cart-drawer-item-img img {
  height: 6rem; width: 5rem; object-fit: cover; border-radius: 0.75rem;
  background: var(--cream-deep);
}
.cart-drawer-item-info {
  flex: 1; display: flex; flex-direction: column; min-width: 0;
}
.cart-drawer-item-top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 0.5rem;
}
.cart-drawer-item-top h3 {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 0.875rem; font-weight: 600; line-height: 1.3;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.cart-drawer-item-type {
  font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.25rem;
}
.cart-drawer-remove {
  background: none; border: none; cursor: pointer;
  color: var(--muted-foreground); padding: 0.125rem; flex-shrink: 0;
  transition: color 0.2s;
}
.cart-drawer-remove:hover { color: var(--primary); }

.cart-drawer-item-bottom {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 0.75rem;
}

.cart-drawer-qty {
  display: inline-flex; align-items: center;
  border-radius: 9999px; border: 1px solid var(--border);
}
.cart-drawer-qty-btn {
  width: 2rem; height: 2rem; display: inline-flex; align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer;
  color: var(--foreground); transition: color 0.2s;
}
.cart-drawer-qty-btn:hover { color: var(--primary); }
.cart-drawer-qty-val {
  padding: 0 0.5rem; font-size: 0.875rem; min-width: 1.5rem; text-align: center;
  font-variant-numeric: tabular-nums;
}

.cart-drawer-item-price {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1rem; font-weight: 600; color: var(--primary);
}

/* Cart drawer footer */
.cart-drawer-footer {
  border-top: 1px solid var(--border); padding: 1.25rem 1.5rem;
  background: var(--background);
}
.cart-drawer-subtotal {
  display: flex; align-items: center; justify-content: space-between;
}
.cart-drawer-subtotal span:first-child { font-size: 0.875rem; color: var(--muted-foreground); }
.cart-drawer-subtotal-price {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.5rem; font-weight: 700; color: var(--primary);
}
.cart-drawer-shipping-note {
  font-size: 0.75rem; color: var(--muted-foreground); margin-top: 0.5rem;
}
.cart-drawer-checkout {
  display: flex !important; width: 100%; margin-top: 1rem;
  justify-content: center;
}
.cart-drawer-continue {
  width: 100%; margin-top: 0.75rem; background: none; border: none; cursor: pointer;
  font-size: 0.875rem; color: var(--muted-foreground);
  display: inline-flex; align-items: center; justify-content: center; gap: 0.25rem;
  transition: color 0.2s;
}
.cart-drawer-continue:hover { color: var(--primary); }

/* Cart drawer empty state */
.cart-drawer-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 4rem 1rem; height: 100%;
}
.cart-drawer-empty-icon {
  width: 4rem; height: 4rem; border-radius: 50%;
  background: rgba(232,200,64,0.4); display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
}
.cart-drawer-empty-icon svg { color: var(--primary); }
.cart-drawer-empty-title {
  font-family: "IBM Plex Sans", sans-serif;
  font-size: 1.25rem; font-weight: 600;
}
.cart-drawer-empty-desc {
  font-size: 0.875rem; color: var(--muted-foreground); margin-top: 0.5rem;
}
.cart-drawer-empty .btn { margin-top: 1.5rem; }

/* Body no-scroll when drawer open */
body.cart-drawer-open { overflow: hidden; }

/* 404 */
.error-404 { text-align: center; padding: 5rem 1.25rem; }
.error-404 h1 { font-size: 6rem; color: var(--primary); }
.error-404 h2 { font-size: 1.5rem; margin-top: 1rem; }
.error-404 p { color: var(--muted-foreground); margin-top: 0.75rem; }
.error-404 .btn { margin-top: 2rem; }

/* Utilities */
.text-center { text-align: center; }
.mt-auto { margin-top: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }


img.menu-image.menu-image-title-after {
    width: 1.5rem;
    padding: 0px;
}

.wp-block-separator{margin:1rem 0px}
