/* ============================================
   PawHaus — Complete CSS v3
   Kadence Child Theme Stylesheet
   ============================================ */

/* ------------------------------------------
   1. CSS Variables (:root)
   ------------------------------------------ */
:root {
  /* Colors */
  --ph-dark: #2D3B2D;
  --ph-camel: #B8956A;
  --ph-camel-hover: #A68558;
  --ph-olive: #5C6B52;
  --ph-sage: #8B9B7B;
  --ph-bg: #FAF8F5;
  --ph-bg-alt: #F0ECE5;
  --ph-text: #2D3B2D;
  --ph-text-body: #4A5840;
  --ph-text-muted: #6B7B6B;
  --ph-text-light: #8B9B7B;
  --ph-card: #FFFFFF;
  --ph-border: rgba(45, 59, 45, 0.06);
  --ph-border-med: rgba(45, 59, 45, 0.08);
  --ph-border-strong: rgba(45, 59, 45, 0.12);
  --ph-success: #5C8B3E;
  --ph-error: #C44D4D;

  /* Fonts */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Radii */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-pill: 30px;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(45, 59, 45, 0.03);
  --shadow-md: 0 12px 32px rgba(45, 59, 45, 0.1);
}

/* ------------------------------------------
   2. Reset & Base
   ------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: var(--font-body);
  color: var(--ph-text);
  background-color: var(--ph-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
}

::selection {
  background-color: var(--ph-camel);
  color: #FFFFFF;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.25s ease;
}

/* ------------------------------------------
   3. Top Banner (Marquee)
   ------------------------------------------ */
.ph-top-banner {
  background-color: var(--ph-dark);
  color: #E8E2D8;
  padding: 9px 0;
  overflow: hidden;
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 500;
  white-space: nowrap;
}

.ph-top-banner__inner {
  display: flex;
  align-items: center;
  animation: ph-marquee 22s linear infinite;
  width: max-content;
}

.ph-top-banner__item {
  margin-right: 50px;
  flex-shrink: 0;
}

@keyframes ph-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ------------------------------------------
   4. Header (Kadence Overrides)
   ------------------------------------------ */
.site-header,
#masthead {
  background: rgba(250, 248, 245, 0.97) !important;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ph-border-med) !important;
  box-shadow: none !important;
}

.site-branding .site-title,
.site-branding .site-title a {
  font-family: var(--font-heading) !important;
  font-size: 22px !important;
  font-weight: 600 !important;
  color: var(--ph-dark) !important;
  letter-spacing: -0.5px !important;
}

.header-navigation .menu > li > a,
.header-menu-container .menu > li > a,
#primary-navigation .menu > li > a {
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 1.2px !important;
  text-transform: uppercase !important;
  color: var(--ph-dark) !important;
  transition: color 0.25s ease !important;
}

.header-navigation .menu > li > a:hover,
.header-menu-container .menu > li > a:hover,
#primary-navigation .menu > li > a:hover {
  color: var(--ph-camel) !important;
}

.header-cart-button .header-cart-total {
  background: var(--ph-dark) !important;
  color: var(--ph-bg) !important;
  font-size: 10px !important;
}

@media (max-width: 767px) {
  .site-branding .site-description,
  .site-branding .site-tagline {
    display: none !important;
  }
}

/* ------------------------------------------
   5. Buttons
   ------------------------------------------ */
.ph-btn-primary,
.single_add_to_cart_button,
.woocommerce #respond input#submit,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(--ph-dark) !important;
  color: var(--ph-bg) !important;
  border-radius: var(--radius-pill) !important;
  padding: 14px 28px !important;
  font-family: var(--font-body) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border: none !important;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
}

.ph-btn-primary:hover,
.single_add_to_cart_button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--ph-camel) !important;
  color: #FFFFFF !important;
}

.ph-btn-accent {
  background-color: var(--ph-camel);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.ph-btn-accent:hover {
  background-color: var(--ph-camel-hover);
}

.ph-btn-outline {
  background: transparent;
  border: 1px solid var(--ph-border-strong);
  border-radius: var(--radius-pill);
  padding: 14px 28px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ph-dark);
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}

.ph-btn-outline:hover {
  border-color: var(--ph-camel);
  color: var(--ph-camel);
}

/* ------------------------------------------
   6. Overline
   ------------------------------------------ */
.ph-overline {
  font-family: var(--font-body);
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--ph-camel);
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

/* ------------------------------------------
   7. Homepage: Hero
   ------------------------------------------ */
.ph-hero {
  position: relative;
  margin: 8px 16px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background: linear-gradient(170deg, #2D3B2D 0%, #4A5F4A 40%, #7A8B6E 80%, #B8956A 100%);
}

.ph-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 24px;
  z-index: 2;
}

.ph-hero h1 {
  font-family: var(--font-heading);
  font-size: 34px;
  font-weight: 500;
  color: var(--ph-bg);
  line-height: 1.15;
  margin-bottom: 16px;
}

.ph-hero h1 em {
  font-style: italic;
  color: var(--ph-camel);
}

.ph-hero p {
  font-size: 14px;
  color: rgba(250, 248, 245, 0.75);
  font-weight: 300;
  max-width: 300px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.ph-hero__circle--1 {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.06);
  top: -80px;
  right: -80px;
  z-index: 1;
}

.ph-hero__circle--2 {
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(184, 149, 106, 0.08);
  bottom: -60px;
  left: -60px;
  z-index: 1;
}

@media (min-width: 1025px) {
  .ph-hero {
    margin: 0;
    border-radius: 0;
    aspect-ratio: 16 / 7;
  }

  .ph-hero h1 {
    font-size: 56px;
  }

  .ph-hero p {
    max-width: 500px;
    font-size: 16px;
  }
}

/* ------------------------------------------
   8. Homepage: Category Pills
   ------------------------------------------ */
.ph-category-pills {
  padding: 12px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.ph-category-pills::-webkit-scrollbar {
  display: none;
}

.ph-category-pill {
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.25s ease;
  border: 1px solid var(--ph-border-strong);
  background: transparent;
  color: var(--ph-dark);
  flex-shrink: 0;
}

.ph-category-pill.active,
.ph-category-pill--active {
  background-color: var(--ph-dark);
  color: var(--ph-bg);
  border-color: var(--ph-dark);
}

/* ------------------------------------------
   9. Homepage: Trust Bar
   ------------------------------------------ */
.ph-trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 28px 16px;
}

.ph-trust-item {
  padding: 16px 14px;
  border-radius: var(--radius-md);
  background: var(--ph-card);
  border: 1px solid var(--ph-border);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.ph-trust-item__icon {
  font-size: 20px;
  flex-shrink: 0;
  line-height: 1;
}

.ph-trust-item__title {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  color: var(--ph-dark);
  line-height: 1.3;
}

.ph-trust-item__sub {
  font-size: 11px;
  color: var(--ph-text-muted);
  font-weight: 400;
  margin-top: 2px;
  line-height: 1.4;
}

@media (min-width: 1025px) {
  .ph-trust-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 24px;
  }
}

/* ------------------------------------------
   10. Homepage: Collections Grid
   ------------------------------------------ */
.ph-collections {
  padding: 20px 16px 40px;
}

.ph-collections-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.ph-collection-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.ph-collection-card:hover {
  transform: scale(1.02);
}

.ph-collection-card:nth-child(1),
.ph-collection-card:nth-child(2) {
  aspect-ratio: 4 / 5;
}

.ph-collection-card:nth-child(3),
.ph-collection-card:nth-child(4) {
  aspect-ratio: 1 / 1;
}

.ph-collection-card:nth-child(1) {
  background: linear-gradient(160deg, #2D3B2D, #4A5F4A);
}

.ph-collection-card:nth-child(2) {
  background: linear-gradient(160deg, #B8956A, #D4B896);
}

.ph-collection-card:nth-child(3) {
  background: linear-gradient(160deg, #5C6B52, #7A8B6E);
}

.ph-collection-card:nth-child(4) {
  background: linear-gradient(160deg, #8B8070, #B8A89A);
}

.ph-collection-card__icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -60%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.ph-collection-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px;
}

.ph-collection-card__name {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  color: #FFFFFF;
}

.ph-collection-card__count {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  margin-top: 2px;
}

@media (min-width: 1025px) {
  .ph-collections {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px 50px;
  }

  .ph-collections-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ph-collection-card:nth-child(1),
  .ph-collection-card:nth-child(2),
  .ph-collection-card:nth-child(3),
  .ph-collection-card:nth-child(4) {
    aspect-ratio: 4 / 5;
  }
}

/* ------------------------------------------
   11. Homepage: Engagements Block
   ------------------------------------------ */
.ph-engagements {
  margin: 0 16px;
  border-radius: var(--radius-xl);
  background: var(--ph-dark);
  padding: 32px 20px;
  position: relative;
  overflow: hidden;
}

.ph-engagements__circle {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(184, 149, 106, 0.08);
  pointer-events: none;
}

.ph-engagements .ph-overline {
  color: var(--ph-camel);
  position: relative;
  z-index: 1;
}

.ph-engagements h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 500;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 14px;
  position: relative;
  z-index: 1;
}

.ph-engagements h2 em {
  font-style: italic;
  color: var(--ph-camel);
}

.ph-engagements p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.ph-engagements__tags {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.ph-engagements__tag {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

@media (min-width: 1025px) {
  .ph-engagements {
    padding: 50px 60px;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: var(--radius-xl);
  }

  .ph-engagements h2 {
    font-size: 32px;
  }
}

/* ------------------------------------------
   12. Homepage: Les Favoris (Product Grid)
   ------------------------------------------ */
.ph-favorites {
  padding: 40px 16px;
}

.ph-favorites__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
}

.ph-favorites__header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--ph-dark);
}

.ph-favorites__link {
  font-size: 12px;
  font-weight: 500;
  color: var(--ph-camel);
  transition: color 0.25s ease;
}

.ph-favorites__link:hover {
  color: var(--ph-camel-hover);
}

.ph-favorites-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.ph-product-card {
  cursor: pointer;
  position: relative;
}

.ph-product-card__image {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, var(--ph-bg-alt), #E8E2D8);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.ph-product-card:hover .ph-product-card__image {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.ph-product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-product-card__badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  z-index: 2;
}

.ph-product-card__badge--bestseller {
  background: var(--ph-dark);
}

.ph-product-card__badge--new {
  background: var(--ph-camel);
}

.ph-product-card__quick-add {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--ph-dark);
  color: #FFFFFF;
  border: none;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.25s ease, transform 0.25s ease, background-color 0.25s ease;
  z-index: 2;
}

.ph-product-card:hover .ph-product-card__quick-add {
  opacity: 1;
  transform: scale(1);
}

.ph-product-card__quick-add:hover {
  background: var(--ph-camel);
}

.ph-product-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ph-dark);
  margin-top: 10px;
  line-height: 1.3;
}

.ph-product-card__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-camel);
  margin-top: 4px;
}

@media (min-width: 1025px) {
  .ph-favorites {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 24px;
  }

  .ph-favorites-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }
}

/* ------------------------------------------
   13. Homepage: Community #PawHausFamily
   ------------------------------------------ */
.ph-community {
  padding: 20px 0 40px;
  background: var(--ph-bg-alt);
}

.ph-community__header {
  text-align: center;
  padding: 0 16px 20px;
}

.ph-community__header h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--ph-dark);
  margin-bottom: 6px;
}

.ph-community__subtitle {
  font-size: 12px;
  color: var(--ph-text-muted);
}

.ph-community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  padding: 0 3px;
}

.ph-community-cell {
  aspect-ratio: 1;
  border-radius: 4px;
  overflow: hidden;
  background: #C4B8A8;
}

.ph-community-cell:nth-child(2) { background: #A89888; }
.ph-community-cell:nth-child(3) { background: #D4C8B8; }
.ph-community-cell:nth-child(4) { background: #B8A898; }
.ph-community-cell:nth-child(5) { background: #8B8070; }
.ph-community-cell:nth-child(6) { background: #C8BCA8; }

.ph-community-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------
   14. Homepage: Newsletter
   ------------------------------------------ */
.ph-newsletter {
  padding: 40px 16px;
  text-align: center;
}

.ph-newsletter h2 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--ph-dark);
  margin-bottom: 16px;
}

.ph-newsletter__form {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto 10px;
}

.ph-newsletter__input {
  flex: 1;
  border-radius: var(--radius-pill);
  border: 1px solid var(--ph-border-strong);
  padding: 14px 16px;
  font-family: var(--font-body);
  font-size: 13px;
  background: var(--ph-card);
  color: var(--ph-dark);
  outline: none;
  transition: border-color 0.25s ease;
}

.ph-newsletter__input:focus {
  border-color: var(--ph-camel);
}

.ph-newsletter__input::placeholder {
  color: var(--ph-text-light);
}

.ph-newsletter__btn {
  background: var(--ph-dark);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
}

.ph-newsletter__btn:hover {
  background: var(--ph-camel);
}

.ph-newsletter__note {
  font-size: 11px;
  color: var(--ph-text-light);
}

/* ------------------------------------------
   15. Product Page: Gallery
   ------------------------------------------ */
.ph-gallery {
  position: relative;
}

.ph-gallery__main {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  background: var(--ph-bg-alt);
}

.ph-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-gallery__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ph-dark);
  color: #FFFFFF;
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 3;
}

.ph-gallery__wishlist {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 18px;
  z-index: 3;
  transition: transform 0.2s ease;
}

.ph-gallery__wishlist:hover {
  transform: scale(1.1);
}

.ph-gallery__dots {
  display: flex;
  gap: 6px;
  justify-content: center;
  padding: 12px 0;
}

.ph-gallery__dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: var(--ph-border-strong);
  transition: width 0.3s ease, background 0.3s ease;
}

.ph-gallery__dot.active {
  width: 20px;
  background: var(--ph-dark);
}

.ph-gallery__thumbs {
  display: flex;
  gap: 8px;
  padding: 0 16px;
}

.ph-gallery__thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.25s ease;
  flex-shrink: 0;
}

.ph-gallery__thumb.active {
  border-color: var(--ph-dark);
}

.ph-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ------------------------------------------
   16. Product Page: Summary
   ------------------------------------------ */
.ph-product-summary {
  padding: 20px 16px 0;
}

.ph-product-stars {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.ph-product-stars__icons {
  font-size: 14px;
  color: var(--ph-camel);
  letter-spacing: 1px;
}

.ph-product-stars__text {
  font-size: 12px;
  color: var(--ph-text-muted);
}

.ph-product-category {
  font-size: 11px;
  color: var(--ph-text-light);
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: 500;
  margin-bottom: 6px;
}

.ph-product-title {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ph-dark);
  margin-bottom: 12px;
}

.ph-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ph-product-price__current {
  font-size: 26px;
  font-weight: 600;
  color: var(--ph-camel);
}

.ph-product-price__original {
  font-size: 14px;
  color: var(--ph-text-light);
  text-decoration: line-through;
}

.ph-product-price__discount {
  background: var(--ph-dark);
  color: #FFFFFF;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 600;
}

/* Color swatches */
.ph-color-swatches {
  margin-bottom: 20px;
}

.ph-color-swatches__label {
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 10px;
  color: var(--ph-dark);
}

.ph-color-swatches__list {
  display: flex;
  gap: 10px;
}

.ph-color-swatch {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  cursor: pointer;
  outline: 2px solid transparent;
  outline-offset: 3px;
  transition: outline-color 0.2s ease;
}

.ph-color-swatch.selected,
.ph-color-swatch:hover {
  outline-color: var(--ph-dark);
}

/* Size buttons */
.ph-size-buttons {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.ph-size-btn {
  flex: 1;
  padding: 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ph-border-strong);
  background: transparent;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ph-dark);
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}

.ph-size-btn.selected,
.ph-size-btn:hover {
  background: var(--ph-dark);
  color: #FFFFFF;
  border-color: var(--ph-dark);
}

/* Quantity */
.ph-quantity-row {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.ph-quantity {
  display: flex;
  align-items: center;
  border: 1px solid var(--ph-border-strong);
  border-radius: var(--radius-pill);
  overflow: hidden;
}

.ph-quantity__btn {
  width: 42px;
  height: 42px;
  background: transparent;
  border: none;
  font-size: 16px;
  color: var(--ph-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease;
}

.ph-quantity__btn:hover {
  color: var(--ph-camel);
}

.ph-quantity__value {
  width: 36px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-dark);
}

.ph-atc-btn {
  flex: 1;
  background: var(--ph-dark);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 14px 24px;
}

.ph-atc-btn:hover {
  background: var(--ph-camel);
}

/* ------------------------------------------
   17. Product Page: Trust Badges
   ------------------------------------------ */
.ph-trust-badges {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  padding: 20px 16px;
}

.ph-trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ph-border);
  background: var(--ph-card);
}

.ph-trust-badge__icon {
  font-size: 14px;
  flex-shrink: 0;
}

.ph-trust-badge__text {
  font-size: 11px;
  color: var(--ph-text-muted);
  line-height: 1.3;
}

/* ------------------------------------------
   18. Product Page: Metafield Sections
   ------------------------------------------ */
.ph-metafield-section {
  background: var(--ph-bg);
}

.ph-metafield-section:nth-child(even) {
  background: var(--ph-bg-alt);
}

.ph-metafield-section__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  position: relative;
  overflow: hidden;
}

.ph-metafield-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-metafield-section__number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  color: var(--ph-camel);
  font-weight: 500;
}

.ph-metafield-section__content {
  padding: 28px 16px 40px;
}

.ph-metafield-section__content h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 500;
  color: var(--ph-dark);
  margin-bottom: 10px;
}

.ph-metafield-section__content p {
  font-size: 13px;
  color: var(--ph-text-muted);
  line-height: 1.7;
  margin-bottom: 16px;
}

.ph-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ph-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  background: var(--ph-bg-alt);
  font-size: 11px;
  font-weight: 500;
  color: var(--ph-dark);
}

.ph-metafield-section:nth-child(even) .ph-feature-pill {
  background: rgba(255, 255, 255, 0.6);
}

.ph-feature-pill__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ph-camel);
  flex-shrink: 0;
}

@media (min-width: 1025px) {
  .ph-metafield-section__layout {
    display: flex;
    align-items: stretch;
    max-width: 1200px;
    margin: 0 auto;
  }

  .ph-metafield-section__image {
    width: 50%;
    aspect-ratio: auto;
    min-height: 400px;
  }

  .ph-metafield-section__content {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 50px;
  }

  .ph-metafield-section:nth-child(even) .ph-metafield-section__layout {
    flex-direction: row-reverse;
  }
}

/* ------------------------------------------
   19. Product Page: Tabs
   ------------------------------------------ */
.ph-tabs__nav {
  display: flex;
  border-bottom: 1px solid var(--ph-border-strong);
}

.ph-tab-btn {
  flex: 1;
  padding: 14px;
  font-family: var(--font-body);
  font-size: 13px;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 400;
  color: var(--ph-text-light);
  text-align: center;
}

.ph-tab-btn.active {
  font-weight: 600;
  color: var(--ph-dark);
  border-bottom-color: var(--ph-dark);
}

.ph-tab-content {
  padding: 20px 16px;
}

.ph-tab-description {
  font-size: 14px;
  line-height: 1.8;
  color: var(--ph-text-muted);
}

.ph-tab-details__row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--ph-border);
  font-size: 13px;
}

.ph-tab-details__key {
  color: var(--ph-text-muted);
  font-weight: 400;
}

.ph-tab-details__value {
  color: var(--ph-dark);
  font-weight: 500;
}

.ph-review-card {
  padding: 16px 0;
  border-bottom: 1px solid var(--ph-border);
}

.ph-review-card__header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ph-review-card__author {
  font-size: 13px;
  font-weight: 600;
  color: var(--ph-dark);
}

.ph-review-card__date {
  font-size: 11px;
  color: var(--ph-text-light);
}

.ph-review-card__stars {
  font-size: 12px;
  color: var(--ph-camel);
  margin-bottom: 6px;
}

.ph-review-card__text {
  font-size: 13px;
  color: var(--ph-text-muted);
  line-height: 1.6;
}

/* ------------------------------------------
   20. Product Page: FAQ Accordion
   ------------------------------------------ */
.ph-faq {
  padding: 20px 16px;
}

.ph-faq-item {
  border-bottom: 1px solid var(--ph-border);
}

.ph-faq-item__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  cursor: pointer;
  width: 100%;
  background: transparent;
  border: none;
  text-align: left;
}

.ph-faq-item__question {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--ph-dark);
}

.ph-faq-item__icon {
  font-size: 18px;
  color: var(--ph-camel);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.ph-faq-item.open .ph-faq-item__icon {
  transform: rotate(45deg);
}

.ph-faq-item__answer {
  font-size: 13px;
  color: var(--ph-text-muted);
  line-height: 1.7;
  padding-bottom: 16px;
  display: none;
}

.ph-faq-item.open .ph-faq-item__answer {
  display: block;
}

/* ------------------------------------------
   21. Product Page: Cross-sell
   ------------------------------------------ */
.ph-cross-sell {
  padding: 0 0 32px;
}

.ph-cross-sell__header {
  padding: 0 16px 14px;
}

.ph-cross-sell__header h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--ph-dark);
}

.ph-cross-sell__scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 0 16px;
  scrollbar-width: none;
}

.ph-cross-sell__scroll::-webkit-scrollbar {
  display: none;
}

.ph-cross-sell-card {
  min-width: 160px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

.ph-cross-sell-card__image {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--ph-bg-alt);
  position: relative;
  margin-bottom: 8px;
}

.ph-cross-sell-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ph-cross-sell-card__add {
  position: absolute;
  bottom: 8px;
  right: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ph-dark);
  color: #FFFFFF;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.ph-cross-sell-card__add:hover {
  background: var(--ph-camel);
}

.ph-cross-sell-card__name {
  font-size: 13px;
  font-weight: 500;
  color: var(--ph-dark);
  line-height: 1.3;
}

.ph-cross-sell-card__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-camel);
  margin-top: 2px;
}

/* ------------------------------------------
   22. Sticky Bar Mobile
   ------------------------------------------ */
.ph-sticky-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(250, 248, 245, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--ph-border-med);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 200;
}

.ph-sticky-bar__info {
  flex: 1;
  min-width: 0;
}

.ph-sticky-bar__name {
  font-size: 12px;
  font-weight: 500;
  color: var(--ph-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ph-sticky-bar__price {
  font-size: 17px;
  font-weight: 600;
  color: var(--ph-camel);
}

.ph-sticky-bar__btn {
  background: var(--ph-dark);
  color: #FFFFFF;
  border: none;
  border-radius: var(--radius-pill);
  padding: 14px 24px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  flex-shrink: 0;
  margin-left: 12px;
}

.ph-sticky-bar__btn:hover {
  background: var(--ph-camel);
}

@media (min-width: 768px) {
  .ph-sticky-bar {
    display: none;
  }
}

/* ------------------------------------------
   23. Shop / Archive Grid
   ------------------------------------------ */
.woocommerce ul.products li.product,
.wc-block-grid__product {
  background: var(--ph-card) !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  border: 1px solid var(--ph-border) !important;
  transition: transform 0.35s ease, box-shadow 0.35s ease !important;
  padding: 0 !important;
}

.woocommerce ul.products li.product:hover,
.wc-block-grid__product:hover {
  transform: translateY(-4px) !important;
  box-shadow: var(--shadow-md) !important;
}

.woocommerce ul.products li.product a img,
.wc-block-grid__product-image img {
  aspect-ratio: 1;
  object-fit: cover !important;
  border-radius: 0 !important;
  margin: 0 !important;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: var(--ph-dark) !important;
  padding: 14px 16px 4px !important;
}

.woocommerce ul.products li.product .price {
  padding: 0 16px 16px !important;
  color: var(--ph-camel) !important;
  font-weight: 600 !important;
  font-size: 15px !important;
}

.woocommerce ul.products li.product .button,
.woocommerce ul.products li.product .add_to_cart_button {
  display: none !important;
}

.woocommerce .woocommerce-placeholder {
  background: var(--ph-bg-alt) !important;
  opacity: 0.5;
}

/* ------------------------------------------
   24. Cart & Checkout
   ------------------------------------------ */
.woocommerce-cart .woocommerce table.cart,
.woocommerce table.shop_table {
  border-radius: var(--radius-md) !important;
  border: 1px solid var(--ph-border) !important;
  overflow: hidden;
  border-collapse: separate !important;
}

.woocommerce table.shop_table th {
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  color: var(--ph-text-muted) !important;
}

.woocommerce .cart_totals,
.woocommerce-checkout .woocommerce-checkout-review-order {
  background: var(--ph-bg-alt) !important;
  border-radius: var(--radius-md) !important;
  padding: 20px !important;
}

.woocommerce a.checkout-button,
.woocommerce #place_order {
  background: var(--ph-dark) !important;
  color: #FFFFFF !important;
  border-radius: var(--radius-pill) !important;
  text-transform: uppercase !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  font-size: 12px !important;
  padding: 16px 28px !important;
}

.woocommerce a.checkout-button:hover,
.woocommerce #place_order:hover {
  background: var(--ph-camel) !important;
}

/* ------------------------------------------
   25. Footer
   ------------------------------------------ */
.site-footer,
footer.site-footer {
  background: var(--ph-dark) !important;
}

.site-footer .widget-title,
.footer-widget-area .widget-title {
  color: #FFFFFF !important;
  font-family: var(--font-body) !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

.site-footer .widget ul li a,
.footer-widget-area a {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px !important;
  transition: color 0.25s ease !important;
}

.site-footer .widget ul li a:hover,
.footer-widget-area a:hover {
  color: var(--ph-camel) !important;
}

.site-footer .site-footer-bottom-wrap,
.footer-bottom {
  background: rgba(0, 0, 0, 0.15) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
  font-size: 10px !important;
  color: rgba(255, 255, 255, 0.3) !important;
}

.site-footer p,
.site-footer .widget p {
  color: rgba(255, 255, 255, 0.5) !important;
  font-size: 12px !important;
}

/* ------------------------------------------
   26. Animations
   ------------------------------------------ */
.ph-animate {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.ph-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------
   27. Responsive Overrides
   ------------------------------------------ */

/* Mobile (max-width: 767px) */
@media (max-width: 767px) {
  .ph-hero h1 {
    font-size: 34px;
  }

  .ph-product-title {
    font-size: 24px;
  }

  .ph-engagements h2 {
    font-size: 22px;
  }

  .ph-favorites__header h2 {
    font-size: 20px;
  }

  .ph-community-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ph-gallery__thumbs {
    overflow-x: auto;
    scrollbar-width: none;
  }

  .ph-gallery__thumbs::-webkit-scrollbar {
    display: none;
  }
}

/* Tablet (768px - 1024px) */
@media (min-width: 768px) and (max-width: 1024px) {
  .ph-hero {
    margin: 8px 24px;
    aspect-ratio: 16 / 9;
  }

  .ph-hero h1 {
    font-size: 42px;
  }

  .ph-favorites-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ph-collections-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ph-trust-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ph-trust-badges {
    grid-template-columns: repeat(4, 1fr);
  }

  .ph-engagements {
    margin: 0 24px;
    padding: 40px 36px;
  }
}

/* Desktop (1025px+) */
@media (min-width: 1025px) {
  .ph-product-summary {
    padding: 0;
  }

  .ph-product-page__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 24px;
  }

  .ph-gallery__main {
    border-radius: var(--radius-lg);
  }

  .ph-trust-badges {
    grid-template-columns: repeat(4, 1fr);
  }

  .ph-community-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .ph-newsletter__form {
    max-width: 500px;
  }

  .ph-newsletter h2 {
    font-size: 28px;
  }

  .ph-faq {
    max-width: 800px;
    margin: 0 auto;
  }

  .ph-tabs__nav {
    max-width: 800px;
    margin: 0 auto;
  }

  .ph-tab-content {
    max-width: 800px;
    margin: 0 auto;
  }
}

/* ------------------------------------------
   28. Kadence Overrides
   ------------------------------------------ */

/* Remove content-width-narrow on homepage */
body.home .content-width-narrow,
body.home .entry-content-wrap {
  max-width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

body.home .site-container,
body.home .site-inner > .content-area {
  max-width: 100% !important;
}

/* Remove default Kadence page titles */
body.home .entry-hero-container-inner,
body.home .entry-header,
body.single-product .entry-hero-container-inner {
  display: none !important;
}

/* WooCommerce default style overrides */
.woocommerce .star-rating span::before {
  color: var(--ph-camel) !important;
}

.woocommerce .star-rating::before {
  color: var(--ph-border-strong) !important;
}

.woocommerce span.onsale {
  background: var(--ph-camel) !important;
  border-radius: var(--radius-pill) !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  padding: 4px 12px !important;
  min-height: auto !important;
  line-height: 1.6 !important;
}

.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border-top-color: var(--ph-camel) !important;
}

.woocommerce .woocommerce-message::before,
.woocommerce .woocommerce-info::before {
  color: var(--ph-camel) !important;
}

.woocommerce .woocommerce-error {
  border-top-color: var(--ph-error) !important;
}

.woocommerce-breadcrumb {
  font-size: 11px !important;
  color: var(--ph-text-light) !important;
  padding: 12px 16px !important;
}

.woocommerce-breadcrumb a {
  color: var(--ph-text-muted) !important;
}

.woocommerce-breadcrumb a:hover {
  color: var(--ph-camel) !important;
}

/* Kadence button overrides */
.wp-block-button__link,
.kb-button {
  border-radius: var(--radius-pill) !important;
}

/* Remove default Kadence product page styles */
body.single-product .product_title {
  font-family: var(--font-heading) !important;
  font-weight: 500 !important;
}

body.single-product .price {
  color: var(--ph-camel) !important;
}

/* ------------------------------------------
   29. Forms
   ------------------------------------------ */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea,
select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea {
  border: 1px solid var(--ph-border-strong) !important;
  border-radius: var(--radius-sm) !important;
  padding: 12px 14px !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  color: var(--ph-dark) !important;
  background: var(--ph-card) !important;
  transition: border-color 0.25s ease !important;
  outline: none !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus {
  border-color: var(--ph-camel) !important;
  box-shadow: 0 0 0 3px rgba(184, 149, 106, 0.1) !important;
}

input::placeholder,
textarea::placeholder {
  color: var(--ph-text-light) !important;
}

label {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--ph-dark);
}

/* ------------------------------------------
   30. Legal Pages
   ------------------------------------------ */
.page-template-default .entry-content-wrap,
body.page:not(.home) .entry-content {
  max-width: 900px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 40px 20px !important;
}

body.page:not(.home) .entry-content h1,
body.page:not(.home) .entry-content h2,
body.page:not(.home) .entry-content h3 {
  color: var(--ph-dark);
}

body.page:not(.home) .entry-content p,
body.page:not(.home) .entry-content li {
  color: var(--ph-text-body);
  font-size: 14px;
  line-height: 1.8;
}

/* ------------------------------------------
   Utilities
   ------------------------------------------ */
.ph-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;
}

.ph-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 1025px) {
  .ph-container {
    padding: 0 24px;
  }
}

/* ═══ FAQ FIX — Match actual HTML classes ═══ */
.ph-faq-question {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 0 !important;
  cursor: pointer !important;
  width: 100% !important;
  background: transparent !important;
  border: none !important;
  text-align: left !important;
  font-family: var(--font-body) !important;
  outline: none !important;
  -webkit-appearance: none !important;
}
.ph-faq-question__text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ph-dark) !important;
}
.ph-faq-question__icon {
  font-size: 18px !important;
  color: var(--ph-camel) !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0 !important;
  margin-left: 12px !important;
}
.ph-faq-item.open .ph-faq-question__icon {
  transform: rotate(45deg) !important;
}
.ph-faq-answer {
  font-size: 13px !important;
  color: var(--ph-text-muted) !important;
  line-height: 1.7 !important;
  padding: 0 0 16px !important;
  display: none !important;
  background: transparent !important;
  border: none !important;
}
.ph-faq-item.open .ph-faq-answer {
  display: block !important;
}
.ph-faq-item {
  border-bottom: 1px solid var(--ph-border) !important;
  background: transparent !important;
}
.ph-faq-section {
  padding: 0 16px 32px;
}

/* Fix metafield sections */
.ph-metafield-section {
  width: 100% !important;
}
.ph-metafield-image {
  width: 100%;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.ph-metafield-number {
  position: absolute;
  top: 16px;
  left: 16px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 500;
  color: var(--ph-camel);
}
.ph-metafield-content {
  padding: 28px 16px 40px;
}
.ph-metafield-content h3 {
  font-family: var(--font-heading) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
}
.ph-metafield-content p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: var(--ph-text-muted) !important;
  font-weight: 300 !important;
  margin-bottom: 16px !important;
}
.ph-feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ph-feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 20px;
  font-size: 11px;
  color: var(--ph-text-muted);
}
.ph-pill-dot {
  color: var(--ph-camel);
  font-size: 8px;
}

/* Fix cross-sell section */
.ph-cross-sell {
  padding: 0 0 32px;
}
.ph-cross-sell__header {
  padding: 0 16px;
  margin-bottom: 16px;
}
.ph-cross-sell__grid {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.ph-cross-sell__card {
  min-width: 160px;
  scroll-snap-align: start;
  flex-shrink: 0;
}
.ph-cross-sell__image {
  aspect-ratio: 1/1;
  border-radius: 14px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.ph-cross-sell__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ph-cross-sell__name {
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 3px;
}
.ph-cross-sell__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ph-cross-sell__price {
  font-size: 14px;
  font-weight: 600;
  color: var(--ph-camel);
}
.ph-cross-sell__add {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ph-dark);
  color: #FAF8F5;
  border: none;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
}

/* Fix shipping info */
.ph-shipping-info {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ph-text-muted);
  margin-bottom: 16px;
}

/* Fix size guide link */
.ph-size-guide-link {
  font-size: 12px;
  color: var(--ph-camel) !important;
  text-decoration: underline;
  display: inline-block;
  margin-bottom: 12px;
}

/* Product trust badges on product page */
.ph-product-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 20px;
  margin-bottom: 24px;
}
.ph-product-trust__item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid var(--ph-border);
  background: #fff;
  font-size: 11px;
  color: var(--ph-text-muted);
}

/* ═══ PRODUCT PAGE — COMPLETE FIX ═══ */

/* Product image full width on mobile */
.woocommerce div.product div.images,
.woocommerce div.product div.images .woocommerce-product-gallery {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
}
.woocommerce div.product div.images img {
  border-radius: 0 !important;
  border: none !important;
  width: 100% !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__image {
  border-radius: 0 !important;
}
/* Desktop: side by side */
@media (min-width: 768px) {
  .woocommerce div.product div.images {
    width: 50% !important;
    float: left !important;
  }
  .woocommerce div.product div.summary {
    width: 46% !important;
    float: right !important;
  }
}

/* Product summary styling */
.woocommerce div.product .product_title {
  font-family: var(--font-heading) !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin: 6px 0 12px !important;
  color: var(--ph-dark) !important;
}
.woocommerce div.product p.price {
  margin-bottom: 20px !important;
}
.woocommerce div.product p.price .woocommerce-Price-amount {
  font-size: 26px !important;
  font-weight: 600 !important;
  color: var(--ph-camel) !important;
}
.woocommerce div.product p.price del .woocommerce-Price-amount {
  font-size: 14px !important;
  color: var(--ph-text-light) !important;
}

/* Category breadcrumb overline style */
.woocommerce-breadcrumb {
  font-size: 11px !important;
  color: var(--ph-text-light) !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  padding: 12px 16px !important;
}
.woocommerce-breadcrumb a {
  color: var(--ph-text-light) !important;
  text-decoration: none !important;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px !important;
  color: var(--ph-text-muted) !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}

/* Add to cart button — full width pill */
.woocommerce div.product form.cart {
  display: flex !important;
  gap: 10px !important;
  margin-bottom: 16px !important;
  align-items: stretch !important;
}
.woocommerce div.product form.cart .quantity {
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--ph-border-strong) !important;
  border-radius: 30px !important;
  background: #fff !important;
  overflow: hidden !important;
  min-width: auto !important;
}
.woocommerce div.product form.cart .quantity .qty {
  border: none !important;
  width: 40px !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
  padding: 12px 0 !important;
  -moz-appearance: textfield !important;
  background: transparent !important;
}
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}
.woocommerce div.product .single_add_to_cart_button {
  flex: 1 !important;
  background: var(--ph-dark) !important;
  color: #FAF8F5 !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 16px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-family: var(--font-body) !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--ph-camel) !important;
}

/* Shipping info below price */
.ph-shipping-info {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 12px !important;
  color: var(--ph-text-muted) !important;
  margin-bottom: 16px !important;
}

/* Product trust badges grid */
.ph-product-trust {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin-top: 20px !important;
  margin-bottom: 24px !important;
}
.ph-product-trust__item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  border: 1px solid var(--ph-border) !important;
  background: #fff !important;
  font-size: 11px !important;
  color: var(--ph-text-muted) !important;
}

/* Size guide link */
.ph-size-guide-link {
  font-size: 12px !important;
  color: var(--ph-camel) !important;
  text-decoration: underline !important;
  display: inline-block !important;
  margin-bottom: 12px !important;
}

/* ═══ FAQ — DEFINITIVE FIX ═══ */
.ph-faq-section {
  padding: 0 16px 32px !important;
  background: transparent !important;
}
.ph-faq-item {
  border-bottom: 1px solid var(--ph-border-med) !important;
  background: transparent !important;
  margin: 0 !important;
  padding: 0 !important;
}
button.ph-faq-question {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 16px 0 !important;
  cursor: pointer !important;
  width: 100% !important;
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  text-align: left !important;
  font-family: var(--font-body) !important;
  outline: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  box-shadow: none !important;
  margin: 0 !important;
  color: var(--ph-dark) !important;
}
button.ph-faq-question:focus,
button.ph-faq-question:hover {
  background: none !important;
  background-color: transparent !important;
  outline: none !important;
  box-shadow: none !important;
}
.ph-faq-question__text {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--ph-dark) !important;
  padding-right: 16px !important;
}
.ph-faq-question__icon {
  font-size: 18px !important;
  color: var(--ph-camel) !important;
  transition: transform 0.3s ease !important;
  flex-shrink: 0 !important;
}
.ph-faq-item.open .ph-faq-question__icon {
  transform: rotate(45deg) !important;
}
.ph-faq-answer {
  font-size: 13px !important;
  color: var(--ph-text-muted) !important;
  line-height: 1.7 !important;
  font-weight: 300 !important;
  padding: 0 0 16px !important;
  display: none !important;
  background: transparent !important;
  border: none !important;
  margin: 0 !important;
}
.ph-faq-item.open .ph-faq-answer {
  display: block !important;
}

/* ═══ METAFIELD SECTIONS — FIX ═══ */
.ph-metafield-section {
  width: 100% !important;
  overflow: hidden !important;
}
.ph-metafield-image {
  width: 100% !important;
  aspect-ratio: 4/3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
.ph-metafield-number {
  position: absolute !important;
  top: 16px !important;
  left: 16px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.85) !important;
  backdrop-filter: blur(8px) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: var(--font-heading) !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--ph-camel) !important;
}
.ph-metafield-content {
  padding: 28px 16px 40px !important;
}
.ph-metafield-content h3 {
  font-family: var(--font-heading) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
  color: var(--ph-dark) !important;
}
.ph-metafield-content p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: var(--ph-text-muted) !important;
  font-weight: 300 !important;
  margin-bottom: 16px !important;
}
.ph-feature-pills {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 8px !important;
}
.ph-feature-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 7px 14px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  color: var(--ph-text-muted) !important;
}
.ph-pill-dot {
  color: var(--ph-camel) !important;
  font-size: 8px !important;
}

/* Desktop metafields: side-by-side */
@media (min-width: 768px) {
  .ph-metafield-section {
    display: flex !important;
    align-items: stretch !important;
  }
  .ph-metafield-image {
    width: 50% !important;
    flex-shrink: 0 !important;
    aspect-ratio: auto !important;
    min-height: 400px !important;
  }
  .ph-metafield-content {
    width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 40px 60px !important;
  }
  .ph-metafield-section:nth-child(even) {
    flex-direction: row-reverse !important;
  }
}

/* ═══ CROSS-SELL FIX ═══ */
.ph-cross-sell {
  padding: 0 0 32px !important;
}
.ph-cross-sell__header {
  padding: 0 16px !important;
  margin-bottom: 16px !important;
}
.ph-cross-sell__grid {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 0 16px !important;
  scroll-snap-type: x mandatory !important;
  -webkit-overflow-scrolling: touch !important;
}
.ph-cross-sell__card {
  min-width: 160px !important;
  scroll-snap-align: start !important;
  flex-shrink: 0 !important;
}
.ph-cross-sell__image {
  aspect-ratio: 1/1 !important;
  border-radius: 14px !important;
  margin-bottom: 10px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
}
.ph-cross-sell__image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.ph-cross-sell__name {
  font-size: 13px !important;
  font-weight: 500 !important;
  margin-bottom: 3px !important;
}
.ph-cross-sell__bottom {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
}
.ph-cross-sell__price {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--ph-camel) !important;
}
.ph-cross-sell__add {
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: var(--ph-dark) !important;
  color: #FAF8F5 !important;
  border: none !important;
  font-size: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

/* ═══ TABS FIX ═══ */
.woocommerce-tabs .woocommerce-Tabs-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.woocommerce-tabs ul.tabs {
  padding: 0 !important;
  margin: 0 0 20px !important;
  border-bottom: 1px solid var(--ph-border-med) !important;
  display: flex !important;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
}
.woocommerce-tabs ul.tabs li {
  border: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  flex: 1 !important;
  border-radius: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--ph-text-light) !important;
  padding: 14px 0 !important;
  text-align: center !important;
  display: block !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
}
.woocommerce-tabs ul.tabs li.active a {
  font-weight: 600 !important;
  color: var(--ph-dark) !important;
  border-bottom-color: var(--ph-dark) !important;
}

/* Hide default WooCommerce related products (we use custom cross-sell) */
.woocommerce .related.products {
  display: none !important;
}

/* Product page spacing */
body.single-product .entry-content-wrap {
  padding: 0 !important;
  max-width: 100% !important;
}
body.single-product .content-container.site-container {
  max-width: 100% !important;
  padding: 0 !important;
}
@media (min-width: 768px) {
  body.single-product .content-container.site-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
  }
}

/* ═══ BADGES ═══ */
.ph-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  z-index: 2;
}
.ph-badge--dark {
  background: var(--ph-dark);
  color: #FAF8F5;
}
.ph-badge--camel {
  background: var(--ph-camel);
  color: #FAF8F5;
}

/* ═══ SHARE BUTTON ═══ */
.ph-share-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(8px);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 2;
  color: var(--ph-dark);
}
.woocommerce div.product div.images {
  position: relative;
}

/* ═══ CATEGORY PILLS FIX ═══ */
.ph-category-pills {
  padding: 12px 16px !important;
  display: flex !important;
  gap: 8px !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
}
.ph-category-pills::-webkit-scrollbar {
  display: none !important;
}
.ph-pill {
  padding: 8px 18px !important;
  border-radius: 30px !important;
  border: 1px solid rgba(45,59,45,0.12) !important;
  background: transparent !important;
  color: #2D3B2D !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  white-space: nowrap !important;
  cursor: pointer !important;
  font-family: var(--font-body) !important;
  flex-shrink: 0 !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  outline: none !important;
}
.ph-pill--active,
.ph-pill:first-child {
  background: #2D3B2D !important;
  color: #FAF8F5 !important;
  border-color: #2D3B2D !important;
}
button.ph-pill {
  background: transparent !important;
  color: #2D3B2D !important;
}
button.ph-pill.ph-pill--active,
button.ph-pill:first-child {
  background: #2D3B2D !important;
  color: #FAF8F5 !important;
}

/* ═══════════════════════════════════════
   PRODUCT PAGE — RESPONSIVE COMPLETE FIX
   ═══════════════════════════════════════ */

/* ── MOBILE (base) ─────────────────── */

/* Image: full width, no padding, no margin */
body.single-product .site-main {
  padding: 0 !important;
}
body.single-product .entry-content-wrap,
body.single-product .content-wrap {
  padding: 0 !important;
  max-width: 100% !important;
}
body.single-product .content-container.site-container {
  padding: 0 !important;
  max-width: 100% !important;
}

/* Product layout */
.woocommerce div.product {
  padding: 0 !important;
}
.woocommerce div.product div.images {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}
.woocommerce div.product div.images img,
.woocommerce div.product div.images .woocommerce-product-gallery__image img {
  width: 100% !important;
  height: auto !important;
  border-radius: 0 !important;
  margin: 0 !important;
  display: block !important;
}
.woocommerce div.product div.images .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}
.woocommerce div.product div.images .flex-viewport {
  border-radius: 0 !important;
  overflow: hidden !important;
}

/* Summary (product info) */
.woocommerce div.product div.summary {
  width: 100% !important;
  float: none !important;
  padding: 16px !important;
  margin: 0 !important;
}

/* Product title */
.woocommerce div.product .product_title {
  font-family: var(--font-heading) !important;
  font-size: 28px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin: 6px 0 12px !important;
}

/* Price */
.woocommerce div.product p.price {
  margin-bottom: 12px !important;
}
.woocommerce div.product p.price .woocommerce-Price-amount {
  font-size: 26px !important;
  font-weight: 600 !important;
  color: var(--ph-camel) !important;
}

/* Shipping info */
.ph-shipping-info {
  font-size: 12px !important;
  color: var(--ph-text-muted) !important;
  margin-bottom: 16px !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Short description */
.woocommerce div.product .woocommerce-product-details__short-description {
  font-size: 14px !important;
  color: var(--ph-text-muted) !important;
  line-height: 1.6 !important;
  margin-bottom: 16px !important;
}

/* Cart form: quantity + button side by side */
.woocommerce div.product form.cart {
  display: flex !important;
  gap: 10px !important;
  margin: 16px 0 !important;
  align-items: stretch !important;
}
.woocommerce div.product form.cart .quantity {
  display: flex !important;
  align-items: center !important;
  border: 1px solid var(--ph-border-strong) !important;
  border-radius: 30px !important;
  background: #fff !important;
  min-width: auto !important;
  width: auto !important;
}
.woocommerce div.product form.cart .quantity .qty {
  border: none !important;
  width: 36px !important;
  text-align: center !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  padding: 12px 0 !important;
  background: transparent !important;
  -moz-appearance: textfield !important;
}
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button {
  -webkit-appearance: none !important;
}
.woocommerce div.product .single_add_to_cart_button {
  flex: 1 !important;
  background: var(--ph-dark) !important;
  color: #FAF8F5 !important;
  border: none !important;
  border-radius: 30px !important;
  padding: 16px 20px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  font-family: var(--font-body) !important;
  cursor: pointer !important;
  transition: background 0.3s ease !important;
  white-space: nowrap !important;
}
.woocommerce div.product .single_add_to_cart_button:hover {
  background: var(--ph-camel) !important;
}

/* Trust badges */
.ph-product-trust {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 8px !important;
  margin: 20px 0 24px !important;
}
.ph-product-trust__item {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 12px !important;
  border-radius: 10px !important;
  border: 1px solid var(--ph-border) !important;
  background: #fff !important;
  font-size: 11px !important;
  color: var(--ph-text-muted) !important;
}

/* Badge on product image */
.ph-badge {
  position: absolute !important;
  top: 14px !important;
  left: 14px !important;
  padding: 6px 14px !important;
  border-radius: 20px !important;
  font-size: 10px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  text-transform: uppercase !important;
  z-index: 5 !important;
}

/* Share button */
.ph-share-btn {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  z-index: 5 !important;
}

/* Size guide */
.ph-size-guide-link {
  font-size: 12px !important;
  color: var(--ph-camel) !important;
  text-decoration: underline !important;
  margin-bottom: 12px !important;
  display: inline-block !important;
}

/* Tabs */
.woocommerce-tabs {
  padding: 0 16px !important;
  margin-top: 24px !important;
}
.woocommerce-tabs ul.tabs {
  display: flex !important;
  padding: 0 !important;
  margin: 0 0 20px !important;
  border-bottom: 1px solid var(--ph-border-med) !important;
  list-style: none !important;
}
.woocommerce-tabs ul.tabs::before,
.woocommerce-tabs ul.tabs::after {
  display: none !important;
}
.woocommerce-tabs ul.tabs li {
  flex: 1 !important;
  border: none !important;
  background: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
.woocommerce-tabs ul.tabs li a {
  display: block !important;
  text-align: center !important;
  padding: 14px 0 !important;
  font-family: var(--font-body) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  color: var(--ph-text-light) !important;
  border-bottom: 2px solid transparent !important;
  margin-bottom: -1px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  background: none !important;
}
.woocommerce-tabs ul.tabs li.active a {
  font-weight: 600 !important;
  color: var(--ph-dark) !important;
  border-bottom-color: var(--ph-dark) !important;
}
.woocommerce-tabs .woocommerce-Tabs-panel {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.woocommerce-tabs .woocommerce-Tabs-panel p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: var(--ph-text-muted) !important;
}
.woocommerce-tabs .woocommerce-Tabs-panel h2 {
  display: none !important; /* Hide "Description" heading inside tab */
}

/* Hide default WooCommerce related products */
.woocommerce .related.products {
  display: none !important;
}

/* Metafields mobile */
.ph-metafield-section {
  width: 100% !important;
  overflow: hidden !important;
}
.ph-metafield-image {
  width: 100% !important;
  aspect-ratio: 4/3 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
}
.ph-metafield-content {
  padding: 28px 16px 40px !important;
}
.ph-metafield-content .ph-overline {
  margin-bottom: 6px !important;
}
.ph-metafield-content h3 {
  font-family: var(--font-heading) !important;
  font-size: 22px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  margin-bottom: 14px !important;
}
.ph-metafield-content p {
  font-size: 14px !important;
  line-height: 1.8 !important;
  color: var(--ph-text-muted) !important;
  font-weight: 300 !important;
  margin-bottom: 16px !important;
}

/* FAQ mobile */
.ph-faq-section {
  padding: 0 16px 32px !important;
}

/* Cross-sell mobile */
.ph-cross-sell {
  padding: 0 0 32px !important;
}
.ph-cross-sell__header {
  padding: 0 16px !important;
  margin-bottom: 16px !important;
}
.ph-cross-sell__grid {
  display: flex !important;
  gap: 12px !important;
  overflow-x: auto !important;
  padding: 0 16px !important;
  scroll-snap-type: x mandatory !important;
}
.ph-cross-sell__card {
  min-width: 160px !important;
  flex-shrink: 0 !important;
}

/* Sticky bar spacing */
body.single-product::after {
  content: '' !important;
  display: block !important;
  height: 80px !important;
}

/* ── TABLET (768px+) ───────────────── */
@media (min-width: 768px) {
  body.single-product .content-container.site-container {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 40px !important;
  }

  /* Side-by-side layout */
  .woocommerce div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 40px !important;
    padding: 20px 0 !important;
  }
  .woocommerce div.product div.images {
    width: calc(50% - 20px) !important;
    flex-shrink: 0 !important;
  }
  .woocommerce div.product div.images img {
    border-radius: 16px !important;
  }
  .woocommerce div.product div.summary {
    width: calc(50% - 20px) !important;
    padding: 0 !important;
  }

  /* Tabs full width */
  .woocommerce-tabs {
    width: 100% !important;
    padding: 0 !important;
    margin-top: 40px !important;
    clear: both !important;
  }

  /* Metafields side-by-side */
  .ph-metafield-section {
    display: flex !important;
    align-items: stretch !important;
  }
  .ph-metafield-image {
    width: 50% !important;
    flex-shrink: 0 !important;
    aspect-ratio: auto !important;
    min-height: 400px !important;
  }
  .ph-metafield-content {
    width: 50% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    padding: 40px 60px !important;
  }
  /* Alternate direction for even sections */
  .ph-metafield-section:nth-child(even) {
    flex-direction: row-reverse !important;
  }

  /* Cross-sell larger cards */
  .ph-cross-sell__grid {
    padding: 0 40px !important;
  }
  .ph-cross-sell__card {
    min-width: 220px !important;
  }
  .ph-cross-sell__header {
    padding: 0 40px !important;
  }

  /* FAQ wider */
  .ph-faq-section {
    padding: 0 40px 40px !important;
    max-width: 800px !important;
  }

  /* Hide sticky bar on desktop */
  .ph-sticky-bar { display: none !important; }
  body.single-product::after { display: none !important; }
}

/* ── DESKTOP (1200px+) ─────────────── */
@media (min-width: 1200px) {
  .woocommerce div.product {
    gap: 60px !important;
  }
  .woocommerce div.product .product_title {
    font-size: 36px !important;
  }
  .ph-cross-sell__card {
    min-width: 260px !important;
  }
}

/* ── WooCommerce product meta ──────── */
.woocommerce div.product .product_meta {
  font-size: 12px !important;
  color: var(--ph-text-light) !important;
  padding-top: 16px !important;
  border-top: 1px solid var(--ph-border) !important;
  margin-top: 16px !important;
}
.woocommerce div.product .product_meta a {
  color: var(--ph-camel) !important;
}
.woocommerce div.product .product_meta > span {
  display: block !important;
  margin-bottom: 4px !important;
}

/* ═══ PRODUCT PAGE DESKTOP — FULL WIDTH FIX ═══ */
@media (min-width: 768px) {
  /* Container should use full available width */
  body.single-product .content-container.site-container {
    max-width: 1400px !important;
    padding: 0 60px !important;
  }

  /* Product flex layout */
  .woocommerce div.product {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 50px !important;
    padding: 30px 0 !important;
    align-items: flex-start !important;
  }

  /* Image takes 55% */
  .woocommerce div.product div.images {
    width: 55% !important;
    flex-shrink: 0 !important;
    position: sticky !important;
    top: 100px !important;
  }
  .woocommerce div.product div.images img {
    border-radius: 16px !important;
  }

  /* Summary takes remaining */
  .woocommerce div.product div.summary {
    flex: 1 !important;
    width: auto !important;
    min-width: 0 !important;
    padding: 0 !important;
  }

  /* Tabs, metafields, FAQ, cross-sell: full width below */
  .woocommerce-tabs,
  .ph-metafield-section,
  .ph-faq-section,
  .ph-cross-sell {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  /* Metafields: full bleed on desktop */
  .ph-metafield-section {
    margin-left: -60px !important;
    margin-right: -60px !important;
    width: calc(100% + 120px) !important;
  }

  /* FAQ centered */
  .ph-faq-section {
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 20px 0 40px !important;
  }

  /* Cross-sell full width */
  .ph-cross-sell {
    margin-left: -60px !important;
    margin-right: -60px !important;
    width: calc(100% + 120px) !important;
  }
  .ph-cross-sell__header {
    padding: 0 60px !important;
  }
  .ph-cross-sell__grid {
    padding: 0 60px !important;
  }
}

@media (min-width: 1200px) {
  body.single-product .content-container.site-container {
    max-width: 1400px !important;
    padding: 0 80px !important;
  }
  .woocommerce div.product {
    gap: 60px !important;
  }
  .woocommerce div.product .product_title {
    font-size: 36px !important;
  }
  .ph-metafield-section {
    margin-left: -80px !important;
    margin-right: -80px !important;
    width: calc(100% + 160px) !important;
  }
  .ph-cross-sell {
    margin-left: -80px !important;
    margin-right: -80px !important;
    width: calc(100% + 160px) !important;
  }
  .ph-cross-sell__header {
    padding: 0 80px !important;
  }
  .ph-cross-sell__grid {
    padding: 0 80px !important;
  }
}

/* ═══ BREADCRUMBS — FORCE VISIBLE ═══ */
.product-title.product-above,
.kadence-breadcrumbs,
#kadence-breadcrumbs {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  padding: 12px 16px !important;
  font-size: 11px !important;
  color: var(--ph-text-light) !important;
  letter-spacing: 0.5px !important;
}
.kadence-breadcrumb-container {
  display: block !important;
}
.kadence-breadcrumbs a,
#kadence-breadcrumbs a {
  color: var(--ph-text-light) !important;
  text-decoration: none !important;
  font-size: 11px !important;
}
.kadence-breadcrumbs a:hover {
  color: var(--ph-camel) !important;
}
.kadence-breadcrumbs .bc-delimiter {
  margin: 0 6px !important;
  opacity: 0.4 !important;
}
.kadence-breadcrumbs .kadence-bread-current {
  color: var(--ph-dark) !important;
  font-weight: 500 !important;
}

/* On desktop, breadcrumbs inside the product container */
@media (min-width: 768px) {
  .product-title.product-above {
    padding: 16px 0 !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
    padding-left: 60px !important;
    padding-right: 60px !important;
  }
}
@media (min-width: 1200px) {
  .product-title.product-above {
    padding-left: 80px !important;
    padding-right: 80px !important;
  }
}

/* ═══ FIX: Remove sticky image on product page ═══ */
.woocommerce div.product div.images {
  position: relative !important;
  top: auto !important;
}

/* ═══ PRODUCT PAGE — CENTER ALL SECTIONS BELOW ═══ */
@media (min-width: 768px) {
  /* Tabs: full width, centered */
  .woocommerce-tabs {
    clear: both !important;
    max-width: 900px !important;
    margin: 40px auto 0 !important;
    padding: 0 !important;
  }

  /* Metafields: full bleed but content centered */
  .ph-metafield-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }

  /* FAQ centered */
  .ph-faq-section {
    max-width: 800px !important;
    margin: 0 auto !important;
  }

  /* Cross-sell: full width */
  .ph-cross-sell {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .ph-cross-sell__header {
    padding: 0 40px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
  }
  .ph-cross-sell__grid {
    padding: 0 40px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
  }

  /* Product container: dont

/* ═══ PRODUCT PAGE — CENTER ALL BELOW ═══ */
@media (min-width: 768px) {
  .woocommerce-tabs {
    clear: both !important;
    max-width: 900px !important;
    margin: 40px auto 0 !important;
    padding: 0 !important;
  }
  .ph-metafield-section {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .ph-faq-section {
    max-width: 800px !important;
    margin: 0 auto !important;
  }
  .ph-cross-sell {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
  }
  .ph-cross-sell__header {
    padding: 0 40px !important;
    max-width: 1400px !important;
    margin: 0 auto 16px !important;
  }
  .ph-cross-sell__grid {
    padding: 0 40px !important;
    max-width: 1400px !important;
    margin: 0 auto !important;
  }
  .woocommerce div.product > .woocommerce-tabs,
  .woocommerce div.product > .ph-metafield-section,
  .woocommerce div.product > .ph-faq-section,
  .woocommerce div.product > .ph-cross-sell {
    flex-basis: 100% !important;
    width: 100% !important;
  }
}

/* ═══ NEWSLETTER BUTTON FIX ═══ */
.ph-newsletter-btn,
.ph-newsletter button,
.ph-newsletter-form button,
section.ph-newsletter button {
  background: #2D3B2D !important;
  color: #FAF8F5 !important;
  border: none !important;
  padding: 14px 22px !important;
  border-radius: 30px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 0.5px !important;
  font-family: 'Inter', sans-serif !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}
.ph-newsletter-btn:hover,
.ph-newsletter-form button:hover {
  background: #B8956A !important;
}
.ph-newsletter-form input[type="email"],
.ph-newsletter input[type="email"] {
  flex: 1 !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(45,59,45,0.12) !important;
  border-radius: 30px !important;
  font-size: 14px !important;
  font-family: 'Inter', sans-serif !important;
  background: #fff !important;
  outline: none !important;
  color: #2D3B2D !important;
  -webkit-appearance: none !important;
}

/* ═══ FOOTER — COMPLETE RESTYLE ═══ */
footer.site-footer,
.site-footer,
.site-footer-wrap {
  background: #2D3B2D !important;
}

/* Footer top area with widgets */
.site-footer .footer-widget-area,
.footer-top {
  padding: 50px 40px 30px !important;
}

/* Widget titles */
.site-footer .widget-title,
.site-footer .footer-widget-area .widget-title,
.site-footer h2.widget-title {
  color: #FAF8F5 !important;
  font-family: 'Inter', sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 2px !important;
  margin-bottom: 16px !important;
}

/* Widget text content */
.site-footer .widget,
.site-footer .textwidget,
.site-footer .textwidget p {
  color: rgba(250,248,245,0.55) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* Widget list links */
.site-footer .widget ul,
.site-footer .widget .menu {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.site-footer .widget ul li,
.site-footer .widget .menu li {
  margin-bottom: 10px !important;
  padding: 0 !important;
}
.site-footer .widget a,
.site-footer .widget ul li a,
.site-footer .widget .menu li a {
  color: rgba(250,248,245,0.5) !important;
  text-decoration: none !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  transition: color 0.3s ease !important;
}
.site-footer .widget a:hover,
.site-footer .widget ul li a:hover {
  color: #B8956A !important;
}

/* Footer bottom bar */
.site-footer .site-footer-bottom-wrap,
.footer-bottom {
  background: #1E352B !important;
  border-top: 1px solid rgba(250,248,245,0.08) !important;
  padding: 16px 40px !important;
}
.site-footer .footer-html,
.site-footer .footer-html-inner,
.site-footer .site-footer-bottom-wrap .footer-html {
  color: rgba(250,248,245,0.35) !important;
  font-size: 11px !important;
  font-family: 'Inter', sans-serif !important;
  text-align: center !important;
}
.site-footer .site-footer-bottom-wrap a {
  color: rgba(250,248,245,0.35) !important;
}

/* Footer columns layout */
.site-footer .site-footer-upper-wrap,
.site-footer .site-footer-top-wrap {
  background: #2D3B2D !important;
}
.site-footer .site-footer-upper-inner-wrap,
.site-footer .site-footer-top-inner-wrap {
  max-width: 1400px !important;
  margin: 0 auto !important;
}

/* Footer row container */
.site-footer .site-footer-row-container-inner {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 40px !important;
}

/* Kadence footer credit link - hide */
.site-footer a[href*="kadencewp"],
.site-footer .powered-by-developer {
  display: none !important;
}

@media (max-width: 768px) {
  .site-footer .footer-widget-area {
    padding: 32px 16px 20px !important;
  }
  .site-footer .site-footer-bottom-wrap {
    padding: 12px 16px !important;
  }
  .site-footer .site-footer-row-container-inner {
    padding: 0 16px !important;
  }
}

/* ═══ HERO BUTTONS FIX ═══ */
.ph-hero__buttons {
  display: flex !important;
  gap: 10px !important;
  justify-content: center !important;
  flex-wrap: wrap !important;
}
.ph-hero__buttons a,
.ph-hero__buttons .ph-btn-accent,
.ph-hero__buttons .ph-btn-ghost {
  padding: 14px 28px !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  border-radius: 30px !important;
  text-decoration: none !important;
  font-family: 'Inter', sans-serif !important;
  display: inline-block !important;
  cursor: pointer !important;
  transition: all 0.3s ease !important;
}
.ph-btn-accent {
  background: #B8956A !important;
  color: #FAF8F5 !important;
  border: none !important;
}
.ph-btn-accent:hover {
  background: #A68558 !important;
}
.ph-btn-ghost {
  background: rgba(250,248,245,0.12) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  color: #FAF8F5 !important;
  border: 1px solid rgba(250,248,245,0.2) !important;
}
.ph-btn-ghost:hover {
  background: rgba(250,248,245,0.25) !important;
  border-color: rgba(250,248,245,0.4) !important;
}

/* Desktop: bigger buttons */
@media (min-width: 768px) {
  .ph-hero__buttons a {
    padding: 16px 36px !important;
    font-size: 13px !important;
  }
  .ph-hero__buttons {
    gap: 14px !important;
  }
}
