/* ===========================
   KASHMIRIA — SHOP & PRODUCT CSS
   =========================== */

/* ========================
   BREADCRUMB
   ======================== */
.breadcrumb {
  padding: 1rem clamp(1.5rem, 6vw, 5rem);
  margin-top: 72px;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  border-bottom: 1px solid var(--border);
}
.breadcrumb a { color: var(--muted); transition: color 0.3s; }
.breadcrumb a:hover { color: var(--copper); }
.breadcrumb span { color: var(--light-muted); }

/* ========================
   PRODUCT DETAIL PAGE
   ======================== */
.pd-section {
  padding: 3rem clamp(1.5rem, 6vw, 5rem);
  max-width: 1300px;
  margin: 0 auto;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 860px) {
  .pd-grid { grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
}
@media (min-width: 1100px) {
  .pd-grid { grid-template-columns: 55% 1fr; }
}

.pd-image {}
.pd-img-main {
  border-radius: 4px;
  overflow: hidden;
}

.pd-info { position: sticky; top: 90px; }

.pd-title {
  font-family: var(--ff-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.1;
  margin-bottom: 0.8rem;
}

.pd-rating {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}
.pd-stars { color: var(--gold); font-size: 1rem; letter-spacing: 0.1em; }
.pd-review-count { font-size: 0.75rem; color: var(--muted); }

.pd-price {
  font-family: var(--ff-display);
  font-size: 2rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.pd-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pd-option-group { margin-bottom: 1.5rem; }
.pd-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 0.8rem;
}

.pd-colours {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.pd-colour-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
  border-radius: 2px;
}
.pd-colour-btn:hover,
.pd-colour-btn.active {
  border-color: var(--copper);
  color: var(--copper);
}
.pd-colour-btn.active { background: rgba(181,101,42,0.06); }

.pd-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

.pd-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--border);
  overflow: hidden;
}
.pd-qty button {
  width: 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: background 0.3s, color 0.3s;
}
.pd-qty button:hover { background: var(--cream); color: var(--ink); }
.pd-qty span {
  width: 44px;
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink);
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 0 0.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pd-meta {
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}
.pd-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}
.pd-meta-row:last-child { border-bottom: none; }
.pd-meta-row span:first-child { color: var(--muted); }
.pd-meta-row span:last-child { color: var(--ink); font-weight: 400; }

.pd-trust {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}
.pd-trust span {
  font-size: 0.72rem;
  color: var(--muted);
  padding: 0.5rem;
  background: var(--cream);
  text-align: center;
  border-radius: 2px;
}

/* ========================
   TABS
   ======================== */
.pd-tabs-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 6vw, 5rem) 4rem;
}

.pd-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
  overflow-x: auto;
  gap: 0;
}
.pd-tab {
  padding: 1rem 2rem;
  font-family: var(--ff-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
  transition: color 0.3s, border-color 0.3s;
}
.pd-tab:hover { color: var(--ink); }
.pd-tab.active { color: var(--copper); border-bottom-color: var(--copper); }

.pd-tab-content { animation: tabFadeIn 0.4s var(--ease-out); }
.pd-tab-content.hidden { display: none; }
@keyframes tabFadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

.pd-tab-inner { max-width: 780px; }
.pd-tab-inner h3 {
  font-family: var(--ff-display);
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 1.2rem;
  color: var(--ink);
}
.pd-tab-inner p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.pd-feature-list {
  list-style: none;
  margin-top: 1rem;
}
.pd-feature-list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
}
.pd-feature-list li::before {
  content: '✦';
  color: var(--copper);
  font-size: 0.6rem;
  flex-shrink: 0;
}

/* Shipping grid */
.shipping-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}
.shipping-item {
  padding: 1.5rem;
  background: var(--cream);
  border-radius: 2px;
}
.shipping-item h4 {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 0.8rem;
}
.shipping-item p {
  font-size: 0.8rem;
  margin-bottom: 0.4rem;
}

/* Reviews */
.review-summary {
  display: flex;
  gap: 3rem;
  padding: 2rem;
  background: var(--cream);
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.review-avg {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-width: 100px;
}
.review-avg-num {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.review-avg-stars { color: var(--gold); font-size: 1rem; }
.review-avg-label { font-size: 0.72rem; color: var(--muted); text-align: center; }

.review-bars { flex: 1; min-width: 200px; }
.review-bar-row {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 0.4rem;
  font-size: 0.75rem;
  color: var(--muted);
}
.review-bar {
  flex: 1;
  height: 6px;
  background: var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.review-bar > div {
  height: 100%;
  background: var(--gold);
  border-radius: 3px;
}

.review-list { display: flex; flex-direction: column; gap: 1.5rem; }
.review-item {
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: 2px;
}
.review-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
  margin-bottom: 0.8rem;
}
.review-header strong { font-size: 0.88rem; font-weight: 500; }
.review-loc { font-size: 0.75rem; color: var(--muted); }
.review-stars { color: var(--gold); font-size: 0.82rem; }
.review-date { font-size: 0.72rem; color: var(--light-muted); margin-left: auto; }
.review-item p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }

/* ========================
   RELATED PRODUCTS
   ======================== */
.related-products {
  padding: var(--section-pad) clamp(1.5rem, 5vw, 4rem);
  background: var(--cream);
}

/* ========================
   MOBILE FILTER TOGGLE
   ======================== */
.filter-mobile-btn {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: border-color 0.3s;
}
@media (max-width: 899px) {
  .filter-mobile-btn { display: flex; }
  .shop-filters {
    position: fixed;
    top: 0; left: -100%;
    bottom: 0;
    width: min(320px, 90vw);
    background: var(--warm-white);
    z-index: 900;
    padding: 4rem 1.5rem 2rem;
    overflow-y: auto;
    transition: left 0.4s var(--ease-out);
    box-shadow: 4px 0 20px rgba(15,10,6,0.15);
    border-right: none;
  }
  .shop-filters.mobile-open { left: 0; }
}
.filter-mobile-close {
  display: none;
  width: 100%;
  margin-top: 1rem;
  padding: 0.8rem;
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: var(--ff-body);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
}
@media (max-width: 899px) { .filter-mobile-close { display: block; } }

.shop-toolbar-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* ========================
   PAGINATION
   ======================== */
.shop-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 3rem;
}
.page-btn {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  font-family: var(--ff-body);
  font-size: 0.82rem;
  color: var(--muted);
  cursor: pointer;
  background: transparent;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  border-radius: 2px;
}
.page-btn:hover { border-color: var(--copper); color: var(--copper); }
.page-btn.active { background: var(--copper); border-color: var(--copper); color: white; }
.page-dots { color: var(--muted); font-size: 0.8rem; }

/* ========================
   ABOUT PAGE EXTRAS
   ======================== */
.about-stats-bar {
  background: var(--ink);
  padding: 2.5rem clamp(1.5rem, 6vw, 5rem);
}
.stats-bar-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem 0;
  max-width: 900px;
  margin: 0 auto;
}
.stat-bar-item {
  flex: 1;
  min-width: 150px;
  text-align: center;
}
.stat-bar-divider {
  width: 1px;
  height: 50px;
  background: rgba(255,255,255,0.1);
  flex-shrink: 0;
}
@media (max-width: 600px) { .stat-bar-divider { display: none; } }

.artisan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
.artisan-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s;
  border-radius: 2px;
}
.artisan-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(15,10,6,0.1);
}
.artisan-img {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.artisan-figure {
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 80%;
  justify-content: flex-end;
}
.af-head {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(220,180,150,0.9);
  margin-bottom: 4px;
}
.af-body {
  width: 80px; height: 140px;
  background: rgba(190,150,120,0.6);
  border-radius: 40px 40px 20px 20px;
}
.artisan-info {
  padding: 1.5rem;
}
.artisan-info h4 {
  font-family: var(--ff-display);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--ink);
  margin-bottom: 0.2rem;
}
.artisan-info span {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
  display: block;
  margin-bottom: 0.8rem;
}
.artisan-info p {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.7;
}

/* Values section */
.values-section {
  background: var(--ink);
  padding: var(--section-pad) clamp(1.5rem, 6vw, 5rem);
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.value-item { text-align: center; }
.value-icon {
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}
.value-item h4 {
  font-family: var(--ff-display);
  font-size: 1.2rem;
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.value-item p {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Craft items */
.craft-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}
.craft-item-icon { font-size: 0.8rem; flex-shrink: 0; margin-top: 4px; }
.craft-item h4 {
  font-family: var(--ff-display);
  font-size: 1.1rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
.craft-item p { font-size: 0.82rem; color: var(--muted); line-height: 1.7; margin: 0; }

/* Craft visual */
.craft-visual-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.loom-art { opacity: 0.4; }
.loom-frame {
  width: 120px; height: 200px;
  border: 2px solid rgba(201,168,76,0.6);
  position: relative;
}
.loom-warp {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(90deg, rgba(201,168,76,0.4) 0, rgba(201,168,76,0.4) 2px, transparent 2px, transparent 10px);
  animation: loomWarp 3s ease-in-out infinite;
}
.loom-weft {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, rgba(138,106,191,0.3) 0, rgba(138,106,191,0.3) 2px, transparent 2px, transparent 12px);
  animation: loomWeft 2s linear infinite;
}
.loom-shuttle {
  position: absolute;
  left: 0; top: 50%;
  width: 30px; height: 8px;
  background: rgba(201,168,76,0.8);
  border-radius: 4px;
  animation: shuttle 2s ease-in-out infinite;
}
@keyframes loomWarp { 0%,100% { opacity: 0.4; } 50% { opacity: 0.8; } }
@keyframes loomWeft { to { background-position: 0 12px; } }
@keyframes shuttle { 0%,100% { left: 0; } 50% { left: calc(100% - 30px); } }

/* About CTA */
.about-cta {
  padding: var(--section-pad) clamp(1.5rem, 6vw, 5rem);
  background: var(--cream);
  text-align: center;
}
.about-cta-inner { max-width: 600px; margin: 0 auto; }
.about-cta h2 {
  font-family: var(--ff-display);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  color: var(--ink);
  line-height: 1.15;
  margin-bottom: 1rem;
}
.about-cta h2 em { font-style: italic; color: var(--copper); }
.about-cta p { color: var(--muted); font-size: 0.9rem; }
