/* ============================================================
   Sellmycode theme — modern professional redesign layer
   Loaded after app.css, so rules here override the base theme.
   Visual-only: typography, color, radius, shadow, spacing, hover.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --sc-radius: 14px;
  --sc-radius-sm: 10px;
  --sc-shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 8px 24px rgba(15, 23, 42, .06);
  --sc-shadow-lg: 0 12px 32px rgba(15, 23, 42, .12);
  --sc-ring: 0 0 0 4px rgba(253, 184, 19, .18);
  --sc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

/* ---------- Base typography ---------- */
body {
  font-family: var(--sc-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: -0.011em;
}

h1, h2, h3, h4, h5, h6,
.section-title, .header-title {
  font-family: var(--sc-font);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a { transition: color .2s ease; }

::selection { background: #fdb813; color: #111111; }
::-moz-selection { background: #fdb813; color: #111111; }

/* ---------- Buttons ---------- */
.btn {
  border-radius: var(--sc-radius-sm);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.btn.btn-primary {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border: none;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active {
  background-image: linear-gradient(135deg, #e6a40f 0%, #f5b71f 100%);
  -webkit-box-shadow: var(--sc-ring) !important;
  box-shadow: var(--sc-ring) !important;
}

.btn.btn-outline-primary {
  border-width: 1.5px;
}
.btn.btn-outline-primary:hover {
  -webkit-box-shadow: var(--sc-ring) !important;
  box-shadow: var(--sc-ring) !important;
}

.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

/* ---------- Item cards ---------- */
.item {
  border-radius: var(--sc-radius);
  border: 1px solid var(--border_color);
  box-shadow: var(--sc-shadow);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.item:hover {
  transform: translateY(-4px);
  box-shadow: var(--sc-shadow-lg);
  border-color: rgba(253, 184, 19, .35);
}

.item-header,
.item-img,
.item-video,
.item-audio { overflow: hidden; }

/* kill the inline-image baseline gap above/below the thumbnail */
.item-header img,
.item-header video,
.item-header .item-img {
  display: block;
}
/* Item card image: show the WHOLE image (no crop), sized to the common 590x300 ratio */
.item .item-header {
  aspect-ratio: 59 / 30;
  height: auto;
  background: #f4f5f7;
  position: relative;
}
/* favorite (wishlist) icon — top-left of the card image, shown on hover */
.sc-item-fav {
  position: absolute;
  top: 10px;
  inset-inline-start: 10px;
  z-index: 3;
}
/* desktop: hidden until the card is hovered (or already favorited) */
@media (hover: hover) {
  .sc-item-fav {
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
  }
  .item:hover .sc-item-fav,
  .item .sc-item-fav:has(.btn-custom) {
    opacity: 1;
    pointer-events: auto;
  }
}
/* mobile: hide the favorite icon entirely (less clutter) */
@media (max-width: 767.98px) {
  .sc-item-fav { display: none; }
}
.sc-item-fav .btn {
  width: 36px;
  height: 36px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92);
  border: none;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .18);
  color: #ef4444;
  font-size: 15px;
}
.sc-item-fav .btn:hover { background: #ffffff; color: #ef4444; }
.sc-item-fav .btn.btn-custom { background: #ef4444; color: #ffffff; }
.sc-item-fav .btn.btn-custom:hover { background: #dc2626; color: #ffffff; }
.item .item-header > a {
  display: block;
  height: 100%;
}
.item .item-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.item-img,
.item-video video {
  transition: transform .4s ease;
}
.item:hover .item-img,
.item:hover .item-video video {
  transform: scale(1.04);
}

.item-title a {
  font-weight: 600;
  letter-spacing: -0.01em;
}
.item-title a:hover { color: #b5790a; }

/* Badges become soft pills */
.item-badge {
  border-radius: 999px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: .01em;
  backdrop-filter: saturate(140%) blur(2px);
}

/* ---------- Navbar ---------- */
.nav-bar-container {
  box-shadow: 0 1px 0 var(--border_color), 0 6px 20px rgba(15, 23, 42, .05);
}
.nav-bar-links .link:hover .link-title,
.nav-bar-links .link.active .link-title {
  color: #b5790a;
}
.link-btn { border-radius: var(--sc-radius-sm); transition: .2s ease; }

/* ---------- Hero / page header ---------- */
.header-inner {
  border-radius: 0 0 var(--sc-radius) var(--sc-radius);
}
.header-title {
  font-weight: 800;
  letter-spacing: -0.03em;
}
.header-search .search,
.header-search input,
.search input {
  border-radius: var(--sc-radius-sm);
}

/* ---------- Sections ---------- */
.section-title {
  font-weight: 700;
}
.section-title:after,
.section-head:after { border-radius: 2px; }

/* ---------- Forms / inputs ---------- */
.form-control,
.form-select,
.input,
input.form-control,
textarea.form-control {
  border-radius: var(--sc-radius-sm);
  border-color: var(--border_color);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-control:focus,
.form-select:focus,
input.form-control:focus,
textarea.form-control:focus {
  border-color: #b5790a;
  box-shadow: var(--sc-ring);
}

/* ---------- Generic cards / panels ---------- */
.card,
.box,
.panel {
  border-radius: var(--sc-radius);
  border: 1px solid var(--border_color);
  box-shadow: var(--sc-shadow);
}

/* ---------- Dropdown menus ---------- */
.drop-down-menu,
.dropdown-menu {
  border-radius: var(--sc-radius-sm);
  border: 1px solid var(--border_color);
  box-shadow: var(--sc-shadow-lg);
  overflow: hidden;
}

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--footer_border_color); }
.footer a { transition: color .2s ease, opacity .2s ease; }
.footer a:hover { color: #fff; opacity: 1; }
.footer-counter-title { font-weight: 700; letter-spacing: -0.02em; }

/* ---------- Dashboard / workspace sidebar ---------- */
.dashboard-sidebar,
.workspace-sidebar { border-right: 1px solid rgba(255, 255, 255, .06); }

/* ---------- Scrollbar (webkit) ---------- */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: #94a3b8; background-clip: padding-box; }

/* ---------- Pagination ---------- */
.pagination .page-link {
  border-radius: var(--sc-radius-sm) !important;
  margin: 0 3px;
  border-color: var(--border_color);
  color: var(--text_color);
}
.pagination .page-item.active .page-link {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border-color: transparent;
}

/* ============================================================
   Rewritten sections: hero, navbar, footer
   ============================================================ */

/* ---------- Hero ---------- */
.sc-hero {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}
.sc-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(15, 23, 42, .94) 0%, rgba(30, 27, 75, .86) 55%, rgba(49, 46, 129, .80) 100%);
  z-index: 0;
}
.sc-hero-glow {
  position: absolute;
  top: -30%;
  right: -10%;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(253, 184, 19, .45) 0%, rgba(253, 184, 19, 0) 70%);
  z-index: 0;
  pointer-events: none;
}
.sc-hero-inner {
  position: relative;
  z-index: 1;
  background: transparent !important;
  box-shadow: none !important;
  padding: clamp(3.5rem, 9vw, 7rem) 0;
}
.sc-hero-content {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}
.sc-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: #fde9b8;
  background: rgba(253, 184, 19, .16);
  border: 1px solid rgba(253, 184, 19, .35);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.sc-hero-title.header-title,
.sc-hero-title {
  color: #fff;
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 18px;
}
.sc-hero-text.header-text,
.sc-hero-text {
  color: #cbd5e1;
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 30px;
}
.sc-hero-search {
  max-width: 640px;
  margin: 0 auto;
}
.sc-hero-search .search-input {
  background: #fff;
  border-radius: 999px;
  padding: 7px 7px 7px 8px;
  box-shadow: 0 18px 50px rgba(15, 23, 42, .35);
}
.sc-hero-search .search-input input {
  border: none;
  background: transparent;
  font-size: 15px;
  padding-left: 14px;
}
.sc-hero-search .search-input .btn {
  border-radius: 999px;
  padding-left: 22px;
  padding-right: 22px;
}
.sc-hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 38px;
}
.sc-hero-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.sc-hero-stat-num {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.1;
}
.sc-hero-stat-label {
  font-size: 13px;
  color: #94a3b8;
  margin-top: 4px;
}
.sc-hero-stat-sep {
  width: 1px;
  height: 36px;
  background: rgba(148, 163, 184, .3);
}

/* ---------- Navbar polish (markup/JS hooks preserved) ---------- */
.nav-bar-links .link .link-title span {
  font-weight: 500;
  transition: color .2s ease;
}
.drop-down-btn { font-weight: 500; transition: color .2s ease; }
.drop-down-btn:hover { color: #b5790a; }
.nav-bar-buttons .link-btn .btn,
.nav-bar-actions .btn {
  border-radius: 999px;
}
.cart-counter {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border: 2px solid #fff;
  font-weight: 600;
}
.announcement { letter-spacing: -0.01em; }

/* ---------- Footer ---------- */
.sc-footer {
  position: relative;
  overflow: hidden;
  background: var(--footer_background_color);
}
.sc-footer-glow {
  position: absolute;
  top: -140px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 320px;
  background: radial-gradient(ellipse at center, rgba(253, 184, 19, .22) 0%, rgba(253, 184, 19, 0) 70%);
  pointer-events: none;
}
.sc-footer-newsletter {
  position: relative;
  border-bottom: 1px solid var(--footer_border_color);
  padding: 36px 0;
}
.sc-footer-upper { position: relative; padding: 56px 0 40px; }
.sc-footer-logo img { height: 38px; width: auto; }
.sc-footer-about {
  color: var(--footer_text_color);
  line-height: 1.7;
  max-width: 380px;
  margin: 18px 0 0;
}
.sc-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}
.sc-footer-socials .social-btn {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}
.sc-footer-socials .social-btn:hover {
  transform: translateY(-2px);
  color: #fff;
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border-color: transparent;
}
.sc-footer-stats {
  display: flex;
  gap: 40px;
  margin-top: 28px;
}
.sc-footer-stat .footer-counter-text {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0;
}
.sc-footer-stat .footer-counter-title {
  font-size: 13px;
  color: var(--footer_text_color);
  margin: 2px 0 0;
}
.sc-footer-col-title .h6,
a.sc-footer-col-title {
  color: #fff;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.sc-footer-links-grid .footer-links { margin-top: 16px; }
.sc-footer-links-grid .footer-link { margin-bottom: 10px; }
.sc-footer-links-grid .footer-link a,
.sc-footer-links-grid .footer-text {
  color: var(--footer_text_color);
  transition: color .2s ease, padding-left .2s ease;
}
.sc-footer-links-grid .footer-link a:hover {
  color: #fff;
  padding-left: 4px;
}
.sc-footer-lower {
  position: relative;
  border-top: 1px solid var(--footer_border_color);
  padding: 22px 0;
}
.sc-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.sc-footer-bottom .footer-copyright {
  color: var(--footer_text_color);
  font-size: 14px;
}
.sc-footer-payment img { max-height: 26px; width: auto; opacity: .85; }
.sc-footer-top {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  color: #cbd5e1;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.sc-footer-top:hover {
  transform: translateY(-2px);
  color: #fff;
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border-color: transparent;
}

/* ---------- Items listing: toolbar ---------- */
.sc-items-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.sc-items-toolbar-title {
  display: flex;
  align-items: center;
  gap: 12px;
}
.sc-items-toolbar-title h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading_color);
}
.sc-items-count {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #b5790a;
  background: var(--swiper_background_color);
  border: 1px solid var(--border_color);
  padding: 4px 12px;
  border-radius: 999px;
}
.sc-items-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.sc-filter-btn { border-radius: var(--sc-radius-sm); font-weight: 600; }
#itemsGrid, #itemsList { border-radius: var(--sc-radius-sm); }
#itemsGrid[disabled], #itemsList[disabled] {
  background: var(--primary_color);
  border-color: #b5790a;
  color: #fff;
  opacity: 1;
}

/* ---------- Item card: media hover overlay ---------- */
.sc-item-media { position: relative; display: block; }
.sc-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to top, rgba(15, 23, 42, .55), rgba(15, 23, 42, .15));
  opacity: 0;
  transition: opacity .25s ease;
}
.item:hover .sc-item-overlay { opacity: 1; }
.sc-item-overlay-btn {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: rgba(253, 184, 19, .92);
  border: 1px solid rgba(255, 255, 255, .25);
  padding: 9px 18px;
  border-radius: 999px;
  transform: translateY(8px);
  transition: transform .25s ease;
}
.item:hover .sc-item-overlay-btn { transform: translateY(0); }

/* ---------- Item card: body & footer ---------- */
.item-body { padding: 16px 18px 18px; }
.item-title {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--heading_color);
}
.item-text { font-size: 13px; color: var(--text_muted); }
.item-text a { color: var(--text_color); font-weight: 500; }
.item-text a:hover { color: #b5790a; }
.item-purchase {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border_color);
}
.item-price-number {
  font-weight: 700;
  font-size: 17px;
  color: var(--heading_color);
  letter-spacing: -0.02em;
}
.item-price-through {
  color: var(--text_muted);
  text-decoration: line-through;
  font-size: 13px;
  margin-right: 4px;
}
.item-sales {
  display: inline-flex;
  align-items: center;
  font-size: 12px;
  color: var(--text_muted);
  margin-top: 4px;
}
/* price/sales + buttons on one row, compact */
.item-purchase > .row {
  flex-wrap: nowrap;
  gap: 10px;
}
.item-purchase > .row > .col:last-child .row {
  flex-wrap: nowrap;
  gap: 6px;
}
.item-purchase .btn-padding {
  border-radius: var(--sc-radius-sm);
  width: 36px;
  height: 36px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.item-purchase .sc-item-preview {
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.item-purchase .sc-item-preview .ms-2 { margin-inline-start: 6px !important; }
/* keep the cart + preview buttons inside the card (don't get pushed out by the Sales line) */
.item-purchase > .row > .col:last-child .row { align-items: center; }
.item-purchase > .row > .col:first-child { min-width: 0; }
.item-purchase > .row > .col:last-child { flex-shrink: 0; }
.item-purchase form { margin: 0; }
@media (max-width: 575.98px) {
  /* tight 2-col cards: keep one row, just shrink the buttons so nothing clips */
  .item-purchase > .row { gap: 8px; }
  .item-purchase > .row > .col:last-child .row { gap: 6px; }
  .item-purchase .btn-padding { width: 32px; height: 32px; }
  .item-purchase .sc-item-preview { width: 32px; height: 32px; padding: 0; }
  .item-purchase .sc-item-preview .sc-item-preview-text { display: none !important; }
  .item-purchase .btn-padding i,
  .item-purchase .sc-item-preview i { font-size: 13px; }
}

/* ---------- Item card: list / inline view ---------- */
.item.item-inline .item-body { display: flex; flex-direction: column; justify-content: center; }
.item.item-inline .sc-item-overlay { display: none; }

/* ---------- Filter sidebar ---------- */
#searchFiltersSidebar .card-v,
.offcanvas .card-v {
  border-radius: var(--sc-radius);
  border: 1px solid var(--border_color);
  box-shadow: var(--sc-shadow);
}
#searchFiltersSidebar h5 {
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--heading_color);
}
.filter-item .form-check-input {
  border-radius: 6px;
  border-color: var(--border_color);
  cursor: pointer;
}
.filter-item .form-check-input:checked {
  background-color: #b5790a;
  border-color: #b5790a;
}
.filter-item .form-check-label { cursor: pointer; color: var(--text_color); }
.filter-item { transition: color .2s ease; }
.filter-item:hover .form-check-label { color: #b5790a; }

/* ---------- Empty state ---------- */
.items + .pagination,
.card-v .py-5 h3 { font-weight: 700; letter-spacing: -0.02em; color: var(--heading_color); }

/* ---------- Item detail page ---------- */
.card-v {
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow);
}
.card-v.border { border: 1px solid var(--border_color) !important; }
.item-single-title { font-weight: 800; letter-spacing: -0.02em; color: var(--heading_color); }
.section-title-text { font-weight: 700; letter-spacing: -0.02em; color: var(--heading_color); }
.section-title-divider {
  height: 4px;
  border-radius: 999px;
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
}
.item-single-preview .item-single-img img,
.item-single-preview .item-single-video video,
.item-single-preview { border-radius: var(--sc-radius); }
.item-single-preview .item-single-img img { box-shadow: 0 6px 22px rgba(15, 23, 42, .08); }

/* License option cards (clean, Envato-style: full-width card, no floating radio) */
.form-check-lg { padding: 0; margin-bottom: 12px; }
.form-check-lg .form-check-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
  margin: 0;
}
.form-check-lg .form-check-label {
  position: relative;
  width: 100%;
  border: 1.5px solid var(--border_color);
  border-radius: var(--sc-radius-sm);
  padding: 16px 58px 16px 18px;
  cursor: pointer;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.form-check-lg .form-check-label::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  border: 2px solid var(--border_color);
  border-radius: 50%;
  transition: .2s ease;
}
.form-check-lg:hover .form-check-label { border-color: rgba(253, 184, 19, .5); }
.license-type:checked + .form-check-label {
  border-color: #fdb813;
  background: var(--swiper_background_color);
  box-shadow: var(--sc-ring);
}
.license-type:checked + .form-check-label::after {
  border-color: #fdb813;
  background: #fdb813;
  box-shadow: inset 0 0 0 3px #fff;
}
.license-type:checked + .form-check-label h6 { color: #b5790a; }

/* Author / sidebar cards */
.user-avatar img { border-radius: 14px; object-fit: cover; }
.user-avatar-lg, .user-avatar-lg img { width: 58px; height: 58px; }
.item-author-badge img { border-radius: 8px; }

/* Meta list rows */
.card-v .small .d-flex.justify-content-between p { color: var(--text_color); }
.list-item { padding: 4px 0; }

/* Swiper nav buttons on screenshots */
.item-swiper .swiper-button-prev,
.item-swiper .swiper-button-next {
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: 10px;
  box-shadow: var(--sc-shadow);
  color: var(--heading_color);
  transition: .2s ease;
}
.item-swiper .swiper-button-prev:hover,
.item-swiper .swiper-button-next:hover {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border-color: transparent;
  color: #fff;
}

/* ============================================================
   Home page — demo-style sections
   ============================================================ */

/* Section heading: overline + title */
.sc-section-head { margin-bottom: 12px; }
.sc-overline {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b5790a;
  margin-bottom: 10px;
}
.sc-section-title {
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--heading_color);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
}

/* Why choose */
.sc-why { padding-top: 56px; }
.sc-why-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  padding: 26px 22px;
  box-shadow: var(--sc-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.sc-why-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow-lg);
  border-color: rgba(253, 184, 19, .35);
}
.sc-why-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 16px;
  font-size: 22px;
  color: #b5790a;
  background: var(--swiper_background_color);
  margin-bottom: 18px;
}
.sc-why-title { font-weight: 700; font-size: 16px; color: var(--heading_color); margin-bottom: 8px; }
.sc-why-text { font-size: 14px; color: var(--text_muted); line-height: 1.6; margin: 0; }

/* Stats shapes */
.sc-stats-section { padding: 36px 0; }
.sc-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(16px, 4vw, 56px);
}
.sc-stat {
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.sc-stat-num { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; color: #0f172a; line-height: 1.1; }
.sc-stat-label { font-size: 13px; color: #334155; margin-top: 4px; }
.sc-shape-scallop {
  background: #fbcfe8;
  border-radius: 42% 58% 57% 43% / 45% 44% 56% 55%;
}
.sc-shape-hexagon {
  background: #bfdbfe;
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0% 50%);
}
.sc-shape-star {
  background: #ddd6fe;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.sc-shape-circle { background: #fde68a; border-radius: 50%; }

/* Yellow CTA banner */
.sc-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
  background: linear-gradient(135deg, #fde047 0%, #facc15 100%);
  border-radius: var(--sc-radius);
  padding: 30px 36px;
  box-shadow: 0 18px 40px rgba(250, 204, 21, .25);
}
.sc-cta-overline {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #854d0e;
  margin-bottom: 4px;
}
.sc-cta-title { font-weight: 800; letter-spacing: -0.02em; color: #422006; margin: 0; font-size: clamp(1.2rem, 2.4vw, 1.6rem); }
.sc-cta-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  color: #fff;
  background: #0f172a;
  padding: 13px 26px;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease;
}
.sc-cta-btn:hover { transform: translateY(-2px); background: #1e293b; color: #fff; }

/* Marquee */
.sc-marquee {
  overflow: hidden;
  background: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  padding: 16px 0;
}
.sc-marquee-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: sc-marquee 26s linear infinite;
}
.sc-marquee-item {
  display: inline-flex;
  align-items: center;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: capitalize;
  color: #fff;
  padding: 0 28px;
  white-space: nowrap;
}
@keyframes sc-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Category tiles */
.home-category {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  padding: 24px 16px;
  box-shadow: var(--sc-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.home-category:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow-lg);
  border-color: rgba(253, 184, 19, .35);
}
.home-category-img {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: var(--swiper_background_color);
  margin-bottom: 14px;
}
.home-category-img img { width: 32px; height: 32px; object-fit: contain; }
.home-category-title { font-weight: 600; font-size: 14px; color: var(--heading_color); margin: 0; }

/* FAQ accordion */
.accordion-custom .accordion-item {
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
}
.accordion-custom .accordion-button {
  font-weight: 600;
  color: var(--heading_color);
  border-radius: 0 !important;
}
.accordion-custom .accordion-button:not(.collapsed) {
  background: var(--swiper_background_color);
  color: #b5790a;
}
.accordion-custom .accordion-button:focus { box-shadow: none; }

/* Testimonials swiper buttons */
.testimonials-swiper .swiper-button-prev,
.testimonials-swiper .swiper-button-next {
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: 12px;
  box-shadow: var(--sc-shadow);
  color: var(--heading_color);
}
.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border-color: transparent;
  color: #fff;
}

@media (max-width: 575px) {
  .sc-hero-stats { gap: 18px; }
  .sc-footer-stats { gap: 28px; }
  .sc-footer-bottom { justify-content: center; text-align: center; }
  .sc-items-toolbar { align-items: flex-start; }
  .sc-stat { width: 120px; height: 120px; }
  .sc-stat-num { font-size: 21px; }
  .sc-cta { justify-content: center; text-align: center; }
}

/* ---------- Light hero variant ---------- */
.sc-hero-light .sc-hero-overlay {
  background: linear-gradient(135deg, rgba(250, 248, 243, .95) 0%, rgba(255, 247, 230, .93) 100%);
}
.sc-hero-light .sc-hero-inner { position: relative; }
.sc-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(10px);
  z-index: 0;
  pointer-events: none;
}
.sc-hero-blob-1 { top: 8%; left: -60px; width: 220px; height: 220px; background: rgba(253, 184, 19, .14); }
.sc-hero-blob-2 { bottom: 6%; right: -40px; width: 260px; height: 260px; background: rgba(250, 204, 21, .16); }
.sc-hero-light .sc-hero-eyebrow {
  color: #7a5a00;
  background: rgba(253, 184, 19, .12);
  border-color: rgba(253, 184, 19, .25);
}
.sc-hero-light .sc-hero-title.header-title,
.sc-hero-light .sc-hero-title { color: var(--heading_color); }
.sc-hero-light .sc-hero-text.header-text,
.sc-hero-light .sc-hero-text { color: var(--text_color); }
.sc-hero-light .sc-hero-search .search-input {
  box-shadow: 0 12px 34px rgba(15, 23, 42, .12);
  border: 1px solid var(--border_color);
}
.sc-hero-light .sc-hero-stat-num { color: var(--heading_color); }
.sc-hero-light .sc-hero-stat-label { color: var(--text_muted); }
.sc-hero-light .sc-hero-stat-sep { background: var(--border_color); }

/* Circular seal badge */
.sc-hero-seal {
  position: absolute;
  top: 28px;
  inset-inline-end: 8px;
  width: 118px;
  height: 118px;
  z-index: 2;
}
.sc-hero-seal svg { width: 100%; height: 100%; animation: sc-spin 22s linear infinite; }
.sc-seal-ring { fill: #facc15; }
.sc-seal-text {
  font-size: 9.4px;
  font-weight: 700;
  letter-spacing: 1.2px;
  fill: #422006;
  text-transform: uppercase;
}
.sc-seal-big { font-size: 20px; font-weight: 800; fill: #0f172a; text-anchor: middle; }
.sc-seal-small { font-size: 10px; font-weight: 700; letter-spacing: 2px; fill: #422006; text-anchor: middle; }
@keyframes sc-spin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@media (max-width: 991px) { .sc-hero-seal { display: none; } }

/* ---------- Top trends ---------- */
.sc-trends-section { padding-top: 36px; }
.sc-trend-card {
  position: relative;
  display: block;
  height: 100%;
  background: linear-gradient(160deg, #fff7e6 0%, #fde9b8 100%);
  border: 1px solid #fde9b8;
  border-radius: var(--sc-radius);
  padding: 26px 22px 56px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sc-trend-card:hover { transform: translateY(-5px); box-shadow: var(--sc-shadow-lg); }
.sc-trend-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 16px;
  font-size: 20px;
  color: #fff;
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  margin-bottom: 16px;
}
.sc-trend-title { font-weight: 700; font-size: 16px; color: var(--heading_color); margin-bottom: 8px; }
.sc-trend-text { font-size: 14px; color: #57534e; line-height: 1.6; margin: 0; }
.sc-trend-arrow {
  position: absolute;
  inset-block-end: 18px;
  inset-inline-start: 22px;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #b5790a;
  background: #fff;
  box-shadow: var(--sc-shadow);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.sc-trend-card:hover .sc-trend-arrow {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  color: #fff;
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .sc-marquee-track { animation: none; }
  .sc-hero-seal svg { animation: none; }
}

/* ============================================================
   Workspace / dashboard, auth, cart, checkout
   ============================================================ */

/* ---------- Dashboard sidebar ---------- */
.dashboard-sidebar-links { display: flex; flex-direction: column; gap: 4px; }
.dashboard-sidebar-link .dashboard-sidebar-link-title {
  border-radius: var(--sc-radius-sm);
  transition: background .2s ease, color .2s ease;
}
.dashboard-sidebar-link:not(.current):not(.active) .dashboard-sidebar-link-title:hover {
  background: rgba(255, 255, 255, .06);
}
.dashboard-sidebar-link.current > .dashboard-sidebar-link-title,
.dashboard-sidebar-link.current > a.dashboard-sidebar-link-title {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(253, 184, 19, .35);
}
.dashboard-sidebar-link.current > .dashboard-sidebar-link-title i { color: #fff; }
.dashboard-balance {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .08);
  border-radius: var(--sc-radius);
}
.dashboard-balance-number { font-weight: 800; letter-spacing: -0.02em; }
.dashboard-balance-icon a {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  color: #fff;
  border-radius: 12px;
}
.dashboard-sidebar-link .counter {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  border: none;
  font-weight: 600;
}

/* ---------- Dashboard top navbar ---------- */
.dashboard-nav {
  border-bottom: 1px solid var(--border_color);
  box-shadow: 0 1px 0 var(--border_color), 0 4px 16px rgba(15, 23, 42, .04);
}
.dashboard-nav .btn-outline-primary { border-radius: 999px; }
.dashboard-btn { border-radius: 12px; transition: background .2s ease; }

/* ---------- Dashboard counters / cards ---------- */
.dashboard-counter,
.dashboard-card,
.dashboard-chart-card {
  border-radius: var(--sc-radius);
  border: 1px solid var(--border_color);
  box-shadow: var(--sc-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.dashboard-counter:hover,
.dashboard-card:hover { transform: translateY(-3px); box-shadow: var(--sc-shadow-lg); }
.dashboard-counter-icon {
  border-radius: 14px;
  background: var(--swiper_background_color);
  color: #b5790a;
}
.dashboard-counter-info .dashboard-counter-icon { background: rgba(37, 99, 235, .12); color: #2563eb; }
.dashboard-counter-secondary .dashboard-counter-icon { background: rgba(139, 92, 246, .12); color: #8b5cf6; }
.dashboard-counter-danger .dashboard-counter-icon { background: rgba(239, 68, 68, .12); color: #ef4444; }
.dashboard-counter-number { font-weight: 800; letter-spacing: -0.02em; color: var(--heading_color); }
.dashboard-counter-title { color: var(--text_muted); }
.dashboard-footer { color: var(--text_muted); }

/* ---------- Workspace: wider sidebar + dashboard polish ---------- */
@media (min-width: 1200px) {
  .dashboard-sidebar { width: 280px; }
  .dashboard-body { width: calc(100% - 280px); margin-inline-start: 280px; }
  .dashboard.toggle .dashboard-sidebar { left: -280px; }
}
.dashboard-sidebar-nav .nav-link,
.dashboard-sidebar .nav-link { border-radius: 12px; }
/* stat counter cards — roomier & bolder */
.dashboard-counter {
  padding: 24px;
  gap: 18px;
  border-radius: 18px;
}
.dashboard-counter-icon {
  width: 58px;
  height: 58px;
  font-size: 22px;
  flex-shrink: 0;
}
.dashboard-counter-number { font-size: 30px; line-height: 1.1; }
.dashboard-counter-title {
  font-size: 12px;
  letter-spacing: .05em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 6px;
}
.dashboard-card, .dashboard-chart-card { border-radius: 18px; }

/* ---------- Auth (sign in / up) ---------- */
.sign-box { max-width: 460px; margin: 0 auto; }
.sign-box .card-v { padding: 36px; }
.sign-box-title { font-weight: 800; letter-spacing: -0.02em; color: var(--heading_color); }
.sign-box-text { color: var(--text_muted); }
.sign-box .form-label { font-weight: 600; font-size: 14px; color: var(--heading_color); }
.sign-box .form-check-input:checked { background-color: #b5790a; border-color: #b5790a; }

/* ---------- Cart ---------- */
.cart-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border_color);
}
.cart-item:last-child { border-bottom: none; padding-bottom: 0; }
.cart-item:first-child { padding-top: 0; }
.cart-item-title {
  font-weight: 600;
  font-size: 15px;
  color: var(--heading_color);
  letter-spacing: -0.01em;
}
.cart-item-title:hover { color: #b5790a; }
.item-img-sm img { border-radius: var(--sc-radius-sm); object-fit: cover; }

/* ---------- Checkout ---------- */
.checkout-method,
.payment-method {
  border-radius: var(--sc-radius-sm);
  border: 1.5px solid var(--border_color);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.checkout-method:hover,
.payment-method:hover { border-color: rgba(253, 184, 19, .45); }
.checkout-method.active,
.payment-method.active {
  border-color: #b5790a;
  box-shadow: var(--sc-ring);
}

/* ============================================================
   Blog, profile/portfolio, contact, static pages, settings
   ============================================================ */

/* ---------- Page header banner ---------- */
.header.header-bg {
  background:
    linear-gradient(135deg, rgba(253, 184, 19, .08) 0%, rgba(124, 108, 246, .12) 100%),
    var(--header_background_color);
  border-bottom: 1px solid var(--border_color);
}
.header.header-bg .header-inner { padding: 40px 0; }
.header.header-bg .header-title { font-weight: 800; letter-spacing: -0.02em; color: var(--heading_color); }

/* ---------- Blog post cards ---------- */
.blog-post {
  height: 100%;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  overflow: hidden;
  box-shadow: var(--sc-shadow);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.blog-post:hover {
  transform: translateY(-5px);
  box-shadow: var(--sc-shadow-lg);
  border-color: rgba(253, 184, 19, .35);
}
.blog-post-img, .blog-post-header { overflow: hidden; }
.blog-post-img img { transition: transform .4s ease; width: 100%; }
.blog-post:hover .blog-post-img img { transform: scale(1.05); }
.blog-post-body { padding: 18px 20px 20px; }
.blog-post-title { font-weight: 700; letter-spacing: -0.01em; color: var(--heading_color); }
.blog-post-title:hover, .blog-post-title a:hover { color: #b5790a; }
.blog-post-text { color: var(--text_muted); font-size: 14px; line-height: 1.6; }
.blog-post-meta { color: var(--text_muted); font-size: 13px; }
.blog-post-meta-item i { color: #b5790a; }

/* Single article + comments */
.blog-post-single-text { font-size: 16px; line-height: 1.8; color: var(--text_color); }
.blog-post-single-text h1, .blog-post-single-text h2, .blog-post-single-text h3 {
  font-weight: 700; letter-spacing: -0.02em; color: var(--heading_color); margin: 1.4em 0 .6em;
}
.comment { padding: 18px 0; border-bottom: 1px solid var(--border_color); }
.comment:last-child { border-bottom: none; }
.comment-img img { border-radius: 12px; object-fit: cover; }
.comment-title { font-weight: 600; color: var(--heading_color); }
.comment-time { color: var(--text_muted); font-size: 13px; }

/* ---------- Profile / portfolio ---------- */
.section-profile .header-profile,
.header-profile {
  border-radius: var(--sc-radius);
  overflow: hidden;
  position: relative;
}
/* light gradient over the cover so the text stays readable (not too dark) */
.header-profile::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, .12) 0%, rgba(15, 23, 42, .45) 100%);
  pointer-events: none;
  z-index: 0;
}
.header-profile > div { position: relative; z-index: 1; }
/* force the author name / meta / stats to white on the cover (was text-dark) */
.header-profile .header-inner h1,
.header-profile .header-inner .text-dark,
.header-profile .header-inner .text-muted,
.header-profile .user-stat-title,
.header-profile .user-stat-number { color: #ffffff !important; }
.header-profile .nav-tabs .nav-link { color: rgba(255, 255, 255, .8); }
.header-profile .nav-tabs .nav-link.active { color: var(--primary_color); }
.user-avatar-xl, .user-avatar-xl img {
  width: 120px; height: 120px;
}
/* large author avatar: fixed box, clip overflow, never shrink (fixes the name overlapping the avatar) */
.user-avatar-xl { flex-shrink: 0; overflow: hidden; }
.user-avatar-xl img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 768px) {
  .header-profile .header-inner > .row > .col:first-child > .row,
  .section-start .card-v .row.row-cols-md-auto.align-items-center {
    flex-wrap: nowrap;
    column-gap: 22px;
  }
  .header-profile .header-inner > .row > .col:first-child > .row > .col {
    width: auto;
  }
}
.user-avatar img { border-radius: 18px; object-fit: cover; }
.user-avatar-xl img { border: 4px solid #fff; box-shadow: var(--sc-shadow-lg); }
.header-profile .nav-tabs, .nav-tabs { border-bottom: 1px solid var(--border_color); }
.nav-tabs .nav-link {
  font-weight: 600;
  color: var(--text_muted);
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  transition: color .2s ease, border-color .2s ease;
}
.nav-tabs .nav-link:hover { color: var(--heading_color); border-color: var(--border_color); }
.nav-tabs .nav-link.active {
  color: #b5790a;
  background: transparent;
  border-color: #b5790a;
}
.profile-dropdown .dropdown-menu {
  border-radius: var(--sc-radius-sm);
  border: 1px solid var(--border_color);
  box-shadow: var(--sc-shadow-lg);
}
.author-badge img, .author-badge { border-radius: 10px; }
.socials .social-btn {
  border-radius: 12px;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.socials .social-btn:hover { transform: translateY(-2px); }

/* ---------- Settings tabs ---------- */
.settings-links-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  padding: 8px;
  box-shadow: var(--sc-shadow);
}
.settings-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  color: var(--text_color);
  padding: 9px 16px;
  border-radius: var(--sc-radius-sm);
  transition: background .2s ease, color .2s ease;
}
.settings-link:hover { background: var(--swiper_background_color); color: #b5790a; }
.settings-link.active {
  background-image: linear-gradient(135deg, #fdb813 0%, #ffc83d 100%);
  color: #fff;
  box-shadow: 0 8px 18px rgba(253, 184, 19, .3);
}

/* Form sections */
.form-section { border-bottom: 1px solid var(--border_color); padding-bottom: 1.25rem; margin-bottom: 1.25rem; }
.form-section:last-child { border-bottom: none; }
.form-label { font-weight: 600; font-size: 14px; color: var(--heading_color); }
.form-text { color: var(--text_muted); }

/* ---------- Static (CMS) pages: prose ---------- */
.sc-prose { color: var(--text_color); font-size: 16px; line-height: 1.8; }
.sc-prose h1, .sc-prose h2, .sc-prose h3, .sc-prose h4 {
  font-weight: 700; letter-spacing: -0.02em; color: var(--heading_color);
  margin: 1.6em 0 .6em; line-height: 1.25;
}
.sc-prose h1 { font-size: 2rem; }
.sc-prose h2 { font-size: 1.6rem; }
.sc-prose h3 { font-size: 1.3rem; }
.sc-prose p { margin-bottom: 1.1em; }
.sc-prose a { color: #b5790a; text-decoration: underline; text-underline-offset: 3px; }
.sc-prose ul, .sc-prose ol { margin: 0 0 1.1em 1.2em; }
.sc-prose li { margin-bottom: .5em; }
.sc-prose img { max-width: 100%; height: auto; border-radius: var(--sc-radius); margin: 1em 0; }
.sc-prose blockquote {
  border-inline-start: 4px solid var(--primary_color);
  background: var(--swiper_background_color);
  padding: 14px 20px;
  border-radius: 0 var(--sc-radius-sm) var(--sc-radius-sm) 0;
  margin: 1.4em 0;
  color: var(--heading_color);
}
.sc-prose pre, .sc-prose code {
  background: #0f172a; color: #e2e8f0;
  border-radius: 8px; font-size: 14px;
}
.sc-prose code { padding: 2px 6px; }
.sc-prose pre { padding: 16px 18px; overflow: auto; }
.sc-prose pre code { background: transparent; padding: 0; }
.sc-prose table { width: 100%; border-collapse: collapse; margin: 1.2em 0; }
.sc-prose th, .sc-prose td { border: 1px solid var(--border_color); padding: 10px 14px; text-align: start; }
.sc-prose th { background: var(--swiper_background_color); font-weight: 700; color: var(--heading_color); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
  .item:hover { transform: none; }
  .btn:hover { transform: none; }
  .sc-footer-socials .social-btn:hover,
  .sc-footer-top:hover { transform: none; }
  .sc-item-overlay-btn { transform: none; }
}


/* ============================================================
   Yellow/black scheme: force dark ink on yellow-filled elements
   ============================================================ */
.btn.btn-primary,
.cart-counter,
.pagination .page-item.active .page-link,
.sc-trend-icon,
.sc-trend-card:hover .sc-trend-arrow,
.settings-link.active,
.dashboard-sidebar-link.current > .dashboard-sidebar-link-title,
.dashboard-sidebar-link.current > .dashboard-sidebar-link-title i,
.dashboard-balance-icon a,
.sc-marquee-item,
.sc-item-overlay-btn,
.sc-hero-search .search-input .btn,
.sc-footer-socials .social-btn:hover,
.sc-footer-top:hover,
.item-swiper .swiper-button-prev:hover,
.item-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover,
.testimonials-swiper .swiper-button-next:hover {
  color: #111111 !important;
}
.btn.btn-primary:hover,
.btn.btn-primary:focus,
.btn.btn-primary:active { color: #111111 !important; }
.btn.btn-outline-primary { color: #b5790a; }

/* ============================================================
   HOK-style home layout
   ============================================================ */

/* ---------- Hero ---------- */
.sc-hok-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #faf9f6 0%, #fff7e6 100%);
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.sc-hok-hero-blob {
  position: absolute;
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.sc-hok-hero-blob-1 { top: -80px; left: -60px; width: 260px; height: 260px; background: rgba(253, 184, 19, .16); }
.sc-hok-hero-blob-2 { bottom: -90px; right: 30%; width: 220px; height: 220px; background: rgba(17, 17, 17, .04); }
.sc-hok-hero-left { position: relative; z-index: 1; }
.sc-hok-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--heading_color);
  background: #fff;
  border: 1px solid var(--border_color);
  box-shadow: var(--sc-shadow);
  padding: 7px 16px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.sc-hok-eyebrow .fa-star { color: #fdb813; font-size: 11px; }
.sc-hok-eyebrow span { color: var(--text_muted); margin-inline-start: 4px; }
.sc-hok-hero-title {
  font-weight: 800;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: var(--heading_color);
  margin-bottom: 18px;
}
.sc-hok-hero-text {
  font-size: clamp(1rem, 1.5vw, 1.12rem);
  line-height: 1.7;
  color: var(--text_muted);
  max-width: 520px;
  margin-bottom: 26px;
}
.sc-hok-hero-search { max-width: 560px; }
.sc-hok-hero-search .search-input {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border-radius: 999px;
  padding: 6px 6px 6px 10px;
  box-shadow: 0 16px 44px rgba(17, 17, 17, .12);
  border: 1px solid var(--border_color);
}
.sc-hok-hero-search .search-input input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 15px;
  padding: 12px 14px;
  color: var(--heading_color);
}
.sc-hok-hero-search .search-input .btn {
  flex-shrink: 0;
  border-radius: 999px;
  padding: 12px 26px;
}
.sc-hok-hero-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 14px;
}
.sc-hok-hero-tags-label { color: var(--text_muted); font-weight: 600; }
.sc-hok-hero-tags a {
  color: var(--heading_color);
  background: #fff;
  border: 1px solid var(--border_color);
  padding: 5px 14px;
  border-radius: 999px;
  transition: .2s ease;
}
.sc-hok-hero-tags a:hover { background: #fdb813; border-color: #fdb813; color: #111; }

/* Hero collage */
.sc-hok-hero-right { position: relative; z-index: 1; }
.sc-hok-collage {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 460px;
  margin: 0 auto;
}
.sc-hok-collage-card {
  aspect-ratio: 1 / 1.1;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: #fff;
  box-shadow: var(--sc-shadow-lg);
}
.sc-hok-collage-1 { background: linear-gradient(135deg, #111111, #2a2a2a); transform: translateY(18px); }
.sc-hok-collage-2 { background: linear-gradient(135deg, #fdb813, #ffc83d); color: #111; }
.sc-hok-collage-3 { background: linear-gradient(135deg, #fdb813, #ffc83d); color: #111; transform: translateY(18px); }
.sc-hok-collage-4 { background: linear-gradient(135deg, #111111, #2a2a2a); }
.sc-hok-collage-chip {
  position: absolute;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--sc-shadow-lg);
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  font-size: 12px;
  color: var(--text_muted);
  z-index: 2;
}
.sc-hok-collage-rating {
  top: -14px;
  inset-inline-start: -18px;
  flex-direction: row;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  color: var(--heading_color);
}
.sc-hok-collage-rating .fa-star { color: #fdb813; }
.sc-hok-collage-rating span { color: var(--text_muted); font-weight: 500; }
.sc-hok-collage-stat { bottom: -16px; inset-inline-end: -10px; }
.sc-hok-collage-stat strong { font-size: 18px; color: var(--heading_color); letter-spacing: -0.02em; }

/* ---------- Find the right ---------- */
.sc-find-visual {
  position: relative;
  border-radius: var(--sc-radius);
  background: linear-gradient(150deg, #111111 0%, #2a2a2a 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fdb813;
  font-size: 80px;
  overflow: hidden;
}
.sc-find-visual::after {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(253, 184, 19, .35), rgba(253, 184, 19, 0) 70%);
}
.sc-find-stat {
  position: absolute;
  bottom: 18px;
  inset-inline-start: 18px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--sc-shadow-lg);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
}
.sc-find-stat strong { font-size: 22px; color: var(--heading_color); letter-spacing: -0.02em; }
.sc-find-stat span { font-size: 12px; color: var(--text_muted); }
.sc-find-text { color: var(--text_muted); line-height: 1.7; margin: 14px 0 22px; }
.sc-find-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 26px; }
.sc-find-item { display: flex; gap: 14px; align-items: flex-start; }
.sc-find-check {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 10px;
  background: #fff7e6;
  color: #b5790a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sc-find-item h6 { font-weight: 700; color: var(--heading_color); margin-bottom: 3px; }
.sc-find-item p { font-size: 14px; color: var(--text_muted); margin: 0; line-height: 1.5; }

/* ---------- Start as ---------- */
.sc-start {
  position: relative;
  overflow: hidden;
  height: 100%;
  border-radius: var(--sc-radius);
  padding: 34px 36px;
  display: flex;
  align-items: center;
}
.sc-start-body { position: relative; z-index: 1; max-width: 70%; }
.sc-start h3 { font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.sc-start p { line-height: 1.6; margin-bottom: 20px; }
.sc-start-icon {
  position: absolute;
  inset-inline-end: 18px;
  bottom: -10px;
  font-size: 120px;
  opacity: .12;
  z-index: 0;
}
.sc-start-dark { background: linear-gradient(150deg, #111111, #2a2a2a); }
.sc-start-dark h3 { color: #fff; }
.sc-start-dark p { color: #cbd5e1; }
.sc-start-dark .sc-start-icon { color: #fdb813; opacity: .18; }
.sc-start-yellow { background: linear-gradient(150deg, #fdb813, #ffc83d); }
.sc-start-yellow h3, .sc-start-yellow p { color: #422006; }
.sc-start-yellow p { opacity: .85; }
.sc-start-yellow .sc-start-icon { color: #111; }
.sc-start-btn {
  display: inline-flex;
  align-items: center;
  font-weight: 700;
  padding: 11px 24px;
  border-radius: 999px;
  transition: transform .2s ease;
}
.sc-start-btn:hover { transform: translateY(-2px); }
.sc-start-btn-yellow { background: #fdb813; color: #111; }
.sc-start-btn-yellow:hover { color: #111; }
.sc-start-btn-dark { background: #111; color: #fff; }
.sc-start-btn-dark:hover { color: #fff; }

/* ---------- Pricing ---------- */
.sc-plan {
  position: relative;
  height: 100%;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  padding: 30px 26px;
  box-shadow: var(--sc-shadow);
  transition: transform .25s ease, box-shadow .25s ease;
}
.sc-plan:hover { transform: translateY(-5px); box-shadow: var(--sc-shadow-lg); }
.sc-plan-featured { border: 2px solid #fdb813; box-shadow: 0 18px 44px rgba(253, 184, 19, .22); }
.sc-plan-badge {
  position: absolute;
  top: -12px;
  inset-inline-end: 22px;
  background: #fdb813;
  color: #111;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
}
.sc-plan-name { font-weight: 700; color: var(--heading_color); margin-bottom: 12px; }
.sc-plan-price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 20px; }
.sc-plan-amount { font-size: 34px; font-weight: 800; letter-spacing: -0.03em; color: var(--heading_color); }
.sc-plan-period { font-size: 14px; color: var(--text_muted); }
.sc-plan-features { list-style: none; padding: 0; margin: 0 0 24px; }
.sc-plan-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text_color);
  padding: 7px 0;
}
.sc-plan-features .fa-check {
  color: #b5790a;
  background: #fff7e6;
  width: 22px; height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

/* ---------- App download ---------- */
.sc-app {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #fff7e6 0%, #faf9f6 100%);
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  padding: 40px 44px;
}
.sc-app-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #b5790a;
  margin-bottom: 8px;
}
.sc-app-text { max-width: 520px; }
.sc-app-text h3 { font-weight: 800; letter-spacing: -0.02em; color: var(--heading_color); margin-bottom: 10px; }
.sc-app-text p { color: var(--text_muted); line-height: 1.6; margin-bottom: 22px; }
.sc-app-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.sc-app-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111;
  color: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  transition: transform .2s ease;
}
.sc-app-badge:hover { transform: translateY(-2px); color: #fff; }
.sc-app-badge i { font-size: 26px; }
.sc-app-badge span { display: flex; flex-direction: column; font-weight: 700; font-size: 15px; line-height: 1.1; }
.sc-app-badge small { font-weight: 500; font-size: 10px; opacity: .8; }
.sc-app-visual { font-size: 120px; color: #fdb813; }

/* ---------- Trusted by ---------- */
.sc-trusted { padding: 30px 0; }
.sc-trusted-title { text-align: center; color: var(--text_muted); font-weight: 600; margin-bottom: 22px; }
.sc-trusted-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 5vw, 56px);
}
.sc-trusted-logo {
  display: inline-flex;
  align-items: center;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #9ca3af;
  filter: grayscale(1);
  transition: color .2s ease;
}
.sc-trusted-logo:hover { color: var(--heading_color); }

@media (max-width: 991px) {
  .sc-hok-collage { margin-top: 30px; }
  .sc-start-body { max-width: 100%; }
  .sc-app-visual { display: none; }
}

/* ============================================================
   Testimonials grid (sc-tst) + Recommended Products (sc-rec)
   ============================================================ */

/* ---------- Testimonials ---------- */
.sc-tst-head { margin-bottom: 8px; }
.sc-tst {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius-sm);
  box-shadow: var(--sc-shadow);
  padding: 16px 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.sc-tst:hover { transform: translateY(-4px); box-shadow: var(--sc-shadow-lg); }
.sc-tst-quote { font-size: 15px; color: #fdb813; margin-bottom: 6px; }
.sc-tst-title { font-weight: 700; font-size: 13px; color: var(--heading_color); margin-bottom: 6px; line-height: 1.3; }
.sc-tst-text { font-size: 12px; line-height: 1.55; color: var(--text_muted); margin-bottom: 12px; }
.sc-tst-foot {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--border_color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sc-tst-author { display: flex; align-items: center; gap: 8px; }
.sc-tst-avatar { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.sc-tst-name { font-weight: 700; font-size: 12px; color: var(--heading_color); margin: 0; line-height: 1.2; }
.sc-tst-handle { font-size: 11px; color: #b5790a; }
.sc-tst-meta { display: flex; align-items: center; justify-content: space-between; }
.sc-tst-date { font-size: 10px; color: var(--text_muted); }
.sc-tst-stars { color: #fdb813; font-size: 10px; letter-spacing: .5px; }

/* ---------- Recommended Products ---------- */
.sc-rec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 8px;
}
.sc-rec-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  color: #7a5a00;
  background: #fff;
  border: 1px solid #fde9b8;
  padding: 6px 18px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.sc-rec-title { font-weight: 800; letter-spacing: -0.03em; color: var(--heading_color); font-size: clamp(1.6rem, 3.4vw, 2.4rem); margin: 0; }
.sc-rec-tabs { display: flex; gap: 4px; background: #fff; border: 1px solid var(--border_color); border-radius: 999px; padding: 5px; }
.sc-rec-tab {
  font-size: 14px;
  font-weight: 600;
  color: var(--text_muted);
  padding: 8px 18px;
  border-radius: 999px;
  transition: .2s ease;
}
.sc-rec-tab:hover { color: var(--heading_color); }
.sc-rec-tab.active { background: var(--heading_color); color: #fff; }

.sc-rec-filter {
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  box-shadow: var(--sc-shadow);
  overflow: hidden;
}
.sc-rec-filter-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  color: var(--heading_color);
  padding: 18px 22px;
  border-bottom: 1px solid var(--border_color);
}
.sc-rec-filter-group { padding: 18px 22px; border-bottom: 1px solid var(--border_color); }
.sc-rec-filter-last { border-bottom: none; }
.sc-rec-filter-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 700;
  font-size: 15px;
  color: var(--heading_color);
  margin-bottom: 14px;
}
.sc-rec-filter-title i { color: var(--text_muted); font-size: 12px; }
.sc-rec-tag {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  color: var(--text_color);
  font-size: 14px;
  transition: color .2s ease;
}
.sc-rec-tag:hover { color: #b5790a; }
.sc-rec-radio {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--border_color);
  position: relative;
  transition: border-color .2s ease;
}
.sc-rec-tag:hover .sc-rec-radio { border-color: #fdb813; }
.sc-rec-radio.checked { border-color: #fdb813; }
.sc-rec-radio.checked::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #fdb813;
}
.sc-rec-price-label { font-size: 13px; color: var(--text_muted); margin: 6px 0 14px; }
.sc-rec-price-btn { border-radius: var(--sc-radius-sm); }

/* ============================================================
   Unified section titles + section backgrounds
   ============================================================ */
.section-title-text,
.sc-section-title,
.sc-rec-title {
  font-size: 26px !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
}

.sc-section-bg {
  background: linear-gradient(135deg, #faf9f6 0%, #fff7e6 100%);
}

/* ---------- Auth popups (Sign In / Sign Up) ---------- */
.sc-auth-modal .modal-content {
  border: none;
  border-radius: var(--sc-radius);
  box-shadow: 0 24px 60px rgba(17, 17, 17, .25);
}
.sc-auth-modal .modal-header { padding: 24px 24px 0; align-items: flex-start; }
.sc-auth-modal .modal-body { padding: 16px 24px 24px; }
.sc-auth-modal .sign-box-title { font-weight: 800; letter-spacing: -0.02em; }
.sc-auth-modal .form-label { font-weight: 600; font-size: 14px; color: var(--heading_color); }

/* ---------- Auth popup error box ---------- */
.sc-auth-errors {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: var(--sc-radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 16px;
}
.sc-auth-errors > div { padding: 1px 0; }

/* ---------- Second navbar (category menu) ---------- */
.nav-bar.nav-bar-bg { background-color: #f4f4f5; border-top: 1px solid #ececec; }

/* readable menu text (was too faded) */
.nav-bar-bg .nav-bar-links .link .link-title,
.nav-bar-bg .nav-bar-links .link .link-title span,
.nav-bar-bg .drop-down-btn {
  color: #1f2937;
  font-weight: 600;
  font-size: 14px;
}
.nav-bar-bg .nav-bar-links .link:hover .link-title,
.nav-bar-bg .nav-bar-links .link:hover .link-title span,
.nav-bar-bg .nav-bar-links .link.active .link-title,
.nav-bar-bg .drop-down:hover .drop-down-btn,
.nav-bar-bg .drop-down-btn:hover {
  color: #b5790a;
}
/* dropdown caret follows the text colour */
.nav-bar-bg .drop-down-btn i { color: inherit; opacity: .7; }

@media (min-width: 1200px) {
  .nav-bar-bg .nav-bar-links { align-items: center; }
  .nav-bar-bg .nav-bar-links > .link,
  .nav-bar-bg .nav-bar-links > .drop-down {
    margin-inline-end: 10px;
  }
}

/* ============================================================
   Footer — HOK style (background image, 4 columns)
   ============================================================ */
.sc-foot {
  position: relative;
  background: #0c0c0c url('../../images/footer-bg.svg') center / cover no-repeat;
  color: #a3a3a3;
  overflow: hidden;
}
.sc-foot-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .6) 100%);
  pointer-events: none;
}
.sc-foot-main { position: relative; padding: 64px 0 44px; }
.sc-foot-logo img { height: 44px; width: auto; }
.sc-foot-about { color: #a3a3a3; line-height: 1.7; margin: 22px 0 0; max-width: 360px; font-size: 14px; }

/* socials with labels */
.sc-foot-socials { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.sc-foot-social { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; color: #a3a3a3; transition: color .2s ease; }
.sc-foot-social-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1);
  font-size: 16px; transition: .2s ease;
}
.sc-foot-social-label { font-size: 13px; }
.sc-foot-social:hover { color: #fdb813; }
.sc-foot-social:hover .sc-foot-social-icon {
  background: linear-gradient(135deg, #fdb813, #ffc83d);
  border-color: transparent; color: #111; transform: translateY(-2px);
}

/* column titles + links */
.sc-foot-title {
  position: relative;
  color: #fff; font-weight: 700; font-size: 16px;
  padding-inline-start: 14px; margin-bottom: 20px;
}
.sc-foot-title::before {
  content: ''; position: absolute; inset-inline-start: 0; top: 3px;
  width: 4px; height: 15px; border-radius: 2px;
  background: linear-gradient(180deg, #fdb813, #e6a40f);
}
.sc-foot-links li { margin-bottom: 12px; }
.sc-foot-links a { color: #a3a3a3; font-size: 14px; transition: color .2s ease, padding-inline-start .2s ease; }
.sc-foot-links a:hover { color: #fdb813; padding-inline-start: 4px; }

/* newsletter */
.sc-foot-news {
  display: flex; align-items: center; gap: 6px;
  background: #fff; border-radius: var(--sc-radius-sm); padding: 5px 5px 5px 4px;
  max-width: 320px;
}
.sc-foot-news input {
  flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
  font-size: 14px; padding: 9px 12px; color: #111;
}
.sc-foot-news .btn {
  flex-shrink: 0; border-radius: 8px; padding: 9px 16px;
  background-image: linear-gradient(135deg, #fdb813, #ffc83d) !important;
  color: #111 !important; border: none;
}

/* payment */
.sc-foot-pay { background: #fff; border-radius: var(--sc-radius-sm); padding: 12px 14px; display: inline-block; max-width: 340px; }
.sc-foot-pay img { max-width: 100%; height: auto; }

/* bottom bar */
.sc-foot-bottom-wrap { position: relative; border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px 0; }
.sc-foot-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; }
.sc-foot-copy { color: #a3a3a3; font-size: 14px; }
.sc-foot-bottom-links { display: flex; flex-wrap: wrap; gap: 24px; }
.sc-foot-bottom-links a { color: #a3a3a3; font-size: 14px; transition: color .2s ease; }
.sc-foot-bottom-links a:hover { color: #fdb813; }
.sc-foot-top {
  width: 42px; height: 42px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  color: #111; background: linear-gradient(135deg, #fdb813, #ffc83d);
  border: none; transition: transform .2s ease;
}
.sc-foot-top:hover { transform: translateY(-3px); color: #111; }

@media (max-width: 575px) {
  .sc-foot-bottom { justify-content: center; text-align: center; }
  .sc-foot-socials { gap: 16px; }
}

/* ============================================================
   Category page (Envato style) + Live Preview button
   ============================================================ */
/* Live Preview button: text on roomy grids, icon-only on dense (5-6/row) */
.sc-item-preview { white-space: nowrap; }
.sc-item-preview-text { display: none; }
@media (min-width: 1200px) {
  .sc-item-preview-text { display: inline; }
}
.row-cols-xl-6 .sc-item-preview-text,
.row-cols-xxl-5 .sc-item-preview-text { display: none !important; }

/* On-sale promo banner */
.sc-cat-promo {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: center;
  background: var(--header_background_color);
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius);
  padding: 28px;
}
.sc-cat-promo-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--heading_color);
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  margin-bottom: 18px;
}
@media (max-width: 991px) {
  .sc-cat-promo { grid-template-columns: 1fr; }
}

/* Section heading with View-all */
.sc-cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 22px;
}
.sc-cat-head .section-title-text { font-size: 26px !important; font-weight: 700 !important; letter-spacing: -0.02em; }

/* ============================================================
   Compact category/listing header (header_v4) — search on the right
   ============================================================ */
.header.header-bg.sc-header {
  background: linear-gradient(135deg, #fafafa 0%, #f3f4f6 100%);
  border-bottom: 1px solid var(--border_color);
}
.sc-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding: 24px 0;
}
.sc-header-text { flex: 1 1 320px; min-width: 0; }
.sc-header .header-title {
  font-weight: 800;
  font-size: clamp(1.6rem, 2.6vw, 2rem);
  letter-spacing: -0.02em;
  color: var(--heading_color);
  margin: 6px 0 0;
}
.sc-header-desc { color: var(--text_muted); margin: 8px 0 0; max-width: 760px; font-size: 14px; line-height: 1.6; }
.sc-header-search { flex: 0 0 auto; width: 100%; max-width: 440px; }
.sc-header-search .search-input {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1px solid var(--border_color);
  border-radius: var(--sc-radius-sm);
  padding: 5px 5px 5px 8px;
  box-shadow: var(--sc-shadow);
}
.sc-header-search .search-input input {
  flex: 1;
  min-width: 0;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  background: transparent;
  font-size: 14px;
  padding: 9px 10px;
  color: var(--heading_color);
}
.sc-header-search .search-input .btn {
  position: static;
  flex-shrink: 0;
  transform: none;
  border-radius: 8px;
  padding: 9px 18px;
}
@media (min-width: 992px) {
  .sc-header-search { width: 440px; }
}
@media (max-width: 991px) {
  .sc-header-inner { align-items: flex-start; }
  .sc-header-search { max-width: none; }
}

/* ---------- Item preview: iframe-blocked fallback ---------- */
.preview-body { position: relative; }
.preview-fallback {
  display: none;
  position: absolute;
  inset: 0;
  z-index: 5;
  background: var(--background_color);
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.preview-fallback.show { display: flex; }
.preview-fallback-box { max-width: 460px; text-align: center; }
.preview-fallback-icon { font-size: 46px; color: #ef4444; margin-bottom: 16px; }
.preview-fallback-box h4 { font-weight: 700; color: var(--heading_color); margin-bottom: 10px; }
.preview-fallback-box p { color: var(--text_muted); line-height: 1.6; margin-bottom: 22px; }
