:root {
  --cply-ink: #2d2623;
  --cply-text: #625a56;
  --cply-rust: #c96f62;
  --cply-rust-dark: #a95549;
  --cply-cream: #fff9f5;
  --cply-sand: #f6e7e1;
  --cply-line: #eadfd9;
  --cply-white: #fff;
  --cply-radius: 20px;
  --cply-shadow: 0 18px 50px rgba(62, 43, 34, .08);
}

/* Global product-page header */
.cply-hobo-product #masthead,
.cply-hobo-product .site-header:not(.cp-site-header) {
  display: none !important;
}

.cp-site-header {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  border-bottom: 1px solid #f0e4de;
  background: #fff;
  font-family: inherit;
}

.admin-bar .cp-site-header { top: 32px; }

.cp-topbar {
  padding: 8px 15px;
  background: #f4e3dd;
  color: #6d5750;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .3px;
}

.cp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  max-width: 1320px;
  min-height: 74px;
  margin: 0 auto;
  padding: 0 30px;
}

.cp-header-logo { flex-shrink: 0; }
.cp-header-logo a {
  color: #2d2623 !important;
  text-decoration: none !important;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -.7px;
}

.cp-header-nav { display: flex; align-items: center; gap: 25px; }
.cp-header-nav > a,
.cp-nav-drop > button {
  padding: 27px 0;
  border: 0;
  background: none;
  color: #4a403b !important;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none !important;
  cursor: pointer;
}
.cp-header-nav > a:hover,
.cp-nav-drop > button:hover { color: #b8665c !important; }
.cp-nav-drop { position: relative; }
.cp-dropdown {
  position: absolute;
  top: 66px;
  left: -20px;
  display: none;
  min-width: 245px;
  padding: 10px;
  border: 1px solid #eee1da;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 18px 45px rgba(60,40,30,.12);
}
.cp-nav-drop:hover .cp-dropdown,
.cp-nav-drop:focus-within .cp-dropdown { display: block; }
.cp-dropdown a {
  display: block;
  padding: 11px 12px;
  border-radius: 7px;
  color: #514641 !important;
  text-decoration: none !important;
  font-size: 13px;
  font-weight: 600;
}
.cp-dropdown a:hover { background: #fff7f3; color: #a95850 !important; }
.cp-header-actions { display: flex; align-items: center; gap: 12px; }
.cp-action {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid #f0e2dc;
  border-radius: 50%;
  background: #fff8f4;
  color: #3c332f !important;
  text-decoration: none !important;
  font-size: 17px;
}
.cp-menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: #fff8f4;
  color: #3c332f;
  font-size: 20px;
  cursor: pointer;
}
.cp-mobile-menu {
  display: none;
  padding: 10px 20px 18px;
  border-top: 1px solid #eee3dd;
  background: #fff;
}
.cp-mobile-menu a {
  display: block;
  padding: 12px 3px;
  border-bottom: 1px solid #f4ece8;
  color: #4a403b !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 700;
}

.cply-hobo-product {
  color: var(--cply-text);
  background: #fff;
}

.cply-hobo-product .site-content {
  background: linear-gradient(180deg, #fffaf7 0, #fff 720px, #fff9f5 720px);
}

.cply-hobo-product .ast-container {
  width: min(100% - 40px, 1320px);
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 0;
}

.cply-hobo-product .site-main {
  padding-top: 0;
}

.cply-hobo-product div.product {
  display: grid !important;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  column-gap: clamp(36px, 5vw, 72px);
  align-items: start;
  padding-top: 38px;
}

.cply-hobo-product div.product > .woocommerce-product-gallery {
  grid-column: 1;
  width: 100% !important;
  float: none !important;
  margin: 0 0 64px !important;
}

.cply-hobo-product div.product > .summary {
  grid-column: 2;
  width: 100% !important;
  float: none !important;
  margin: 0 0 64px !important;
  padding: 10px 0 0;
}

.cply-hobo-product div.product > .woocommerce-tabs,
.cply-hobo-product div.product > .cply-story,
.cply-hobo-product div.product > .cply-faq,
.cply-hobo-product div.product > .related,
.cply-hobo-product div.product > section,
.cply-hobo-product div.product > aside {
  grid-column: 1 / -1;
}

.cply-hobo-product .woocommerce-product-gallery {
  background: #f7eee8;
  border: 1px solid #f0e3dc;
  border-radius: 24px;
  padding: 12px;
  box-shadow: var(--cply-shadow);
  overflow: hidden;
}

.cply-hobo-product .woocommerce-product-gallery__wrapper,
.cply-hobo-product .woocommerce-product-gallery__image,
.cply-hobo-product .woocommerce-product-gallery__image a {
  border-radius: 16px;
  overflow: hidden;
}

.cply-hobo-product .woocommerce-product-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.cply-hobo-product .flex-control-thumbs {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 12px 0 0 !important;
  padding: 0 !important;
}

.cply-hobo-product .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.cply-hobo-product .flex-control-thumbs li img {
  aspect-ratio: 1;
  object-fit: cover;
  border: 2px solid transparent;
  border-radius: 11px;
  opacity: .72;
  transition: border-color .2s ease, opacity .2s ease, transform .2s ease;
}

.cply-hobo-product .flex-control-thumbs li img:hover,
.cply-hobo-product .flex-control-thumbs li img.flex-active {
  border-color: var(--cply-rust);
  opacity: 1;
  transform: translateY(-1px);
}

.cply-eyebrow,
.cply-kicker {
  margin: 0 0 12px;
  color: var(--cply-rust-dark);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.cply-eyebrow span {
  display: inline-block;
  margin-right: 8px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--cply-rust-dark);
  color: #fff;
  font-size: 9px;
}

.cply-hobo-product .product_title {
  max-width: 650px;
  margin: 0 0 14px !important;
  color: var(--cply-ink);
  font-size: clamp(34px, 3.2vw, 48px) !important;
  font-weight: 750;
  letter-spacing: -.035em;
  line-height: 1.06;
}

.cply-hobo-product .woocommerce-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px !important;
}

.cply-hobo-product .star-rating { color: #d59049; }

.cply-hobo-product .price {
  margin: 8px 0 16px !important;
  color: var(--cply-ink) !important;
  font-size: 28px !important;
  font-weight: 800;
}

.cply-hobo-product .woocommerce-product-details__short-description {
  max-width: 620px;
  color: var(--cply-text);
  font-size: 16px;
  line-height: 1.7;
}

.cply-hobo-product .woocommerce-product-details__short-description p:last-child {
  margin-bottom: 0;
}

.cply-digital-notice {
  display: grid;
  gap: 4px;
  margin: 16px 0;
  padding: 13px 15px;
  border: 1px solid var(--cply-line);
  border-left: 4px solid var(--cply-rust);
  border-radius: 12px;
  background: var(--cply-cream);
}

.cply-digital-notice strong {
  color: var(--cply-ink);
  font-size: 13px;
}

.cply-digital-notice span { font-size: 12px; }

.cply-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 18px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.cply-facts li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 11px;
  border: 1px solid var(--cply-line);
  border-radius: 12px;
  background: #fff;
}

.cply-facts li > span {
  display: grid;
  flex: 0 0 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--cply-sand);
  color: var(--cply-rust-dark);
  font-size: 11px;
  font-weight: 800;
}

.cply-facts strong,
.cply-facts small { display: block; }
.cply-facts strong { color: var(--cply-ink); font-size: 13px; }
.cply-facts small { margin-top: 2px; font-size: 11px; line-height: 1.35; }

.cply-hobo-product form.cart {
  display: flex !important;
  align-items: stretch;
  gap: 10px;
  margin: 18px 0 14px !important;
}

.cply-hobo-product form.cart .quantity { margin: 0 !important; }

.cply-hobo-product form.cart input.qty {
  width: 58px;
  height: 54px;
  border: 1px solid var(--cply-line);
  border-radius: 10px;
}

.cply-hobo-product form.cart .single_add_to_cart_button {
  flex: 1;
  min-height: 54px;
  border-radius: 10px !important;
  background: var(--cply-rust) !important;
  box-shadow: 0 10px 22px rgba(201, 111, 98, .22);
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  transition: transform .2s ease, background .2s ease;
}

.cply-hobo-product form.cart .single_add_to_cart_button:hover {
  background: var(--cply-rust-dark) !important;
  transform: translateY(-1px);
}

.cply-trust {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 14px;
  padding-top: 13px;
  border-top: 1px solid var(--cply-line);
  color: #746a65;
  font-size: 11px;
  font-weight: 700;
}

.cply-hobo-product .product_meta {
  margin-top: 16px;
  color: #746a65;
  font-size: 11px;
  line-height: 1.6;
}

.cply-hobo-product .woocommerce-tabs {
  clear: both;
  margin: 0 0 68px;
  padding: 10px 28px 24px;
  border: 1px solid var(--cply-line);
  border-radius: var(--cply-radius);
  background: #fff;
  box-shadow: var(--cply-shadow);
}

.cply-hobo-product .woocommerce-tabs ul.tabs { margin: 0 !important; }
.cply-hobo-product .woocommerce-tabs ul.tabs::before { border-color: var(--cply-line) !important; }
.cply-hobo-product .woocommerce-tabs ul.tabs li { border: 0 !important; background: transparent !important; }
.cply-hobo-product .woocommerce-tabs ul.tabs li.active a { color: var(--cply-rust-dark) !important; }

.cply-story,
.cply-faq {
  position: relative;
  display: block;
  clear: both;
  float: none !important;
  width: min(1160px, 100%);
  max-width: 1160px;
  margin: 0 auto 72px;
  box-sizing: border-box;
}

.cply-story h2,
.cply-faq h2 {
  margin: 0;
  color: var(--cply-ink);
  font-size: clamp(29px, 3.4vw, 44px);
  letter-spacing: -.025em;
  line-height: 1.15;
}

.cply-story-intro {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  align-items: end;
  gap: 64px;
  margin-bottom: 30px;
}

.cply-story-intro > p { margin: 0; font-size: 16px; line-height: 1.75; }

.cply-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 54px;
}

.cply-card-grid article {
  padding: 25px;
  border: 1px solid var(--cply-line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(69, 48, 35, .04);
}

.cply-card-grid b {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 50%;
  background: var(--cply-sand);
  color: var(--cply-rust-dark);
  font-size: 12px;
}

.cply-card-grid h3 { margin: 18px 0 7px; color: var(--cply-ink); font-size: 19px; }
.cply-card-grid p { margin: 0; font-size: 14px; line-height: 1.65; }

.cply-includes {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 60px;
  margin-bottom: 24px;
  padding: 48px;
  border-radius: 24px;
  background: var(--cply-ink);
  color: #e9e2de;
}

.cply-includes h2 { color: #fff; }
.cply-includes > div > p:last-child { line-height: 1.7; }
.cply-includes ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.cply-includes li {
  padding: 12px 13px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 10px;
  color: #fff;
  font-size: 13px;
}

.cply-materials {
  margin-bottom: 24px;
  padding: 30px;
  border: 1px solid var(--cply-line);
  border-radius: 18px;
  background: #fff;
}

.cply-materials h2 { margin-bottom: 18px; font-size: 25px; }
.cply-materials > div { display: flex; flex-wrap: wrap; gap: 10px; }
.cply-materials span {
  padding: 9px 13px;
  border: 1px solid var(--cply-line);
  border-radius: 999px;
  background: var(--cply-cream);
  font-size: 13px;
}
.cply-materials > p { margin: 18px 0 0; font-size: 13px; }

.cply-license {
  display: flex;
  gap: 17px;
  padding: 24px 28px;
  border-radius: 16px;
  background: #eef2eb;
  color: #53604d;
}
.cply-license > span { font-size: 28px; }
.cply-license strong { color: #364132; }
.cply-license p { margin: 4px 0 0; font-size: 13px; }

.cply-faq { text-align: center; }
.cply-faq h2 { margin-bottom: 27px; }
.cply-accordion { max-width: 850px; margin: auto; text-align: left; }
.cply-accordion details {
  margin-bottom: 10px;
  padding: 0 20px;
  border: 1px solid var(--cply-line);
  border-radius: 12px;
  background: #fff;
}
.cply-accordion summary {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  color: var(--cply-ink);
  font-weight: 750;
  list-style: none;
  cursor: pointer;
}
.cply-accordion summary::-webkit-details-marker { display: none; }
.cply-accordion summary span { color: var(--cply-rust); font-size: 20px; transition: transform .2s; }
.cply-accordion details[open] summary span { transform: rotate(45deg); }
.cply-accordion details p { margin: 0; padding: 0 30px 18px 0; font-size: 14px; line-height: 1.7; }
.cply-mobile-buy { display: none; }

@media (max-width: 1024px) {
  .cply-hobo-product div.product {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .9fr);
    column-gap: 32px;
  }
  .cply-hobo-product .product_title { font-size: 38px !important; }
  .cply-story-intro { gap: 34px; }
  .cply-includes { gap: 32px; padding: 36px; }
  .cply-includes ul { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .cp-header-inner { min-height: 66px; padding: 0 18px; }
  .cp-header-nav { display: none; }
  .cp-menu-toggle { display: block; }
  .cp-header-logo { flex: 1; text-align: center; }
  .cp-header-logo a { font-size: 20px; }
  .cp-account { display: none; }
  .cp-mobile-menu.is-open { display: block; }
}

@media (max-width: 767px) {
  .cply-hobo-product .ast-container { width: min(100% - 24px, 1320px); }
  .cply-hobo-product .site-content { background: var(--cply-cream); }
  .cply-hobo-product div.product { display: block !important; padding-top: 16px; }
  .cply-hobo-product div.product > .woocommerce-product-gallery { margin-bottom: 24px !important; padding: 8px; border-radius: 18px; }
  .cply-hobo-product div.product > .summary { margin-bottom: 44px !important; padding: 0 2px; }
  .cply-hobo-product .flex-control-thumbs { gap: 7px; }
  .cply-hobo-product .product_title { font-size: 34px !important; line-height: 1.08; }
  .cply-hobo-product .woocommerce-product-details__short-description { font-size: 15px; }
  .cply-facts { grid-template-columns: 1fr; }
  .cply-trust { justify-content: flex-start; }
  .cply-hobo-product .woocommerce-tabs { margin-bottom: 46px; padding: 6px 16px 18px; }
  .cply-story, .cply-faq { margin-bottom: 50px; }
  .cply-story-intro, .cply-includes { grid-template-columns: 1fr; gap: 18px; }
  .cply-card-grid { grid-template-columns: 1fr; gap: 12px; margin-bottom: 40px; }
  .cply-includes { padding: 28px 22px; }
  .cply-materials { padding: 24px 20px; }
  .cply-mobile-buy {
    position: fixed;
    z-index: 9999;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--cply-line);
    background: rgba(255,255,255,.97);
    box-shadow: 0 -10px 30px rgba(45,38,35,.1);
  }
  .cply-mobile-buy[hidden] { display: none; }
  .cply-mobile-buy small, .cply-mobile-buy strong { display: block; }
  .cply-mobile-buy small { font-size: 10px; }
  .cply-mobile-buy strong { color: var(--cply-ink); }
  .cply-mobile-buy button {
    padding: 13px 18px;
    border: 0;
    border-radius: 9px;
    background: var(--cply-rust);
    color: #fff;
    font-weight: 800;
  }
  .cply-hobo-product { padding-bottom: 72px; }
}

@media (max-width: 782px) {
  .admin-bar .cp-site-header { top: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .cply-hobo-product * { scroll-behavior: auto !important; transition: none !important; }
}
