/* =========================================================
   Coffee Corner — motion & effects
   ========================================================= */
html { scroll-behavior: smooth; }
:root { --cc-ease: cubic-bezier(.22, 1, .36, 1); --cc-spring: cubic-bezier(.34, 1.56, .64, 1); }

/* ---------- Scroll progress ---------- */
.cc-progress { position: fixed; top: 0; inset-inline: 0; height: 3px; z-index: 100000; background: linear-gradient(90deg, var(--cc-caramel), var(--cc-brown), var(--cc-caramel)); transform-origin: right; transform: scaleX(0); pointer-events: none; }
.admin-bar .cc-progress { top: 32px; }
@media (max-width: 782px) { .admin-bar .cc-progress { top: 46px; } }

/* ---------- Reveal on scroll ---------- */
.cc-js .cc-reveal { opacity: 0; transition: opacity .8s var(--cc-ease), transform .9s var(--cc-ease), filter .8s var(--cc-ease); transition-delay: var(--cc-delay, 0ms); will-change: opacity, transform; }
.cc-js .cc-reveal--up { transform: translateY(42px); }
.cc-js .cc-reveal--zoom { transform: scale(.94); filter: blur(6px); }
.cc-js .cc-reveal--side { transform: translateX(-40px); }
.cc-js .cc-reveal.is-in { opacity: 1; transform: none; filter: none; }
/* after reveal, give cards back their own hover transform */
.cc-js ul.products li.product.cc-reveal.is-in,
.cc-js .cc-cat.cc-reveal.is-in,
.cc-js .cc-feature.cc-reveal.is-in { transition: opacity .8s var(--cc-ease) var(--cc-delay, 0ms), transform .45s var(--cc-ease), box-shadow .35s, border-color .35s; }

/* ---------- Section headings: accent bar grows ---------- */
.cc-js .cc-section-head h2::before { transform: scaleY(0); transition: transform .7s var(--cc-spring) .25s; }
.cc-js .cc-section-head.is-in h2::before { transform: scaleY(1); }
.cc-section-head a { position: relative; transition: color .3s, padding .3s var(--cc-ease); }
.cc-section-head a::after { content: "←"; display: inline-block; margin-inline-start: 6px; transition: transform .35s var(--cc-spring); }
.cc-section-head a:hover::after { transform: translateX(-6px); }

/* ---------- Header ---------- */
#header [data-row="middle"] { transition: box-shadow .4s, background-color .4s, backdrop-filter .4s; }
#header [data-row="middle"] > div { transition: min-height .4s var(--cc-ease); }
.cc-scrolled #header [data-sticky] [data-row="middle"],
.cc-scrolled #header [data-row="middle"] { box-shadow: 0 10px 30px -20px rgba(46, 31, 22, .35); }
.site-logo-container img { transition: transform .5s var(--cc-spring), max-height .4s var(--cc-ease); }
.site-logo-container:hover img { transform: rotate(-4deg) scale(1.06); }
.ct-header .menu > li > a { position: relative; }
.ct-header .menu > li > a::after { content: ""; position: absolute; inset-inline: 12px; bottom: 22%; height: 2px; border-radius: 2px; background: var(--cc-caramel); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--cc-ease); }
.ct-header .menu > li > a:hover::after, .ct-header .menu > li.current-menu-item > a::after { transform: scaleX(1); transform-origin: right; }
.ct-header-cart.cc-bump { animation: cc-bump .7s var(--cc-spring); }
@keyframes cc-bump { 0% { transform: scale(1); } 30% { transform: scale(1.35) rotate(-8deg); } 60% { transform: scale(.92) rotate(4deg); } 100% { transform: scale(1); } }

/* ---------- Top bar: marquee on small screens ---------- */
.cc-topbar { overflow: hidden; position: relative; }
.cc-topbar::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,.12) 50%, transparent 70%); transform: translateX(100%); animation: cc-sheen 6s ease-in-out infinite; pointer-events: none; }
@keyframes cc-sheen { 0%, 60% { transform: translateX(100%); } 100% { transform: translateX(-100%); } }
@media (max-width: 689px) {
	.cc-topbar__inner { flex-wrap: nowrap; justify-content: flex-start; width: max-content; gap: 36px; animation: cc-marquee 16s linear infinite; }
	.cc-topbar__inner span:nth-child(3) { display: inline; }
}
@keyframes cc-marquee { from { transform: translateX(-50%); } to { transform: translateX(100%); } }

/* ---------- Hero ---------- */
.cc-hero { position: relative; isolation: isolate; --mx: 0; --my: 0; }
.cc-hero::before, .cc-hero::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(40px); opacity: .55; animation: cc-blob 14s ease-in-out infinite alternate; }
.cc-hero::before { width: 420px; height: 420px; background: radial-gradient(circle, rgba(200,146,90,.45), transparent 70%); top: -120px; left: -80px; }
.cc-hero::after { width: 360px; height: 360px; background: radial-gradient(circle, rgba(111,69,44,.25), transparent 70%); bottom: -140px; right: 10%; animation-delay: -6s; }
@keyframes cc-blob { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(60px, 30px) scale(1.15); } 100% { transform: translate(-30px, 50px) scale(.95); } }

/* entrance */
.cc-js .cc-hero .cc-eyebrow,
.cc-js .cc-hero .cc-hero__text,
.cc-js .cc-hero .cc-hero__btns .wp-block-button { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--cc-ease), transform 1s var(--cc-ease); }
.cc-js .cc-hero.is-in .cc-eyebrow { opacity: 1; transform: none; transition-delay: .1s; }
.cc-js .cc-hero.is-in .cc-hero__text { opacity: 1; transform: none; transition-delay: .9s; }
.cc-js .cc-hero.is-in .cc-hero__btns .wp-block-button { opacity: 1; transform: none; transition-delay: 1.1s; }
.cc-js .cc-hero.is-in .cc-hero__btns .wp-block-button + .wp-block-button { transition-delay: 1.25s; }
.cc-word { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(4deg); filter: blur(8px); }
.cc-hero.is-in .cc-word { animation: cc-word .9s var(--cc-ease) forwards; animation-delay: calc(.25s + var(--i) * 70ms); }
@keyframes cc-word { to { opacity: 1; transform: none; filter: none; } }
.cc-hero__title > span:not(.cc-word)::after { transform: scaleX(0); transform-origin: right; transition: transform .9s var(--cc-ease) 1.2s; }
.cc-hero.is-in .cc-hero__title > span:not(.cc-word)::after { transform: scaleX(1); }
.cc-hero__title > span { white-space: normal; }

/* art: floating plate + rotating ring + steam + orbiting beans */
.cc-hero__art { position: relative; perspective: 900px; }
.cc-js .cc-hero__art figure { opacity: 0; transform: scale(.6) rotate(-20deg); transition: opacity 1s var(--cc-ease) .3s, transform 1.4s var(--cc-spring) .3s; }
.cc-js .cc-hero.is-in .cc-hero__art figure { opacity: 1; transform: translate(calc(var(--mx) * -24px), calc(var(--my) * -24px)) rotateY(calc(var(--mx) * 14deg)) rotateX(calc(var(--my) * -14deg)); transition: opacity 1s var(--cc-ease) .3s, transform .6s var(--cc-ease); }
.cc-hero__art figure { position: relative; overflow: visible !important; }
.cc-hero__art figure::before { content: ""; position: absolute; inset: -26px; border-radius: 50%; border: 2px dashed rgba(111, 69, 44, .28); animation: cc-spin 40s linear infinite; }
.cc-hero__art figure::after { content: ""; position: absolute; inset: -52px; border-radius: 50%; background:
	radial-gradient(circle at 50% 0%, var(--cc-brown) 0 7px, transparent 8px),
	radial-gradient(circle at 100% 50%, var(--cc-caramel) 0 6px, transparent 7px),
	radial-gradient(circle at 15% 85%, var(--cc-brown) 0 5px, transparent 6px);
	animation: cc-spin 18s linear infinite reverse; pointer-events: none; }
@keyframes cc-spin { to { transform: rotate(360deg); } }
.cc-hero__art img { animation: cc-float 5s ease-in-out infinite; transform-origin: center bottom; position: relative; z-index: 1; }
@keyframes cc-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-14px) rotate(-2deg); } }
.cc-steam { position: absolute; top: 16%; left: 33%; width: 60px; height: 70px; z-index: 2; pointer-events: none; }
.cc-steam i { position: absolute; bottom: 0; width: 8px; height: 40px; border-radius: 50%; background: linear-gradient(to top, rgba(111,69,44,.35), transparent); filter: blur(3px); animation: cc-steam 3.2s ease-in-out infinite; opacity: 0; }
.cc-steam i:nth-child(1) { left: 6px; }
.cc-steam i:nth-child(2) { left: 24px; animation-delay: 1s; }
.cc-steam i:nth-child(3) { left: 42px; animation-delay: 2s; }
@keyframes cc-steam { 0% { transform: translateY(10px) scaleX(1); opacity: 0; } 30% { opacity: .9; } 100% { transform: translateY(-50px) scaleX(2.2) skewX(12deg); opacity: 0; } }

/* buttons in hero */
.cc-hero__btns .wp-block-button__link { transition: transform .35s var(--cc-ease), box-shadow .35s, background-color .3s, color .3s !important; position: relative; overflow: hidden; }
.cc-hero__btns .wp-block-button:not(.is-style-outline) .wp-block-button__link { box-shadow: 0 12px 28px -12px rgba(111, 69, 44, .7); }
.cc-hero__btns .wp-block-button:not(.is-style-outline) .wp-block-button__link::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: cc-btn-sheen 3.5s ease-in-out infinite 2.5s; }
@keyframes cc-btn-sheen { 0%, 70% { left: -60%; } 100% { left: 130%; } }

/* ---------- Category tiles ---------- */
.cc-cat { position: relative; overflow: hidden; transform-style: preserve-3d; transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.cc-cat::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(200,146,90,.22), transparent 55%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.cc-cat:hover::before { opacity: 1; }
.cc-cat:hover { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.cc-cat__icon { position: relative; }
.cc-cat__icon::after { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid var(--cc-caramel); opacity: 0; transform: scale(.8); transition: opacity .4s, transform .5s var(--cc-spring); }
.cc-cat:hover .cc-cat__icon::after { opacity: 1; transform: scale(1); }
.cc-cat:hover .cc-cat__icon svg { animation: cc-wiggle .7s var(--cc-spring); }
@keyframes cc-wiggle { 0% { transform: rotate(0); } 25% { transform: rotate(-12deg) scale(1.1); } 50% { transform: rotate(8deg) scale(1.1); } 75% { transform: rotate(-4deg); } 100% { transform: rotate(0); } }
.cc-cat em { transition: letter-spacing .35s var(--cc-ease), color .3s; }
.cc-cat:hover em { letter-spacing: .03em; color: var(--cc-caramel); }

/* ---------- Product cards ---------- */
ul.products li.product { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); overflow: hidden; }
ul.products li.product:hover { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); border-color: var(--cc-caramel); }
ul.products li.product::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.35), transparent 45%); opacity: 0; transition: opacity .35s; pointer-events: none; z-index: 3; }
ul.products li.product:hover::after { opacity: 1; }
ul.products li.product figure img, ul.products li.product .ct-media-container img { transition: transform 1s var(--cc-ease) !important; }
ul.products li.product:hover figure img, ul.products li.product:hover .ct-media-container img { transform: scale(1.09); }
ul.products li.product .woocommerce-loop-product__title { transition: color .3s; }
ul.products li.product:hover .woocommerce-loop-product__title { color: var(--cc-brown); }
ul.products li.product .button { position: relative; overflow: hidden; transition: background-color .3s, transform .3s var(--cc-ease), box-shadow .3s !important; }
ul.products li.product:hover .button { box-shadow: 0 10px 22px -12px rgba(111, 69, 44, .8); }
ul.products li.product .button.loading { opacity: .75; }
ul.products li.product .button.added { animation: cc-pop .5s var(--cc-spring); }
@keyframes cc-pop { 50% { transform: scale(1.08); } }
.onsale { animation: cc-badge 2.6s ease-in-out infinite; transform-origin: center; }
@keyframes cc-badge { 0%, 100% { transform: scale(1) rotate(0); } 8% { transform: scale(1.15) rotate(-6deg); } 16% { transform: scale(1) rotate(0); } }
.cc-fly { position: fixed; z-index: 100001; border-radius: 16px; object-fit: cover; pointer-events: none; transition: transform .85s cubic-bezier(.5, -0.3, .3, 1), opacity .85s; box-shadow: 0 20px 40px rgba(0,0,0,.25); }

/* ---------- Ripple ---------- */
.button, .wp-block-button__link, .cc-btn-light, #place_order, .single_add_to_cart_button { position: relative; overflow: hidden; }
.cc-ripple { position: absolute; border-radius: 50%; background: rgba(255,255,255,.45); transform: scale(0); animation: cc-ripple .65s ease-out forwards; pointer-events: none; }
@keyframes cc-ripple { to { transform: scale(1); opacity: 0; } }

/* ---------- Promo banner ---------- */
.cc-banner { background-size: 200% 200% !important; background-image: linear-gradient(120deg, var(--cc-brown-dark), var(--cc-brown), #8a5a3b, var(--cc-brown-dark)) !important; animation: cc-gradient 10s ease infinite; }
@keyframes cc-gradient { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.cc-banner::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.12) 1px, transparent 1.5px); background-size: 22px 22px; mask-image: linear-gradient(to left, transparent, #000); -webkit-mask-image: linear-gradient(to left, transparent, #000); animation: cc-dots 20s linear infinite; pointer-events: none; }
@keyframes cc-dots { to { background-position: 220px 110px; } }
.cc-banner__deco { animation: cc-deco 6s ease-in-out infinite; }
@keyframes cc-deco { 0%, 100% { transform: rotate(-8deg) scale(1); } 50% { transform: rotate(8deg) scale(1.12); } }
.cc-banner__text { position: relative; z-index: 1; }
.cc-btn-light { transition: transform .35s var(--cc-ease), background .3s, box-shadow .3s; }
.cc-btn-light:hover { box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); }

/* ---------- Features ---------- */
.cc-feature { transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .45s var(--cc-ease), box-shadow .35s; }
.cc-feature:hover { box-shadow: var(--cc-shadow); transform: perspective(900px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translateY(-6px); }
.cc-feature span { display: inline-block !important; transition: transform .6s var(--cc-spring); }
.cc-feature:hover span { transform: scale(1.25) rotate(-10deg); }
.cc-feature.is-in span { animation: cc-drop .9s var(--cc-spring) both; animation-delay: calc(var(--cc-delay, 0ms) + .2s); }
@keyframes cc-drop { 0% { transform: translateY(-30px) scale(.4); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- WhatsApp float ---------- */
.cc-whatsapp { animation: cc-wa-in .8s var(--cc-spring) 1.5s both; }
.cc-whatsapp::before, .cc-whatsapp::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: #25D366; z-index: -1; animation: cc-pulse 2.4s ease-out infinite; }
.cc-whatsapp::after { animation-delay: 1.2s; }
@keyframes cc-pulse { 0% { transform: scale(1); opacity: .6; } 100% { transform: scale(1.9); opacity: 0; } }
@keyframes cc-wa-in { from { transform: scale(0) rotate(-180deg); } to { transform: none; } }
.cc-whatsapp svg { transition: transform .4s var(--cc-spring); }
.cc-whatsapp:hover svg { transform: rotate(-15deg) scale(1.1); }

/* ---------- Single product ---------- */
.cc-trust li { transition: transform .35s var(--cc-ease), background .3s; }
.cc-trust li:hover { transform: translateY(-3px); background: var(--cc-cream-2); }
.single_add_to_cart_button { transition: transform .3s var(--cc-ease), box-shadow .3s !important; }
.single_add_to_cart_button:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -14px rgba(111,69,44,.8); }
.woocommerce-product-gallery img { transition: transform .8s var(--cc-ease); }

/* ---------- Footer & misc ---------- */
.cc-social a { transition: transform .35s var(--cc-spring), background .3s, border-color .3s; }
.cc-social a:hover { transform: translateY(-4px) rotate(-8deg); }
.cc-footer a { transition: color .3s, padding .3s var(--cc-ease); }
.cc-footer li a:hover { padding-inline-start: 6px; }
.cc-contact-card { transition: transform .4s var(--cc-ease), box-shadow .35s, border-color .3s; }
.cc-contact-card:hover { transform: translateY(-6px); }
.cc-contact-card span { transition: transform .5s var(--cc-spring); }
.cc-contact-card:hover span { transform: scale(1.2) rotate(-8deg); }

/* ---------- Respect reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.cc-word, .cc-js .cc-reveal { opacity: 1 !important; transform: none !important; filter: none !important; }
}

/* =========================================================
   Extra motion — loader, cursor, inner pages
   ========================================================= */

/* ---------- Loader ---------- */
.cc-loader { position: fixed; inset: 0; z-index: 1000000; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, #FAF6F1, #EBE1D7); transition: opacity .7s var(--cc-ease), visibility .7s, clip-path 1s var(--cc-ease); clip-path: circle(150% at 50% 50%); }
.cc-no-loader .cc-loader { display: none; }
.cc-loaded .cc-loader { opacity: 0; visibility: hidden; clip-path: circle(0% at 50% 50%); }
.cc-loader__inner { position: relative; text-align: center; }
.cc-loader img { width: 140px; height: auto; animation: cc-loader-bob 1.4s ease-in-out infinite; }
@keyframes cc-loader-bob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(2deg); } }
.cc-loader__steam { position: absolute; top: -46px; left: 32px; width: 50px; height: 60px; }
.cc-loader__steam i { position: absolute; bottom: 0; width: 7px; height: 36px; border-radius: 50%; background: linear-gradient(to top, rgba(111,69,44,.45), transparent); filter: blur(2px); animation: cc-steam 2s ease-in-out infinite; opacity: 0; }
.cc-loader__steam i:nth-child(1) { left: 4px; }
.cc-loader__steam i:nth-child(2) { left: 20px; animation-delay: .6s; }
.cc-loader__steam i:nth-child(3) { left: 36px; animation-delay: 1.2s; }
.cc-loader__bar { width: 160px; height: 4px; border-radius: 4px; background: rgba(111,69,44,.15); margin: 22px auto 12px; overflow: hidden; }
.cc-loader__bar span { display: block; height: 100%; width: 40%; border-radius: 4px; background: linear-gradient(90deg, var(--cc-caramel), var(--cc-brown)); animation: cc-loader-bar 1.1s ease-in-out infinite; }
@keyframes cc-loader-bar { 0% { transform: translateX(260%); } 100% { transform: translateX(-160%); } }
.cc-loader p { margin: 0; font-weight: 700; color: var(--cc-brown); letter-spacing: .02em; animation: cc-blink 1.4s ease-in-out infinite; }
@keyframes cc-blink { 50% { opacity: .45; } }

/* ---------- Custom cursor ---------- */
.cc-cursor-dot, .cc-cursor-ring { position: fixed; top: 0; left: 0; z-index: 1000001; pointer-events: none; border-radius: 50%; transition: opacity .3s; }
.cc-cursor-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--cc-brown); }
.cc-cursor-ring { width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid rgba(111,69,44,.55); }
.cc-cursor-ring::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(200,146,90,.18); transform: scale(0); transition: transform .35s var(--cc-spring); }
.cc-cursor-ring.is-hover { border-color: var(--cc-caramel); }
.cc-cursor-ring.is-hover::after { transform: scale(1.5); }
.cc-cursor-ring.is-product::before { content: "شوف"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: #fff; background: var(--cc-brown); border-radius: 50%; transform: scale(1.5); }
.cc-cursor-ring.is-down { width: 30px; height: 30px; margin: -15px 0 0 -15px; }

/* ---------- Back to top ---------- */
.ct-back-to-top { display: none !important; }
.cc-top { position: fixed; bottom: 22px; right: 22px; z-index: 998; width: 52px; height: 52px; border: 0; padding: 0; border-radius: 50%; background: #fff; color: var(--cc-brown); box-shadow: var(--cc-shadow); cursor: pointer; display: grid; place-items: center; opacity: 0; transform: translateY(20px) scale(.6); pointer-events: none; transition: opacity .4s, transform .5s var(--cc-spring); }
.cc-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.cc-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.cc-top circle { fill: none; stroke-width: 3; }
.cc-top__track { stroke: var(--cc-cream-2); }
.cc-top__bar { stroke: var(--cc-brown); stroke-linecap: round; transition: stroke-dashoffset .15s linear; }
.cc-top span { font-size: 20px; font-weight: 800; transition: transform .35s var(--cc-spring); }
.cc-top:hover span { transform: translateY(-4px); }

/* ---------- Marquee above footer ---------- */
.cc-marquee { overflow: hidden; background: var(--cc-brown); color: var(--cc-cream); padding: 18px 0; margin: 30px 0 0; position: relative; z-index: 2; box-shadow: 0 10px 30px -18px rgba(0,0,0,.5); }
.cc-marquee__track { display: flex; width: max-content; gap: 28px; align-items: center; animation: cc-marquee-x 38s linear infinite; }
.cc-marquee:hover .cc-marquee__track { animation-play-state: paused; }
.cc-marquee span { font-size: clamp(20px, 3vw, 32px); font-weight: 800; white-space: nowrap; }
.cc-marquee span:nth-of-type(even) { color: transparent; -webkit-text-stroke: 1.2px var(--cc-cream); }
.cc-marquee b { color: var(--cc-caramel); font-size: 22px; animation: cc-spin 6s linear infinite; display: inline-block; }
@keyframes cc-marquee-x { from { transform: translateX(0); } to { transform: translateX(50%); } }
.cc-js .cc-marquee.cc-reveal--up { transform: translateY(40px); }
.cc-js .cc-marquee.cc-reveal.is-in { transform: none; }

/* ---------- Page titles (inner pages) ---------- */
.hero-section { position: relative; overflow: hidden; }
.hero-section .entry-header { position: relative; }
.hero-section .page-title { position: relative; display: inline-block; }
.hero-section .page-title::after { content: ""; display: block; height: 4px; width: 60px; margin: 10px auto 0; border-radius: 4px; background: linear-gradient(90deg, var(--cc-caramel), var(--cc-brown)); transform: scaleX(0); transition: transform .9s var(--cc-spring) .5s; }
.hero-section .page-title.is-in::after { transform: scaleX(1); }
.cc-tword { display: inline-block; opacity: 0; transform: translateY(.7em) rotate(6deg); filter: blur(6px); animation: cc-word .8s var(--cc-ease) forwards; animation-delay: calc(.15s + var(--i) * 90ms); }

/* ---------- Shop toolbar ---------- */
.woocommerce-ordering select { transition: border-color .3s, box-shadow .3s; }
.woocommerce-ordering select:hover, .woocommerce-ordering select:focus { border-color: var(--cc-caramel); box-shadow: 0 0 0 4px rgba(200,146,90,.18); }
.ct-pagination a, .woocommerce-pagination a { transition: transform .3s var(--cc-spring), background .3s, color .3s; }
.ct-pagination a:hover, .woocommerce-pagination a:hover { transform: translateY(-3px); }

/* ---------- Images fade-in ---------- */
.cc-img { opacity: 0; transition: opacity .8s var(--cc-ease), transform 1s var(--cc-ease) !important; }
.cc-img.is-loaded { opacity: 1; }

/* ---------- Single product ---------- */
.woocommerce-product-gallery { overflow: hidden; border-radius: var(--cc-radius); }
.woocommerce-product-gallery:hover img { transform: scale(1.05); }
.single-product .product_title { animation: cc-word .9s var(--cc-ease) both .1s; }
.single-product .summary .price { animation: cc-word .9s var(--cc-ease) both .25s; }
.cc-trust li { animation: cc-drop .8s var(--cc-spring) both; }
.cc-trust li:nth-child(1) { animation-delay: .5s; }
.cc-trust li:nth-child(2) { animation-delay: .62s; }
.cc-trust li:nth-child(3) { animation-delay: .74s; }
.cc-trust li > span { display: inline-block; transition: transform .5s var(--cc-spring); }
.cc-trust li:hover > span { transform: scale(1.25) rotate(-10deg); }
.single_add_to_cart_button::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: cc-btn-sheen 3.5s ease-in-out infinite 1.5s; }
.cc-order-wa { transition: background .3s, color .3s, transform .3s var(--cc-ease); }
.cc-order-wa:hover { transform: translateY(-2px); }
.quantity input { transition: border-color .3s, box-shadow .3s; }
.quantity input:focus { border-color: var(--cc-caramel); box-shadow: 0 0 0 4px rgba(200,146,90,.2); }
.woocommerce-tabs .tabs li a { position: relative; transition: color .3s; }
.woocommerce-tabs .tabs li a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 3px; border-radius: 3px; background: var(--cc-caramel); transform: scaleX(0); transition: transform .45s var(--cc-ease); }
.woocommerce-tabs .tabs li.active a::after, .woocommerce-tabs .tabs li a:hover::after { transform: scaleX(1); }
.woocommerce-Tabs-panel { animation: cc-word .6s var(--cc-ease) both; }

/* ---------- Cart & checkout ---------- */
.woocommerce-cart-form__cart-item { transition: background .3s; }
.woocommerce-cart-form__cart-item:hover { background: rgba(243,235,226,.6); }
.woocommerce-cart-form .product-remove a { transition: transform .35s var(--cc-spring), background .3s, color .3s; }
.woocommerce-cart-form .product-remove a:hover { transform: rotate(90deg) scale(1.15); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection { transition: border-color .3s, box-shadow .3s, transform .3s var(--cc-ease) !important; }
.woocommerce form .form-row.cc-focus input.input-text, .woocommerce form .form-row.cc-focus textarea, .woocommerce form .form-row.cc-focus .select2-selection { border-color: var(--cc-caramel) !important; box-shadow: 0 0 0 4px rgba(200,146,90,.18) !important; transform: translateY(-1px); }
.woocommerce form .form-row label { transition: color .3s, transform .3s var(--cc-ease); }
.woocommerce form .form-row.cc-focus label { color: var(--cc-brown); transform: translateX(-4px); }
.woocommerce form .form-row.woocommerce-invalid input.input-text { animation: cc-shake .45s ease; }
@keyframes cc-shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
#place_order, .checkout-button { position: relative; overflow: hidden; }
#place_order::before, .checkout-button::before { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: cc-btn-sheen 3s ease-in-out infinite 1s; }
.woocommerce-checkout #payment { animation: cc-word .8s var(--cc-ease) both; }
.woocommerce-order-received .woocommerce-notice--success, .woocommerce-thankyou-order-received { animation: cc-pop-in .9s var(--cc-spring) both; }
@keyframes cc-pop-in { 0% { transform: scale(.7); opacity: 0; } 100% { transform: none; opacity: 1; } }

/* ---------- Mobile off-canvas menu ---------- */
#offcanvas .mobile-menu > ul > li { opacity: 0; transform: translateX(40px); transition: opacity .5s var(--cc-ease), transform .6s var(--cc-ease); }
#offcanvas.active .mobile-menu > ul > li { opacity: 1; transform: none; }
#offcanvas.active .mobile-menu > ul > li:nth-child(1) { transition-delay: .12s; }
#offcanvas.active .mobile-menu > ul > li:nth-child(2) { transition-delay: .18s; }
#offcanvas.active .mobile-menu > ul > li:nth-child(3) { transition-delay: .24s; }
#offcanvas.active .mobile-menu > ul > li:nth-child(4) { transition-delay: .30s; }
#offcanvas.active .mobile-menu > ul > li:nth-child(5) { transition-delay: .36s; }
#offcanvas.active .mobile-menu > ul > li:nth-child(6) { transition-delay: .42s; }
#offcanvas.active .mobile-menu > ul > li:nth-child(n+7) { transition-delay: .48s; }
#offcanvas .mobile-menu a { transition: color .3s, padding .3s var(--cc-ease); }
#offcanvas .mobile-menu a:hover { padding-inline-start: 8px; color: var(--cc-caramel); }

/* ---------- Info pages ---------- */
.entry-content > h2.wp-block-heading { position: relative; padding-inline-start: 14px; }
.entry-content > h2.wp-block-heading::before { content: ""; position: absolute; inset-inline-start: 0; top: 20%; bottom: 20%; width: 4px; border-radius: 4px; background: var(--cc-caramel); transform: scaleY(0); transition: transform .7s var(--cc-spring) .2s; }
.entry-content > h2.wp-block-heading.is-in::before { transform: scaleY(1); }
.wp-block-details summary { transition: color .3s, padding .3s var(--cc-ease); list-style: none; position: relative; padding-inline-end: 28px; }
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; position: absolute; inset-inline-end: 0; top: 50%; transform: translateY(-50%); font-size: 22px; color: var(--cc-caramel); transition: transform .4s var(--cc-spring); }
.wp-block-details[open] summary::after { transform: translateY(-50%) rotate(135deg); }
.wp-block-details { transition: box-shadow .3s, border-color .3s; }
.wp-block-details:hover { border-color: var(--cc-caramel); box-shadow: var(--cc-shadow); }
.wp-block-details[open] > :not(summary) { animation: cc-word .5s var(--cc-ease) both; }

@media (prefers-reduced-motion: reduce) {
	.cc-loader, .cc-cursor-dot, .cc-cursor-ring { display: none !important; }
	.cc-tword, #offcanvas .mobile-menu > ul > li, .cc-img { opacity: 1 !important; transform: none !important; filter: none !important; }
}
