/* ===================================
   ARTISAN'S ATELIER — PAGE STYLES
   Replace file: /css/artisan-atelier.css
=================================== */

:root{
  --ia-ivory-mist:#F6F3EC;
  --ia-obsidian:#0C3B2E;
}

/* ---------- HERO (match Scented Rituals) ---------- */
.page-template-page-artisans-atelier .category-hero{
  position:relative;
  height:78vh;                                  /* luxury height */
  overflow:hidden;
  background: var(--ia-ivory-mist);
  background-image: linear-gradient(135deg,#f8f6f3 0%, #f1ede7 100%);
}
.page-template-page-artisans-atelier .category-hero::before{
  content:"";
  position:absolute; inset:0;
  background:url('../assets/images/texture-paper.png') repeat;
  opacity:.03; pointer-events:none;
}
.page-template-page-artisans-atelier .category-hero .hero-content{
  position:absolute; top:47%; left:50%;
  transform:translate(-50%,-50%);
  text-align:center;
  max-width:900px;
  margin:0 auto;
  padding:0 20px;
  z-index:2;
}

/* EXACT same rhythm as Scented Rituals */
.page-template-page-artisans-atelier .hero-title{
  text-align:center;
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: var(--color-text);
  line-height:1.1;
}
.page-template-page-artisans-atelier .hero-description{
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 0.90rem;
  line-height: 1.6;
  color: var(--color-text-light);
}

/* Buttons row — same layout pattern */
.page-template-page-artisans-atelier .hero-buttons{
  display:flex;
  gap:16px;
  justify-content:center;
  align-items:center;
  flex-wrap:wrap;
  margin-top:8px;
}
.page-template-page-artisans-atelier .hero-buttons a{
  min-width:260px;
  padding:14px 26px;
  border-radius:12px;
}
@media (max-width:768px){
  .page-template-page-artisans-atelier .hero-buttons{ gap:12px; }
  .page-template-page-artisans-atelier .hero-buttons a{ min-width:220px; }
}

/* ---------- ARTISAN PRODUCTS SECTION ---------- */
.page-template-page-artisans-atelier .artisan-products-section{
  padding:4rem 0;
  background:#faf8f3;
}
.page-template-page-artisans-atelier .artisan-products-section .container{
  max-width:1400px; margin:0 auto; padding:0 2rem;
}

.page-template-page-artisans-atelier .section-header{ text-align:center; margin-bottom:4rem; }
.page-template-page-artisans-atelier .section-title{
  font-family:'Cormorant Garamond',serif;
  font-size:3rem; font-weight:300; color:var(--ia-obsidian);
  margin:0 0 1rem; letter-spacing:.5px;
}
.page-template-page-artisans-atelier .section-subtitle{
  font-family:'Inter',sans-serif; font-size:1.1rem; color:#666; line-height:1.6;
  max-width:600px; margin:0 auto;
}

.page-template-page-artisans-atelier .products-grid.artisan-grid{
  display:grid; grid-template-columns:repeat(4,1fr);
  gap:2rem; max-width:1200px; margin:0 auto;
}

.page-template-page-artisans-atelier .product-card.artisan-card{
  background:#fff; border-radius:16px; overflow:hidden;
  border:1px solid rgba(212,175,55,.12);
  box-shadow:0 8px 25px rgba(0,0,0,.08);
  transition:.35s ease; position:relative;
}
.page-template-page-artisans-atelier .product-card.artisan-card:hover{
  transform:translateY(-10px); box-shadow:0 22px 48px rgba(0,0,0,.14);
}

.page-template-page-artisans-atelier .product-badge{
  position:absolute; top:12px; left:12px; z-index:2;
  background:linear-gradient(135deg,#d4af37,#f4d03f); color:#fff;
  padding:4px 12px; border-radius:20px; font-size:.75rem; font-weight:600;
  text-transform:uppercase; letter-spacing:.5px;
  box-shadow:0 2px 8px rgba(212,175,55,.3);
}

.page-template-page-artisans-atelier .product-image{
  width:100%; height:280px; position:relative; overflow:hidden;
}
.page-template-page-artisans-atelier .product-image img{
  width:100%; height:100%; object-fit:cover; transition:transform .4s ease;
}
.page-template-page-artisans-atelier .product-card.artisan-card:hover .product-image img{
  transform:scale(1.08);
}

.page-template-page-artisans-atelier .product-overlay{
  position:absolute; inset:0; display:flex; align-items:center; justify-content:center;
  background:linear-gradient(135deg, rgba(212,175,55,.9), rgba(244,208,63,.9));
  opacity:0; transition:.35s ease;
}
.page-template-page-artisans-atelier .product-card.artisan-card:hover .product-overlay{ opacity:1; }

.page-template-page-artisans-atelier .quick-view-btn{
  background:#fff; color:#2c2c2c; padding:12px 24px; border-radius:24px;
  font-weight:600; font-size:.9rem; letter-spacing:.5px; text-decoration:none;
  transform:translateY(20px); transition:.35s ease; box-shadow:0 4px 14px rgba(0,0,0,.12);
}
.page-template-page-artisans-atelier .product-card.artisan-card:hover .quick-view-btn{ transform:translateY(0); }
.page-template-page-artisans-atelier .quick-view-btn:hover{
  background:#2c2c2c; color:#fff; transform:translateY(-2px);
}

.page-template-page-artisans-atelier .product-info{ padding:2rem 1.5rem; text-align:center; }
.page-template-page-artisans-atelier .product-title{
  font-family:'Cormorant Garamond',serif; font-size:1.5rem; color:#2c2c2c;
  margin:.25rem 0 .5rem; font-weight:400; letter-spacing:.3px; line-height:1.3;
}
.page-template-page-artisans-atelier .product-category{
  font-family:'Inter',sans-serif; color:#d4af37; font-size:.85rem; margin-bottom:.8rem;
  font-weight:600; text-transform:uppercase; letter-spacing:1px;
}
.page-template-page-artisans-atelier .product-excerpt{
  font-family:'Inter',sans-serif; color:#666; font-size:.95rem; line-height:1.5;
  margin-bottom:1.2rem; font-style:italic;
}
.page-template-page-artisans-atelier .product-price{ margin-bottom:1.5rem; }
.page-template-page-artisans-atelier .current-price{
  font-family:'Inter',sans-serif; font-size:1.35rem; color:#2c2c2c; font-weight:700;
}
.page-template-page-artisans-atelier .price-on-request{
  font-family:'Inter',sans-serif; font-size:1.05rem; color:#d4af37; font-weight:600; font-style:italic;
}

.page-template-page-artisans-atelier .product-actions{
  display:flex; gap:.8rem; align-items:center; justify-content:center;
}
.page-template-page-artisans-atelier .btn{
  padding:10px 20px; border-radius:8px; font-family:'Inter',sans-serif;
  font-size:.9rem; font-weight:500; border:none; cursor:pointer;
  transition:.25s ease; letter-spacing:.3px;
}
.page-template-page-artisans-atelier .btn-primary{ background:#d4af37; color:#fff; }
.page-template-page-artisans-atelier .btn-primary:hover{
  background:#2c2c2c; transform:translateY(-2px); box-shadow:0 4px 15px rgba(44,44,44,.18);
}
.page-template-page-artisans-atelier .btn-secondary{
  background:transparent; color:#2c2c2c; border:1px solid #2c2c2c;
  width:40px; height:40px; display:flex; align-items:center; justify-content:center; font-size:1.1rem;
}
.page-template-page-artisans-atelier .btn-secondary:hover{
  background:#2c2c2c; color:#fff; transform:translateY(-2px);
}

/* ---------- OPTIONAL “LUXURY” GRID ---------- */
.page-template-page-artisans-atelier .product-grid-section{ padding:100px 0; background:#fff; }
.page-template-page-artisans-atelier .luxury-product-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:30px;
  max-width:1200px; margin:0 auto; padding:0 20px;
}
.page-template-page-artisans-atelier .luxury-product-card{
  background:#fff; border-radius:12px; overflow:hidden; border:none;
  box-shadow:0 2px 8px rgba(0,0,0,.08); transition:.25s ease; position:relative;
}
.page-template-page-artisans-atelier .luxury-product-card:hover{
  transform:translateY(-3px); box-shadow:0 8px 20px rgba(0,0,0,.12);
}
.page-template-page-artisans-atelier .product-image-container{
  width:100%; height:250px; overflow:hidden; position:relative; background:#f8f6f3;
  border-radius:12px 12px 0 0;
}
.page-template-page-artisans-atelier .product-image-container .product-image{
  width:100%; height:100%; object-fit:cover; transition:.3s ease;
}
.page-template-page-artisans-atelier .luxury-product-card:hover .product-image{ transform:scale(1.03); }
.page-template-page-artisans-atelier .product-info .product-name{
  font-family:'Playfair Display',serif; font-size:1.3rem; font-weight:600; color:#2c2c2c; margin:8px 0;
}
.page-template-page-artisans-atelier .product-info .product-description{
  font-family:'Inter',sans-serif; font-size:.85rem; color:#666; line-height:1.4; margin-bottom:12px; font-style:italic;
}
.page-template-page-artisans-atelier .product-info .product-price{
  font-family:'Inter',sans-serif; font-size:1.1rem; font-weight:600; color:#d4af37; letter-spacing:.5px; margin-bottom:16px; display:block;
}
.page-template-page-artisans-atelier .discover-more-btn{
  display:inline-block; padding:10px 24px; background:transparent; border:1px solid #d4af37;
  border-radius:25px; color:#d4af37; font-family:'Inter',sans-serif; font-size:.85rem; font-weight:500;
  text-decoration:none; transition:.25s ease; text-transform:uppercase; letter-spacing:.5px;
}
.page-template-page-artisans-atelier .discover-more-btn:hover{
  background:#d4af37; color:#fff; transform:translateY(-1px);
}

/* ---------- CONTAINER ---------- */
.page-template-page-artisans-atelier .container{ max-width:1200px; margin:0 auto; padding:0 2rem; }

/* ---------- RESPONSIVE ---------- */
@media (max-width:1400px){
  .page-template-page-artisans-atelier .products-grid.artisan-grid{ grid-template-columns:repeat(3,1fr); gap:1.8rem; }
  .page-template-page-artisans-atelier .luxury-product-grid{ grid-template-columns:repeat(3,1fr); }
}
@media (max-width:1024px){
  .page-template-page-artisans-atelier .products-grid.artisan-grid{ grid-template-columns:repeat(2,1fr); gap:1.5rem; }
  .page-template-page-artisans-atelier .luxury-product-grid{ grid-template-columns:repeat(2,1fr); gap:25px; max-width:800px; }
  .page-template-page-artisans-atelier .product-image-container{ height:250px; }
}
@media (max-width:768px){
  .page-template-page-artisans-atelier .products-grid.artisan-grid{ grid-template-columns:repeat(2,1fr); gap:1.2rem; }
  .page-template-page-artisans-atelier .luxury-product-grid{ grid-template-columns:1fr; gap:20px; max-width:420px; padding:0 15px; }
  .page-template-page-artisans-atelier .product-image{ height:220px; }
  .page-template-page-artisans-atelier .product-info{ padding:20px 16px; }
}
@media (max-width:480px){
  .page-template-page-artisans-atelier .products-grid.artisan-grid{ grid-template-columns:1fr; gap:1rem; }
  .page-template-page-artisans-atelier .luxury-product-grid{ grid-template-columns:1fr; gap:20px; padding:0 10px; }
  .page-template-page-artisans-atelier .product-image{ height:250px; }
  .page-template-page-artisans-atelier .product-image-container{ height:250px; }
  .page-template-page-artisans-atelier .product-actions{ flex-direction:column; gap:.5rem; }
  .page-template-page-artisans-atelier .hero-description{ font-size:1rem; }
  .page-template-page-artisans-atelier .category-hero .hero-content{ padding:2rem; }
}
