@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@500;600;700&family=DM+Sans:wght@400;500;700&display=swap");

:root {
  --cc-orange: #cd8b6d;
  --cc-grey: #4f4e4c;
  --cc-green: #898d75;
  --cc-light-grey: #8b9497;
  --cc-beige: #f8f2eb;
  --cc-cream: #fffdf9;
  --cc-border: rgba(79, 78, 76, 0.12);
  --cc-border-strong: rgba(79, 78, 76, 0.2);
  --cc-shadow-soft: 0 18px 40px rgba(79, 78, 76, 0.08);
  --cc-shadow-card: 0 24px 48px rgba(79, 78, 76, 0.12);
  --cc-shadow-hover: 0 30px 55px rgba(79, 78, 76, 0.16);
  --cc-radius-xl: 34px;
  --cc-radius-lg: 28px;
  --cc-radius-md: 18px;
  --cc-radius-sm: 999px;
}

html {
  scroll-padding-top: 6rem;
}

body {
  background: var(--cc-beige);
  color: var(--cc-grey);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.7;
}

body,
input,
select,
textarea,
button {
  font-family: "DM Sans", Arial, sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
.product-thumb h4,
.category-thumb h4,
.cc-product-card__content h3,
.cc-footer-bridge__title,
.cc-footer h3,
.cc-footer h4,
.cc-header__name {
  color: var(--cc-grey);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.01em;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--cc-grey);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover,
a:focus {
  color: var(--cc-orange);
}

img {
  max-width: 100%;
}

.form-control,
.form-select,
input[type="text"],
input[type="email"],
input[type="search"],
input[type="tel"],
input[type="password"],
textarea,
select {
  border: 1px solid var(--cc-border);
  border-radius: 18px;
  background: rgba(255, 253, 249, 0.92);
  color: var(--cc-grey);
  box-shadow: none;
}

.form-control:focus,
.form-select:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="search"]:focus,
input[type="tel"]:focus,
input[type="password"]:focus,
textarea:focus,
select:focus {
  border-color: rgba(205, 139, 109, 0.48);
  box-shadow: 0 0 0 0.18rem rgba(205, 139, 109, 0.14);
}

.btn,
button,
input[type="button"],
input[type="submit"] {
  border-radius: var(--cc-radius-sm);
  border: 1px solid transparent;
  box-shadow: 0 10px 20px rgba(79, 78, 76, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.btn:hover,
.btn:focus,
button:hover,
button:focus,
input[type="button"]:hover,
input[type="button"]:focus,
input[type="submit"]:hover,
input[type="submit"]:focus {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(79, 78, 76, 0.14);
}

.btn-primary,
.btn-primary:active,
.btn-primary:first-child:active,
.cc-product-card__button {
  background: var(--cc-orange);
  border-color: var(--cc-orange);
  color: #ffffff;
}

.btn-primary:hover,
.btn-primary:focus,
.cc-product-card__button:hover,
.cc-product-card__button:focus {
  background: #bf7d5f;
  border-color: #bf7d5f;
  color: #ffffff;
}

.btn-secondary,
.btn-outline-secondary,
.btn-light {
  background: rgba(137, 141, 117, 0.12);
  border-color: rgba(137, 141, 117, 0.24);
  color: var(--cc-grey);
}

.btn-outline-secondary:hover,
.btn-outline-secondary:focus,
.btn-secondary:hover,
.btn-secondary:focus,
.btn-light:hover,
.btn-light:focus {
  background: var(--cc-green);
  border-color: var(--cc-green);
  color: #ffffff;
}

.btn-link {
  box-shadow: none;
  color: var(--cc-orange);
}

#top,
header,
.navbar,
.cc-header {
  background: rgba(255, 253, 249, 0.92);
  color: var(--cc-grey);
}

/* Narrow utility strip — beat OpenCart stylesheet.css which sets
   #top .list-inline-item > a { line-height: 40px; padding: 10px 0 5px }. */
#top {
  padding-top: 0.2rem !important;
  padding-bottom: 0.2rem !important;
  margin-bottom: 0.75rem;
  min-height: 0;
  line-height: 1.2;
}

#top,
.cc-header {
  border-bottom: 1px solid var(--cc-border);
}

#top .container > .row {
  align-items: center;
  min-height: 0;
  row-gap: 0.2rem;
}

#top .list-inline {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 0.75rem;
  margin-bottom: 0 !important;
  padding: 0;
  font-size: 0.8rem;
  line-height: 1.2;
}

#top .list-inline-item {
  margin-right: 0 !important;
  vertical-align: middle;
  line-height: 1.2;
}

#top a,
#top .list-inline-item > a,
#top .list-inline-item .dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  padding: 0.15rem 0 !important;
  vertical-align: middle;
  text-decoration: none;
}

/* Promo strip retired — hide any leftover server-rendered markup. */
.cc-header-promo {
  display: none !important;
}

/* Search relocated into the top utility bar (left). */
#top .cc-top-search {
  display: flex;
  align-items: center;
  max-width: 18rem;
  width: 100%;
  padding: 0;
}

#top .cc-top-search form {
  display: flex;
  width: 100%;
  margin: 0 !important;
}

#top .cc-top-search .input-group {
  width: 100%;
  margin-bottom: 0 !important;
}

#top .cc-top-search .form-control,
#top .cc-top-search .form-control-lg {
  min-height: 1.7rem !important;
  height: 1.7rem !important;
  padding: 0.15rem 0.7rem !important;
  font-size: 0.8rem !important;
  line-height: 1.2 !important;
  border-radius: 999px 0 0 999px;
}

#top .cc-top-search .btn,
#top .cc-top-search .btn-lg {
  padding: 0.15rem 0.65rem !important;
  min-height: 1.7rem !important;
  height: 1.7rem !important;
  border-radius: 0 999px 999px 0;
  box-shadow: none;
  font-size: 0.8rem !important;
  line-height: 1 !important;
}

#top .cc-top-search .btn:hover,
#top .cc-top-search .btn:focus {
  transform: none;
}

/* Logo row: logo left, category pill center/right, cart pinned far right. */
header .row.cc-header-row,
html.cc-header-rearranged header .container > .row {
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 0.75rem 1rem;
}

html.cc-header-rearranged header .container > .row > [class*="col-md-3"],
html.cc-header-rearranged header .container > .row > [class*="col-lg-4"],
html.cc-header-rearranged .cc-header-logo-col {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  order: 1;
}

html.cc-header-rearranged .cc-header-menu-col {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  order: 2;
}

html.cc-header-rearranged #cart,
html.cc-header-rearranged .cc-header-cart-col {
  position: relative;
  z-index: 1200;
  flex: 0 0 auto;
  width: auto !important;
  max-width: none;
  margin-left: auto !important;
  margin-bottom: 0 !important;
  order: 3;
}

html.cc-header-rearranged #cart .dropdown {
  position: relative;
  z-index: 1200;
  display: inline-flex !important;
  width: auto;
}

html.cc-header-rearranged #cart .d-grid {
  display: inline-flex !important;
  grid-template-columns: none;
}

/* Compact header cart — icon + count badge; hover opens cart contents. */
#cart .cc-cart-icon-btn {
  position: relative;
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 2.85rem;
  height: 2.85rem;
  padding: 0 !important;
  border-radius: 999px !important;
  background: var(--cc-grey);
  border-color: var(--cc-grey);
  color: #fff;
  box-shadow: 0 8px 18px rgba(79, 78, 76, 0.12);
  line-height: 1;
}

#cart .cc-cart-icon-btn::after {
  display: none !important; /* hide bootstrap caret */
}

#cart .cc-cart-icon-btn:hover,
#cart .cc-cart-icon-btn:focus,
#cart .show > .cc-cart-icon-btn {
  background: #3b3a38;
  border-color: #3b3a38;
  color: #fff;
  transform: translateY(-1px);
}

#cart .cc-cart-icon-btn .fa-cart-shopping {
  font-size: 1rem;
}

#cart .cc-cart-badge {
  position: absolute;
  top: -0.3rem;
  right: -0.3rem;
  min-width: 1.2rem;
  height: 1.2rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--cc-orange);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  line-height: 1.2rem;
  text-align: center;
  box-shadow: 0 0 0 2px #fffdf9;
}

/* Cart contents panel — always above page content, directly under icon. */
html.cc-header-rearranged header,
header {
  position: relative;
  z-index: 1100;
  overflow: visible !important;
}

html.cc-header-rearranged header .container,
html.cc-header-rearranged header .row,
html.cc-header-rearranged header .cc-header-row {
  overflow: visible !important;
}

#cart .dropdown-menu {
  position: absolute !important;
  top: calc(100% + 0.4rem) !important;
  right: 0 !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 1300 !important;
  display: none;
  min-width: 18rem;
  max-width: min(22rem, calc(100vw - 1.5rem));
  padding: 0.75rem !important;
  margin: 0 !important;
  border: 1px solid var(--cc-border);
  border-radius: 0.85rem;
  background: #fffdf9 !important;
  color: var(--cc-grey);
  box-shadow: 0 18px 42px rgba(79, 78, 76, 0.2);
}

#cart .dropdown:hover > .dropdown-menu,
#cart .dropdown.show > .dropdown-menu,
#cart .dropdown-menu.show {
  display: block;
}

#cart .dropdown-menu li {
  min-width: 0;
}

#cart .dropdown-menu .table {
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

#cart .dropdown-menu .img-thumbnail {
  min-width: 3rem;
  max-width: 3rem;
  height: auto;
}

html.cc-header-rearranged header #menu.navbar,
html.cc-header-rearranged header #menu.navbar.bg-primary {
  margin-top: 0;
  margin-bottom: 0;
  width: fit-content;
  max-width: 100%;
}

html.cc-header-rearranged header {
  padding-top: 0.85rem;
  padding-bottom: 1.35rem;
}

/* Breathing room between the header box and page content. */
html.cc-header-rearranged main {
  padding-top: 1.5rem;
}

html.cc-header-rearranged main > .container:empty {
  display: none;
}

/* Default OpenCart chrome → Cast & Create brand (until full .cc-header lands). */
header {
  padding: 1.1rem 0 0.85rem;
  border-bottom: 1px solid var(--cc-border);
  background: rgba(255, 253, 249, 0.94);
  backdrop-filter: blur(14px);
}

#logo img {
  max-height: 4.5rem;
  width: auto;
}

#menu.navbar,
#menu.navbar.bg-primary {
  --bs-navbar-color: #4f4e4c;
  --bs-navbar-hover-color: #cd8b6d;
  --bs-navbar-active-color: #4f4e4c;
  --bs-navbar-brand-color: #4f4e4c;
  --bs-navbar-brand-hover-color: #cd8b6d;
  --bs-dropdown-link-color: #4f4e4c;
  --bs-dropdown-link-hover-color: #cd8b6d;
  --bs-dropdown-link-active-color: #4f4e4c;
  --bs-dropdown-link-hover-bg: rgba(205, 139, 109, 0.12);
  margin-top: 0.65rem;
  margin-bottom: 0.55rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--cc-border);
  border-radius: 999px;
  background: #fffdf9 !important;
  background-color: #fffdf9 !important;
  box-shadow: var(--cc-shadow-soft);
}

/* OC top categories render as .dropdown-item, not .nav-link. */
#menu.navbar .nav-link,
#menu.navbar .navbar-nav .nav-link,
#menu.navbar.bg-primary .nav-link,
#menu.navbar .navbar-nav .dropdown-item,
#menu.navbar .dropdown-item,
#menu.navbar .nav-item > a,
#menu.navbar .navbar-toggler,
#menu #category {
  color: #4f4e4c !important;
  font-weight: 600;
}

#menu.navbar .nav-link:hover,
#menu.navbar .nav-link:focus,
#menu.navbar .nav-link.show,
#menu.navbar .navbar-nav .nav-link:hover,
#menu.navbar .navbar-nav .nav-link:focus,
#menu.navbar .navbar-nav .dropdown-item:hover,
#menu.navbar .navbar-nav .dropdown-item:focus,
#menu.navbar .dropdown-item:hover,
#menu.navbar .dropdown-item:focus,
#menu.navbar .nav-item > a:hover,
#menu.navbar .nav-item > a:focus {
  color: #cd8b6d !important;
  background-color: transparent;
}

#menu.navbar .dropdown-menu {
  --bs-dropdown-link-color: #4f4e4c;
  --bs-dropdown-link-hover-color: #cd8b6d;
  border: 1px solid var(--cc-border);
  border-radius: 1.1rem;
  background: var(--cc-cream);
  box-shadow: var(--cc-shadow-card);
}

#menu.navbar .dropdown-menu .dropdown-item {
  color: #4f4e4c !important;
}

/* Compact grouped pill: Home + Collections + Themes */
#menu.navbar.cc-menu-grouped {
  padding: 0.35rem 0.55rem 0.35rem 0.45rem;
}

#menu.navbar.cc-menu-grouped .navbar-nav {
  align-items: center;
  flex-wrap: nowrap;
  gap: 0.1rem;
}

#menu.navbar.cc-menu-grouped .nav-link,
#menu.navbar.cc-menu-grouped .dropdown-toggle {
  padding: 0.45rem 0.7rem;
  border-radius: 999px;
  white-space: nowrap;
}

#menu.navbar.cc-menu-grouped .cc-nav-home {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.15rem;
  height: 2.15rem;
  padding: 0;
  margin-right: 0.15rem;
  border-radius: 999px;
  color: var(--cc-grey) !important;
}

#menu.navbar.cc-menu-grouped .cc-nav-home:hover,
#menu.navbar.cc-menu-grouped .cc-nav-home:focus {
  color: var(--cc-orange) !important;
  background: rgba(205, 139, 109, 0.12);
}

#menu.navbar.cc-menu-grouped .cc-nav-home .fa-house {
  font-size: 0.95rem;
}

#menu.navbar.cc-menu-grouped .dropdown-menu {
  margin-top: 0.35rem;
  min-width: 14rem;
  padding: 0.45rem;
}

#menu.navbar.cc-menu-grouped .dropdown-menu .dropdown-item {
  border-radius: 0.65rem;
  padding: 0.55rem 0.75rem;
  font-weight: 600;
}

#cart .btn-dark {
  background: var(--cc-grey);
  border-color: var(--cc-grey);
  border-radius: var(--cc-radius-sm);
}

/* GBP only — hide currency switcher chrome. */
#form-currency {
  display: none !important;
}

.cc-currency-static {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--cc-grey);
  font-size: 0.92rem;
  font-weight: 600;
}

.cc-currency-static strong {
  color: var(--cc-orange);
  font-size: 1.05rem;
}

#logo img.cc-brand-logo,
#logo img {
  max-height: 4.75rem;
  width: auto;
  object-fit: contain;
}

/* Full-bleed shop hero (matches WordPress homepage language). */
.cc-shop-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: min(58svh, 30rem);
  margin: 0 0 2rem;
  overflow: hidden;
  background: #3f3d3b;
  color: var(--cc-grey);
  text-align: left;
}

.cc-shop-hero__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.cc-shop-hero__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
}

.cc-shop-hero__wash {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(248, 242, 235, 0.94) 0%, rgba(248, 242, 235, 0.78) 38%, rgba(248, 242, 235, 0.28) 68%, rgba(79, 78, 76, 0.22) 100%),
    linear-gradient(180deg, rgba(248, 242, 235, 0.18) 0%, rgba(248, 242, 235, 0.55) 100%);
}

.cc-shop-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(1.75rem, 3.5vw, 2.75rem) 0 clamp(2rem, 4.5vw, 3.25rem);
  text-align: left;
}

.cc-shop-hero__content {
  max-width: 38rem;
  margin: 0;
  text-align: left;
}

.cc-shop-hero__brand {
  margin: 0 0 0.55rem;
  color: var(--cc-grey);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-align: left;
}

.cc-shop-hero__keywords {
  margin: 0 0 1rem;
  color: var(--cc-light-grey);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-align: left;
}

.cc-shop-hero__keywords .cc-kw--cast { color: var(--cc-grey); }
.cc-shop-hero__keywords .cc-kw--paint { color: var(--cc-green); }
.cc-shop-hero__keywords .cc-kw--create { color: var(--cc-orange); }

.cc-shop-hero__title {
  margin: 0 0 0.85rem;
  color: var(--cc-grey);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4.4vw, 3.1rem);
  font-weight: 600;
  line-height: 1.12;
  text-align: left;
}

.cc-shop-hero__lead {
  margin: 0 0 1.5rem;
  max-width: 32rem;
  color: var(--cc-grey);
  font-size: 1.05rem;
  line-height: 1.65;
  text-align: left;
}

.cc-shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem;
}

.cc-button,
a.cc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  background: var(--cc-orange);
  border: 2px solid var(--cc-orange);
  color: #fffdf9 !important;
  font-weight: 600;
  text-decoration: none !important;
  box-shadow: 0 16px 34px rgba(205, 139, 109, 0.22);
}

.cc-button:hover,
.cc-button:focus,
a.cc-button:hover,
a.cc-button:focus {
  background: #bf7d5f;
  border-color: #bf7d5f;
  color: #fffdf9 !important;
  transform: translateY(-2px);
}

.cc-button--ghost,
a.cc-button--ghost {
  background: transparent;
  border-color: var(--cc-grey);
  color: var(--cc-grey) !important;
  box-shadow: none;
}

.cc-button--ghost:hover,
.cc-button--ghost:focus,
a.cc-button--ghost:hover,
a.cc-button--ghost:focus {
  background: rgba(255, 253, 249, 0.55);
  border-color: var(--cc-orange);
  color: var(--cc-orange) !important;
}

#carousel-banner-0[data-cc-hidden],
.carousel[data-cc-hidden] {
  display: none !important;
}

/* Hide the stock OpenCart Featured band once branded home sections are present. */
html.cc-home-bands-active #content > h3.cc-stock-featured-heading,
html.cc-home-bands-active #content > h3.cc-stock-featured-heading + .row {
  display: none !important;
}

.cc-home-bands {
  display: grid;
  gap: clamp(2.75rem, 5vw, 4.5rem);
  margin: clamp(1.75rem, 3vw, 2.75rem) 0 1rem;
}

.cc-home-section {
  position: relative;
  padding: clamp(1.5rem, 3vw, 2.25rem) 0 0;
}

.cc-home-section--collections {
  padding-top: clamp(0.5rem, 2vw, 1rem);
}

.cc-home-section__header {
  max-width: 40rem;
  margin-bottom: 1.5rem;
}

.cc-home-section__eyebrow {
  margin: 0 0 0.7rem;
  color: var(--cc-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.cc-home-section__title {
  margin: 0 0 0.65rem;
  color: var(--cc-grey);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 3.4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.1;
}

.cc-home-section__copy {
  margin: 0;
  color: rgba(79, 78, 76, 0.84);
  font-size: 1.02rem;
  line-height: 1.65;
}

.cc-home-section__actions {
  display: flex;
  justify-content: flex-start;
  margin-top: 1.25rem;
}

.cc-home-section__link {
  display: inline-flex;
  align-items: center;
  margin-top: 0.85rem;
  color: var(--cc-orange);
  font-weight: 700;
  text-decoration: none;
}

.cc-home-section__link:hover,
.cc-home-section__link:focus {
  color: #bf7d5f;
}

.cc-home-collections {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.cc-home-collection {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 242, 235, 0.92));
  box-shadow: var(--cc-shadow-soft);
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.cc-home-collection:hover,
.cc-home-collection:focus-within {
  transform: translateY(-4px);
  border-color: rgba(205, 139, 109, 0.28);
  box-shadow: var(--cc-shadow-hover);
}

.cc-home-collection__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #ebe4db;
  line-height: 0;
}

.cc-home-collection__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cc-home-collection:hover .cc-home-collection__media img,
.cc-home-collection:focus-within .cc-home-collection__media img {
  transform: scale(1.04);
}

.cc-home-collection__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  padding: 1.25rem 1.35rem 1.4rem;
}

.cc-home-collection__title {
  margin: 0 0 0.45rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.55rem;
  line-height: 1.15;
}

.cc-home-collection__title a {
  color: var(--cc-grey);
  text-decoration: none;
}

.cc-home-collection__copy {
  margin: 0;
  color: var(--cc-light-grey);
  flex: 1 1 auto;
}

.cc-home-product-grid {
  --bs-gutter-x: 1.25rem;
}

@media (max-width: 991.98px) {
  .cc-home-collections {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .cc-shop-hero {
    min-height: min(52svh, 26rem);
    align-items: center;
  }

  .cc-home-collections {
    grid-template-columns: minmax(0, 1fr);
  }

  .cc-shop-hero__inner {
    padding-top: 1.5rem;
  }

  .cc-shop-hero__content {
    max-width: none;
  }
}

.cc-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}

.cc-header.is-scrolled {
  background: rgba(248, 242, 235, 0.9);
  box-shadow: 0 14px 36px rgba(79, 78, 76, 0.08);
}

.cc-header.is-morphing .cc-header__inner {
  position: relative;
  display: block;
  text-align: left;
}

.cc-header.is-morphing .cc-header__brand {
  display: contents;
}

.cc-header.is-morphing .cc-header__logo,
.cc-header.is-morphing .cc-header__tagline,
.cc-header.is-morphing .cc-header__brand-copy,
.cc-header.is-morphing .cc-header__bar {
  position: absolute;
  left: 0;
  top: 0;
  margin: 0;
  will-change: transform, width, opacity;
}

.cc-header.is-morphing .cc-header__logo {
  max-height: none;
  height: auto;
}

.cc-header-promo {
  display: none !important;
  background: linear-gradient(135deg, rgba(205, 139, 109, 0.18), rgba(137, 141, 117, 0.24));
  border-bottom: 1px solid rgba(79, 78, 76, 0.08);
  color: var(--cc-grey);
  font-size: 0.9rem;
}

.cc-header-promo .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.35rem;
  flex-wrap: wrap;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
  text-align: center;
}

.cc-header-promo__eyebrow {
  color: var(--cc-green);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cc-header-promo__text {
  font-weight: 500;
}

.cc-header-promo__actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.cc-header-promo__link {
  border-radius: var(--cc-radius-sm);
  padding: 0.5rem 0.95rem;
  background: rgba(255, 253, 249, 0.9);
  border: 1px solid rgba(79, 78, 76, 0.1);
  color: var(--cc-grey);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.cc-header-promo__link:hover,
.cc-header-promo__link:focus {
  border-color: rgba(205, 139, 109, 0.42);
  color: var(--cc-orange);
}

.cc-header__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.95rem;
  padding-top: 1.15rem;
  padding-bottom: 1.25rem;
  text-align: center;
}

.cc-header.is-scrolled:not(.is-morphing) .cc-header__inner {
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 0.7rem;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  text-align: left;
}

.cc-header__brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-decoration: none;
  flex: 0 0 auto;
}

.cc-header.is-scrolled:not(.is-morphing) .cc-header__brand {
  align-items: flex-start;
}

.cc-header__logo {
  display: block;
  width: clamp(148px, 16vw, 210px);
  max-height: none;
  height: auto;
  margin-inline: auto;
}

.cc-header.is-scrolled:not(.is-morphing) .cc-header__logo {
  width: 52px;
  max-height: 2.85rem;
  margin-inline: 0;
  object-fit: contain;
}

.cc-header.is-scrolled:not(.is-morphing) .cc-header__brand-copy,
.cc-header.is-scrolled:not(.is-morphing) .cc-header__tagline {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0;
  pointer-events: none;
}

.cc-header.is-scrolled:not(.is-morphing) .cc-header__bar {
  margin-inline: 0;
}

.cc-header__bar {
  box-sizing: border-box;
}

.cc-header__brand-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.12rem;
}

.cc-header__name {
  font-size: 1.95rem;
  line-height: 1;
}

.cc-header__tagline {
  color: var(--cc-light-grey);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.cc-header__bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem 1.05rem;
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
  padding: 0.55rem 1rem;
  border: 1px solid rgba(79, 78, 76, 0.08);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.9);
  backdrop-filter: blur(12px);
}

.cc-header__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.1rem;
  flex-wrap: wrap;
}

.cc-header__nav a {
  color: var(--cc-grey);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.cc-header__nav a.is-current,
.cc-header__nav a:hover,
.cc-header__nav a:focus {
  color: var(--cc-orange);
}

.cc-header__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cc-header__search {
  min-width: 180px;
}

.cc-header__search .form-control {
  border-radius: var(--cc-radius-sm);
}

.cc-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-sm);
  padding: 0.7rem 1.1rem;
  background: var(--cc-cream);
  color: var(--cc-grey);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.cc-chip:hover,
.cc-chip:focus {
  transform: translateY(-1px);
  border-color: rgba(205, 139, 109, 0.5);
  box-shadow: var(--cc-shadow-soft);
}

.cc-chip--accent {
  background: var(--cc-orange);
  border-color: var(--cc-orange);
  color: #ffffff;
}

/* Pill + sidebar already cover navigation — hide redundant breadcrumb bar. */
.breadcrumb,
ul.breadcrumb,
nav[aria-label="breadcrumb"],
#product-category > .breadcrumb,
#product-product > .breadcrumb,
#product-search > .breadcrumb,
#product-special > .breadcrumb,
#checkout-cart > .breadcrumb,
#checkout-checkout > .breadcrumb,
#account-account > .breadcrumb,
#information-information > .breadcrumb {
  display: none !important;
}

/* Category sidebar: replace Bootstrap blue active state with brand palette */
#column-left .list-group-item,
#column-right .list-group-item {
  border-color: var(--cc-border);
  background: rgba(255, 253, 249, 0.96);
  color: var(--cc-grey);
}

#column-left .list-group-item:hover,
#column-left .list-group-item:focus,
#column-right .list-group-item:hover,
#column-right .list-group-item:focus {
  background: rgba(205, 139, 109, 0.12);
  border-color: rgba(205, 139, 109, 0.28);
  color: var(--cc-grey);
  z-index: 1;
}

#column-left .list-group-item.active,
#column-right .list-group-item.active {
  background: var(--cc-orange);
  border-color: var(--cc-orange);
  color: #ffffff;
  z-index: 2;
}

#column-left .list-group-item.active:hover,
#column-left .list-group-item.active:focus,
#column-right .list-group-item.active:hover,
#column-right .list-group-item.active:focus {
  background: #bf7d5f;
  border-color: #bf7d5f;
  color: #ffffff;
}

.page-item.active .page-link,
.pagination .page-item.active .page-link {
  background: var(--cc-orange);
  border-color: var(--cc-orange);
  color: #ffffff;
}

.page-link {
  color: var(--cc-grey);
}

.page-link:hover,
.page-link:focus {
  color: var(--cc-orange);
  background: rgba(205, 139, 109, 0.1);
  border-color: rgba(205, 139, 109, 0.28);
}

.cc-trust-strip {
  margin: 2rem 0 0;
  padding: 1.6rem;
  border: 1px solid rgba(137, 141, 117, 0.16);
  border-radius: var(--cc-radius-xl);
  background: linear-gradient(135deg, rgba(137, 141, 117, 0.12), rgba(248, 242, 235, 0.96));
}

.cc-trust-strip__items {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.cc-trust-strip__item {
  text-align: center;
}

.cc-trust-strip__label {
  display: block;
  color: var(--cc-grey);
  font-size: 1rem;
  font-weight: 700;
}

.cc-trust-strip__copy {
  display: block;
  color: var(--cc-light-grey);
  font-size: 0.86rem;
  margin-top: 0.35rem;
}

.product-thumb,
.cc-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg);
  background: var(--cc-cream);
  box-shadow: var(--cc-shadow-card);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.product-thumb:hover,
.product-thumb:focus-within,
.cc-product-card:hover,
.cc-product-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(205, 139, 109, 0.3);
  box-shadow: var(--cc-shadow-hover);
}

/* Edge-to-edge product imagery (Gift Wrap Maker Edit look). */
.product-thumb .image,
.cc-product-card__media {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  background: #ebe4db;
  overflow: hidden;
  text-align: left;
  line-height: 0;
}

.product-thumb .image a {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  line-height: 0;
}

.product-thumb .image img,
.cc-product-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}

.product-thumb:hover .image img,
.product-thumb:focus-within .image img,
.cc-product-card:hover .cc-product-card__media img,
.cc-product-card:focus-within .cc-product-card__media img {
  transform: scale(1.04);
}

.product-thumb .content {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  position: relative;
  padding: 0;
}

.product-thumb .caption,
.product-thumb .description {
  padding: 1.35rem 1.4rem 0.9rem;
  margin: 0;
}

.product-thumb h4,
.cc-product-card__content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.55rem;
  line-height: 1.15;
}

.product-thumb h4 a,
.cc-product-card__content h3 a {
  color: var(--cc-grey);
  text-decoration: none;
}

.product-thumb p,
.product-thumb .description,
.product-thumb .description p,
.cc-product-card__description {
  color: var(--cc-light-grey);
}

.product-thumb .price,
.cc-product-card__prices {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.85rem;
  color: var(--cc-grey);
  font-size: 1rem;
  font-weight: 700;
}

.product-thumb .price-new,
.cc-product-card__price.is-sale {
  color: var(--cc-orange);
}

.product-thumb .price-old,
.cc-product-card__price.is-old {
  color: var(--cc-light-grey);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: line-through;
}

.product-thumb .price-tax {
  width: 100%;
  color: var(--cc-light-grey);
  font-size: 0.84rem;
  font-weight: 500;
}

/* OC4 uses .button (absolute); keep it in normal flow under the copy. */
.product-thumb .button,
.product-thumb .button-group {
  position: static !important;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 1.4rem 1.35rem;
  background: transparent;
  border: 0;
  border-top: 0;
}

.product-thumb .button button,
.product-thumb .button a,
.product-thumb .button-group button,
.product-thumb .button-group a,
.cc-product-card__button {
  width: auto;
  border-radius: var(--cc-radius-sm);
  padding: 0.82rem 0.95rem;
  border: 1px solid rgba(137, 141, 117, 0.26);
  background: rgba(137, 141, 117, 0.1);
  color: var(--cc-grey);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.2;
  text-transform: uppercase;
  box-shadow: none;
}

.product-thumb .button button:first-child,
.product-thumb .button a:first-child,
.product-thumb .button-group button:first-child,
.product-thumb .button-group a:first-child {
  border-color: var(--cc-green);
  background: var(--cc-green);
  color: #ffffff;
}

.product-thumb .button button:hover,
.product-thumb .button button:focus,
.product-thumb .button a:hover,
.product-thumb .button a:focus,
.product-thumb .button-group button:hover,
.product-thumb .button-group button:focus,
.product-thumb .button-group a:hover,
.product-thumb .button-group a:focus {
  border-color: rgba(205, 139, 109, 0.42);
  background: rgba(205, 139, 109, 0.12);
  color: var(--cc-grey);
}

.product-thumb .button button:first-child:hover,
.product-thumb .button button:first-child:focus,
.product-thumb .button a:first-child:hover,
.product-thumb .button a:first-child:focus,
.product-thumb .button-group button:first-child:hover,
.product-thumb .button-group button:first-child:focus,
.product-thumb .button-group a:first-child:hover,
.product-thumb .button-group a:first-child:focus {
  background: #7c8068;
  border-color: #7c8068;
  color: #ffffff;
}

.category-thumb,
.cc-category-card {
  height: 100%;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-lg);
  background: rgba(255, 253, 249, 0.94);
  box-shadow: var(--cc-shadow-soft);
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease, border-color 0.24s ease;
}

.category-thumb:hover,
.category-thumb:focus-within,
.cc-category-card:hover,
.cc-category-card:focus-within {
  transform: translateY(-5px);
  border-color: rgba(205, 139, 109, 0.28);
  box-shadow: var(--cc-shadow-card);
}

.category-thumb .image,
.cc-category-card__media {
  background: linear-gradient(180deg, rgba(248, 242, 235, 0.96), rgba(255, 253, 249, 1));
}

.category-thumb img,
.cc-category-card__media img {
  width: 100%;
}

.category-thumb .caption,
.cc-category-card__content {
  padding: 1.25rem 1.4rem 1.4rem;
}

.category-thumb h4,
.cc-category-card__content h3 {
  margin-bottom: 0.35rem;
  font-size: 1.45rem;
}

.category-thumb p,
.cc-category-card__content p {
  color: var(--cc-light-grey);
}

.refine-search a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0.3rem 0.35rem 0.3rem 0;
  padding: 0.7rem 1rem;
  border: 1px solid var(--cc-border);
  border-radius: var(--cc-radius-sm);
  background: rgba(255, 253, 249, 0.94);
  color: var(--cc-grey);
  text-decoration: none;
}

.refine-search a:hover,
.refine-search a:focus {
  border-color: rgba(205, 139, 109, 0.4);
  color: var(--cc-orange);
}

/* Category pages: keep H1 + description, hide category thumbnail */
#product-category #content > h1 + .row > .col-3:has(> img.img-thumbnail) {
  display: none;
}

#product-category #content > h1 + .row > .col-9 {
  flex: 0 0 100%;
  max-width: 100%;
  width: 100%;
}

.cc-product-card--minimal {
  box-shadow: none;
  border-color: var(--cc-border-strong);
}

.cc-product-card--outlined {
  box-shadow: none;
  border-color: rgba(205, 139, 109, 0.4);
}

.cc-product-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: inline-flex;
  align-items: center;
  border-radius: var(--cc-radius-sm);
  padding: 0.45rem 0.8rem;
  background: var(--cc-orange);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cc-product-card__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--cc-light-grey);
  font-weight: 600;
}

.cc-product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.4rem;
}

.cc-product-card__eyebrow,
.cc-footer-bridge__eyebrow {
  margin: 0;
  color: var(--cc-green);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.cc-rating {
  display: inline-flex;
  gap: 0.2rem;
  color: rgba(79, 78, 76, 0.22);
}

.cc-rating__star.is-filled {
  color: var(--cc-orange);
}

.cc-product-card__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: auto;
}

.cc-footer-bridge {
  margin-top: 4rem;
  padding: 2.8rem 0;
  border-top: 1px solid rgba(79, 78, 76, 0.1);
  border-bottom: 1px solid rgba(79, 78, 76, 0.1);
  background: linear-gradient(180deg, rgba(255, 253, 249, 0.9), rgba(248, 242, 235, 0.92));
}

.cc-footer-bridge__grid,
.cc-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 1.8rem;
}

.cc-footer-bridge__section,
.cc-footer__section {
  min-width: 0;
}

.cc-footer-bridge__title {
  margin: 0.3rem 0 0.75rem;
  font-size: 2rem;
  line-height: 1.05;
}

.cc-footer-bridge__copy,
.cc-footer__lede {
  max-width: 34rem;
  color: var(--cc-light-grey);
}

.cc-footer-bridge__links,
.cc-footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cc-footer-bridge__links li + li,
.cc-footer__links li + li {
  margin-top: 0.75rem;
}

.cc-footer-bridge__links a {
  color: var(--cc-grey);
  text-decoration: none;
}

.cc-footer-bridge__links a:hover,
.cc-footer-bridge__links a:focus {
  color: var(--cc-orange);
}

/* Override OpenCart default absolute footer that covers product rows. */
footer,
#footer,
.cc-footer {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  clear: both;
  display: block;
  width: 100%;
  margin-top: 4rem;
  padding: 3.25rem 0 2rem;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: var(--cc-grey);
  color: rgba(255, 255, 255, 0.92);
  z-index: auto;
}

#common-home,
#content,
main,
#main {
  position: relative;
  z-index: 1;
  padding-bottom: 2rem;
}

.cc-footer {
  margin-top: 4rem;
  padding: 4rem 0 2rem;
  background: var(--cc-grey);
  color: rgba(255, 255, 255, 0.92);
}

.cc-footer h3,
.cc-footer h4 {
  color: #ffffff;
  margin-bottom: 1rem;
}

.cc-footer__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.cc-footer__badge {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--cc-radius-sm);
  padding: 0.55rem 0.9rem;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.cc-footer__links a,
footer a,
#footer a {
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
}

.cc-footer__links a:hover,
.cc-footer__links a:focus,
footer a:hover,
footer a:focus,
#footer a:hover,
#footer a:focus {
  color: #ffffff;
}

.cc-footer__bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.875rem;
}

@media (max-width: 991.98px) {
  html.cc-header-rearranged header .container > .row,
  header .row.cc-header-row {
    flex-wrap: wrap;
  }

  html.cc-header-rearranged .cc-header-logo-col {
    order: 1;
  }

  html.cc-header-rearranged #cart,
  html.cc-header-rearranged .cc-header-cart-col {
    order: 2;
    margin-left: auto !important;
  }

  html.cc-header-rearranged .cc-header-menu-col {
    order: 3;
    flex: 1 1 100%;
    justify-content: stretch;
  }

  html.cc-header-rearranged header #menu.navbar {
    width: 100%;
  }

  #menu.navbar.cc-menu-grouped .navbar-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  #top .cc-top-search {
    max-width: none;
    margin-bottom: 0.2rem;
  }
}

@media (max-width: 767.98px) {
  #top .col-4,
  #top .col.text-end {
    flex: 1 1 100%;
    max-width: 100%;
    text-align: left !important;
  }

  #top .col.text-end .list-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.75rem;
  }
}

@media (max-width: 1199.98px) {
  .cc-header__bar {
    width: 100%;
    max-width: 42rem;
    border-radius: 1.4rem;
  }

  .cc-header__actions {
    width: 100%;
    justify-content: center;
  }

  .cc-header__search {
    flex: 1 1 240px;
    min-width: 0;
  }

  .cc-trust-strip__items,
  .cc-footer-bridge__grid,
  .cc-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .cc-header__inner,
  .cc-header__nav,
  .cc-header__actions,
  .cc-header__bar,
  .cc-product-card__meta {
    flex-direction: column;
    align-items: center;
  }

  .cc-header__bar {
    width: 100%;
    max-width: 22rem;
    padding: 0.85rem;
  }

  .cc-header-promo .container {
    align-items: stretch;
  }

  .cc-header-promo__actions,
  .cc-header__nav a,
  .cc-chip,
  .cc-product-card__button,
  .cc-header-promo__link {
    justify-content: center;
    text-align: center;
  }

  .product-thumb .button,
  .product-thumb .button-group {
    grid-template-columns: 1fr;
  }

  .cc-trust-strip__items,
  .cc-footer-bridge__grid,
  .cc-footer__grid {
    grid-template-columns: 1fr;
  }
}
