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

/* Grace & Goods faith-based store theme.
   Drop this after css/styles.css to restyle the original storefront without
   changing ecommerce/cart behavior. This exported version is standalone and
   does not require images/god assets. */
:root {
  --primary: #7A2E2E;
  --primary-dark: #5D2222;
  --primary-light: #F3E7E3;
  --secondary: #B88A44;
  --secondary-dark: #8B672F;
  --accent: #6F7D5F;
  --text-primary: #1F2933;
  --text-secondary: #5F6B5D;
  --text-light: #8F887C;
  --bg-white: #FFFDF8;
  --bg-light: #FAF7F0;
  --bg-gray: #F2EBDD;
  --border: #E7DED1;
  --shadow-sm: 0 1px 3px rgba(48, 39, 27, 0.08);
  --shadow-md: 0 8px 24px rgba(48, 39, 27, 0.1);
  --shadow-lg: 0 18px 46px rgba(48, 39, 27, 0.14);
  --radius-sm: 8px;
  --radius-md: 8px;
  --radius-lg: 8px;
}

body {
  background: var(--bg-light);
  color: var(--text-primary);
}

.top-bar {
  background: #2A3328;
  color: #F8F1E7;
}

.top-bar a {
  color: #E5D2AE;
}

.top-bar a:hover {
  color: #fff;
}

.header {
  background: rgba(255, 253, 248, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: none;
}

.header .logo {
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.header .logo svg {
  display: none;
}

.header .logo::before {
  content: "";
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  background:
    linear-gradient(var(--secondary), var(--secondary)) center 9px / 4px 22px no-repeat,
    linear-gradient(var(--secondary), var(--secondary)) center 17px / 18px 4px no-repeat,
    #FFF7E6;
  border: 1px solid rgba(184, 138, 68, 0.45);
  box-shadow: inset 0 0 0 6px rgba(184, 138, 68, 0.08);
}

.logo .logo-brand {
  font-size: 1.62rem;
}

.logo .logo-brand span,
.footer-about .logo .highlight {
  color: var(--secondary-dark);
}

.search-bar input {
  border-radius: 999px;
  background: #F8F2E9;
}

.search-bar button,
.cart-count {
  background: var(--primary);
}

.main-nav {
  background: rgba(255, 253, 248, 0.92);
}

.main-nav li a {
  color: #596252;
  font-weight: 600;
}

.main-nav li a:hover,
.main-nav li a.active {
  color: var(--primary);
}

.main-nav li a::after {
  height: 2px;
  background: var(--secondary);
}

.hero {
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 104px 0 92px;
  background:
    radial-gradient(circle at 78% 20%, rgba(244, 215, 161, 0.26), transparent 34%),
    linear-gradient(115deg, #252E24 0%, #364231 48%, #7D5B37 100%);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.hero::before,
.hero::after {
  display: block;
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero::before {
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 22, 18, 0.72), rgba(18, 22, 18, 0.22) 52%, rgba(18, 22, 18, 0.08)),
    radial-gradient(circle at 82% 45%, rgba(255, 253, 248, 0.22) 0 10%, transparent 11%),
    linear-gradient(var(--secondary), var(--secondary)) right 18% center / 6px 170px no-repeat,
    linear-gradient(var(--secondary), var(--secondary)) right 18% calc(50% + 48px) / 104px 6px no-repeat,
    repeating-linear-gradient(0deg, transparent 0 58px, rgba(255, 253, 248, 0.055) 58px 59px),
    repeating-linear-gradient(90deg, transparent 0 58px, rgba(255, 253, 248, 0.04) 58px 59px);
  opacity: 0.42;
}

.hero::after {
  width: min(39vw, 560px);
  height: min(39vw, 560px);
  right: 8%;
  top: 50%;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(255, 253, 248, 0.08);
  border: 1px solid rgba(244, 215, 161, 0.22);
}

.hero .container {
  display: grid;
  grid-template-columns: minmax(0, 530px) minmax(360px, 1fr);
  align-items: center;
  gap: clamp(42px, 6vw, 92px);
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 530px;
  color: #fff;
}

.hero-badge {
  background: rgba(255, 247, 230, 0.16);
  color: #F4D7A1;
  border-color: rgba(244, 215, 161, 0.36);
  border-radius: 999px;
  text-transform: uppercase;
}

.hero-badge::before {
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(244, 215, 161, 0.18);
}

.hero h1 {
  max-width: 520px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  color: #FFFDF8;
  font-size: clamp(3.5rem, 6vw, 5.9rem);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: 0;
}

.hero h1 .highlight {
  color: #F4D7A1;
}

.hero h1 .highlight::after {
  display: none;
}

.hero p {
  color: rgba(255, 253, 248, 0.88);
  max-width: 500px;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
  position: relative;
  animation: none;
}

.hero-image::before {
  content: "";
  position: absolute;
  width: min(82%, 430px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 247, 230, 0.28), rgba(255, 247, 230, 0));
  transform: translate(12%, -8%);
}

.hero-image img {
  width: min(78%, 470px);
  max-height: 510px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 28px 42px rgba(10, 12, 10, 0.28));
  border-radius: 8px;
  animation: none;
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 530px;
}

.hero-trust-item {
  min-width: 0;
}

.hero-trust-item strong {
  display: block;
  font-size: 1.08rem;
  white-space: normal;
}

.hero-trust-item strong,
.hero-trust-stars {
  color: #F4D7A1;
}

.hero-trust-item span {
  color: rgba(255, 253, 248, 0.72);
}

.btn {
  border-radius: 999px;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  box-shadow: 0 10px 24px rgba(122, 46, 46, 0.24);
}

.btn-secondary {
  background: rgba(255, 253, 248, 0.9);
  border-color: rgba(255, 253, 248, 0.86);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: #fff;
  border-color: var(--secondary);
  color: var(--primary);
}

.features-strip,
.featured-collections,
.products-section,
.newsletter,
.footer {
  background: var(--bg-light);
}

.feature-item {
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(231, 222, 209, 0.78);
}

.feature-icon {
  background: #FFF7E6;
  color: var(--secondary-dark);
}

.feature-icon svg {
  stroke: var(--secondary-dark);
}

.feature-item:hover .feature-icon {
  background: var(--secondary);
}

.section-title h2,
.products-header h2,
.page-header h1,
.collection-hero h1,
.newsletter h2 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 700;
  letter-spacing: 0;
}

.section-title .underline {
  background: var(--secondary);
}

.categories {
  background: #F5EFE4;
}

.category-card,
.collection-card,
.product-card,
.filter-group,
.cart-summary,
.checkout-form,
.cart-table,
.main-image,
.product-type-section {
  border-radius: 8px;
}

.category-card:hover,
.product-card:hover {
  box-shadow: 0 18px 42px rgba(66, 54, 36, 0.14);
}

.category-card:hover .cat-img::after {
  background: linear-gradient(to top, rgba(70, 48, 31, 0.82), rgba(70, 48, 31, 0.2), transparent);
}

.collection-card {
  background: #2A3328;
}

.collection-card .coll-overlay {
  background: linear-gradient(to bottom, rgba(42, 51, 40, 0.08) 32%, rgba(42, 51, 40, 0.86));
}

.product-card {
  background: #FFFDF8;
  border-color: rgba(231, 222, 209, 0.9);
}

.product-image {
  background: #F6EFE4;
}

.product-badge {
  border-radius: 999px;
  background: var(--secondary);
  box-shadow: none;
}

.badge-new {
  background: var(--accent);
}

.badge-sale {
  background: var(--primary);
}

.badge-hot {
  background: var(--secondary);
  color: #2A251B;
}

.badge-hot::before {
  content: "";
}

.product-category {
  color: var(--accent);
}

.price-current {
  color: var(--primary);
}

.page-header,
.collection-hero {
  background: linear-gradient(135deg, #FFFDF8, #F1E7D7);
}

.breadcrumb {
  color: var(--text-light);
}

.sidebar {
  top: 132px;
}

.filter-group {
  background: rgba(255, 253, 248, 0.86);
}

.sort-bar {
  background: rgba(255, 253, 248, 0.86);
  border: 1px solid var(--border);
}

.main-image {
  background: #F8F2E9;
  border: 1px solid var(--border);
}

.detail-description-wrap {
  border-left: 3px solid var(--secondary);
  padding-left: 18px;
}

.newsletter {
  background:
    linear-gradient(135deg, rgba(42, 51, 40, 0.92), rgba(75, 60, 42, 0.88)),
    radial-gradient(circle at 75% 32%, rgba(244, 215, 161, 0.28), transparent 28%),
    repeating-linear-gradient(0deg, transparent 0 44px, rgba(255, 253, 248, 0.055) 44px 45px);
  color: #FFFDF8;
}

.newsletter p {
  color: rgba(255, 253, 248, 0.78);
}

.newsletter-form input {
  background: rgba(255, 253, 248, 0.94);
}

.newsletter-form button {
  background: var(--secondary);
  color: #2A251B;
}

.newsletter-form button:hover {
  background: #D1A45F;
}

.footer {
  background: #222A21;
  color: #F7EFE4;
}

.footer h4 {
  color: #FFF7E6;
}

.footer ul li a,
.footer-about p,
.footer-bottom {
  color: rgba(247, 239, 228, 0.68);
}

.footer ul li a:hover {
  color: #F4D7A1;
}

.empty-cart p {
  color: var(--text-secondary);
}

@media (max-width: 768px) {
  .hero {
    min-height: 560px;
    padding: 74px 0 72px;
  }

  .hero::before {
    background:
      linear-gradient(180deg, rgba(18, 22, 18, 0.82), rgba(18, 22, 18, 0.48)),
      radial-gradient(circle at 88% 42%, rgba(255, 253, 248, 0.18) 0 12%, transparent 13%),
      linear-gradient(var(--secondary), var(--secondary)) right 16% center / 5px 130px no-repeat,
      linear-gradient(var(--secondary), var(--secondary)) right 16% calc(50% + 36px) / 78px 5px no-repeat,
      repeating-linear-gradient(0deg, transparent 0 44px, rgba(255, 253, 248, 0.055) 44px 45px);
    opacity: 0.34;
  }

  .hero::after,
  .hero-image {
    display: none;
  }

  .hero .container {
    display: block;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-buttons .btn-secondary {
    background: rgba(255, 253, 248, 0.92);
  }

  .hero-trust {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
