/*
Theme Name: Luxie World
Theme URI: https://luxieworld.shop/
Author: Luxie World
Author URI: https://luxieworld.shop/
Description: A polished boutique commerce theme for LuxieWorld.shop, built for elegant shopping, editorial product storytelling, and WooCommerce catalogs.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxieworld
Tags: e-commerce, custom-logo, custom-menu, featured-images, blog, wide-blocks, block-styles
*/

:root {
  --lw-ink: #151512;
  --lw-muted: #68635b;
  --lw-paper: #fffaf2;
  --lw-cream: #f4eee2;
  --lw-charcoal: #24231f;
  --lw-gold: #b98d45;
  --lw-gold-dark: #8d642c;
  --lw-rose: #c36d63;
  --lw-sage: #82947b;
  --lw-line: rgba(21, 21, 18, 0.12);
  --lw-shadow: 0 22px 55px rgba(36, 35, 31, 0.14);
  --lw-radius: 8px;
  --lw-max: 1180px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--lw-ink);
  background: var(--lw-paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

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

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

a:hover {
  color: var(--lw-gold-dark);
}

button,
input,
select,
textarea {
  font: inherit;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 242, 0.92);
  border-bottom: 1px solid var(--lw-line);
  backdrop-filter: blur(18px);
}

.site-header__inner,
.site-footer__inner,
.wrap {
  width: min(calc(100% - 32px), var(--lw-max));
  margin-inline: auto;
}

.site-header__inner {
  min-height: 76px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.site-branding {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.site-branding .custom-logo {
  width: auto;
  max-height: 48px;
}

.site-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  line-height: 1;
}

.site-description {
  margin: 4px 0 0;
  color: var(--lw-muted);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.primary-navigation ul,
.footer-navigation ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.primary-navigation a {
  color: var(--lw-charcoal);
  font-size: 0.92rem;
  font-weight: 700;
}

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

.icon-link,
.menu-toggle {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--lw-ink);
  background: #fff;
  border: 1px solid var(--lw-line);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(21, 21, 18, 0.07);
}

.icon-link svg,
.menu-toggle svg {
  width: 19px;
  height: 19px;
}

.menu-toggle {
  display: none;
}

.cart-count {
  min-width: 18px;
  height: 18px;
  display: inline-grid;
  place-items: center;
  margin-left: -14px;
  margin-top: -24px;
  color: #fff;
  background: var(--lw-rose);
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 76px));
  display: grid;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(21, 21, 18, 0.88), rgba(21, 21, 18, 0.46) 48%, rgba(21, 21, 18, 0.18)),
    url("assets/images/pexels-carollemosph-5834314_1.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 16vh;
  min-height: 80px;
  background: linear-gradient(180deg, rgba(255, 250, 242, 0), var(--lw-paper));
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 32px), var(--lw-max));
  margin-inline: auto;
  padding: 92px 0 126px;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #f6dba4;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 42px;
  height: 1px;
  background: currentColor;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 8vw, 7.4rem);
  line-height: 0.93;
  font-weight: 500;
}

.hero p {
  max-width: 600px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(1rem, 1.9vw, 1.2rem);
}

.hero__actions,
.section-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button,
.wp-block-button__link,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  color: #fff;
  background: var(--lw-ink);
  border: 1px solid var(--lw-ink);
  border-radius: 999px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.wp-block-button__link:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  color: #fff;
  background: var(--lw-gold-dark);
  border-color: var(--lw-gold-dark);
  transform: translateY(-1px);
}

.button--light {
  color: var(--lw-ink);
  background: #fff;
  border-color: #fff;
}

.button--ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.5);
}

.button--outline {
  color: var(--lw-ink);
  background: transparent;
  border-color: var(--lw-line);
}

.trust-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: -70px;
  background: var(--lw-line);
  border: 1px solid var(--lw-line);
  box-shadow: var(--lw-shadow);
}

.trust-item {
  min-height: 140px;
  padding: 28px;
  background: #fff;
}

.trust-item strong {
  display: block;
  font-size: 1rem;
}

.trust-item span {
  display: block;
  margin-top: 6px;
  color: var(--lw-muted);
  font-size: 0.9rem;
}

.section {
  padding: clamp(66px, 9vw, 112px) 0;
}

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

.section--dark {
  color: #fff;
  background: var(--lw-charcoal);
}

.section-header {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 0.55fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-header h2,
.entry-title {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.8vw, 4.6rem);
  line-height: 1;
  font-weight: 500;
}

.section-header p {
  margin: 0;
  color: var(--lw-muted);
}

.section--dark .section-header p,
.section--dark .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.collection-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 1fr;
  gap: 18px;
}

.collection-card {
  position: relative;
  min-height: 390px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding: 26px;
  color: #fff;
  background: var(--lw-charcoal);
  border-radius: var(--lw-radius);
  isolation: isolate;
}

.collection-card:nth-child(2) {
  min-height: 470px;
}

.collection-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 22% 22%, rgba(255, 255, 255, 0.24), transparent 28%),
    linear-gradient(135deg, var(--accent-a), var(--accent-b));
}

.collection-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(21, 21, 18, 0.04), rgba(21, 21, 18, 0.8));
}

.collection-card h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1;
}

.collection-card p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.collection-card__image {
  min-height: 240px;
  margin-bottom: 24px;
  border-radius: calc(var(--lw-radius) - 4px);
  background: center / cover no-repeat;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.15);
}

.lookbook-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.lookbook-card {
  overflow: hidden;
  border-radius: var(--lw-radius);
  background: #f7f2eb;
}

.lookbook-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 960px) {
  .lookbook-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .lookbook-grid {
    grid-template-columns: 1fr;
  }
}

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

.product-card,
.post-card {
  min-width: 0;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lw-line);
  border-radius: var(--lw-radius);
  box-shadow: 0 12px 32px rgba(36, 35, 31, 0.08);
}

.product-card__image,
.post-card__image {
  aspect-ratio: 4 / 5;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #ede1cc, #fff7ed);
}

.product-card__image img,
.post-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__placeholder {
  width: 72%;
  aspect-ratio: 1;
  background: url("assets/images/product-placeholder.svg") center / contain no-repeat;
}

.product-card__body,
.post-card__body {
  padding: 18px;
}

.product-card h3,
.post-card h3 {
  margin: 0;
  font-size: 1rem;
  line-height: 1.3;
}

.price {
  display: block;
  margin-top: 8px;
  color: var(--lw-gold-dark);
  font-weight: 900;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  min-height: 540px;
  overflow: hidden;
  background: #fff;
  border-radius: var(--lw-radius);
}

.editorial-band__media {
  background:
    linear-gradient(180deg, rgba(21, 21, 18, 0.02), rgba(21, 21, 18, 0.34)),
    url("assets/images/pexels-zaylard-13190976_1.jpg") center / cover no-repeat;
}

.editorial-band__content {
  display: grid;
  align-content: center;
  padding: clamp(32px, 6vw, 72px);
}

.editorial-band h2,
.newsletter h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.2rem, 4.5vw, 4.8rem);
  line-height: 1;
  font-weight: 500;
}

.editorial-band p {
  color: var(--lw-muted);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 34px;
  align-items: center;
  padding: clamp(32px, 6vw, 64px);
  color: #fff;
  background:
    linear-gradient(135deg, rgba(21, 21, 18, 0.92), rgba(21, 21, 18, 0.7)),
    url("assets/images/newsletter-texture.svg") center / cover no-repeat;
  border-radius: var(--lw-radius);
}

.newsletter p {
  color: rgba(255, 255, 255, 0.72);
}

.newsletter form,
.search-form {
  display: flex;
  gap: 10px;
}

.newsletter input,
.search-field,
.woocommerce input.input-text,
.woocommerce textarea,
.woocommerce select {
  min-height: 48px;
  width: 100%;
  padding: 12px 15px;
  color: var(--lw-ink);
  background: #fff;
  border: 1px solid var(--lw-line);
  border-radius: 999px;
}

.content-area {
  width: min(calc(100% - 32px), 980px);
  margin: 0 auto;
  padding: clamp(46px, 8vw, 88px) 0;
}

.entry-header {
  margin-bottom: 28px;
}

.entry-meta,
.entry-footer,
.post-card__meta {
  color: var(--lw-muted);
  font-size: 0.9rem;
}

.entry-content a {
  color: var(--lw-gold-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content > * {
  max-width: 780px;
}

.entry-content > .alignwide {
  max-width: var(--lw-max);
}

.entry-content > .alignfull {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
}

.pagination,
.post-navigation {
  margin-top: 38px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.75);
  background: var(--lw-ink);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  padding: 56px 0;
}

.site-footer h2,
.site-footer h3 {
  color: #fff;
  margin-top: 0;
}

.footer-navigation ul {
  justify-content: flex-end;
}

.footer-navigation a {
  color: rgba(255, 255, 255, 0.75);
}

.footer-note {
  margin: 18px 0 0;
}

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

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

.woocommerce ul.products li.product,
.woocommerce-page ul.products li.product {
  width: auto;
  margin: 0;
  padding: 0 0 18px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--lw-line);
  border-radius: var(--lw-radius);
  box-shadow: 0 12px 32px rgba(36, 35, 31, 0.08);
}

.woocommerce ul.products li.product a img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  margin: 0 0 16px;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button {
  margin-inline: 18px;
}

.woocommerce span.onsale {
  min-height: auto;
  min-width: auto;
  padding: 7px 12px;
  color: #fff;
  background: var(--lw-rose);
  border-radius: 999px;
  line-height: 1;
}

@media (max-width: 940px) {
  .site-header__inner {
    grid-template-columns: 1fr auto;
  }

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

  .primary-navigation {
    grid-column: 1 / -1;
    display: none;
    padding-bottom: 20px;
  }

  .primary-navigation.is-open {
    display: block;
  }

  .primary-navigation ul {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .primary-navigation a {
    display: block;
    padding: 12px 0;
    border-top: 1px solid var(--lw-line);
  }

  .header-actions {
    justify-self: end;
  }

  .trust-strip,
  .section-header,
  .editorial-band,
  .newsletter,
  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .collection-grid,
  .products-grid,
  .post-grid,
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-band__media {
    min-height: 360px;
  }
}

@media (max-width: 620px) {
  .site-header__inner,
  .site-footer__inner,
  .wrap,
  .hero__content,
  .content-area {
    width: min(calc(100% - 24px), var(--lw-max));
  }

  .site-description {
    display: none;
  }

  .hero {
    min-height: 720px;
    background-position: center;
  }

  .hero__content {
    padding-top: 72px;
  }

  .hero h1 {
    font-size: clamp(3rem, 17vw, 4.6rem);
  }

  .trust-strip {
    margin-top: -42px;
  }

  .trust-item {
    min-height: auto;
    padding: 20px;
  }

  .collection-grid,
  .products-grid,
  .post-grid,
  .woocommerce ul.products {
    grid-template-columns: 1fr;
  }

  .collection-card,
  .collection-card:nth-child(2) {
    min-height: 320px;
  }

  .newsletter form,
  .search-form {
    flex-direction: column;
  }

  .footer-navigation ul {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}
