/*
Theme Name: Arivelle Bloom
Theme URI: https://arivelle.in
Author: Arivelle
Author URI: https://arivelle.in
Description: A feminine, fast WooCommerce theme for fashion jewellery, clutches, handbags, and accessories.
Version: 1.1.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 7.4
Text Domain: arivelle-bloom
Tags: ecommerce, woocommerce, fashion, custom-logo, featured-images, block-styles
*/

:root {
  --ari-ink: #24151b;
  --ari-muted: #705e66;
  --ari-blush: #fff4f3;
  --ari-rose: #b13f5b;
  --ari-rose-dark: #84273d;
  --ari-gold: #c49a3a;
  --ari-mint: #dff4eb;
  --ari-cream: #fffaf2;
  --ari-line: #eadce0;
  --ari-white: #ffffff;
  --ari-shadow: 0 16px 38px rgba(65, 34, 43, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ari-ink);
  background: var(--ari-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

html {
  scroll-behavior: smooth;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.site-topbar {
  background: var(--ari-ink);
  color: var(--ari-white);
  font-size: 13px;
  text-align: center;
  padding: 8px 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--ari-line);
  backdrop-filter: blur(12px);
}

.header-inner,
.wrap {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 0;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: var(--ari-white);
  background: linear-gradient(135deg, var(--ari-rose), var(--ari-gold));
  font-family: Inter, sans-serif;
  font-size: 16px;
}

.main-nav ul {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-nav a {
  color: var(--ari-muted);
  font-size: 15px;
  font-weight: 650;
}

.main-nav a:hover {
  color: var(--ari-rose);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-link,
.menu-toggle {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--ari-line);
  border-radius: 50%;
  background: var(--ari-white);
  color: var(--ari-ink);
  font-weight: 800;
}

.icon-link .dashicons {
  width: 20px;
  height: 20px;
  font-size: 20px;
  line-height: 1;
}

.menu-toggle {
  display: none;
  cursor: pointer;
}

.hero {
  background:
    radial-gradient(circle at 12% 22%, rgba(196, 154, 58, 0.18), transparent 28%),
    linear-gradient(110deg, #fff7f4 0%, #fffaf2 50%, #eef8f1 100%);
  border-bottom: 1px solid var(--ari-line);
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 42px;
  align-items: center;
  min-height: 610px;
  padding: 58px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ari-rose-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--ari-gold);
}

.hero h1 {
  max-width: 660px;
  margin: 16px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  max-width: 590px;
  margin: 0 0 26px;
  color: var(--ari-muted);
  font-size: 18px;
}

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce div.product form.cart .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--ari-rose);
  color: var(--ari-white);
  font-weight: 800;
  line-height: 1.1;
  cursor: pointer;
}

.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background: var(--ari-rose-dark);
  color: var(--ari-white);
}

.button.secondary {
  background: var(--ari-white);
  color: var(--ari-rose-dark);
  border: 1px solid var(--ari-line);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-visual {
  min-height: 450px;
  border-radius: 8px;
  overflow: hidden;
  background:
    linear-gradient(rgba(36, 21, 27, 0.05), rgba(36, 21, 27, 0.05)),
    url("assets/hero-pattern.svg") center/cover;
  box-shadow: var(--ari-shadow);
}

.commerce-hero {
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(255, 244, 243, 0.94), rgba(255, 250, 242, 0.9)),
    url("assets/hero-pattern.svg") center/cover;
  border-bottom: 1px solid var(--ari-line);
}

.commerce-hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: 44px;
  align-items: center;
  min-height: 560px;
  padding: 52px 0;
}

.commerce-hero-copy h1 {
  max-width: 680px;
  margin: 12px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.98;
}

.commerce-hero-copy p {
  max-width: 570px;
  margin: 0 0 26px;
  color: var(--ari-muted);
  font-size: 18px;
}

.sale-kicker,
.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ari-rose-dark);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sale-kicker::before,
.section-eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--ari-gold);
}

.hero-mini-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.hero-mini-stats span {
  padding: 8px 12px;
  border: 1px solid var(--ari-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--ari-muted);
  font-size: 13px;
  font-weight: 750;
}

.commerce-hero-panel {
  position: relative;
  min-height: 430px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(255, 255, 255, 0.7) 0 14%, transparent 15%),
    linear-gradient(135deg, #f7c9d3, #fff1df 48%, #dff4eb);
  box-shadow: var(--ari-shadow);
}

.commerce-hero-panel::before {
  content: "";
  position: absolute;
  left: 12%;
  bottom: 12%;
  width: 58%;
  height: 38%;
  border-radius: 34px 34px 54px 54px;
  background: var(--ari-ink);
  transform: rotate(4deg);
}

.commerce-hero-panel::after {
  content: "";
  position: absolute;
  right: 16%;
  top: 20%;
  width: 30%;
  aspect-ratio: 1;
  border: 22px solid var(--ari-rose);
  border-left-color: var(--ari-gold);
  border-radius: 50%;
}

.hero-product-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 168px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 18px 42px rgba(65, 34, 43, 0.14);
  backdrop-filter: blur(10px);
}

.hero-product-card span {
  color: var(--ari-rose);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.hero-product-card strong {
  font-size: 18px;
}

.hero-product-card-main {
  left: 8%;
  top: 12%;
}

.hero-product-card-small {
  right: 8%;
  bottom: 10%;
}

.category-rail {
  position: sticky;
  top: 77px;
  z-index: 15;
  background: var(--ari-white);
  border-bottom: 1px solid var(--ari-line);
}

.category-rail-inner {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 0;
}

.category-rail a {
  flex: 0 0 auto;
  padding: 10px 18px;
  border: 1px solid var(--ari-line);
  border-radius: 999px;
  background: var(--ari-white);
  color: var(--ari-ink);
  font-size: 14px;
  font-weight: 850;
}

.category-rail a:hover {
  border-color: var(--ari-rose);
  color: var(--ari-rose-dark);
}

.category-rail a:focus-visible {
  outline: 2px solid var(--ari-rose);
  outline-offset: 2px;
}

.category-index {
  background: var(--ari-white);
}

.dynamic-category-card {
  background: linear-gradient(135deg, #fff4f3, #fffaf2 52%, #dff4eb);
}

.dynamic-category-card:nth-child(2n) {
  background: linear-gradient(135deg, #f5e9ff, #fff4f3 55%, #fffaf2);
}

.dynamic-category-card:nth-child(3n) {
  background: linear-gradient(135deg, #e9f6f0, #fff4f3 58%, #f7d7df);
}

.category-count {
  position: absolute;
  left: 20px;
  top: 18px;
  z-index: 1;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  font-weight: 850;
  text-transform: uppercase;
}

.category-product-section {
  scroll-margin-top: 156px;
}

.category-product-section.alt {
  background: var(--ari-cream);
}

.category-product-section .woocommerce {
  margin-top: 4px;
}

.product-feature {
  padding-top: 52px;
}

.compact-section {
  padding: 52px 0;
}

.text-link {
  color: var(--ari-rose-dark);
  font-weight: 850;
}

.category-grid-modern .category-card {
  min-height: 260px;
}

.offer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 18px;
}

.offer-card {
  display: flex;
  min-height: 250px;
  flex-direction: column;
  justify-content: end;
  padding: 24px;
  border: 1px solid var(--ari-line);
  border-radius: 8px;
  background:
    radial-gradient(circle at 78% 18%, rgba(177, 63, 91, 0.18), transparent 28%),
    var(--ari-white);
  box-shadow: 0 10px 26px rgba(65, 34, 43, 0.07);
}

.offer-card span {
  color: var(--ari-rose);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.offer-card h2 {
  margin: 8px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.05;
}

.offer-card p {
  max-width: 360px;
  margin: 0;
  color: var(--ari-muted);
}

.offer-dark {
  background:
    radial-gradient(circle at 80% 18%, rgba(196, 154, 58, 0.28), transparent 30%),
    var(--ari-ink);
  color: var(--ari-white);
}

.offer-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.trust-strip-bottom {
  border-top: 1px solid var(--ari-line);
}

.trust-strip {
  background: var(--ari-white);
  border-bottom: 1px solid var(--ari-line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  padding: 18px 0;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  color: var(--ari-muted);
  font-size: 14px;
  font-weight: 650;
}

.trust-icon {
  display: grid;
  place-items: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ari-blush);
  color: var(--ari-rose);
}

.section {
  padding: 64px 0;
}

.section.alt {
  background: var(--ari-cream);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2,
.page-title,
.woocommerce-products-header__title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: 0;
}

.section-head p {
  max-width: 520px;
  margin: 8px 0 0;
  color: var(--ari-muted);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--ari-blush);
  box-shadow: 0 1px 0 var(--ari-line);
}

.category-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(36, 21, 27, 0.75));
}

.category-card.jhumka { background: linear-gradient(135deg, #f7c9d3, #ffefe5); }
.category-card.earrings { background: linear-gradient(135deg, #e9d8ff, #fff5df); }
.category-card.clutch { background: linear-gradient(135deg, #e1f4e7, #ffe0e7); }
.category-card.bag { background: linear-gradient(135deg, #ffe0ba, #f5d4df); }

.category-art {
  position: absolute;
  inset: 22px 22px auto auto;
  width: 118px;
  height: 118px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.46);
}

.category-card h3 {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  margin: 0;
  color: var(--ari-white);
  font-size: 22px;
  line-height: 1.15;
}

.promo-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 34px;
  border-radius: 8px;
  background: var(--ari-ink);
  color: var(--ari-white);
}

.promo-band h2 {
  margin: 0 0 6px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(28px, 4vw, 44px);
}

.promo-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none;
}

.woocommerce ul.products li.product {
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 18px;
  border: 1px solid var(--ari-line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--ari-white);
  box-shadow: 0 10px 26px rgba(65, 34, 43, 0.07);
}

.woocommerce ul.products li.product a img {
  width: 100%;
  aspect-ratio: 1 / 1.12;
  object-fit: cover;
  margin: 0 0 14px;
  background: var(--ari-blush);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  min-height: 48px;
  padding: 0 16px;
  color: var(--ari-ink);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 16px 10px;
  color: var(--ari-rose);
  font-size: 17px;
  font-weight: 850;
}

.woocommerce ul.products li.product .button {
  margin: 0 16px;
  width: calc(100% - 32px);
}

.woocommerce span.onsale {
  min-height: auto;
  min-width: auto;
  padding: 7px 11px;
  border-radius: 999px;
  background: var(--ari-gold);
  color: var(--ari-ink);
  font-size: 12px;
  line-height: 1;
}

.content-area {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 48px 0;
}

.site-footer {
  background: var(--ari-ink);
  color: var(--ari-white);
  padding: 42px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 28px;
}

.site-footer h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.site-footer p,
.site-footer a {
  color: rgba(255, 255, 255, 0.72);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 8px;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.woocommerce div.product div.images img {
  border-radius: 8px;
  background: var(--ari-blush);
}

.woocommerce div.product .product_title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.05;
}

.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ari-rose);
  font-size: 26px;
  font-weight: 850;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="search"],
textarea,
select {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--ari-line);
  border-radius: 6px;
  padding: 10px 12px;
  background: var(--ari-white);
  color: var(--ari-ink);
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .menu-toggle {
    display: inline-grid;
  }

  .main-nav {
    grid-column: 1 / -1;
    display: none;
    padding: 0 0 18px;
  }

  .main-nav.is-open {
    display: block;
  }

  .main-nav ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .main-nav a {
    display: block;
    padding: 12px 0;
  }

  .header-actions {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 44px 0;
  }

  .commerce-hero-inner {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 42px 0;
  }

  .hero-visual {
    min-height: 310px;
  }

  .commerce-hero-panel {
    min-height: 320px;
  }

  .trust-grid,
  .category-grid,
  .woocommerce ul.products,
  .footer-grid,
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .offer-grid {
    grid-template-columns: 1fr;
  }

  .promo-band {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-inner,
  .wrap,
  .content-area {
    width: min(100% - 24px, 1180px);
  }

  .brand {
    font-size: 24px;
  }

  .hero h1 {
    font-size: 42px;
  }

  .commerce-hero-copy h1 {
    font-size: 40px;
  }

  .commerce-hero-panel {
    min-height: 280px;
  }

  .hero-product-card {
    min-width: 138px;
    padding: 12px;
  }

  .trust-grid,
  .category-grid,
  .woocommerce ul.products,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 44px 0;
  }

  .section-head {
    display: block;
  }
}
