/* =========================================================
   BÆSJ & BLING LIGHT THEME
   Scandinavian minimalism with gold accent
   ========================================================= */

:root {
  --color-bg: #faf8f5;
  --color-surface: #ffffff;
  --color-text: #1c1c1c;
  --color-muted: #666666;
  --color-gold: #c7a75e;
  --color-gold-light: #e4d3a0;
  --font-heading: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
  --header-offset: 100px;
}

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  line-height: 1.7;
}

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

.hero-cta {
  padding: 3rem 4vw;
  background: linear-gradient(135deg, #fffaf3, #fff0d9);
}
.hero-cta-inner {
  max-width: 1000px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(199, 167, 94, 0.2);
  border-radius: 24px;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 20px 40px rgba(15, 7, 0, 0.08);
}
.hero-cta-text h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 0.5rem;
}
.hero-cta-text p {
  color: var(--color-muted);
  margin: 0;
}
.hero-cta-button {
  background: var(--color-gold);
  color: #fff;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 12px 25px rgba(199, 167, 94, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border:0;
  cursor:pointer;
}
.hero-cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 30px rgba(199, 167, 94, 0.4);
}
.newsletter-form{
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  min-width:280px;
  width:100%;
}
.newsletter-form input[type="text"],
.newsletter-form input[type="email"]{
  width:100%;
  border-radius:16px;
  border:1px solid rgba(199,167,94,0.35);
  padding:0.75rem 1rem;
  font-size:1rem;
  font-family:inherit;
  background:#fff;
  transition:border-color 0.2s ease, box-shadow 0.2s ease;
}
.newsletter-form input:focus{
  outline:none;
  border-color:var(--color-gold);
  box-shadow:0 0 0 3px rgba(199,167,94,0.2);
}
.newsletter-consent{
  display:flex;
  align-items:flex-start;
  gap:0.5rem;
  font-size:0.9rem;
  color:var(--color-muted);
}
.newsletter-consent input{
  margin-top:0.25rem;
}
.newsletter-feedback{
  min-height:1.2rem;
  font-size:0.9rem;
  margin:0;
}
.newsletter-feedback.is-success{
  color:#0f8a32;
}
.newsletter-feedback.is-error{
  color:#b3261e;
}

.extra-content {
  padding: 4rem 4vw 6rem;
  background: var(--color-bg);
}
.extra-cards {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.extra-card {
  background: #fff;
  border-radius: 18px;
  padding: 1.8rem;
  border: 1px solid rgba(199, 167, 94, 0.15);
  box-shadow: 0 8px 20px rgba(0,0,0,0.05);
}
.extra-card h4 {
  margin-top: 0;
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
}
.extra-card p {
  margin: 0;
  color: var(--color-muted);
}

.site-footer-custom {
  background: #0b2632;
  color: #f5f7fa;
  padding: 4rem 4vw 2rem;
  text-align:center;
}
.site-footer-custom a {
  color: #fbd889;
  text-decoration: none;
}
.site-footer-custom a:hover {
  text-decoration: underline;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  justify-items:center;
}
.footer-brand-link{
  display:inline-flex;
  align-items:flex-start;
  gap:1rem;
  color:inherit;
  text-decoration:none;
  margin-bottom:1rem;
}
.footer-logo,
.footer-logo-image,
.footer-brand img {
  max-height: 60px;
  width: auto;
  display:block;
}
.footer-brand-text{
  display:flex;
  flex-direction:column;
  gap:0.35rem;
}
.footer-site-title {
  font-size: 1.4rem;
  font-weight: 700;
}

.footer-site-tagline{
  font-size:1rem;
  color: rgba(255,255,255,0.75);
}
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  text-align:center;
}
.footer-contact li {
  margin-bottom: 0.4rem;
}
.footer-links h3,
.footer-social h3 {
  margin-top: 0;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: #fff;
  text-align:center;
}
.footer-links,
.footer-social{
  text-align:center;
}
.footer-links ul,
.footer-social ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align:center;
}
.footer-links li,
.footer-social li {
  margin-bottom: 0.4rem;
}
.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  align-items:center;
}
.footer-credit {
  display:flex;
  align-items:center;
  gap:0.5rem;
  font-size:0.85rem;
}
.footer-credit img {
  height:142px;
  width:auto;
}

@media (max-width: 800px) {
  .site-footer-custom{
    padding:3rem 2rem 1.5rem;
  }
  .footer-inner{
    gap:1.5rem;
  }
}

@media (max-width: 700px) {
  .hero-cta{
    padding:2.5rem 1.5rem 3rem;
  }
  .hero-cta-inner {
    flex-direction: column;
    text-align: center;
    align-items:stretch;
    padding:2rem;
  }
  .hero-cta-button {
    width: 100%;
    text-align: center;
  }
  .newsletter-form{
    min-width:0;
  }
  .hero-cta-text h3{
    font-size:1.6rem;
  }
}

@media (max-width: 640px) {
  .extra-content{
    padding:3rem 1.5rem 4rem;
  }
  .extra-cards{
    grid-template-columns:1fr;
  }
  .extra-card{
    text-align:center;
  }
  .site-footer-custom{
    text-align:left;
  }
  .footer-inner{
    grid-template-columns:1fr;
    justify-items:flex-start;
    text-align:left;
  }
  .footer-brand-link{
    justify-content:flex-start;
  }
  .footer-contact,
  .footer-links,
  .footer-social,
  .footer-links ul,
  .footer-social ul{
    text-align:left;
  }
  .footer-bottom{
    align-items:flex-start;
  }
}

@media (max-width: 540px) {
  .hero-cta-inner{
    padding:1.5rem;
  }
  .hero-cta-text h3{
    font-size:1.4rem;
  }
  .hero-cta-text p{
    font-size:0.95rem;
  }
}

@media (max-width: 480px) {
  .hero-cta{
    padding:2.25rem 1.1rem 2.75rem;
  }
  .newsletter-consent{
    font-size:0.85rem;
  }
  .extra-content{
    padding-inline:1rem;
  }
}

/* =========================================================
   HEADER & FOOTER
   ========================================================= */
header, footer {
  background: #ffffff;
  border-top: 1px solid #eee;
}

.site-footer {
  text-align: center;
  padding: 2rem;
  color: var(--color-muted);
  font-size: 0.9rem;
  background: var(--color-surface);
}

/* =========================================================
   CATEGORY BANNER
   ========================================================= */
.category-banner{
  --category-banner-accent: var(--color-gold);
  --category-banner-image:none;
  margin:-1rem auto 4.75rem;
  padding:2rem 2.5rem;
  background:linear-gradient(120deg, rgba(255,255,255,0.98), rgba(255,246,222,0.9));
  border:1px solid rgba(199,167,94,0.22);
  border-radius:32px;
  position:relative;
  overflow:hidden;
  box-shadow:0 25px 60px rgba(15,7,0,0.08);
}
.category-banner::before{
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(circle at 20% 20%, rgba(199,167,94,0.2), transparent 50%);
  opacity:0.75;
  pointer-events:none;
}
.category-banner__inner{
  position:relative;
  z-index:1;
  display:flex;
  gap:2rem;
  align-items:center;
}
.category-banner__copy{
  flex:1 1 55%;
}
.category-banner__tag{
  display:inline-flex;
  align-items:center;
  gap:0.4rem;
  font-size:0.8rem;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#553913;
  background:rgba(255,255,255,0.8);
  border-radius:999px;
  padding:0.3rem 1rem;
  border:1px solid rgba(199,167,94,0.35);
  margin-bottom:0.9rem;
}
.category-banner__tag::before{
  content:"";
  width:0.4rem;
  height:0.4rem;
  border-radius:50%;
  background:var(--category-banner-accent);
  box-shadow:0 0 8px rgba(0,0,0,0.15);
}
.category-banner__title{
  font-family:var(--font-heading);
  font-size:clamp(2rem, 3vw, 3rem);
  margin:0 0 0.75rem;
  color:var(--color-text);
}
.category-banner__text{
  margin:0 0 1.4rem;
  color:var(--color-muted);
  font-size:1rem;
  max-width:540px;
}
.category-banner__actions{
  display:flex;
  flex-wrap:wrap;
  gap:0.75rem 1.25rem;
  align-items:center;
}
.category-banner__cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  background:var(--category-banner-accent);
  color:#2c1600;
  padding:0.85rem 1.9rem;
  border-radius:18px;
  font-weight:600;
  box-shadow:0 20px 35px rgba(199,167,94,0.4);
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.category-banner__cta:hover{
  transform:translateY(-2px);
  box-shadow:0 24px 45px rgba(199,167,94,0.45);
}
.category-banner__secondary{
  color:var(--color-text);
  text-decoration:none;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:0.3rem;
}
.category-banner__secondary::after{
  content:"→";
  font-size:1rem;
}
.category-banner__product{
  flex:1 1 38%;
  min-width:240px;
}
.category-banner__product-card{
  display:flex;
  flex-direction:column;
  background:#fff;
  border-radius:28px;
  border:1px solid rgba(0,0,0,0.05);
  text-decoration:none;
  color:inherit;
  box-shadow:0 30px 45px rgba(15,7,0,0.12);
  overflow:hidden;
  transition:transform 0.2s ease, box-shadow 0.2s ease;
}
.category-banner__product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 36px 60px rgba(15,7,0,0.16);
}
.category-banner__product-media{
  position:relative;
  width:100%;
  padding-top:68%;
  background:linear-gradient(135deg, rgba(255,255,255,0.7), rgba(199,167,94,0.25));
}
.category-banner__product-image,
.category-banner__product-image-fallback{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  border:0;
  border-radius:0;
}
.category-banner__product-image-fallback{
  background-size:cover;
  background-position:center;
}
.category-banner__product-info{
  padding:1.3rem 1.5rem 1.5rem;
  display:flex;
  flex-direction:column;
  gap:0.4rem;
}
.category-banner__product-tag{
  font-size:0.75rem;
  text-transform:uppercase;
  letter-spacing:0.08em;
  color:#866224;
}
.category-banner__product-title{
  margin:0;
  font-size:1.2rem;
  font-family:var(--font-heading);
  color:var(--color-text);
}
.category-banner__product-price{
  font-weight:600;
  color:#3a250c;
  font-size:1rem;
}
.category-banner__visual{
  flex:1 1 38%;
  min-height:230px;
  position:relative;
}
.category-banner__visual::before{
  content:"";
  position:absolute;
  inset:10%;
  border-radius:60px 40px 140px 80px;
  background:radial-gradient(circle at 30% 30%, rgba(255,255,255,0.65), transparent 45%), linear-gradient(135deg, rgba(255,255,255,0.65), rgba(199,167,94,0.4));
}
.category-banner__visual::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius:80px 40px 120px 110px;
  background-image:var(--category-banner-image);
  background-size:cover;
  background-position:center;
  filter:saturate(1.05) contrast(1.05);
  box-shadow:0 35px 60px rgba(0,0,0,0.2);
}
.category-banner--no-image .category-banner__visual{
  display:none;
}
.category-banner--no-image .category-banner__copy{
  flex:1 1 100%;
}
@media (max-width:900px){
  .category-banner{
    padding:2rem;
    border-radius:24px;
  }
  .category-banner__inner{
    flex-direction:column;
    align-items:flex-start;
  }
  .category-banner__visual{
    width:100%;
    min-height:200px;
  }
}
@media (max-width:600px){
  .category-banner{
    padding:1.6rem;
  }
  .category-banner__title{
    font-size:2rem;
  }
  .category-banner__actions{
    flex-direction:column;
    align-items:flex-start;
  }
.category-banner__cta,
  .category-banner__secondary{
    width:100%;
    justify-content:center;
  }
}

.category-products-anchor{
  width:100%;
  height:1px;
  margin-bottom:1.5rem;
}

.baesj-cart,
.baesj-checkout{
  padding:3rem min(5vw, 3.5rem);
  display:flex;
  justify-content:center;
}
.baesj-cart-layout,
.baesj-checkout-layout{
  width:100%;
  max-width:1200px;
  display:grid;
  grid-template-columns:minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap:2.5rem;
  align-items:start;
}
.baesj-cart-main,
.baesj-checkout-main{
  min-width:0;
}
.baesj-cart-summary,
.baesj-checkout-summary{
  position:sticky;
  top:1.5rem;
  align-self:start;
  background:#fff;
  border:1px solid rgba(0,0,0,0.05);
  border-radius:20px;
  padding:1.5rem;
  box-shadow:0 15px 45px rgba(0,0,0,0.08);
}
.baesj-checkout-summary h3,
.baesj-cart-summary h2,
.baesj-cart-summary h3{
  margin-top:0;
}
.baesj-cart .woocommerce-cart-form{
  background:#fff;
  border-radius:24px;
  padding:1.5rem;
  box-shadow:0 20px 60px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.05);
  overflow:auto;
}
.baesj-checkout .woocommerce-checkout{
  background:#fff;
  border-radius:24px;
  padding:2rem;
  box-shadow:0 20px 60px rgba(0,0,0,0.06);
  border:1px solid rgba(0,0,0,0.05);
}
.baesj-checkout .col2-set{
  display:grid;
  grid-template-columns:repeat(2, minmax(0,1fr));
  gap:1.5rem;
}
.baesj-checkout .col2-set .col-1,
.baesj-checkout .col2-set .col-2{
  min-width:0;
}

@media (max-width: 1200px){
  .baesj-cart,
  .baesj-checkout{
    padding:2.5rem 2rem;
  }
}

@media (max-width: 1024px){
  .baesj-cart-layout,
  .baesj-checkout-layout{
    grid-template-columns:1fr;
  }
  .baesj-cart-summary,
  .baesj-checkout-summary{
    position:static;
  }
}

/* =========================================================
   CHECKOUT
   ========================================================= */
@media (max-width: 768px) {
  body.woocommerce-checkout .woocommerce{
    display:block !important;
  }
  .woocommerce-checkout form.checkout{
    display:block !important;
    width:100%;
    max-width:100%;
  }
  .woocommerce-checkout form.checkout .col2-set,
  .woocommerce-checkout form.checkout .col2-set .col-1,
  .woocommerce-checkout form.checkout .col2-set .col-2,
  .woocommerce-checkout form.checkout #customer_details,
  .woocommerce-checkout form.checkout #order_review,
  .woocommerce-checkout .woocommerce-checkout-review-order,
  .woocommerce-checkout #order_review_heading{
    width:100% !important;
    max-width:100% !important;
    margin-left:0 !important;
    margin-right:0 !important;
    padding-left:0;
    padding-right:0;
  }
  .woocommerce-checkout form.checkout .col2-set{
    display:block !important;
    gap:0;
    float:none !important;
  }
  .woocommerce-checkout form.checkout .col2-set::after{
    content:none !important;
  }
  .woocommerce-checkout form.checkout .col2-set .col-1,
  .woocommerce-checkout form.checkout .col2-set .col-2{
    float:none !important;
    width:100% !important;
    max-width:100% !important;
    margin:0 0 1.5rem !important;
  }
  .woocommerce-checkout-review-order{
    margin-top:2rem;
  }
  .woocommerce-checkout #order_review{
    clear:both;
  }
}
