/* ==========================================================================
   CarBeauty BD — Modern storefront theme (Bootstrap 4.5 override layer)
   Loaded LAST. All bespoke classes are namespaced .cb-
   ========================================================================== */

:root {
   --cb-ink: #0B1220;
   --cb-ink-soft: #29303f;
   --cb-bg: #ffffff;
   --cb-bg-alt: #F5F7FB;
   --cb-line: #e7ebf3;
   --cb-muted: #6B7688;

   --cb-primary: #FF3D2E;
   --cb-primary-2: #FF8A00;
   --cb-accent: #2E5BFF;
   --cb-accent-2: #7B2FF7;
   --cb-pink: #EC4899;
   --cb-violet: #8B5CF6;
   --cb-cyan: #06B6D4;
   --cb-lime: #84CC16;
   --cb-amber: #F59E0B;
   --cb-success: #14C38E;

   --cb-grad-warm: linear-gradient(135deg, #FF3D2E 0%, #FF8A00 100%);
   --cb-grad-cool: linear-gradient(135deg, #2E5BFF 0%, #7B2FF7 100%);
   --cb-grad-pink: linear-gradient(135deg, #EC4899 0%, #8B5CF6 100%);
   --cb-grad-cyan: linear-gradient(135deg, #06B6D4 0%, #3B82F6 100%);
   --cb-grad-lime: linear-gradient(135deg, #84CC16 0%, #06B6D4 100%);
   --cb-grad-sunset: linear-gradient(120deg, #7C3AED 0%, #EC4899 42%, #F97316 100%);
   --cb-grad-nav: linear-gradient(90deg, #2B1055 0%, #4C1D95 50%, #6D28D9 100%);
   --cb-grad-dark: linear-gradient(180deg, #0B1220 0%, #131c30 100%);
   --cb-grad-footer: linear-gradient(180deg, #1E1B4B 0%, #0B1220 100%);

   --cb-r: 16px;
   --cb-r-sm: 10px;
   --cb-r-lg: 24px;
   --cb-pill: 999px;

   --cb-shadow: 0 10px 30px -12px rgba(11, 18, 32, .18);
   --cb-shadow-lg: 0 24px 60px -18px rgba(11, 18, 32, .28);
   --cb-shadow-sm: 0 4px 14px -6px rgba(11, 18, 32, .18);

   --cb-header-h: 74px;
   --cb-ease: cubic-bezier(.22, .61, .36, 1);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
body {
   font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
   color: var(--cb-ink);
   background-color: var(--cb-bg);
   background-image:
      radial-gradient(38rem 38rem at 12% -5%, rgba(124, 58, 237, .10), transparent 60%),
      radial-gradient(34rem 34rem at 100% 8%, rgba(236, 72, 153, .10), transparent 60%),
      radial-gradient(40rem 40rem at 50% 108%, rgba(6, 182, 212, .10), transparent 60%);
   background-attachment: fixed;
   -webkit-font-smoothing: antialiased;
   overflow-x: hidden;
}

.cb-scope h1, .cb-scope h2, .cb-scope h3, .cb-scope h4, .cb-scope h5,
.cb-hero__title, .cb-section__title, .cb-page-hero__title {
   font-family: 'Sora', 'Poppins', sans-serif;
   font-weight: 700;
   letter-spacing: -.02em;
   color: var(--cb-ink);
}

.cb-scope a { color: var(--cb-accent); }
.cb-scope a:hover { color: var(--cb-accent-2); text-decoration: none; }

.cb-container { max-width: 1240px; margin: 0 auto; padding-left: 16px; padding-right: 16px; }

.cb-main { display: block; }

/* keep old Porto footer ribbon etc. from bleeding in */
#footer .footer-ribbon { display: none; }

/* --------------------------------------------------------------------------
   Buttons (theme Bootstrap .btn)
   -------------------------------------------------------------------------- */
.cb-scope .btn {
   font-weight: 600;
   border-radius: var(--cb-pill);
   padding: .62rem 1.4rem;
   border: 0;
   transition: transform .18s var(--cb-ease), box-shadow .18s var(--cb-ease), filter .18s var(--cb-ease);
}
.cb-scope .btn:active { transform: translateY(1px); }

.cb-scope .btn-primary,
.cb-btn-warm {
   background-image: var(--cb-grad-warm);
   color: #fff;
   box-shadow: 0 12px 24px -12px rgba(255, 61, 46, .7);
}
.cb-scope .btn-primary:hover,
.cb-btn-warm:hover {
   color: #fff;
   filter: brightness(1.05);
   transform: translateY(-2px);
   box-shadow: 0 18px 34px -12px rgba(255, 61, 46, .75);
}

.cb-btn-cool {
   background-image: var(--cb-grad-cool);
   color: #fff;
   box-shadow: 0 12px 24px -12px rgba(46, 91, 255, .7);
}
.cb-btn-cool:hover { color: #fff; filter: brightness(1.06); transform: translateY(-2px); }

.cb-scope .btn-dark { background: var(--cb-ink); color: #fff; }
.cb-scope .btn-dark:hover { background: #000; transform: translateY(-2px); }

.cb-btn-ghost {
   background: transparent;
   border: 2px solid rgba(255, 255, 255, .55) !important;
   color: #fff;
}
.cb-btn-ghost:hover { background: #fff; color: var(--cb-ink); }

.cb-btn-outline {
   background: #fff;
   border: 2px solid var(--cb-line) !important;
   color: var(--cb-ink);
}
.cb-btn-outline:hover { border-color: var(--cb-ink) !important; transform: translateY(-2px); }

.cb-scope .btn-sm { padding: .4rem .95rem; font-size: .82rem; }
.cb-scope .btn-lg { padding: .85rem 1.9rem; font-size: 1rem; }

/* --------------------------------------------------------------------------
   Navbar
   -------------------------------------------------------------------------- */
.cb-navbar {
   position: sticky;
   top: 0;
   z-index: 1030;
   background: var(--cb-grad-footer);
   backdrop-filter: saturate(160%) blur(10px);
   -webkit-backdrop-filter: saturate(160%) blur(10px);
   padding: .55rem 0;
   transition: padding .25s var(--cb-ease), box-shadow .25s var(--cb-ease);
}
.cb-navbar::after {
   content: "";
   position: absolute; left: 0; right: 0; bottom: 0;
   height: 3px;
   background: var(--cb-grad-sunset);
   background-size: 200% 100%;
   animation: cbGradient 8s linear infinite;
}
.cb-navbar.is-scrolled {
   padding: .2rem 0;
   box-shadow: 0 12px 34px -14px rgba(76, 29, 149, .6);
}
.cb-navbar .cb-container {
   display: flex;
   align-items: center;
   gap: 18px;
   width: 100%;
}
.cb-navbar__brand { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.cb-navbar__brand img {
   height: 44px; width: auto; display: block;
   transition: height .25s var(--cb-ease);
   background: #fff; border-radius: 10px; padding: 4px;
}
.cb-navbar.is-scrolled .cb-navbar__brand img { height: 36px; }
.cb-navbar__brand span { color: #fff; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.05rem; letter-spacing: -.01em; }

.cb-nav {
   display: flex;
   align-items: center;
   gap: 4px;
   list-style: none;
   margin: 0;
   padding: 0;
   flex: 1 1 auto;
}
.cb-nav > li { position: relative; }
.cb-nav > li > a {
   display: block;
   color: rgba(255, 255, 255, .82);
   font-weight: 500;
   font-size: .92rem;
   padding: .5rem .8rem;
   border-radius: var(--cb-pill);
   white-space: nowrap;
   transition: color .15s, background .15s;
}
.cb-nav > li > a:hover,
.cb-nav > li.is-open > a { color: #fff; background: rgba(255, 255, 255, .1); }

.cb-nav__dd {
   position: absolute;
   top: calc(100% + 8px);
   left: 0;
   min-width: 210px;
   background: #fff;
   border-radius: var(--cb-r-sm);
   box-shadow: var(--cb-shadow-lg);
   padding: 8px;
   opacity: 0;
   visibility: hidden;
   transform: translateY(8px);
   transition: .18s var(--cb-ease);
   max-height: 60vh;
   overflow: auto;
}
.cb-nav > li:hover .cb-nav__dd,
.cb-nav > li.is-open .cb-nav__dd { opacity: 1; visibility: visible; transform: translateY(0); }
.cb-nav__dd a {
   display: block;
   padding: .5rem .7rem;
   border-radius: 8px;
   color: var(--cb-ink);
   font-size: .88rem;
   font-weight: 500;
}
.cb-nav__dd a:hover { background: var(--cb-bg-alt); color: var(--cb-primary); }

.cb-navbar__tools { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; }

.cb-search { position: relative; }
.cb-search input {
   height: 42px;
   width: 210px;
   border: 0;
   border-radius: var(--cb-pill);
   padding: 0 42px 0 18px;
   background: rgba(255, 255, 255, .12);
   color: #fff;
   font-size: .88rem;
   transition: width .25s var(--cb-ease), background .2s;
}
.cb-search input::placeholder { color: rgba(255, 255, 255, .6); }
.cb-search input:focus { outline: 0; width: 260px; background: rgba(255, 255, 255, .2); }
.cb-search button {
   position: absolute; right: 4px; top: 4px;
   height: 34px; width: 34px;
   border: 0; border-radius: 50%;
   background: var(--cb-grad-warm);
   color: #fff;
   display: grid; place-items: center;
}

.cb-iconbtn {
   position: relative;
   height: 42px; width: 42px;
   display: grid; place-items: center;
   border-radius: 50%;
   background: rgba(255, 255, 255, .12);
   color: #fff;
   font-size: 1rem;
   transition: background .15s, transform .15s;
}
.cb-iconbtn:hover { background: rgba(255, 255, 255, .22); color: #fff; transform: translateY(-2px); }
.cb-iconbtn .cb-cart-count {
   position: absolute;
   top: -4px; right: -4px;
   min-width: 20px; height: 20px;
   padding: 0 5px;
   border-radius: var(--cb-pill);
   background: var(--cb-grad-warm);
   color: #fff;
   font-size: .7rem;
   font-weight: 700;
   display: grid; place-items: center;
   line-height: 1;
}
.cb-cart-count.is-bump { animation: cbBump .4s var(--cb-ease); }
@keyframes cbBump { 0% { transform: scale(1); } 40% { transform: scale(1.45); } 100% { transform: scale(1); } }

.cb-navbar__toggle {
   display: none;
   height: 42px; width: 42px;
   border: 0; border-radius: 12px;
   background: rgba(255, 255, 255, .12);
   color: #fff; font-size: 1.15rem;
}

/* --------------------------------------------------------------------------
   Page hero (replaces bg-dark breadcrumb bars)
   -------------------------------------------------------------------------- */
.cb-page-hero {
   position: relative;
   padding: 60px 0;
   background: var(--cb-grad-sunset);
   background-size: 220% 220%;
   animation: cbGradient 16s ease infinite;
   color: #fff;
   overflow: hidden;
   margin-bottom: 40px;
}
.cb-page-hero::before {
   content: "";
   position: absolute;
   left: -120px; bottom: -140px;
   width: 360px; height: 360px;
   border-radius: 50%;
   background: rgba(255, 255, 255, .18);
   filter: blur(70px);
   animation: cbFloat 12s ease-in-out infinite;
}
.cb-page-hero::after {
   content: "";
   position: absolute;
   right: -90px; top: -110px;
   width: 340px; height: 340px;
   border-radius: 50%;
   background: rgba(6, 182, 212, .5);
   filter: blur(80px);
   animation: cbFloat 15s ease-in-out infinite reverse;
}
.cb-page-hero--img > .cb-page-hero__bg { mix-blend-mode: overlay; opacity: .3 !important; }
.cb-page-hero .cb-container { position: relative; z-index: 1; }
.cb-page-hero__title { color: #fff; font-size: clamp(1.6rem, 4vw, 2.6rem); margin: 0; text-shadow: 0 2px 20px rgba(0,0,0,.25); }
.cb-crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 10px; font-size: .82rem; }
.cb-crumbs a { color: rgba(255, 255, 255, .7); }
.cb-crumbs li:not(:last-child)::after { content: "/"; margin-left: 8px; color: rgba(255, 255, 255, .4); }
.cb-crumbs li:last-child { color: #fff; }

/* --------------------------------------------------------------------------
   Hero slider (owl restyle)
   -------------------------------------------------------------------------- */
.cb-hero {
   position: relative;
   background: var(--cb-ink);
   overflow: hidden;
   height: clamp(320px, 52vw, 620px);
}
.cb-hero .owl-carousel { position: relative; z-index: 1; height: 100%; }
.cb-hero .owl-carousel:not(.owl-loaded) { display: block; }
.cb-hero .owl-carousel:not(.owl-loaded) .cb-hero__slide:nth-child(n+2) { display: none; }
.cb-hero .owl-stage-outer,
.cb-hero .owl-stage,
.cb-hero .owl-item,
.cb-hero .cb-hero__slide { height: 100%; }
.cb-hero .owl-carousel .owl-item img,
.cb-hero .owl-stage img { border-radius: 0; }
.cb-hero__slide { position: relative; }
.cb-hero .cb-hero__slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cb-hero__overlay {
   position: absolute; inset: 0;
   z-index: 4;
   pointer-events: none;
   display: flex; flex-direction: column; justify-content: center;
   gap: 16px;
   padding: 0 8%;
   background: linear-gradient(90deg, rgba(11, 18, 32, .82) 0%, rgba(11, 18, 32, .45) 50%, rgba(11, 18, 32, .05) 100%);
   color: #fff;
}
.cb-hero__overlay .btn,
.cb-hero__overlay a { pointer-events: auto; }
.cb-hero__eyebrow {
   display: inline-block;
   font-size: .78rem; font-weight: 700; letter-spacing: .22em; text-transform: uppercase;
   color: #fff;
   background: var(--cb-grad-warm);
   padding: 6px 14px; border-radius: var(--cb-pill);
   width: max-content;
   box-shadow: 0 8px 22px -8px rgba(255, 61, 46, .8);
}
.cb-hero .cb-hero__title {
   color: #fff;
   font-size: clamp(1.8rem, 5vw, 3.4rem);
   max-width: 18ch;
   line-height: 1.06;
   text-shadow: 0 2px 24px rgba(0, 0, 0, .55), 0 1px 3px rgba(0, 0, 0, .5);
}
.cb-hero__text {
   max-width: 46ch;
   color: #fff;
   font-size: 1rem;
   text-shadow: 0 1px 12px rgba(0, 0, 0, .6);
}
.cb-hero .owl-dots { position: absolute; left: 8%; bottom: 26px; z-index: 5; display: flex; gap: 8px; }
.cb-hero .owl-dots .owl-dot span { width: 26px; height: 5px; border-radius: var(--cb-pill); background: rgba(255, 255, 255, .4); margin: 0; }
.cb-hero .owl-dots .owl-dot.active span { background: #fff; width: 44px; }
.cb-hero > .owl-nav {
   position: absolute;
   inset: 0;
   z-index: 6;
   margin: 0;
   display: flex;
   align-items: center;
   justify-content: space-between;
   padding: 0 18px;
   pointer-events: none;
}
.cb-hero > .owl-nav button.owl-prev,
.cb-hero > .owl-nav button.owl-next {
   position: relative;
   pointer-events: auto;
   margin: 0;
   height: 48px; width: 48px;
   border-radius: 50%;
   background: rgba(11, 18, 32, .45) !important;
   -webkit-backdrop-filter: blur(6px);
   backdrop-filter: blur(6px);
   border: 1px solid rgba(255, 255, 255, .35) !important;
   color: #fff !important;
   font-size: 1rem !important;
   display: grid; place-items: center;
   transition: background .18s var(--cb-ease), border-color .18s var(--cb-ease);
}
.cb-hero > .owl-nav button.owl-prev:hover,
.cb-hero > .owl-nav button.owl-next:hover {
   background: var(--cb-grad-warm) !important;
   border-color: transparent !important;
}
@media (max-width: 575px) {
   .cb-hero > .owl-nav { padding: 0 10px; }
   .cb-hero > .owl-nav button.owl-prev,
   .cb-hero > .owl-nav button.owl-next { height: 38px; width: 38px; }
}

/* --------------------------------------------------------------------------
   Sections & rails
   -------------------------------------------------------------------------- */
.cb-section { padding: 56px 0; position: relative; }
.cb-section:nth-of-type(odd) { background: linear-gradient(180deg, rgba(124,58,237,.04), rgba(124,58,237,0)); }
.cb-section:nth-of-type(even) { background: linear-gradient(180deg, rgba(236,72,153,.05), rgba(6,182,212,.04)); }
.cb-section__head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 30px; }
.cb-section__title {
   font-size: clamp(1.4rem, 3.4vw, 2.1rem);
   margin: 0; position: relative; padding-bottom: 12px;
   background: var(--cb-grad-sunset);
   background-size: 200% auto;
   -webkit-background-clip: text; background-clip: text;
   -webkit-text-fill-color: transparent; color: transparent;
   animation: cbGradient 10s linear infinite;
}
.cb-section__title::after {
   content: ""; position: absolute; left: 0; bottom: 0;
   width: 64px; height: 4px; border-radius: var(--cb-pill);
   background: var(--cb-grad-sunset);
}
.cb-section__title.text-center { display: block; }
.cb-section__title.text-center::after { left: 50%; transform: translateX(-50%); }

.cb-rail { position: relative; }

/* equal-height cards inside owl */
.cb-rail .owl-carousel .owl-stage { display: flex; }
.cb-rail .owl-carousel .owl-item { display: flex; height: auto; }
.cb-rail .owl-carousel .owl-item > div { display: flex; flex: 1 1 auto; width: 100%; }
.cb-rail .cb-product-card { height: 100%; }

/* rail arrows live in the section header, aligned to the title baseline */
.cb-section__head { gap: 16px; }
.cb-section__head .owl-nav {
   position: static;
   margin: 0;
   display: flex;
   gap: 8px;
   flex: 0 0 auto;
}
.cb-section__head .owl-nav button.owl-prev,
.cb-section__head .owl-nav button.owl-next {
   position: relative;
   transform: none;
   margin: 0;
   height: 42px; width: 42px;
   border-radius: 50%;
   background: #fff !important;
   border: 1px solid var(--cb-line) !important;
   color: var(--cb-ink) !important;
   box-shadow: var(--cb-shadow-sm);
   font-size: .95rem !important;
   display: grid; place-items: center;
   transition: background .15s, color .15s, transform .15s, opacity .15s;
}
.cb-section__head .owl-nav button:hover {
   background: var(--cb-ink) !important;
   color: #fff !important;
   transform: translateY(-2px);
}
.cb-section__head .owl-nav button.disabled { opacity: .35; cursor: default; }
.cb-section__head .owl-nav button.disabled:hover { background: #fff !important; color: var(--cb-ink) !important; transform: none; }

/* horizontal scroll fallback rail (no owl) */
.cb-scroll-rail {
   display: flex;
   gap: 18px;
   overflow-x: auto;
   scroll-snap-type: x mandatory;
   -webkit-overflow-scrolling: touch;
   padding-bottom: 10px;
   scrollbar-width: none;
}
.cb-scroll-rail::-webkit-scrollbar { display: none; }
.cb-scroll-rail > * { scroll-snap-align: start; flex: 0 0 clamp(200px, 44vw, 260px); }

/* --------------------------------------------------------------------------
   Product card
   -------------------------------------------------------------------------- */
.cb-product-card {
   background: rgba(255, 255, 255, .82);
   -webkit-backdrop-filter: blur(8px);
   backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, .7);
   border-radius: var(--cb-r-lg);
   overflow: hidden;
   height: 100%;
   display: flex;
   flex-direction: column;
   box-shadow: 0 8px 24px -16px rgba(76, 29, 149, .35);
   transition: transform .25s var(--cb-ease), box-shadow .25s var(--cb-ease);
}
.cb-product-card:hover {
   transform: translateY(-8px);
   box-shadow: 0 26px 50px -20px rgba(124, 58, 237, .45);
}
.cb-product-card__media {
   position: relative;
   display: block;
   aspect-ratio: 1 / 1;
   background: var(--cb-bg-alt);
   overflow: hidden;
}
.cb-product-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--cb-ease); }
.cb-product-card:hover .cb-product-card__media img { transform: scale(1.09); }
.cb-product-card__media::after {
   content: "";
   position: absolute; top: 0; left: -60%;
   width: 40%; height: 100%;
   background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent);
   transform: skewX(-18deg);
   transition: none;
}
.cb-product-card:hover .cb-product-card__media::after { animation: cbShine .8s var(--cb-ease); }
.cb-product-card__badge {
   position: absolute; top: 12px; left: 12px;
   font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
   color: #fff; background: var(--cb-grad-cool);
   padding: 5px 10px; border-radius: var(--cb-pill);
}
.cb-product-card__fav {
   position: absolute; top: 10px; right: 10px;
   height: 34px; width: 34px; border-radius: 50%;
   background: rgba(255, 255, 255, .92);
   display: grid; place-items: center;
   color: var(--cb-ink);
   opacity: 0; transform: translateY(-6px);
   transition: .2s var(--cb-ease);
}
.cb-product-card:hover .cb-product-card__fav { opacity: 1; transform: translateY(0); }
.cb-product-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; }
.cb-product-card__label { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cb-muted); }
.cb-product-card__name {
   font-family: 'Sora', sans-serif;
   font-size: .96rem; font-weight: 600; line-height: 1.3;
   margin: 0;
   min-height: 2.6em;
   display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cb-product-card__name a { color: var(--cb-ink); }
.cb-product-card__name a:hover { color: var(--cb-primary); }
.cb-product-card__foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }

.cb-price {
   font-family: 'Sora', sans-serif;
   font-weight: 700;
   font-size: 1.02rem;
   color: var(--cb-ink);
}
.cb-price small { color: var(--cb-muted); font-weight: 500; }

.cb-add-btn {
   border: 0;
   height: 40px; width: 40px;
   border-radius: 50%;
   background: var(--cb-grad-warm);
   color: #fff;
   display: grid; place-items: center;
   flex: 0 0 auto;
   transition: transform .16s var(--cb-ease), filter .16s;
}
.cb-add-btn:hover { transform: scale(1.08); filter: brightness(1.05); }
.cb-add-btn.is-wide { width: auto; padding: 0 16px; border-radius: var(--cb-pill); font-weight: 600; font-size: .84rem; gap: 6px; }

/* --------------------------------------------------------------------------
   Category tiles
   -------------------------------------------------------------------------- */
.cb-cat-tile {
   position: relative;
   display: block;
   border-radius: var(--cb-r-lg);
   overflow: hidden;
   min-height: 220px;
   color: #fff;
   box-shadow: var(--cb-shadow);
}
.cb-cat-tile__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .5s var(--cb-ease); }
.cb-cat-tile:hover .cb-cat-tile__bg { transform: scale(1.1) rotate(1deg); }
.cb-cat-tile::after {
   content: ""; position: absolute; inset: 0;
   background: linear-gradient(180deg, rgba(124, 58, 237, .12) 0%, rgba(124, 58, 237, .85) 100%);
   mix-blend-mode: multiply;
   transition: opacity .3s var(--cb-ease);
}
.cb-cat-tile--c2::after { background: linear-gradient(180deg, rgba(236, 72, 153, .12) 0%, rgba(190, 24, 93, .85) 100%); }
.cb-cat-tile--c3::after { background: linear-gradient(180deg, rgba(6, 182, 212, .12) 0%, rgba(8, 74, 120, .85) 100%); }
.cb-cat-tile:hover::after { opacity: .82; }
.cb-cat-tile__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.cb-cat-tile__name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; margin: 0; color: #fff; }
.cb-cat-tile__go { height: 40px; width: 40px; border-radius: 50%; background: rgba(255, 255, 255, .16); backdrop-filter: blur(4px); display: grid; place-items: center; flex: 0 0 auto; transition: background .2s, transform .2s; }
.cb-cat-tile:hover .cb-cat-tile__go { background: var(--cb-grad-warm); transform: rotate(-45deg); }

/* --------------------------------------------------------------------------
   Trust strip / CTA band
   -------------------------------------------------------------------------- */
.cb-trust { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.cb-trust__item {
   display: flex; align-items: center; gap: 14px; padding: 22px;
   background: rgba(255, 255, 255, .85);
   -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
   border: 1px solid rgba(255, 255, 255, .7);
   border-radius: var(--cb-r-lg);
   box-shadow: 0 12px 30px -20px rgba(76, 29, 149, .4);
   transition: transform .22s var(--cb-ease), box-shadow .22s var(--cb-ease);
}
.cb-trust__item:hover { transform: translateY(-5px); box-shadow: 0 22px 44px -22px rgba(124, 58, 237, .45); }
.cb-trust__ico {
   height: 52px; width: 52px; border-radius: 16px;
   display: grid; place-items: center; color: #fff;
   background: var(--cb-grad-cool); font-size: 1.2rem; flex: 0 0 auto;
   box-shadow: 0 10px 22px -10px rgba(46, 91, 255, .6);
}
.cb-trust__item:nth-child(1) .cb-trust__ico { background: var(--cb-grad-sunset); box-shadow: 0 10px 22px -10px rgba(236, 72, 153, .6); }
.cb-trust__item:nth-child(2) .cb-trust__ico { background: var(--cb-grad-lime); box-shadow: 0 10px 22px -10px rgba(6, 182, 212, .6); }
.cb-trust__item:nth-child(3) .cb-trust__ico { background: var(--cb-grad-pink); box-shadow: 0 10px 22px -10px rgba(139, 92, 246, .6); }
.cb-trust__t { font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem; margin: 0; }
.cb-trust__s { font-size: .8rem; color: var(--cb-muted); margin: 0; }

.cb-cta {
   position: relative;
   border-radius: var(--cb-r-lg);
   padding: 52px 46px;
   background: var(--cb-grad-sunset);
   background-size: 220% 220%;
   animation: cbGradient 14s ease infinite;
   color: #fff;
   overflow: hidden;
   text-align: center;
   box-shadow: 0 30px 60px -24px rgba(124, 58, 237, .55);
}
.cb-cta::before,
.cb-cta::after {
   content: "";
   position: absolute;
   width: 260px; height: 260px; border-radius: 50%;
   background: rgba(255, 255, 255, .16);
   filter: blur(50px);
}
.cb-cta::before { left: -60px; top: -80px; animation: cbFloat 11s ease-in-out infinite; }
.cb-cta::after { right: -60px; bottom: -90px; animation: cbFloat 13s ease-in-out infinite reverse; }
.cb-cta > * { position: relative; z-index: 1; }
.cb-cta h3 { color: #fff; font-size: clamp(1.4rem, 3.4vw, 2rem); margin: 0 0 8px; }
.cb-cta p { color: rgba(255, 255, 255, .92); margin: 0 0 20px; }

/* --------------------------------------------------------------------------
   Product detail page
   -------------------------------------------------------------------------- */
.cb-pdp { padding-bottom: 48px; }
.cb-gallery__main { border: 1px solid var(--cb-line); border-radius: var(--cb-r-lg); overflow: hidden; background: var(--cb-bg-alt); aspect-ratio: 1/1; }
.cb-gallery__main img { width: 100%; height: 100%; object-fit: cover; }
.cb-gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.cb-gallery__thumb { height: 68px; width: 68px; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--cb-bg-alt); }
.cb-gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cb-gallery__thumb.is-active { border-color: var(--cb-primary); }

.cb-pdp__title { font-size: clamp(1.5rem, 3.6vw, 2.2rem); margin: 0 0 10px; }
.cb-pdp__price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.7rem; color: var(--cb-primary); margin: 0 0 14px; }
.cb-badge { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; font-weight: 600; padding: 5px 12px; border-radius: var(--cb-pill); }
.cb-badge--ok { background: rgba(20, 195, 142, .14); color: #0c8f66; }
.cb-badge--no { background: rgba(255, 61, 46, .12); color: #c62a1d; }

.cb-qty { display: inline-flex; align-items: center; border: 1px solid var(--cb-line); border-radius: var(--cb-pill); overflow: hidden; background: #fff; }
.cb-qty button { border: 0; background: transparent; height: 44px; width: 44px; font-size: 1.1rem; color: var(--cb-ink); display: grid; place-items: center; }
.cb-qty button:hover { background: var(--cb-bg-alt); }
.cb-qty input { border: 0; width: 52px; text-align: center; height: 44px; font-weight: 600; font-family: 'Sora', sans-serif; }
.cb-qty input:focus { outline: 0; }

.cb-share { display: flex; gap: 8px; }
.cb-share a { height: 38px; width: 38px; border-radius: 50%; border: 1px solid var(--cb-line); display: grid; place-items: center; color: var(--cb-ink); }
.cb-share a:hover { background: var(--cb-ink); color: #fff; }

.cb-tabs { margin-top: 34px; }
.cb-tabs__nav { display: flex; gap: 6px; border-bottom: 2px solid var(--cb-line); margin-bottom: 18px; }
.cb-tabs__nav .nav-link, .cb-tabs__nav a {
   border: 0 !important; background: transparent; padding: 10px 16px;
   font-weight: 600; color: var(--cb-muted);
   border-bottom: 2px solid transparent !important; margin-bottom: -2px;
}
.cb-tabs__nav .nav-link.active, .cb-tabs__nav a.active { color: var(--cb-ink); border-bottom-color: var(--cb-primary) !important; }

.cb-buybar {
   position: fixed; left: 0; right: 0; bottom: 0; z-index: 1040;
   display: none;
   align-items: center; justify-content: space-between; gap: 12px;
   padding: 12px 16px;
   background: #fff;
   border-top: 1px solid var(--cb-line);
   box-shadow: 0 -10px 30px -14px rgba(11, 18, 32, .25);
}
.cb-buybar .cb-price { font-size: 1.2rem; }
.cb-buybar .btn { flex: 1 1 auto; max-width: 60%; }

/* --------------------------------------------------------------------------
   Steps / summary / cart
   -------------------------------------------------------------------------- */
.cb-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 30px 0 40px; flex-wrap: wrap; }
.cb-steps__item { display: flex; align-items: center; gap: 10px; color: var(--cb-muted); font-weight: 600; font-size: .9rem; }
.cb-steps__num { height: 30px; width: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--cb-bg-alt); font-family: 'Sora', sans-serif; font-size: .85rem; }
.cb-steps__item.is-active { color: var(--cb-ink); }
.cb-steps__item.is-active .cb-steps__num { background: var(--cb-grad-warm); color: #fff; }
.cb-steps__sep { width: 34px; height: 2px; background: var(--cb-line); }

.cb-summary { border: 1px solid var(--cb-line); border-radius: var(--cb-r-lg); background: #fff; box-shadow: var(--cb-shadow-sm); position: sticky; top: calc(var(--cb-header-h) + 16px); }
.cb-summary__body { padding: 22px; }
.cb-summary h4 { font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; margin: 0 0 16px; }
.cb-summary__row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .92rem; color: var(--cb-ink-soft); }
.cb-summary__row--total { border-top: 1px solid var(--cb-line); margin-top: 8px; padding-top: 14px; font-family: 'Sora', sans-serif; font-weight: 700; font-size: 1.15rem; color: var(--cb-ink); }

/* checkout order summary — item list with thumbs */
.cb-osum__count {
   display: inline-grid; place-items: center;
   min-width: 22px; height: 22px; padding: 0 6px; margin-left: 4px;
   border-radius: var(--cb-pill);
   background: var(--cb-grad-warm); color: #fff;
   font-family: 'Poppins', sans-serif; font-size: .72rem; font-weight: 700;
}
.cb-osum__list { margin: 4px 0 6px; max-height: 340px; overflow-y: auto; padding-right: 4px; }
.cb-osum__item {
   display: grid;
   grid-template-columns: 48px 1fr auto;
   gap: 12px;
   align-items: center;
   padding: 12px 0;
   border-bottom: 1px solid var(--cb-line);
}
.cb-osum__item:last-child { border-bottom: 0; }
.cb-osum__thumb { position: relative; width: 48px; height: 48px; flex: 0 0 auto; }
.cb-osum__thumb img { width: 48px; height: 48px; object-fit: cover; border-radius: 10px; background: var(--cb-bg-alt); border: 1px solid var(--cb-line); }
.cb-osum__qty {
   position: absolute; top: -7px; right: -7px;
   min-width: 19px; height: 19px; padding: 0 4px;
   border-radius: var(--cb-pill);
   background: var(--cb-ink); color: #fff;
   font-size: .66rem; font-weight: 700;
   display: grid; place-items: center; line-height: 1;
}
.cb-osum__info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cb-osum__name {
   font-size: .85rem; font-weight: 600; line-height: 1.3; color: var(--cb-ink);
   display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cb-osum__unit { font-size: .74rem; color: var(--cb-muted); }
.cb-osum__line { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .85rem; white-space: nowrap; }
.cb-osum__totals { border-top: 2px solid var(--cb-line); margin-top: 8px; padding-top: 10px; }

.cb-cart { width: 100%; border-collapse: separate; border-spacing: 0 12px; }
.cb-cart thead th { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--cb-muted); padding: 0 14px 6px; text-align: left; }
.cb-cart tbody { }
.cb-cart tr.cb-cart__row td { background: #fff; border-top: 1px solid var(--cb-line); border-bottom: 1px solid var(--cb-line); padding: 14px; vertical-align: middle; }
.cb-cart tr.cb-cart__row td:first-child { border-left: 1px solid var(--cb-line); border-radius: var(--cb-r) 0 0 var(--cb-r); }
.cb-cart tr.cb-cart__row td:last-child { border-right: 1px solid var(--cb-line); border-radius: 0 var(--cb-r) var(--cb-r) 0; }
.cb-cart__thumb { height: 72px; width: 72px; border-radius: 12px; object-fit: cover; background: var(--cb-bg-alt); }
.cb-cart__name { font-family: 'Sora', sans-serif; font-weight: 600; color: var(--cb-ink); }
.cb-cart__rm { color: var(--cb-muted); background: none; border: 0; font-size: .95rem; }
.cb-cart__rm:hover { color: var(--cb-primary); }

/* --------------------------------------------------------------------------
   Order cards / account
   -------------------------------------------------------------------------- */
.cb-order-card { border: 1px solid var(--cb-line); border-radius: var(--cb-r); background: #fff; padding: 18px 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; align-items: center; }
.cb-order-card__k { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cb-muted); }
.cb-order-card__v { font-family: 'Sora', sans-serif; font-weight: 600; font-size: .95rem; }
.cb-pill { display: inline-block; padding: 4px 12px; border-radius: var(--cb-pill); font-size: .74rem; font-weight: 700; }
.cb-pill--pending { background: rgba(46, 91, 255, .12); color: var(--cb-accent); }
.cb-pill--done { background: rgba(20, 195, 142, .14); color: #0c8f66; }

.cb-callout { border-radius: var(--cb-r); padding: 20px 24px; display: flex; align-items: center; gap: 14px; font-weight: 600; }
.cb-callout--ok { background: rgba(20, 195, 142, .12); color: #0c8f66; }
.cb-callout__ico { height: 40px; width: 40px; border-radius: 50%; background: var(--cb-success); color: #fff; display: grid; place-items: center; flex: 0 0 auto; }

/* --------------------------------------------------------------------------
   Forms
   -------------------------------------------------------------------------- */
.cb-scope .form-control,
.cb-scope textarea.form-control,
.cb-scope select.form-control {
   border: 1px solid var(--cb-line);
   border-radius: var(--cb-r-sm);
   min-height: 46px;
   padding: .55rem .9rem;
   font-size: .92rem;
   background: #fff;
   transition: border-color .15s, box-shadow .15s;
}
.cb-scope .form-control:focus {
   border-color: var(--cb-accent);
   box-shadow: 0 0 0 4px rgba(46, 91, 255, .12);
}
.cb-scope label { font-weight: 600; font-size: .85rem; color: var(--cb-ink-soft); margin-bottom: 6px; }
.cb-field-err { color: var(--cb-primary); font-size: .8rem; margin-top: 4px; }

.cb-card {
   background: #fff;
   border: 1px solid var(--cb-line);
   border-radius: var(--cb-r-lg);
   box-shadow: var(--cb-shadow-sm);
}
.cb-card__body { padding: 26px; }

.cb-auth { max-width: 980px; margin: 0 auto; }
.cb-auth__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.cb-auth__pane { padding: 34px; }
.cb-auth__pane + .cb-auth__pane { border-left: 1px solid var(--cb-line); }
.cb-auth__pane h2 { font-size: 1.3rem; margin: 0 0 18px; }

/* --------------------------------------------------------------------------
   Prose (injected content_details HTML)
   -------------------------------------------------------------------------- */
.cb-prose { color: var(--cb-ink-soft); line-height: 1.75; font-size: .98rem; }
.cb-prose h1, .cb-prose h2, .cb-prose h3 { font-family: 'Sora', sans-serif; color: var(--cb-ink); margin: 1.4em 0 .5em; }
.cb-prose img { max-width: 100%; height: auto; border-radius: var(--cb-r-sm); }
.cb-prose a { color: var(--cb-accent); text-decoration: underline; }
.cb-prose ul, .cb-prose ol { padding-left: 1.3em; }
.cb-prose table { width: 100%; border-collapse: collapse; }
.cb-prose td, .cb-prose th { border: 1px solid var(--cb-line); padding: 8px 10px; }

/* --------------------------------------------------------------------------
   Empty state
   -------------------------------------------------------------------------- */
.cb-empty { text-align: center; padding: 60px 20px; }
.cb-empty__ico { font-size: 2.4rem; color: var(--cb-muted); margin-bottom: 14px; }
.cb-empty h4 { font-size: 1.2rem; margin: 0 0 6px; }
.cb-empty p { color: var(--cb-muted); margin: 0 0 18px; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
#footer.cb-footer { position: relative; background: var(--cb-grad-footer); color: rgba(255, 255, 255, .72); border: 0; padding: 0; overflow: hidden; }
#footer.cb-footer::before {
   content: "";
   position: absolute; left: 10%; top: -120px;
   width: 320px; height: 320px; border-radius: 50%;
   background: rgba(124, 58, 237, .5); filter: blur(90px);
   animation: cbFloat 16s ease-in-out infinite;
}
#footer.cb-footer::after {
   content: "";
   position: absolute; right: 6%; bottom: -140px;
   width: 300px; height: 300px; border-radius: 50%;
   background: rgba(236, 72, 153, .4); filter: blur(90px);
   animation: cbFloat 19s ease-in-out infinite reverse;
}
#footer.cb-footer > * { position: relative; z-index: 1; }
.cb-footer__main { padding: 56px 0 34px; }
.cb-footer h5 { color: #fff; font-family: 'Sora', sans-serif; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 16px; }
.cb-footer a { color: rgba(255, 255, 255, .72); font-size: .9rem; }
.cb-footer a:hover { color: #fff; }
.cb-footer ul { list-style: none; padding: 0; margin: 0; }
.cb-footer ul li { margin-bottom: 9px; }
.cb-footer__list-ico { display: flex; gap: 10px; margin-bottom: 10px; font-size: .9rem; }
.cb-footer__list-ico i { color: var(--cb-primary-2); margin-top: 3px; }
.cb-footer__social { display: flex; gap: 10px; margin-top: 4px; }
.cb-footer__social a { height: 38px; width: 38px; border-radius: 50%; background: rgba(255, 255, 255, .1); display: grid; place-items: center; color: #fff; }
.cb-footer__social a:hover { background: var(--cb-grad-warm); }
.cb-footer__bar { border-top: 1px solid rgba(255, 255, 255, .1); padding: 18px 0; font-size: .82rem; }
.cb-footer__bar .cb-container { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

/* --------------------------------------------------------------------------
   Slide-in cart drawer
   -------------------------------------------------------------------------- */
.cb-drawer { position: fixed; inset: 0; z-index: 1090; visibility: hidden; }
.cb-drawer.is-open { visibility: visible; }
.cb-drawer__backdrop {
   position: absolute; inset: 0;
   background: rgba(11, 18, 32, .5);
   opacity: 0;
   transition: opacity .28s var(--cb-ease);
}
.cb-drawer.is-open .cb-drawer__backdrop { opacity: 1; }
.cb-drawer__panel {
   position: absolute; top: 0; right: 0; bottom: 0;
   width: min(400px, 92vw);
   background: #fff;
   display: flex;
   flex-direction: column;
   transform: translateX(100%);
   transition: transform .3s var(--cb-ease);
   box-shadow: -20px 0 60px -20px rgba(11, 18, 32, .4);
}
.cb-drawer.is-open .cb-drawer__panel { transform: translateX(0); }
.cb-drawer__head {
   display: flex; align-items: center; justify-content: space-between;
   padding: 18px 20px;
   border-bottom: 1px solid var(--cb-line);
}
.cb-drawer__head h4 { font-size: 1.05rem; margin: 0; font-family: 'Sora', sans-serif; }
.cb-drawer__count {
   display: inline-grid; place-items: center;
   min-width: 22px; height: 22px; padding: 0 6px;
   border-radius: var(--cb-pill);
   background: var(--cb-grad-warm); color: #fff;
   font-size: .72rem; font-weight: 700;
   margin-left: 4px;
}
.cb-drawer__close {
   border: 0; background: var(--cb-bg-alt);
   height: 36px; width: 36px; border-radius: 50%;
   color: var(--cb-ink); font-size: 1rem;
}
.cb-drawer__close:hover { background: var(--cb-primary); color: #fff; }
.cb-drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 12px 16px; }
.cb-drawer__item {
   display: grid;
   grid-template-columns: 62px 1fr auto;
   gap: 12px;
   padding: 12px 0;
   border-bottom: 1px solid var(--cb-line);
}
.cb-drawer__item img { width: 62px; height: 62px; object-fit: cover; border-radius: 10px; background: var(--cb-bg-alt); }
.cb-drawer__item-name { font-weight: 600; font-size: .88rem; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cb-drawer__item-meta { font-size: .8rem; color: var(--cb-muted); margin-top: 4px; }
.cb-drawer__item-right { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cb-drawer__item-price { font-family: 'Sora', sans-serif; font-weight: 700; font-size: .9rem; }
.cb-drawer__rm { border: 0; background: none; color: var(--cb-muted); font-size: .85rem; padding: 0; }
.cb-drawer__rm:hover { color: var(--cb-primary); }
.cb-drawer__foot { padding: 16px 20px 20px; border-top: 1px solid var(--cb-line); }
.cb-drawer__subtotal { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 12px; font-size: .95rem; }
.cb-drawer__subtotal strong { font-family: 'Sora', sans-serif; font-size: 1.2rem; }
.cb-drawer__empty { text-align: center; color: var(--cb-muted); padding: 50px 16px; }
.cb-drawer__empty i { font-size: 2rem; display: block; margin-bottom: 10px; }
body.cb-drawer-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Toast
   -------------------------------------------------------------------------- */
.cb-toast-wrap { position: fixed; right: 18px; bottom: 18px; z-index: 1080; display: flex; flex-direction: column; gap: 10px; }
.cb-toast {
   display: flex; align-items: center; gap: 12px;
   background: var(--cb-ink); color: #fff;
   padding: 13px 18px; border-radius: var(--cb-r-sm);
   box-shadow: var(--cb-shadow-lg);
   font-size: .9rem; font-weight: 500;
   transform: translateY(20px); opacity: 0;
   transition: .28s var(--cb-ease);
   max-width: 340px;
}
.cb-toast.is-in { transform: translateY(0); opacity: 1; }
.cb-toast__ico { height: 26px; width: 26px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--cb-success); }
.cb-toast--err .cb-toast__ico { background: var(--cb-primary); }

/* --------------------------------------------------------------------------
   Pagination
   -------------------------------------------------------------------------- */
.cb-scope .pagination { gap: 6px; }
.cb-scope .page-link {
   border: 1px solid var(--cb-line);
   border-radius: 10px !important;
   color: var(--cb-ink);
   min-width: 40px; height: 40px;
   display: grid; place-items: center;
   font-weight: 600;
}
.cb-scope .page-item.active .page-link { background: var(--cb-grad-warm); border-color: transparent; color: #fff; }
.cb-scope .page-link:hover { background: var(--cb-bg-alt); }

/* --------------------------------------------------------------------------
   Animations
   -------------------------------------------------------------------------- */
.cb-fade-up { opacity: 0; transform: translateY(24px); }
.cb-in .cb-fade-up { opacity: 1; transform: none; transition: .6s var(--cb-ease); }

@keyframes cbGradient {
   0% { background-position: 0% 50%; }
   50% { background-position: 100% 50%; }
   100% { background-position: 0% 50%; }
}
@keyframes cbFloat {
   0%, 100% { transform: translate(0, 0) scale(1); }
   50% { transform: translate(24px, -22px) scale(1.08); }
}
@keyframes cbShine {
   from { left: -60%; }
   to { left: 130%; }
}
@keyframes cbPop {
   0% { transform: scale(.9); opacity: 0; }
   100% { transform: scale(1); opacity: 1; }
}
@keyframes cbPulseRing {
   0% { box-shadow: 0 0 0 0 rgba(255, 61, 46, .45); }
   70% { box-shadow: 0 0 0 12px rgba(255, 61, 46, 0); }
   100% { box-shadow: 0 0 0 0 rgba(255, 61, 46, 0); }
}

.cb-add-btn { box-shadow: 0 10px 22px -12px rgba(255, 61, 46, .7); }
.cb-add-btn:hover { animation: cbPulseRing 1s var(--cb-ease); }

.cb-product-card__badge { animation: cbPop .35s var(--cb-ease) both; }

/* gentle idle float for hero decorative pieces already covered above */

/* --------------------------------------------------------------------------
   Invoice / order-complete
   -------------------------------------------------------------------------- */
.cb-invoice-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; }
.cb-invoice-actions .ml-auto { margin-left: auto; }

.cb-inv-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 2px solid var(--cb-line); margin-bottom: 18px; }
.cb-inv-brand { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 1.35rem; color: var(--cb-ink); }
.cb-inv-brand-meta { font-size: .8rem; color: var(--cb-muted); margin-top: 4px; line-height: 1.5; }
.cb-inv-title { text-align: right; }
.cb-inv-title__label { font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: .18em; color: var(--cb-primary); }
.cb-inv-title__no { font-weight: 700; }
.cb-inv-title__date { font-size: .82rem; color: var(--cb-muted); }

.cb-inv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.cb-inv-k { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--cb-muted); margin-bottom: 4px; }
.cb-inv-v { font-size: .88rem; line-height: 1.6; }

.cb-inv-table { width: 100%; border-collapse: collapse; margin-bottom: 6px; }
.cb-inv-table th { text-align: left; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; color: var(--cb-muted); padding: 8px 10px; border-bottom: 2px solid var(--cb-line); }
.cb-inv-table td { padding: 10px; border-bottom: 1px solid var(--cb-line); font-size: .88rem; }
.cb-inv-table .text-right { text-align: right; }
.cb-inv-table .text-center { text-align: center; }

.cb-inv-totals { margin-left: auto; max-width: 320px; margin-top: 10px; }
.cb-inv-note { margin-top: 16px; font-size: .85rem; color: var(--cb-ink-soft); }
.cb-inv-foot { margin-top: 18px; padding-top: 14px; border-top: 1px dashed var(--cb-line); font-size: .82rem; color: var(--cb-muted); text-align: center; }

@media (max-width: 575px) {
   .cb-inv-grid { grid-template-columns: 1fr; }
   .cb-inv-title { text-align: left; }
}

/* --------------------------------------------------------------------------
   Print
   -------------------------------------------------------------------------- */
@media print {
   .cb-navbar, #footer, .cb-steps, .cb-callout, .cb-invoice-actions,
   .cb-drawer, .cb-toast-wrap, .cb-buybar { display: none !important; }
   body { background: #fff !important; }
   .cb-container { padding: 0 !important; max-width: 100% !important; }
   #cbInvoice { border: 0 !important; box-shadow: none !important; }
   #cbInvoice .cb-card__body { padding: 0 !important; }
   .cb-inv-brand, .cb-inv-title__no, .cb-summary__row--total { color: #000 !important; }
   a[href]::after { content: "" !important; }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1199px) {
   .cb-search input { width: 170px; }
}

@media (max-width: 991px) {
   .cb-navbar__toggle { display: grid; place-items: center; }
   .cb-navbar .cb-container { flex-wrap: wrap; }
   .cb-nav {
      order: 3;
      flex-basis: 100%;
      flex-direction: column;
      align-items: stretch;
      gap: 2px;
      max-height: 0;
      overflow: hidden;
      transition: max-height .3s var(--cb-ease);
   }
   .cb-nav.is-open { max-height: 70vh; overflow: auto; padding: 10px 0; }
   .cb-nav > li > a { padding: .7rem .6rem; font-size: .95rem; }
   .cb-nav__dd {
      position: static; opacity: 1; visibility: visible; transform: none;
      box-shadow: none; background: rgba(255, 255, 255, .06); margin: 4px 0 4px 12px;
   }
   .cb-nav__dd a { color: rgba(255, 255, 255, .8); }
   .cb-nav__dd a:hover { background: rgba(255, 255, 255, .1); color: #fff; }
   .cb-search { order: 2; flex: 1 1 auto; }
   .cb-search input, .cb-search input:focus { width: 100%; }
   .cb-navbar__tools { order: 1; margin-left: auto; }
   .cb-section__head { align-items: center; flex-wrap: wrap; gap: 12px; }
   .cb-section__head .owl-nav button.owl-prev,
   .cb-section__head .owl-nav button.owl-next { height: 38px; width: 38px; }
   .cb-summary { position: static; margin-top: 24px; }
   .cb-order-card { grid-template-columns: 1fr 1fr; }
   .cb-auth__grid { grid-template-columns: 1fr; }
   .cb-auth__pane + .cb-auth__pane { border-left: 0; border-top: 1px solid var(--cb-line); }
}

@media (max-width: 767px) {
   .cb-trust { grid-template-columns: 1fr; }
   .cb-section { padding: 40px 0; }
   .cb-page-hero { padding: 38px 0; margin-bottom: 28px; }
   .cb-cta { padding: 32px 20px; }
   .cb-buybar { display: flex; }
   body.cb-has-buybar { padding-bottom: 76px; }

   /* cart table -> stacked cards */
   .cb-cart, .cb-cart tbody, .cb-cart tr, .cb-cart td { display: block; width: 100%; }
   .cb-cart thead { display: none; }
   .cb-cart tr.cb-cart__row { border: 1px solid var(--cb-line); border-radius: var(--cb-r); margin-bottom: 14px; padding: 8px; background: #fff; }
   .cb-cart tr.cb-cart__row td { border: 0 !important; padding: 8px 10px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
   .cb-cart tr.cb-cart__row td::before { content: attr(data-label); font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--cb-muted); font-weight: 600; }
   .cb-cart tr.cb-cart__row td.cb-cart__cell-media { justify-content: flex-start; }
   .cb-cart tr.cb-cart__row td.cb-cart__cell-media::before { display: none; }
   .cb-order-card { grid-template-columns: 1fr; }
}

@media (max-width: 575px) {
   .cb-navbar__brand span { display: none; }
   .cb-hero__overlay { padding: 0 6%; background: linear-gradient(180deg, rgba(11, 18, 32, .2) 0%, rgba(11, 18, 32, .8) 100%); justify-content: flex-end; padding-bottom: 46px; }
}

@media (prefers-reduced-motion: reduce) {
   *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}
