/* ==========================================================================
   BOSS 20K: WordPress and WooCommerce pages
   (base.css holds the shared design; this file covers what WordPress adds)
   ========================================================================== */

/* ---------- WordPress basics ---------- */
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.screen-reader-text:focus { position: static !important; width: auto; height: auto; clip: auto; }
.hp-field { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alignleft { float: left; margin: 0 20px 14px 0; }
.alignright { float: right; margin: 0 0 14px 20px; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 13px; color: var(--muted); margin-top: 6px; }
.rte img { border-radius: 12px; }
.rte blockquote { margin: 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--color-accent); color: var(--ink); }
.rte table { width: 100%; border-collapse: collapse; }
.rte th, .rte td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; }

/* Menus built by WordPress */
.site-nav__list, .site-nav__list ul, .site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-nav__dropdown li { list-style: none; }
.drawer__list details summary { list-style: none; cursor: pointer; }
.drawer__list details summary::-webkit-details-marker { display: none; }

/* Footer payment names */
.pay-badge { display: inline-flex; align-items: center; height: 24px; padding: 0 9px; border-radius: 4px; background: #fff; color: #111827; font-size: 11px; font-weight: 800; letter-spacing: .01em; white-space: nowrap; }

/* Cards without a photo yet: tint the device shape with the flavour colour */
.card__placeholder--colour { background: color-mix(in srgb, var(--c1) 10%, #fff); fill: color-mix(in srgb, var(--c1) 70%, #fff); }

/* Home slider: product photo on its flavour colour when there is no wide slide image.
   Sits above the tab bar at the bottom of the stage. */
.flavours__slide img.flavours__shot { position: absolute; left: 50%; top: 41%; width: auto; height: 70%; max-width: 80%; object-fit: contain; transform: translate(-50%, -50%); filter: drop-shadow(0 26px 34px rgba(0, 0, 0, .45)); }
@media (max-width: 749px) { .flavours__slide img.flavours__shot { top: 36%; height: 58%; } }
/* On phones the stage is portrait, so show the right-hand part of the wide flavour
   pictures, where the device and box are. */
@media (max-width: 749px) { .flavours__slide img:not(.flavours__shot) { object-position: 90% center; } }

/* Home banner slideshow: extra slide images fade over the first one. The active dot fills
   up while its slide shows (see Motion), and theme.js moves on when it is full. */
.hero__slide { position: absolute; inset: 0; display: block; }
.hero--slides .hero__slide { opacity: 0; }
.hero--slides .hero__slide.is-active { opacity: 1; }
.hero__controls { position: absolute; left: 0; right: 0; bottom: 30px; z-index: 2; display: flex; align-items: center; gap: 8px; }
.hero--center .hero__controls { justify-content: center; }
.hero__dots { display: flex; margin-left: -4px; }
.hero__dot { position: relative; width: 40px; height: 28px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot::before, .hero__dot-fill { position: absolute; left: 4px; right: 4px; top: 12px; height: 4px; border-radius: 4px; }
.hero__dot::before { content: ''; background: rgba(255, 255, 255, .42); box-shadow: 0 1px 8px rgba(0, 0, 0, .3); transition: background .3s; }
.hero__dot:hover::before { background: rgba(255, 255, 255, .72); }
.hero__dot.is-active::before { background: #fff; }
.hero__dot-fill { display: none; background: #fff; transform-origin: left center; }
.hero__pause { width: 28px; height: 28px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(255, 255, 255, .5); border-radius: 50%; background: rgba(10, 4, 20, .35); color: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.hero__pause:hover { background: rgba(10, 4, 20, .65); border-color: #fff; }
.hero__pause svg { width: 11px; height: 11px; }
.hero__pause .i-pause { display: none; }
.hero.is-playing .hero__pause .i-pause { display: block; }
.hero.is-playing .hero__pause .i-play { display: none; }
@media (max-width: 749px) {
  .hero--slides .hero__content { padding-bottom: 82px; }
  .hero__controls { bottom: 26px; }
}

.post-card__placeholder { display: block; background: radial-gradient(circle at 70% 30%, color-mix(in srgb, var(--color-accent) 35%, #fff), var(--color-soft, #f4edff) 70%); }

/* Product page extras */
.product__short { margin: 4px 0 18px; }
.rating:hover .rating__count { color: var(--color-accent); }

/* ---------- Notices ---------- */
.woocommerce-notices-wrapper:empty { display: none; }
.woocommerce-message, .woocommerce-info, .woocommerce-error, .woocommerce-notice {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px;
  margin: 0 0 20px; padding: 14px 18px; list-style: none;
  border-radius: 12px; border: 1px solid var(--line); background: var(--color-soft, #f8f7fb);
  font-size: 14px; color: var(--ink);
}
.woocommerce-message { border-color: #bbf7d0; background: #f0fdf4; }
.woocommerce-error { border-color: #fecaca; background: #fef2f2; color: #991b1b; display: block; }
.woocommerce-error li + li { margin-top: 4px; }
.woocommerce-message .button, .woocommerce-info .button { order: 2; }
.woocommerce-message a:not(.button), .woocommerce-info a:not(.button) { color: var(--color-accent); font-weight: 600; }

/* ---------- Buttons from WooCommerce ---------- */
.woocommerce .button, .woocommerce button.button, .woocommerce input.button,
.woocommerce-page .button, .comment-form .submit, .woocommerce #respond input#submit {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border: 0; border-radius: 10px;
  background: #000; color: #fff; font-weight: 700; font-size: 14px; line-height: 1.2;
  cursor: pointer; transition: box-shadow .2s, background-color .2s;
}
.woocommerce .button:hover, .woocommerce-page .button:hover, .comment-form .submit:hover { box-shadow: 0 12px 26px -12px rgba(0, 0, 0, .6); }
.woocommerce .button.alt, .woocommerce-page .button.alt, .comment-form .btn--accent, .comment-form .submit.btn--accent { background: var(--color-accent); }
.woocommerce .button:disabled, .woocommerce .button.disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Forms from WooCommerce ---------- */
.woocommerce form .form-row, .comment-form p { display: grid; gap: 6px; margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--ink); }
.woocommerce form .form-row .required, .comment-form .required { color: var(--color-accent); text-decoration: none; }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select,
.woocommerce form input[type="password"], .comment-form input[type="text"], .comment-form input[type="email"], .comment-form textarea {
  width: 100%; border: 1.5px solid #e2e5ea; border-radius: 10px; padding: 12px 14px; font-weight: 400; background: #fff;
}
.woocommerce form .form-row input:focus, .woocommerce form .form-row textarea:focus, .comment-form input:focus, .comment-form textarea:focus { border-color: var(--color-accent); outline: none; }
.woocommerce form .form-row-first, .woocommerce form .form-row-last { width: 100%; }
@media (min-width: 750px) {
  .woocommerce form .form-row-first, .woocommerce form .form-row-last { display: inline-grid; width: calc(50% - 8px); vertical-align: top; }
  .woocommerce form .form-row-first { margin-right: 12px; }
}
.woocommerce form .form-row label.checkbox, .woocommerce-form__label-for-checkbox, .comment-form-cookies-consent { display: flex !important; align-items: center; gap: 8px; font-weight: 500; }
.woocommerce-password-strength { font-size: 12px; font-weight: 600; }
.woocommerce-password-hint { font-size: 12px; color: var(--muted); font-weight: 400; }
.show-password-input { display: none; }

/* ---------- Cart, checkout, account (wide pages) ---------- */
.shop-page .section-title { margin-bottom: 24px; }
.shop-page__content { color: var(--color-text, #4b5563); }
.shop-page__content .wp-block-woocommerce-cart, .shop-page__content .wp-block-woocommerce-checkout { margin: 0; }
.wc-block-components-button:not(.is-link), .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button {
  background: var(--color-accent) !important; color: #fff !important; border: 0 !important; border-radius: 10px !important; font-weight: 700 !important;
}
.wc-block-components-button:not(.is-link):hover { box-shadow: 0 12px 26px -10px rgba(var(--color-accent-rgb), .7); }
.wc-block-components-product-name { color: var(--ink) !important; font-weight: 700; }
.wc-block-components-totals-item__label, .wc-block-components-title { font-family: var(--font-head); }
.wc-block-components-text-input input, .wc-block-components-combobox .components-form-token-field__input, .wc-blocks-components-select__select { border-radius: 10px !important; }
.wc-block-components-text-input.is-active input:focus, .wc-block-components-text-input input:focus { box-shadow: 0 0 0 1px var(--color-accent) !important; border-color: var(--color-accent) !important; }
.wc-block-cart-item__image img, .wc-block-components-order-summary-item__image img { border-radius: 10px; background: var(--purple-soft); }

/* Classic cart and checkout (used if the pages are switched back to shortcodes) */
.woocommerce table.shop_table { width: 100%; border-collapse: collapse; font-size: 14px; margin-bottom: 24px; }
.woocommerce table.shop_table th, .woocommerce table.shop_table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.woocommerce table.shop_table th { color: var(--ink); font-weight: 700; }
.woocommerce table.shop_table img { width: 64px; border-radius: 10px; background: var(--purple-soft); }
.woocommerce table.shop_table .product-remove a { font-size: 20px; color: #9ca3af; }
.woocommerce .quantity .qty { width: 72px; border: 1.5px solid #e2e5ea; border-radius: 10px; padding: 8px; text-align: center; }
.woocommerce .cart-collaterals, .woocommerce-checkout-review-order { padding: 24px; border-radius: 18px; background: var(--color-soft, #f8f7fb); border: 1px solid var(--line); }
.woocommerce-checkout #payment ul.payment_methods { list-style: none; margin: 0 0 16px; padding: 0; }
.woocommerce-checkout #payment li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.woocommerce-checkout #payment .payment_box { padding: 12px 0 0; font-size: 13px; }
@media (min-width: 990px) {
  .woocommerce-checkout form.checkout { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 40px; align-items: start; }
  .woocommerce-checkout form.checkout > .woocommerce-NoticeGroup { grid-column: 1 / -1; }
  .woocommerce-checkout #order_review_heading, .woocommerce-checkout #order_review { grid-column: 2; }
  .woocommerce-checkout #customer_details { grid-column: 1; grid-row: 1 / span 3; }
}

/* My account */
.woocommerce-account .shop-page__content > .woocommerce { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .woocommerce-account .shop-page__content > .woocommerce:has(.woocommerce-MyAccount-navigation) { grid-template-columns: 240px minmax(0, 1fr); align-items: start; }
}
.woocommerce-MyAccount-navigation ul { display: grid; gap: 4px; padding: 10px; border-radius: 16px; background: var(--color-soft, #f8f7fb); border: 1px solid var(--line); }
.woocommerce-MyAccount-navigation a { display: block; padding: 10px 14px; border-radius: 10px; font-weight: 600; font-size: 14px; color: var(--ink); }
.woocommerce-MyAccount-navigation a:hover { background: #fff; }
.woocommerce-MyAccount-navigation .is-active a { background: var(--color-accent); color: #fff; }
.woocommerce-MyAccount-content > * + * { margin-top: 16px; }
.woocommerce-MyAccount-content a:not(.button) { color: var(--color-accent); font-weight: 600; }
.woocommerce-Addresses { display: grid; gap: 20px; }
@media (min-width: 750px) { .woocommerce-Addresses { grid-template-columns: 1fr 1fr; } }
.woocommerce-Address { padding: 20px; border-radius: 16px; border: 1px solid var(--line); }
.woocommerce-Address-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-bottom: 10px; }
.woocommerce-Address-title h2 { font-size: 18px; }
address { font-style: normal; line-height: 1.7; }

/* Sign in / register */
.woocommerce-account #customer_login { display: grid; gap: 32px; }
@media (min-width: 900px) { .woocommerce-account #customer_login { grid-template-columns: 1fr 1fr; } }
.woocommerce-account #customer_login h2, .woocommerce-ResetPassword > p:first-child { font-family: var(--font-head); font-size: 22px; margin-bottom: 16px; }
.woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: #fff; box-shadow: var(--shadow); }
.woocommerce-form-login .woocommerce-form-login__rememberme { margin-bottom: 12px; }
.woocommerce-LostPassword a { color: var(--color-accent); font-weight: 600; font-size: 14px; }

/* Order details and thank-you page */
.woocommerce-order-overview { display: flex; flex-wrap: wrap; gap: 12px 28px; padding: 18px 22px; border-radius: 14px; background: var(--color-soft, #f8f7fb); font-size: 13px; }
.woocommerce-order-overview strong { display: block; color: var(--ink); font-size: 15px; }
.woocommerce-order-details__title, .woocommerce-column__title { font-size: 20px; margin: 28px 0 14px; }

/* ---------- Reviews ---------- */
#reviews .woocommerce-Reviews-title { font-size: 20px; margin-bottom: 18px; }
#reviews .commentlist { display: grid; gap: 16px; margin: 0 0 28px; }
#reviews .commentlist li { list-style: none; }
#reviews .comment_container { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 14px; padding: 18px; border-radius: 14px; border: 1px solid var(--line); }
#reviews .comment_container img.avatar { width: 48px; height: 48px; border-radius: 50%; }
#reviews .meta { font-size: 13px; color: var(--muted); margin: 4px 0 6px; }
#reviews .meta strong { color: var(--ink); }
#reviews .description p + p { margin-top: 8px; }
#reviews .star-rating { position: relative; display: inline-block; width: 5.4em; height: 1.1em; overflow: hidden; font-size: 14px; line-height: 1; color: #fbbf24; }
#reviews .star-rating::before { content: "★★★★★"; position: absolute; left: 0; top: 0; color: #e5e7eb; letter-spacing: 1px; }
#reviews .star-rating span { position: absolute; left: 0; top: 0; overflow: hidden; padding-top: 1.5em; }
#reviews .star-rating span::before { content: "★★★★★"; position: absolute; left: 0; top: 0; letter-spacing: 1px; }
#reviews .woocommerce-noreviews { margin-bottom: 20px; }
#review_form_wrapper { padding: 24px; border-radius: 16px; background: var(--color-soft, #f8f7fb); }
#reviews .comment-reply-title { display: block; font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); margin-bottom: 12px; }
#reviews .comment-notes { font-weight: 400; color: var(--muted); }
#reviews p.stars { margin: 4px 0 0; }
#reviews p.stars span { display: inline-flex; gap: 4px; }
#reviews p.stars a { position: relative; width: 22px; height: 22px; overflow: hidden; text-indent: -999em; }
#reviews p.stars a::before { content: "★"; position: absolute; inset: 0; text-indent: 0; font-size: 22px; line-height: 1; color: #e5e7eb; }
#reviews p.stars:hover a::before, #reviews p.stars.selected a::before { color: #fbbf24; }
#reviews p.stars a:hover ~ a::before, #reviews p.stars.selected a.active ~ a::before { color: #e5e7eb; }
#reviews p.stars.selected a.active::before { color: #fbbf24; }
#reviews #rating { display: none; }
.comment-form .form-submit { margin-top: 6px; }

/* ---------- Small screens ---------- */
@media (max-width: 749px) {
  .woocommerce table.shop_table_responsive thead { display: none; }
  .woocommerce table.shop_table_responsive tr { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .woocommerce table.shop_table_responsive td { display: flex; justify-content: space-between; gap: 12px; border: 0; padding: 6px 0; }
  .woocommerce table.shop_table_responsive td::before { content: attr(data-title); font-weight: 700; color: var(--ink); }
  .woocommerce-form-login, .woocommerce-form-register, .woocommerce-ResetPassword { padding: 20px; }
}

/* ==========================================================================
   Inner pages
   ========================================================================== */

/* Page header */
.page-hero { position: relative; isolation: isolate; overflow: hidden; padding: 36px 0 44px; background: linear-gradient(180deg, var(--purple-soft) 0%, #fbf8ff 70%, #fff 100%); border-bottom: 1px solid var(--purple-line); }
.page-hero::before { content: ''; position: absolute; z-index: -1; right: -120px; top: -160px; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--color-accent-rgb), .14), rgba(var(--color-accent-rgb), 0) 70%); }
.page-hero .breadcrumbs { margin-bottom: 18px; font-size: 14px; }
.page-hero__title { margin: 0; font-family: var(--font-head); font-weight: 600; font-size: clamp(28px, 4vw, 44px); line-height: 1.12; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); }
.page-hero__intro { max-width: 660px; margin: 12px 0 0; font-size: 16px; line-height: 1.6; color: var(--muted); }
.page-hero--image { display: flex; align-items: flex-end; min-height: 380px; padding: 120px 0 48px; border-bottom: 0; background: #0d0614; color: #fff; }
.page-hero--image::before { display: none; }
.page-hero--image::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 4, 20, .88) 0%, rgba(10, 4, 20, .55) 45%, rgba(10, 4, 20, .1) 80%), linear-gradient(0deg, rgba(10, 4, 20, .6) 0%, rgba(10, 4, 20, 0) 50%); }
.page-hero__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.page-hero__inner { position: relative; }
.page-hero--image .page-hero__title { color: #fff; }
.page-hero--image .page-hero__intro, .page-hero--image .breadcrumbs, .page-hero--image .breadcrumbs [aria-current] { color: rgba(255, 255, 255, .86); }
.page-hero--image .breadcrumbs a:hover { color: #fff; }

/* Content column; blocks set to "wide" or "full" can break out of it */
.page-body .entry-content > * { max-width: 860px; margin-left: auto; margin-right: auto; }
.page-body .entry-content > .alignwide { max-width: 1260px; }
.page-body .entry-content > .alignfull { max-width: none; width: 100vw; margin-left: calc(50% - 50vw); }
.entry-content > * + * { margin-top: 16px; }
.entry-content h2 { margin-top: 40px; margin-bottom: 4px; font-family: var(--font-head); font-size: clamp(21px, 2.2vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; color: var(--ink); scroll-margin-top: 110px; }
.entry-content h3 { margin-top: 28px; font-family: var(--font-body); font-size: 17px; font-weight: 700; color: var(--ink); }
.entry-content > :first-child { margin-top: 0; }
.entry-content strong { color: var(--ink); }
.entry-content li + li { margin-top: 6px; }
.entry-content .lead, .entry-content .has-large-font-size { font-size: 18px; line-height: 1.6; color: var(--ink); }

/* Blocks */
.entry-content .wp-block-columns { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 28px; }
.entry-content .wp-block-column { flex: 1 1 0; min-width: 0; }
.entry-content .wp-block-columns > .wp-block-column > * + * { margin-top: 10px; }
.entry-content .boss-cards > .wp-block-column { padding: 24px; border: 1px solid var(--purple-line); border-radius: 16px; background: #fcfaff; }
.entry-content .boss-cards h3 { margin-top: 0; }
.entry-content .wp-block-media-text { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; margin-top: 36px; }
.entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 2; }
.entry-content .wp-block-media-text__media img { width: 100%; border-radius: 20px; }
.entry-content .wp-block-media-text__content { padding: 0; }
.entry-content .wp-block-media-text__content > * + * { margin-top: 14px; }
.entry-content .wp-block-media-text__content h2 { margin-top: 0; }
.entry-content .wp-block-image img { border-radius: 16px; }
.entry-content .wp-block-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.entry-content .wp-block-button__link { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border: 1.5px solid transparent; border-radius: 999px; background: var(--color-accent); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.entry-content .wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 12px 26px -10px rgba(var(--color-accent-rgb), .7); }
.entry-content .is-style-outline .wp-block-button__link { background: #fff; color: var(--ink); border-color: #d9dce3; }
.entry-content .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 36px auto; }
.entry-content .boss-checks { padding-left: 0; list-style: none; }
.entry-content .boss-checks li { position: relative; padding-left: 30px; }
.entry-content .boss-checks li::before { content: ''; position: absolute; left: 0; top: 3px; width: 19px; height: 19px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1FD6' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.entry-content .boss-note { padding: 16px 18px; border-radius: 12px; background: var(--pink-soft); border: 1px solid var(--pink-line); color: var(--ink); font-size: 14px; }
.entry-content .boss-steps { padding-left: 0; list-style: none; counter-reset: boss-step; }
.entry-content .boss-steps li { position: relative; min-height: 30px; padding: 4px 0 0 44px; counter-increment: boss-step; }
.entry-content .boss-steps li + li { margin-top: 14px; }
.entry-content .boss-steps li::before { content: counter(boss-step); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--color-accent); color: #fff; font-size: 14px; font-weight: 700; line-height: 1; }

/* Product cards inside page content look the same as in the shop */
.entry-content .page-products { margin-top: 28px; }
.entry-content .page-products .card__title { margin: 0; font-family: var(--font-body); font-size: 13.5px; font-weight: 500; color: var(--muted); line-height: 1.35; letter-spacing: 0; }
.entry-content .page-products a:not(.btn) { color: inherit; text-decoration: none; }
.entry-content .page-products a.btn { color: #fff; text-decoration: none; }
.entry-content .page-products .card__title a:hover { color: var(--color-accent); }
.entry-content .page-products .card__media img { border-radius: 0; }
.entry-content .page-products .section-foot { margin-top: 32px; }
@media (max-width: 749px) { .entry-content .page-products .card__title { font-size: 12.5px; } }

/* Two columns: menu on the left, text on the right (policies, FAQs) */
.page-split { display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 56px; align-items: start; }
.page-split--single { grid-template-columns: minmax(0, 1fr); max-width: 900px; }
.page-aside { position: sticky; top: 100px; display: grid; gap: 18px; }
.page-main { min-width: 0; max-width: 820px; }
.page-main .entry-content > * { max-width: none; }
.page-toc { padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.page-toc__title { margin: 0 0 10px; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.page-toc__list { margin: 0; padding: 0; list-style: none; counter-reset: toc; }
.page-toc__list li { counter-increment: toc; }
.page-toc__list a { display: flex; gap: 10px; padding: 7px 8px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.35; color: var(--ink); transition: background .2s, color .2s; }
.page-toc__list a::before { content: counter(toc, decimal-leading-zero); flex: none; font-size: 12px; font-weight: 700; line-height: 1.6; color: var(--color-accent); }
.page-toc__list a:hover { background: var(--purple-soft); color: var(--color-purple); }
.page-updated { display: inline-flex; align-items: center; gap: 6px; margin: 0 0 22px; padding: 6px 12px; border-radius: 999px; background: var(--purple-soft); color: var(--color-purple); font-size: 13px; font-weight: 600; }
.help-card { padding: 22px; border-radius: 16px; background: linear-gradient(160deg, var(--pink-soft), #fff 85%); border: 1px solid var(--pink-line); }
.help-card__icon { display: grid; place-items: center; width: 42px; height: 42px; margin-bottom: 12px; border-radius: 50%; background: #fff; color: var(--color-accent); }
.help-card__title { margin: 0 0 4px; font-size: 16px; font-weight: 700; color: var(--ink); }
.help-card__text { margin: 0 0 14px; font-size: 13.5px; line-height: 1.5; color: var(--muted); }

/* FAQ questions (Details blocks) */
.faq .entry-content h2:first-child { margin-top: 0; }
.entry-content details { margin-top: 10px; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .2s, box-shadow .2s; }
.entry-content h2 + details { margin-top: 16px; }
.entry-content details[open] { border-color: var(--purple-line); box-shadow: var(--shadow); }
.entry-content details > summary { position: relative; display: block; padding: 18px 56px 18px 20px; font-size: 15.5px; font-weight: 700; line-height: 1.4; color: var(--ink); cursor: pointer; list-style: none; }
.entry-content details > summary::-webkit-details-marker { display: none; }
.entry-content details > summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237A1FD6' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .25s ease; }
.entry-content details[open] > summary::after { transform: rotate(45deg); }
.entry-content details > summary:hover { color: var(--color-purple); }
.entry-content details > summary:focus-visible { outline: 2px solid var(--color-purple); outline-offset: 2px; border-radius: 14px; }
.entry-content details > :not(summary) { margin: 0; padding: 0 20px 12px; color: var(--color-text, #4b5563); }
.entry-content details > summary + * { margin-top: -4px; }
.entry-content details > :last-child:not(summary) { padding-bottom: 20px; }

/* Contact page */
.contact-layout { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 40px; align-items: start; }
.contact-info { display: grid; gap: 14px; }
.contact-card { position: relative; display: flex; align-items: center; gap: 16px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, box-shadow .2s, transform .2s; }
a.contact-card:hover { border-color: var(--purple-line); box-shadow: var(--shadow); transform: translateY(-1px); }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 50%; background: var(--purple-soft); color: var(--color-purple); }
.contact-card__title { display: block; font-size: 14px; font-weight: 700; color: var(--ink); }
.contact-card__text { display: block; font-size: 14px; line-height: 1.45; color: var(--muted); overflow-wrap: anywhere; }
.contact-card--soft { background: linear-gradient(160deg, var(--pink-soft), #fff 90%); border-color: var(--pink-line); }
.contact-card__arrow { margin-left: auto; flex: none; color: var(--color-accent); }
.contact-social { display: flex; align-items: center; gap: 10px; padding: 6px 4px; }
.contact-social__label { margin-right: 4px; font-size: 13px; font-weight: 700; color: var(--ink); }
.contact-social a { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: #f4f5f7; color: var(--ink); }
.contact-social a:hover { background: var(--color-accent); color: #fff; }
.contact-panel { padding: 34px; border: 1px solid var(--line); border-radius: 22px; background: #fff; box-shadow: var(--shadow); }
.contact-panel .entry-content > * { max-width: none; }
.contact-panel .entry-content h2:first-child { margin-top: 0; }
.contact-panel .form { margin-top: 22px; margin-bottom: 0; }

/* About page */
.about-features .section-head { margin-bottom: 30px; }
.features--cards { margin-top: 0; gap: 18px; }
.features--cards .feature { flex-direction: column; align-items: flex-start; gap: 16px; padding: 26px 22px; border-radius: 18px; background: #fff; border-color: var(--purple-line); }
.features--cards .feature__icon { width: 48px; height: 48px; border-radius: 12px; }
.features--cards .feature__title { font-size: 16px; }
.features--cards .feature__text { margin-top: 4px; font-size: 14px; }
.cta-band { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 44px 48px; border-radius: 24px; background: radial-gradient(circle at 85% 20%, rgba(var(--color-accent-rgb), .45), rgba(var(--color-accent-rgb), 0) 45%), linear-gradient(120deg, #14081f 0%, #2b1340 60%, #3b1a5c 100%); color: #fff; }
.cta-band__title { margin: 0 0 8px; font-family: var(--font-head); font-size: clamp(22px, 2.6vw, 30px); font-weight: 700; line-height: 1.2; color: #fff; }
.cta-band__text { margin: 0; max-width: 560px; color: rgba(255, 255, 255, .8); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; }
.cta-band .btn--ghost { border-color: transparent; }

/* Wishlist page */
.wishlist-grid[hidden], .wishlist-item[hidden], .wishlist-empty[hidden] { display: none !important; }
.wishlist-intro { margin-bottom: 28px; text-align: center; }
.wishlist-empty { padding: 40px 0 20px; }
.wishlist-empty__icon { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: var(--pink-soft); color: var(--color-accent); }
.wishlist-empty__title { margin: 0; font-family: var(--font-head); font-size: 24px; font-weight: 700; color: var(--ink); }
.wishlist-empty__text { margin: -8px 0 4px; color: var(--muted); }

/* Order tracking form */
.entry-content .woocommerce form.track_order { max-width: 560px; margin: 0 auto; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.entry-content .woocommerce form.track_order > p:first-child:not(.form-row) { display: none; }
.entry-content .woocommerce form.track_order > p:not(.form-row) + .form-row, .entry-content .woocommerce form.track_order > .form-row:first-child { margin-top: 0; }
.entry-content .woocommerce form.track_order .form-row-first, .entry-content .woocommerce form.track_order .form-row-last { display: grid; width: 100%; margin-right: 0; }
.entry-content .woocommerce form.track_order .clear { display: none; }
.entry-content .woocommerce form.track_order .button { width: 100%; margin-top: 6px; }

@media (max-width: 989px) {
  .page-split, .contact-layout { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .page-aside { position: static; }
  .page-toc__list { display: flex; flex-wrap: wrap; gap: 6px; }
  .page-toc__list a { padding: 6px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
  .page-toc__list a::before { display: none; }
  .page-split .help-card { display: none; }
  .entry-content .wp-block-media-text { grid-template-columns: 1fr; gap: 24px; }
  .entry-content .wp-block-media-text.has-media-on-the-right .wp-block-media-text__media { order: 0; }
  .cta-band { flex-direction: column; align-items: flex-start; padding: 32px 26px; }
}
@media (max-width: 749px) {
  .page-hero { padding: 24px 0 30px; }
  .page-hero--image { min-height: 300px; padding: 100px 0 32px; }
  .page-hero__intro { font-size: 15px; }
  .entry-content .wp-block-columns { flex-direction: column; }
  .features--cards { grid-template-columns: 1fr 1fr; }
  .features--cards .feature { padding: 20px 16px; }
  .contact-panel { padding: 22px 18px; border-radius: 18px; }
  .entry-content details > summary { padding: 16px 52px 16px 16px; font-size: 15px; }
  .entry-content details > :not(summary) { padding-left: 16px; padding-right: 16px; }
}

/* ==========================================================================
   Motion
   Everything below is skipped when the visitor's device asks for reduced motion.
   ========================================================================== */
:root { --ease-enter: cubic-bezier(.22, 1, .36, 1); }

@media (prefers-reduced-motion: no-preference) {

  /* Scroll reveal: theme.js marks content below the fold with .reveal and adds .is-in
     when it scrolls into view. Items in a row get a short --reveal-delay each. */
  .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .7s var(--ease-enter), transform .9s var(--ease-enter); transition-delay: var(--reveal-delay, 0s); }
  .reveal.is-in { opacity: 1; transform: none; }
  .tile.reveal .tile__img { transform: scale(1.14); transition: transform 1.6s var(--ease-enter) var(--reveal-delay, 0s); }
  .tile.reveal.is-in .tile__img { transform: none; }

  /* Heroes: the lines rise in one after another and the photo settles as the page opens */
  .hero__content > *, .page-hero__inner > * { animation: boss-rise .9s var(--ease-enter) both; }
  .hero__content > :nth-child(2), .page-hero__inner > :nth-child(2) { animation-delay: .08s; }
  .hero__content > :nth-child(3), .page-hero__inner > :nth-child(3) { animation-delay: .16s; }
  .hero__content > :nth-child(n+4), .page-hero__inner > :nth-child(n+4) { animation-delay: .24s; }
  .hero__img, .page-hero__img { animation: boss-settle 1.8s var(--ease-enter) both; }

  /* Flavour slider: the photo eases in each time the flavour changes */
  .flavours__slide img:not(.flavours__shot) { scale: 1.06; transition: scale 1.6s var(--ease-enter); }
  .flavours__slide .flavours__shot { translate: 0 24px; transition: translate 1s var(--ease-enter); }
  .flavours__slide.is-active img { scale: none; translate: none; }

  /* Banner slideshow: slides cross-fade and the new one slowly settles. The active dot
     fills over the slide's time; pausing the fill pauses the slideshow. */
  .hero--slides .hero__slide { scale: 1.06; transition: opacity 1.2s ease, scale 0s 1.2s; }
  .hero--slides .hero__slide.is-active { scale: none; transition: opacity 1.2s ease, scale 7s cubic-bezier(.2, .6, .3, 1); }
  .hero.is-playing .hero__dot.is-active::before { background: rgba(255, 255, 255, .42); }
  .hero.is-playing .hero__dot.is-active .hero__dot-fill { display: block; animation: boss-fill var(--hero-speed, 6s) linear both; }
  .hero.is-held .hero__dot-fill { animation-play-state: paused; }

  /* Scroll-linked: while the page scrolls, the hero photo slowly zooms and the home hero
     text drifts up and fades. Browsers without scroll-driven animations keep the still version. */
  @supports (animation-timeline: scroll()) {
    .hero__img, .page-hero__img {
      animation: boss-settle 1.8s var(--ease-enter) both, boss-zoom linear both;
      animation-timeline: auto, scroll(root);
      animation-range: normal, 0 80vh;
    }
    @media (min-width: 750px) {
      .hero__content { animation: boss-drift linear both; animation-timeline: scroll(root); animation-range: 10vh 90vh; }
    }
  }

  /* A short fade between pages; the header stays in place */
  @view-transition { navigation: auto; }
  .section-header { view-transition-name: boss-header; }
  ::view-transition-old(root) { animation: boss-fade-out .16s ease both; }
  ::view-transition-new(root) { animation: boss-fade-in .3s var(--ease-enter) both; }

  @keyframes boss-rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } }
  @keyframes boss-settle { from { transform: scale(1.08); } }
  @keyframes boss-zoom { to { scale: 1.12; } }
  @keyframes boss-drift { to { opacity: 0; transform: translate3d(0, -90px, 0); } }
  @keyframes boss-fade-out { to { opacity: 0; } }
  @keyframes boss-fade-in { from { opacity: 0; } }
  @keyframes boss-fill { from { transform: scaleX(0); } }
}

@media print { .reveal { opacity: 1 !important; transform: none !important; } }
