/* ===== Photo tiles ===== */
.cc-tile { position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate; }
.cc-tile img { width: 100%; height: 100%; object-fit: contain; padding: 8%; box-sizing: border-box; }
.cc-tile--light { background: radial-gradient(circle at 50% 45%, #F6F1E8, #E3D9C8 78%); }
.cc-tile--light img { mix-blend-mode: multiply; }
.cc-tile--dark { background: radial-gradient(circle at 50% 60%, rgba(255, 91, 31, .26), transparent 62%), #151312; }
.cc-tile--fill { background: #242120; }
.cc-tile--fill img { object-fit: cover; padding: 0; }
.cc-badge { position: absolute; top: 14px; left: 14px; z-index: 1; padding: 5px 9px; border-radius: 6px; background: #111010; color: #EDE6DA; font-family: var(--wp--preset--font-family--mono, monospace); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; }

/* ===== Free-shipping progress ===== */
.cc-ship { display: flex; flex-direction: column; gap: 10px; }
.cc-ship--panel { padding: 16px 20px; border: 1px solid #3A3531; border-radius: 12px; background: #1A1817; }
.cc-ship--inline { flex-direction: row; align-items: center; gap: 20px; }
.cc-ship__msg { margin: 0; font-size: .9rem; }
.cc-ship__track { height: 6px; border-radius: 3px; background: #2E2A27; overflow: hidden; flex: 1; }
.cc-ship__fill { width: 0; height: 100%; background: var(--wp--preset--color--ember, #FF5B1F); transition: width .4s ease; }
.cc-ship.is-qualified .cc-ship__msg { color: var(--wp--preset--color--ember, #FF5B1F); font-weight: 700; }

/* ===== Product cards & grid ===== */
.cc-grid { display: grid; grid-template-columns: repeat(var(--cc-cols, 4), minmax(0, 1fr)); gap: 20px; }
@media (max-width: 1024px) { .cc-grid { grid-template-columns: repeat(min(var(--cc-cols, 4), 3), minmax(0, 1fr)); } }
@media (max-width: 781px) { .cc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } }
.cc-card { display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: #1A1817; border: 1px solid #2E2A27; color: #EDE6DA; text-decoration: none; transition: border-color .2s, transform .2s; }
.cc-card:hover { border-color: #6B635B; transform: translateY(-2px); }
.cc-card__media { aspect-ratio: 1 / 1; }
.cc-card__body { padding: 16px 18px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.cc-card__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cc-card__brand { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: #9C948A; }
.cc-card__name { font-family: var(--wp--preset--font-family--display, sans-serif); font-weight: 700; font-size: 1.75rem; line-height: .95; text-transform: uppercase; }
.cc-card__sizes { font-size: 13px; color: #B3AA9E; }
.cc-card__price { font-family: var(--wp--preset--font-family--display, sans-serif); font-weight: 700; font-size: 1.5rem; white-space: nowrap; text-align: right; }
.cc-from { display: block; font-family: var(--wp--preset--font-family--body, sans-serif); font-weight: 400; font-size: 11px; color: #9C948A; text-transform: lowercase; }
@media (max-width: 781px) { .cc-card__body { flex-direction: column; align-items: flex-start; } .cc-card__price { text-align: left; } .cc-card__name { font-size: 1.35rem; } }

/* ===== Featured hero card ===== */
.cc-hero-card { width: min(520px, 100%); margin-left: auto; display: flex; flex-direction: column; gap: 20px; }
.cc-hero-card__frame { border-radius: 24px; overflow: hidden; border: 1px solid #3A3531; background: #1A1817; box-shadow: 0 50px 90px rgba(0, 0, 0, .6), 0 0 120px rgba(255, 91, 31, .18); }
.cc-hero-card__slide { display: flex; flex-direction: column; color: #EDE6DA; text-decoration: none; animation: cc-fade .5s ease; }
.cc-hero-card__slide[hidden] { display: none; }
.cc-hero-card__media { aspect-ratio: 1 / .96; }
.cc-hero-card__foot { padding: 22px 24px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-top: 1px solid #2E2A27; }
.cc-hero-card__text { display: flex; flex-direction: column; gap: 6px; }
.cc-hero-card__name { font-family: var(--wp--preset--font-family--display, sans-serif); font-weight: 900; font-size: 2.5rem; line-height: .9; text-transform: uppercase; }
.cc-hero-card__meta { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; color: #9C948A; }
.cc-hero-card__price .cc-from { display: inline; }
.cc-hero-card__cta { min-height: 48px; padding: 0 20px; border-radius: 24px; background: var(--wp--preset--color--ember, #FF5B1F); color: #111010; display: inline-flex; align-items: center; font-weight: 700; white-space: nowrap; }
.cc-hero-card__controls { display: flex; justify-content: space-between; align-items: center; }
.cc-hero-card__dots { display: flex; gap: 8px; }
.cc-hero-card__dot { width: 12px; height: 4px; border-radius: 2px; background: #3A3531; transition: width .3s; }
.cc-hero-card__dot.is-active { width: 32px; background: var(--wp--preset--color--ember, #FF5B1F); }
.cc-hero-card__arrows { display: flex; gap: 8px; }
.cc-hero-card__arrows button { width: 44px; height: 44px; border-radius: 22px; background: transparent; border: 1px solid #3A3531; color: #EDE6DA; font-size: 16px; cursor: pointer; }
@keyframes cc-fade { from { opacity: 0; } to { opacity: 1; } }

/* ===== Category chips ===== */
.cc-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-chip { min-height: 44px; padding: 0 20px; border-radius: 22px; border: 1px solid #3A3531; display: inline-flex; align-items: center; color: #EDE6DA; text-decoration: none; font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.cc-chip.is-active, .cc-chip:hover { background: #EDE6DA; color: #111010; border-color: #EDE6DA; }
@media (max-width: 781px) { .cc-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; } .cc-chip { flex-shrink: 0; } }

/* ===== Product meta ===== */
.cc-pmeta { display: flex; flex-direction: column; gap: 14px; }
.cc-pmeta__origin { margin: 0; font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--wp--preset--color--ember, #FF5B1F); }
.cc-pmeta__strength { display: flex; align-items: center; gap: 16px; font-size: 14px; color: #B3AA9E; }
.cc-pmeta__label { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9C948A; }
.cc-bars { display: inline-flex; gap: 4px; width: 160px; }
.cc-bars i { flex: 1; height: 5px; border-radius: 3px; background: #2E2A27; }
.cc-bars i.on { background: var(--wp--preset--color--ember, #FF5B1F); }

/* ===== Shop ===== */
.cc-shop-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin: 16px 0 20px; }
.cc-shop-head__title { margin: 0; font-size: clamp(3.5rem, 8vw, 7rem); }
.cc-shop-search { display: flex; width: min(520px, 100%); background: #1A1817; border: 1px solid #3A3531; border-radius: 12px; padding: 4px; }
.cc-shop-search input { flex: 1; min-height: 48px; background: transparent; border: 0; color: #EDE6DA; padding: 0 14px; font: inherit; }
.cc-shop-search button { border: 0; border-radius: 10px; background: var(--wp--preset--color--ember, #FF5B1F); color: #111010; font-weight: 700; padding: 0 20px; cursor: pointer; }
.cc-shop__layout { gap: 40px; }
.cc-filters { display: flex; flex-direction: column; gap: 28px; }
.cc-filters__title { margin: 0 0 12px; font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; font-weight: 500; letter-spacing: .14em; color: #9C948A; }
.cc-filters__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; }
.cc-check { display: flex; align-items: center; gap: 12px; min-height: 36px; color: #EDE6DA; text-decoration: none; }
.cc-check::before { content: ""; width: 18px; height: 18px; border: 1.5px solid #6B635B; border-radius: 4px; flex-shrink: 0; }
.cc-check.is-active::before { background: var(--wp--preset--color--ember, #FF5B1F); border-color: var(--wp--preset--color--ember, #FF5B1F); box-shadow: inset 0 0 0 3px #111010; }
.cc-filters__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cc-fchip, .cc-scale { min-height: 40px; padding: 0 14px; border-radius: 8px; border: 1px solid #3A3531; display: inline-flex; align-items: center; justify-content: center; color: #EDE6DA; text-decoration: none; font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; }
.cc-fchip.is-active { background: #EDE6DA; color: #111010; border-color: #EDE6DA; }
.cc-filters__scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.cc-scale.is-active { background: var(--wp--preset--color--ember, #FF5B1F); color: #111010; border-color: var(--wp--preset--color--ember, #FF5B1F); }
.cc-filters__ends { display: flex; justify-content: space-between; font-size: 12px; color: #9C948A; margin-top: 6px; }
.cc-filters__price { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cc-filters__price label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: #9C948A; }
.cc-filters__price input { min-height: 40px; background: #1A1817; border: 1px solid #3A3531; border-radius: 8px; color: #EDE6DA; padding: 0 10px; }
.cc-filters__price button { grid-column: 1 / -1; min-height: 40px; border-radius: 8px; border: 1px solid #EDE6DA; background: transparent; color: #EDE6DA; cursor: pointer; }
.cc-filters__clear { color: #B3AA9E; }
.cc-shop-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 16px 0 20px; color: #B3AA9E; }
.cc-shop-bar__sort { display: flex; align-items: center; gap: 10px; }
.cc-shop-bar__sort select { min-height: 44px; background: #1A1817; border: 1px solid #3A3531; border-radius: 8px; color: #EDE6DA; padding: 0 12px; }
.cc-shop-empty { padding: 48px; border: 1px dashed #3A3531; border-radius: 16px; text-align: center; }
.cc-pagination ul { display: flex; gap: 8px; list-style: none; padding: 0; justify-content: center; margin-top: 32px; }
.cc-pagination a, .cc-pagination span { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; border: 1px solid #3A3531; color: #EDE6DA; text-decoration: none; }
.cc-pagination .current { background: #EDE6DA; color: #111010; }
@media (max-width: 781px) { .cc-shop__aside { order: 2; } }

/* ===== Single product ===== */
.cc-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cc-product__top { gap: 48px; margin-top: 16px; }
.cc-product__title { margin: 0; font-size: clamp(3.5rem, 7vw, 6.5rem); }
.cc-product__buy { display: flex; flex-direction: column; gap: 24px; }
.woocommerce-product-gallery.cc-tile { display: block; border-radius: 24px; padding: 6%; box-shadow: 0 40px 80px rgba(0, 0, 0, .5); }
.woocommerce-product-gallery.cc-tile img { padding: 0; }
.woocommerce-product-gallery.cc-tile--light img { mix-blend-mode: multiply; }
.woocommerce-product-gallery.cc-tile--fill { padding: 0; overflow: hidden; }
.cc-pack-picker { border: 0; padding: 0; margin: 0 0 16px; display: flex; flex-direction: column; gap: 10px; }
.cc-pack-picker legend { font-family: var(--wp--preset--font-family--mono, monospace); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: #9C948A; margin-bottom: 10px; }
.cc-pack { display: grid; grid-template-columns: 20px 1fr auto; align-items: center; gap: 14px; min-height: 64px; padding: 0 20px; border: 1.5px solid #3A3531; border-radius: 12px; cursor: pointer; }
.cc-pack input { position: absolute; opacity: 0; }
.cc-pack__dot { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #6B635B; }
.cc-pack__name { font-weight: 700; }
.cc-pack__price { font-family: var(--wp--preset--font-family--display, sans-serif); font-weight: 700; font-size: 1.6rem; }
.cc-pack.is-active { border-color: var(--wp--preset--color--ember, #FF5B1F); background: rgba(255, 91, 31, .08); }
.cc-pack.is-active .cc-pack__dot { border-color: var(--wp--preset--color--ember, #FF5B1F); box-shadow: inset 0 0 0 4px #111010; background: var(--wp--preset--color--ember, #FF5B1F); }
.cc-pack:focus-within { outline: 2px solid var(--wp--preset--color--ember, #FF5B1F); outline-offset: 2px; }
.cc-product .single_add_to_cart_button { min-height: 60px; flex: 1; border-radius: 12px; background: var(--wp--preset--color--ember, #FF5B1F); color: #111010; font-weight: 700; font-size: 1.05rem; }
.cc-product form.cart .quantity input { min-height: 60px; width: 72px; background: transparent; border: 1px solid #3A3531; border-radius: 12px; color: #EDE6DA; text-align: center; }
.cc-product .woocommerce-variation-add-to-cart, .cc-product form.cart:not(.variations_form) { display: flex; gap: 12px; }
.cc-trust { gap: 10px; }
.cc-trust p { margin: 0; padding: 14px; border: 1px solid #2E2A27; border-radius: 12px; font-size: 13px; line-height: 1.4; }
.cc-trust p::before { content: "■ "; color: var(--wp--preset--color--ember, #FF5B1F); }
.cc-grid-heading { font-size: clamp(2.5rem, 5vw, 3.5rem); margin: 64px 0 24px; }
@media (max-width: 781px) {
  .cc-product .woocommerce-variation-add-to-cart,
  .cc-product form.cart:not(.variations_form) {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 50;
    padding: 12px 16px 24px; background: rgba(17, 16, 16, .96); border-top: 1px solid #3A3531;
  }
  .single-product { padding-bottom: 110px; }
  .cc-trust { grid-template-columns: 1fr !important; }
}

/* ===== FAQ ===== */
.cc-faq { display: flex; flex-direction: column; }
.cc-faq__item { border-top: 1px solid #2E2A27; padding: 22px 0; }
.cc-faq__item:last-child { border-bottom: 1px solid #2E2A27; }
.cc-faq__item summary { cursor: pointer; font-weight: 700; font-size: 1.2rem; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.cc-faq__item summary::after { content: "+"; color: var(--wp--preset--color--ember, #FF5B1F); font-size: 1.5rem; line-height: 1; }
.cc-faq__item[open] summary::after { content: "–"; }
.cc-faq__answer { margin-top: 12px; color: #B3AA9E; line-height: 1.7; }

/* ===== Small-screen fit ===== */
.woocommerce-product-gallery.cc-tile { box-sizing: border-box; max-width: 100%; }
.cc-shop-search input, .cc-filters__price input, .cc-filters__price label { min-width: 0; width: 100%; box-sizing: border-box; }
.cc-shop-search button { flex-shrink: 0; }
table.cc-visually-hidden, tr.cc-visually-hidden { display: block; max-width: 1px; max-height: 1px; }

/* ===== 18+ entry pop-up ===== */
.cc-agegate { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(10, 9, 9, .94); }
.cc-agegate[hidden], .cc-agegate [hidden] { display: none; }
.cc-agegate-open, .cc-agegate-open body { overflow: hidden; }
.cc-agegate__box { width: min(440px, 100%); box-sizing: border-box; background: #1A1817; border: 1px solid #3A3531; border-radius: 20px; padding: 32px; text-align: center; color: #EDE6DA; }
.cc-agegate__box h2 { font-size: clamp(2.5rem, 8vw, 3.5rem); margin: 8px 0 12px; }
.cc-agegate__actions { display: flex; gap: 12px; justify-content: center; margin-top: 20px; }
.cc-agegate__yes, .cc-agegate__no { min-height: 52px; padding: 0 24px; border-radius: 10px; font-weight: 700; font-size: 1rem; cursor: pointer; }
.cc-agegate__yes { border: 0; background: var(--wp--preset--color--ember, #FF5B1F); color: #111010; }
.cc-agegate__no { border: 1px solid #EDE6DA; background: transparent; color: #EDE6DA; }
.cc-agegate__denied { margin-top: 20px; color: var(--wp--preset--color--ember, #FF5B1F); font-weight: 700; }

/* ===== Order tracking (My Account) ===== */
.cc-tracking { margin: 32px 0; padding: 20px; border: 1px solid #3A3531; border-radius: 12px; background: #1A1817; }
.cc-tracking h2 { font-size: 1.75rem; margin: 0 0 8px; }
.cc-tracking p { margin: 0; }

/* ===== ID check ===== */
.cc-idnotice { margin: 24px 0; padding: 20px; border: 1px solid var(--wp--preset--color--ember, #FF5B1F); border-radius: 12px; background: rgba(255, 91, 31, .08); }
.cc-idnotice p { margin: 0 0 12px; }
.cc-idnotice p:last-child { margin: 0; }
.cc-idstatus { padding: 16px 20px; border-radius: 12px; background: #1A1817; border: 1px solid #3A3531; }
.cc-idstatus.is-verified { border-color: #3DDC84; }
.cc-idform__privacy { font-size: 13px; color: #B3AA9E; }

/* ===== Member card & credit (My Account) ===== */
.cc-member { position: relative; overflow: hidden; margin: 0 0 32px; padding: 28px; border-radius: 20px; border: 1px solid #3A3531; background: radial-gradient(120% 140% at 100% 0%, rgba(255, 91, 31, .22), transparent 55%), #1A1817; color: #EDE6DA; }
.cc-member__name { font-size: 1.1rem; margin: 4px 0 20px; }
.cc-member__code-label, .cc-member__link label, .cc-member__credit dt { font-family: var(--wp--preset--font-family--mono, monospace); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #B3AA9E; }
.cc-member__code { font-family: var(--wp--preset--font-family--mono, monospace); font-size: clamp(2rem, 7vw, 3rem); letter-spacing: .08em; color: var(--wp--preset--color--ember, #FF5B1F); margin: 4px 0 16px; }
.cc-member__link { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: end; margin-bottom: 16px; }
.cc-member__link label { grid-column: 1 / -1; }
.cc-member__link input { min-width: 0; min-height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid #3A3531; background: #111010; color: #EDE6DA; font-family: var(--wp--preset--font-family--mono, monospace); }
.cc-member__copy { min-height: 44px; padding: 0 16px; border: 0; border-radius: 10px; background: var(--wp--preset--color--ember, #FF5B1F); color: #111010; font-weight: 700; cursor: pointer; }
.cc-member__credit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 16px 0 0; }
.cc-member__credit div { padding: 14px 16px; border-radius: 12px; background: rgba(17, 16, 16, .6); border: 1px solid #2E2A27; }
.cc-member__credit dd { margin: 4px 0 0; font-size: 1.5rem; font-weight: 700; }
.cc-ledger { width: 100%; border-collapse: collapse; }
.cc-ledger th, .cc-ledger td { padding: 10px 8px; border-bottom: 1px solid #2E2A27; text-align: left; }
.cc-ledger .cc-ledger__amount { text-align: right; font-family: var(--wp--preset--font-family--mono, monospace); white-space: nowrap; }
.cc-ledger .is-negative { color: #B3AA9E; }

/* ===== Store credit toggle (Checkout block) ===== */
.cc-credit-toggle { margin: 12px 0 0; padding: 12px 14px; border: 1px solid var(--wp--preset--color--ember, #FF5B1F); border-radius: 10px; }
.cc-credit-toggle label { display: flex; gap: 10px; align-items: center; cursor: pointer; font-weight: 700; }
.cc-credit-toggle input { width: 18px; height: 18px; accent-color: var(--wp--preset--color--ember, #FF5B1F); }

/* ===== Contact form ===== */
.cc-contact-form { display: grid; gap: 4px; max-width: 640px; }
.cc-contact-form label { display: block; font-family: var(--wp--preset--font-family--mono, monospace); font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: #B3AA9E; margin-bottom: 6px; }
.cc-contact-form input, .cc-contact-form textarea { width: 100%; box-sizing: border-box; min-height: 48px; padding: 12px 14px; border: 1px solid #3A3531; border-radius: 10px; background: #111010; color: #EDE6DA; font: inherit; }
.cc-contact-form__hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cc-contact-form__status { min-height: 1.5em; margin: 0; }
.cc-contact-form__status.is-error { color: #FF8A65; }
