/* Cherry Blossom Creations — mockup-aligned extras */
:root {
  --cbc-pink: #e4578c;
  --cbc-pink-deep: #c73a6a;
  --cbc-blush: #ffe4ee;
  --cbc-cream: #fff8f5;
  --cbc-mint: #7ec8b8;
  --cbc-mint-soft: #d9f2ec;
  --cbc-teal: #3a9a8a;
  --cbc-ink: #3a2a32;
  --cbc-muted: #7a6570;
  --cbc-line: #f0d6e0;
}

body {
  background: var(--cbc-cream);
}

.cbc-script {
  font-family: "Great Vibes", cursive !important;
  font-weight: 400 !important;
  color: var(--cbc-pink) !important;
  line-height: 1.1;
}

.cbc-topbar {
  background: linear-gradient(90deg, var(--cbc-pink-deep), var(--cbc-pink) 50%, var(--cbc-teal));
  color: #fff !important;
  text-align: center;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 9px 16px;
}

.cbc-topbar a,
.cbc-topbar p {
  color: #fff !important;
  margin: 0;
}

.cbc-site-header .wp-block-site-logo img {
  border-radius: 50%;
  border: 3px solid var(--cbc-blush);
  box-shadow: 0 2px 8px rgba(228, 87, 140, 0.2);
  background: #fff;
}

.cbc-site-header .wp-block-site-title a {
  font-family: "Playfair Display", Georgia, serif !important;
  color: var(--cbc-pink-deep) !important;
  font-weight: 700;
}

.cbc-site-header .wp-block-site-tagline {
  color: var(--cbc-muted) !important;
  font-size: 0.78rem !important;
  font-weight: 600;
}

.cbc-hero {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255, 228, 238, 0.95), transparent 50%),
    radial-gradient(ellipse at 90% 10%, rgba(217, 242, 236, 0.9), transparent 45%),
    linear-gradient(160deg, #fff 0%, var(--cbc-blush) 45%, #ffeef5 100%);
  border-bottom: 1px solid var(--cbc-line);
}

.cbc-eyebrow {
  display: inline-block;
  background: var(--cbc-mint-soft);
  color: var(--cbc-teal) !important;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}

.cbc-hero-card {
  background: #fff;
  border-radius: 22px;
  padding: 14px;
  box-shadow: 0 16px 40px rgba(196, 69, 106, 0.14);
  border: 1px solid var(--cbc-line);
  transform: rotate(-1.5deg);
}

.cbc-hero-card img {
  border-radius: 16px;
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.cbc-cat-card {
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--cbc-line);
  box-shadow: 0 8px 22px rgba(58, 42, 50, 0.06);
  background: #fff;
  text-decoration: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  height: 100%;
}

.cbc-cat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 28px rgba(228, 87, 140, 0.16);
}

.cbc-cat-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}

.cbc-cat-card .cbc-cat-label {
  display: block;
  padding: 12px 14px;
  font-weight: 800;
  text-align: center;
  color: var(--cbc-ink);
}

.cbc-blush-bg {
  background: linear-gradient(180deg, var(--cbc-blush), #fff8f5);
}

.cbc-mint-bg {
  background: linear-gradient(180deg, var(--cbc-mint-soft), #fff);
}

.cbc-review-card {
  background: linear-gradient(135deg, #fff, #ffeef5);
  border-radius: 20px;
  border: 1px solid var(--cbc-line);
  box-shadow: 0 10px 28px rgba(58, 42, 50, 0.06);
  padding: 28px;
}

.cbc-stars {
  color: #e6a317;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.cbc-show-item {
  background: #fff;
  border: 1px dashed var(--cbc-pink);
  border-radius: 16px;
  padding: 18px 20px;
}

.cbc-local-banner {
  text-align: center;
  padding: 36px 24px;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--cbc-pink-deep), var(--cbc-pink) 55%, #ef7aa3);
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(199, 58, 106, 0.28);
}

.cbc-local-banner h2,
.cbc-local-banner p,
.cbc-local-banner .cbc-script {
  color: #fff !important;
}

.cbc-site-footer {
  background: #3a2a32 !important;
  color: #f7e6ee !important;
}

.cbc-site-footer a {
  color: #ffc3d8 !important;
}

.cbc-site-footer h2,
.cbc-site-footer h3,
.cbc-site-footer h4 {
  color: #fff !important;
}

.cbc-price-soon {
  color: var(--cbc-pink-deep);
  font-weight: 800;
  font-size: 0.95rem;
}

.wp-block-button.is-style-cbc-pill .wp-block-button__link,
.cbc-btn .wp-block-button__link {
  border-radius: 999px !important;
  background: var(--cbc-pink) !important;
  color: #fff !important;
  font-weight: 800;
  padding: 13px 26px;
  box-shadow: 0 6px 16px rgba(228, 87, 140, 0.28);
}

.wp-block-button.is-style-cbc-outline .wp-block-button__link {
  border-radius: 999px !important;
  background: transparent !important;
  color: var(--cbc-pink-deep) !important;
  border: 2px solid var(--cbc-pink) !important;
  font-weight: 800;
  box-shadow: none;
}

.wp-block-button.is-style-cbc-mint .wp-block-button__link {
  border-radius: 999px !important;
  background: var(--cbc-teal) !important;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(58, 154, 138, 0.25);
}

/* Product cards polish */
ul.products li.product,
.wc-block-product {
  border: 1px solid var(--cbc-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(58, 42, 50, 0.06);
}


/* WooCommerce product loop */
ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 18px;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none;
}
ul.products::before,
ul.products::after { display: none !important; content: none !important; }
ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  float: none !important;
  padding: 0 0 16px !important;
  text-align: left;
}
ul.products li.product img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  margin: 0 0 12px;
  border-radius: 0;
}
ul.products li.product .woocommerce-loop-product__title {
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.08rem !important;
  color: var(--cbc-ink) !important;
  padding: 0 16px !important;
}
ul.products li.product .cbc-price-soon,
ul.products li.product .price {
  padding: 0 16px;
  display: block;
  margin: 6px 0 10px;
}
ul.products li.product .button,
ul.products li.product a.button {
  margin: 0 16px 4px !important;
  border-radius: 999px !important;
  background: var(--cbc-pink) !important;
  color: #fff !important;
  font-weight: 800 !important;
  border: none !important;
  padding: 9px 16px !important;
}
ul.products li.product .button:hover {
  background: var(--cbc-pink-deep) !important;
}

@media (min-width: 900px) {
  ul.products { grid-template-columns: repeat(3, 1fr); }
}

/* =========================================================
   v1.1.0 design updates
   ========================================================= */

/* ---- Sticky header (announcement bar scrolls away, header sticks) ---- */
header.wp-block-template-part:has(.cbc-site-header) {
  position: sticky;
  top: calc(var(--wp-admin--admin-bar--height, 0px) - var(--cbc-topbar-h, 0px));
  z-index: 100;
}
@media screen and (max-width: 600px) {
  /* WP admin bar is not fixed on small phones */
  body.admin-bar header.wp-block-template-part:has(.cbc-site-header) {
    top: calc(0px - var(--cbc-topbar-h, 0px));
  }
}
.cbc-site-header {
  background: #fff !important;
  transition: box-shadow 0.25s ease, padding 0.25s ease;
}
body.cbc-scrolled .cbc-site-header {
  box-shadow: 0 6px 20px rgba(58, 42, 50, 0.1);
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}

/* ---- Bigger header logo (full badge, never cropped) ---- */
.cbc-site-header .wp-block-site-logo,
.cbc-site-header .wp-block-site-logo a {
  display: block;
  line-height: 0;
}
.cbc-site-header .wp-block-site-logo img,
.cbc-site-header .wp-block-site-logo .custom-logo {
  width: 110px !important;
  height: 110px !important;
  max-width: none;
  object-fit: contain;
  object-position: center;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  transition: width 0.25s ease, height 0.25s ease;
}
body.cbc-scrolled .cbc-site-header .wp-block-site-logo img {
  width: 64px !important;
  height: 64px !important;
}
.cbc-site-header .wp-block-site-title {
  font-size: 1.45rem !important;
  line-height: 1.15;
}
@media (max-width: 781px) {
  .cbc-site-header .wp-block-site-logo img { width: 78px !important; height: 78px !important; }
  body.cbc-scrolled .cbc-site-header .wp-block-site-logo img { width: 52px !important; height: 52px !important; }
  .cbc-site-header .wp-block-site-title { font-size: 1.05rem !important; }
  .cbc-site-header .wp-block-site-tagline { display: none; }
}
@media (max-width: 420px) {
  /* The badge already spells the name; keep the bar tidy on small phones */
  .cbc-site-header .wp-block-site-title { display: none; }
}

/* ---- Hero: logo beside the pill + headline (v1.1.2) ---- */
.cbc-hero .cbc-hero-brand {
  display: grid !important;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: clamp(18px, 2.4vw, 30px);
  row-gap: 10px;
  align-items: center;
  margin: 0 0 18px !important;
}
.cbc-hero .cbc-hero-brand > * {
  margin: 0 !important;
  max-width: none !important;
}
.cbc-hero .cbc-hero-brand > .cbc-hero-logo {
  grid-column: 1;
  grid-row: 1 / span 2;
  align-self: center;
}
.cbc-hero .cbc-hero-brand > .cbc-eyebrow {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  justify-self: start;
}
.cbc-hero .cbc-hero-brand > h1 {
  grid-column: 2;
  grid-row: 2;
  align-self: start;
}
/* heading without a pill: centre it against the logo */
.cbc-hero .cbc-hero-brand > .cbc-hero-logo + h1 {
  grid-row: 1 / span 2;
  align-self: center;
}
.cbc-hero .cbc-hero-brand > h1 {
  font-size: clamp(1.9rem, 3.4vw, 2.9rem) !important;
  line-height: 1.12;
}
.cbc-hero .cbc-hero-brand > h1 .cbc-script {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem) !important;
  white-space: nowrap;
}
.cbc-hero .wp-block-image.cbc-hero-logo { text-align: left; }
.cbc-hero .wp-block-image.cbc-hero-logo img {
  display: block;
  width: clamp(130px, 13.5vw, 175px) !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  filter: drop-shadow(0 10px 18px rgba(199, 58, 106, 0.16));
}
.cbc-hero .cbc-hero-brand > .cbc-eyebrow {
  white-space: nowrap;
  font-size: clamp(0.68rem, 0.95vw, 0.8rem) !important;
  letter-spacing: 0.06em;
}
@media (min-width: 600px) and (max-width: 781px) {
  .cbc-hero .cbc-hero-brand > .cbc-eyebrow { font-size: 0.8rem !important; }
}
/* Tablet header: badge already spells the name, so drop the text to keep the menu on one line */
@media (min-width: 600px) and (max-width: 1000px) {
  .cbc-site-header .wp-block-site-title,
  .cbc-site-header .wp-block-site-tagline { display: none; }
  .cbc-site-header .wp-block-site-logo img { width: 92px !important; height: 92px !important; }
}
@media (max-width: 599px) {
  .cbc-hero .cbc-hero-brand {
    text-align: center;
    justify-items: center;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    row-gap: 14px;
  }
  .cbc-hero .cbc-hero-brand > .cbc-hero-logo,
  .cbc-hero .cbc-hero-brand > .cbc-eyebrow,
  .cbc-hero .cbc-hero-brand > h1,
  .cbc-hero .cbc-hero-brand > .cbc-hero-logo + h1 {
    grid-column: 1;
    grid-row: auto;
    align-self: auto;
  }
  .cbc-hero .cbc-hero-brand > .cbc-hero-logo { justify-self: center; }
  .cbc-hero .cbc-hero-brand > .cbc-eyebrow { justify-self: center; font-size: 0.7rem !important; letter-spacing: 0.05em; }
  .cbc-hero .cbc-hero-brand > h1 { text-align: center; justify-self: center; }
  .cbc-hero .wp-block-image.cbc-hero-logo img { width: 140px !important; margin: 0 auto; }
}

/* ---- Category cards: photo fills the card ---- */
.cbc-cat-card {
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
.cbc-cat-card > .wp-block-image,
.cbc-cat-card > figure {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  display: block !important;
}
.cbc-cat-card > .wp-block-image a {
  display: block;
}
.cbc-cat-card > .wp-block-image img,
.cbc-cat-card img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 0 !important;
}
.cbc-cat-card .cbc-cat-label {
  margin: 0 !important;
  max-width: none !important;
  padding: 12px 14px 14px !important;
}
.cbc-cat-card .cbc-cat-label a {
  color: var(--cbc-ink) !important;
  text-decoration: none;
}

/* ---- Product cards (shop, categories, related, featured) ---- */
.wc-block-product {
  padding: 0 0 18px !important;
  border: 1px solid var(--cbc-line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}
.wc-block-product .wc-block-components-product-image,
.wc-block-product .wc-block-components-product-image img {
  border-radius: 0 !important;
  margin: 0 !important;
}
.wc-block-product .wp-block-post-title {
  padding: 0 18px !important;
  margin: 14px 0 0 !important;
  font-family: "Playfair Display", Georgia, serif !important;
  font-size: 1.05rem !important;
  line-height: 1.3;
}
.wc-block-product .wp-block-post-title a {
  color: var(--cbc-ink) !important;
  text-decoration: none;
}
.wc-block-product .wp-block-woocommerce-product-price {
  padding: 0 18px !important;
  margin: 6px 0 0 !important;
}
.wc-block-product > .wp-block-woocommerce-product-button,
.wc-block-product > .wp-block-group > .wp-block-woocommerce-product-button {
  padding: 0 18px !important;
  margin-top: 12px !important;
}
/* Ollie's text wrapper inside the card */
.wc-block-product .ollie-product-button-hover > .wp-block-group:not(.ollie-product-button-hover-image) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
ul.products li.product {
  padding-bottom: 18px !important;
}
ul.products li.product .woocommerce-loop-product__title {
  padding: 0 18px !important;
}
ul.products li.product .cbc-price-soon,
ul.products li.product .price {
  padding: 0 18px;
}
ul.products li.product .button,
ul.products li.product a.button {
  margin: 0 18px 0 !important;
}

/* ---- Contact page & form ---- */
.cbc-contact-card {
  background: #fff;
  border: 1px solid var(--cbc-line);
  border-radius: 22px;
  padding: 28px 28px 22px !important;
  box-shadow: 0 12px 30px rgba(58, 42, 50, 0.06);
}
.cbc-contact-side {
  background: linear-gradient(160deg, var(--cbc-blush), #fff);
  border: 1px solid var(--cbc-line);
  border-radius: 22px;
  padding: 26px !important;
  align-self: flex-start;
}
.cbc-contact-side h3 { margin-top: 0; }
.cbc-contact-where { font-size: 0.9rem; font-weight: 700; margin-top: 18px !important; }
.cbc-contact-form { margin: 0; }
.cbc-contact-form .cbc-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 18px;
}
@media (max-width: 640px) {
  .cbc-contact-form .cbc-row { grid-template-columns: 1fr; }
  .cbc-contact-card { padding: 20px 18px 16px !important; }
}
.cbc-contact-form .cbc-field { margin: 0 0 16px; }
.cbc-contact-form label {
  display: block;
  font-weight: 800;
  font-size: 0.92rem;
  color: var(--cbc-ink);
  margin-bottom: 6px;
}
.cbc-contact-form label span[aria-hidden] { color: var(--cbc-pink); }
.cbc-contact-form .cbc-optional { color: var(--cbc-muted); font-weight: 600; }
.cbc-contact-form input[type="text"],
.cbc-contact-form input[type="email"],
.cbc-contact-form input[type="tel"],
.cbc-contact-form select,
.cbc-contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  font: inherit;
  font-size: 1rem;
  color: var(--cbc-ink);
  background: #fffdfc !important;
  border: 1.5px solid #ead0da !important;
  border-radius: 12px;
  padding: 11px 14px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.cbc-contact-form textarea { resize: vertical; min-height: 140px; }
.cbc-contact-form input:focus,
.cbc-contact-form select:focus,
.cbc-contact-form textarea:focus {
  outline: none;
  border-color: var(--cbc-pink);
  box-shadow: 0 0 0 3px rgba(228, 87, 140, 0.18);
  background: #fff;
}
.cbc-contact-form .cbc-submit { margin: 4px 0 0; }
.cbc-contact-form .cbc-send {
  border: 0;
  cursor: pointer;
  border-radius: 999px !important;
  background: var(--cbc-pink) !important;
  color: #fff !important;
  font-weight: 800;
  font-size: 1rem;
  padding: 13px 30px;
  box-shadow: 0 6px 16px rgba(228, 87, 140, 0.28);
}
.cbc-contact-form .cbc-send:hover { background: var(--cbc-pink-deep) !important; }
.cbc-hp {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; overflow: hidden;
}
.cbc-contact-notice {
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 18px;
  font-weight: 700;
}
.cbc-contact-notice--ok { background: var(--cbc-mint-soft); color: #23685d; border: 1px solid #a9ded2; }
.cbc-contact-notice--err { background: #ffe9ee; color: #a3204d; border: 1px solid #f5b8c9; }
#cbc-contact { scroll-margin-top: 140px; }
ul.products li.product .price .cbc-price-soon {
  padding: 0 !important;
  margin: 0 !important;
  display: inline;
}
