/* Collection page theme. Loaded by every collection page after styles.css. Scoped to body.theme-collection. */

body.theme-collection{
  --cream:#f3eadb;
  --cream-soft:#ede2cc;
  --ink:#1d1524;
  --muted:#4a3f52;
  --muted-soft:#4a3f52;
  --accent:#7a2e3b;
  --accent-soft:#e6d8bc;
  --border:#c9a45c;
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'Alegreya Sans','Trebuchet MS',sans-serif;
  --title:'Alegreya',Georgia,serif;
  --night:#1b1526;
  --edge:#2b2233;
  --gold:#d4b06a;
  --gilt:#c9a45c;
  --card:#fbf6ea;
  --well:#e6d8bc;
  --text-light:#f3e8d0;
  --text-soft:#d9cdb6;
  --line-dark:#3a2f4a;
  background:var(--cream)
}

/* Header */
.theme-collection header{min-height:60px;padding:8px 3.75vw;background:var(--night);border-bottom:1px solid var(--line-dark)}
.theme-collection header a{color:var(--text-soft)}
.theme-collection .brand{color:var(--text-light);font-size:1.875rem;font-weight:700;line-height:1.1}
.theme-collection nav{font-size:15.5px;font-weight:500;letter-spacing:.04em}
.theme-collection nav a:hover{color:var(--gold)}

/* Hero: a slim band so products come first */
.theme-collection .hero{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:32px;
  padding:28px 3.75vw;
  text-align:left;
  background:var(--night);
  border-bottom:3px solid var(--gilt)
}

.theme-collection .hero .eyebrow{margin:0;color:var(--gold);font:800 12.5px var(--sans);letter-spacing:.22em;text-transform:uppercase}

.theme-collection .hero h1{
  margin:8px 0;
  font-family:var(--serif);
  font-weight:700;
  font-size:clamp(2.3rem,4vw,3.25rem);
  line-height:1.05;
  letter-spacing:0;
  color:var(--text-light)
}

.theme-collection .hero h1 em{color:var(--gold);font-weight:700}
.theme-collection .hero p:not(.eyebrow){max-width:none;margin:0;color:var(--text-soft);font:500 18.5px/1.5 var(--sans)}
.theme-collection .cl-hero-art{width:132px;height:auto;flex-shrink:0}

/* Collection heading row */
.theme-collection .section{padding:32px 3.75vw 56px}

.theme-collection .collection-head{
  max-width:1300px;
  margin:0 auto 24px;
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:32px
}

.theme-collection .collection-head h2{margin:0;font-size:clamp(1.9rem,3.3vw,2.625rem);line-height:1.05;font-weight:700}
.theme-collection .collection-head .disclosure-top{max-width:470px;margin:0;text-align:left;color:var(--muted);font:500 13.5px/1.45 var(--sans)}

/* Product cards: dark edges and a hard offset shadow so each product stands apart */
.theme-collection .grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}

.theme-collection .card{
  display:flex;
  flex-direction:column;
  background:var(--card);
  border:2px solid var(--edge);
  border-radius:6px;
  box-shadow:5px 5px 0 var(--edge)
}

.theme-collection .card:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--edge)}

.theme-collection .pic{aspect-ratio:1/1;background:var(--well);border-bottom:2px solid var(--edge)}
.theme-collection.pics-tall .pic{aspect-ratio:4/5}

/* Show the whole photo, uncropped: used for supplier images with unusual shapes (very tall or very wide) */
.theme-collection .pic--contain{background:#fff}
.theme-collection .pic--contain img{object-fit:contain}

.theme-collection .pic-placeholder{padding:16px;background:var(--well);color:#5b4d36;font:700 13px var(--sans);letter-spacing:.12em;text-transform:uppercase}

.theme-collection .num{
  top:10px;
  left:10px;
  background:var(--accent);
  border:2px solid var(--edge);
  color:#f6e7c1;
  font:700 17px var(--serif)
}

.theme-collection .info{display:flex;flex-direction:column;flex-grow:1;gap:7px;padding:16px 16px 18px}
.theme-collection .info .cat{color:#8a5a1f;font:800 11px var(--sans);letter-spacing:.14em}
.theme-collection .info h3{margin:0;font:800 24px/1.15 var(--title);letter-spacing:-.005em;color:var(--ink)}
.theme-collection .info p:not(.price-row){margin:0;flex-grow:1;color:var(--muted);font:500 15.5px/1.5 var(--sans)}
.theme-collection .info .price-row{margin:0;font:700 16px/1.3 var(--sans)}
.theme-collection .price-now{color:var(--accent)}

.theme-collection .info .link{
  align-self:flex-start;
  margin-top:4px;
  display:inline-flex;
  align-items:center;
  min-height:44px;
  padding:0 16px;
  background:var(--edge);
  color:var(--text-light);
  border:2px solid var(--edge);
  border-radius:4px;
  font:800 13px var(--sans);
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none
}

.theme-collection .info .link:hover{text-decoration:none;opacity:.85}

/* Homepage: heading note and category cards */
.theme-collection .collection-head--stack{flex-direction:column;align-items:stretch;gap:16px;margin-bottom:36px}

.theme-collection .head-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:56px;
  align-items:end;
  padding-bottom:28px;
  border-bottom:1px solid var(--gilt)
}

.theme-collection .head-note{max-width:660px;margin:0;color:var(--muted);font:500 17.5px/1.6 var(--sans)}
.theme-collection .head-aside{display:flex;flex-direction:column;align-items:flex-end;gap:12px}
.theme-collection .head-aside::before{content:"";width:56px;height:2px;background:var(--gilt)}
.theme-collection .collection-head .head-aside .disclosure-top{max-width:none;text-align:right;font:500 14px/1.55 var(--sans)}

.theme-collection .category-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:28px 24px}

.theme-collection .category-card{
  display:flex;
  flex-direction:column;
  background:var(--card);
  border:2px solid var(--edge);
  border-radius:6px;
  box-shadow:5px 5px 0 var(--edge)
}

.theme-collection .category-card:hover{transform:translate(-2px,-2px);box-shadow:7px 7px 0 var(--edge)}
.theme-collection .category-card .cc-media{background:var(--well);border-bottom:2px solid var(--edge);color:#5b4d36}

.theme-collection .category-card .cc-badge{
  top:10px;
  right:10px;
  padding:4px 9px;
  background:var(--accent);
  border:2px solid var(--edge);
  border-radius:4px;
  color:#f6e7c1;
  font:800 11px var(--sans);
  letter-spacing:.1em
}

.theme-collection .category-card .cc-badge.soon{background:var(--card);color:var(--ink)}
.theme-collection .category-card .cc-info{display:flex;flex-direction:column;flex-grow:1;gap:7px;padding:16px 16px 18px}
.theme-collection .category-card h3{margin:0;font:800 24px/1.15 var(--title);letter-spacing:-.005em;color:var(--ink)}
.theme-collection .category-card p{margin:0;color:var(--muted);font:500 15.5px/1.5 var(--sans)}

/* About and footer */
.theme-collection .about{padding:56px 10vw;background:var(--cream-soft);border-top:3px solid var(--gilt)}
.theme-collection .about h2{font-weight:700}
.theme-collection .about .eyebrow{font:800 12.5px var(--sans);letter-spacing:.2em}
.theme-collection .about a.link{color:var(--accent)}

.theme-collection footer{background:var(--night);border-top:3px solid var(--gilt);color:var(--text-soft);font-size:14.5px}
.theme-collection .footer-brand{color:var(--text-light);font:700 28px var(--serif)}
.theme-collection .footer-col h4{color:var(--text-light);font-size:12px;font-weight:800;letter-spacing:.12em}
.theme-collection .footer-col a{color:var(--text-soft)}
.theme-collection .footer-col a:hover{color:var(--gold)}
.theme-collection .footer-bottom{border-top:1px solid var(--line-dark)}

@media(max-width:950px){
  .theme-collection .grid,
  .theme-collection .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .theme-collection .collection-head{flex-direction:column;align-items:flex-start;gap:10px}
  .theme-collection .collection-head--stack{align-items:stretch;gap:14px}
  .theme-collection .head-row{grid-template-columns:minmax(0,1fr);gap:16px}
}

/* Phones: two compact columns, and the hero band sits below the products */
@media(max-width:760px){
  .theme-collection .cl-main--products{display:flex;flex-direction:column}
  .theme-collection .cl-main--products #collections{order:1}
  .theme-collection .cl-main--products .cl-hero{order:2}
  .theme-collection .cl-main--products .about{order:3}

  .theme-collection .hero{
    flex-direction:column;
    align-items:flex-start;
    gap:8px;
    padding:28px 16px
  }

  .theme-collection .cl-main--products .cl-hero{border-top:3px solid var(--gilt);border-bottom:0}

  .theme-collection .hero h1{font-size:2.375rem}
  .theme-collection .hero p:not(.eyebrow){font-size:16.5px}
  .theme-collection .cl-hero-art{display:none}

  .theme-collection .section{padding:20px 16px 32px}
  .theme-collection .collection-head{margin-bottom:16px}
  .theme-collection .collection-head h2{font-size:2rem}
  .theme-collection .collection-head .disclosure-top{font-size:13px}
  .theme-collection .collection-head--stack{gap:10px;margin-bottom:22px}
  .theme-collection .collection-head--stack h2{font-size:1.75rem}
  .theme-collection .head-row{gap:12px;padding-bottom:18px}
  .theme-collection .head-note{font-size:15px;line-height:1.5}
  .theme-collection .head-aside{gap:8px}
  .theme-collection .head-aside::before{width:44px}
  .theme-collection .collection-head .head-aside .disclosure-top{font-size:12.5px;line-height:1.5}

  .theme-collection .grid,
  .theme-collection .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px 14px}
  .theme-collection .category-card .cc-info{padding:12px 12px 14px}
  .theme-collection .category-card h3{font-size:20px}
  .theme-collection .category-card .cc-badge{top:8px;right:8px;padding:3px 7px;font-size:10px}
  .theme-collection .category-card p{font-size:13.5px;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .theme-collection .info{padding:12px 12px 14px}
  .theme-collection .info .cat{font-size:10.5px;letter-spacing:.08em}
  .theme-collection .info h3{font-size:20px}

  .theme-collection .info p:not(.price-row){
    font-size:13.5px;
    display:-webkit-box;
    -webkit-line-clamp:3;
    -webkit-box-orient:vertical;
    overflow:hidden
  }

  .theme-collection .info .link{padding:0 12px;font-size:13px;letter-spacing:.05em}
  .theme-collection .about{padding:40px 6vw}
}

/* Paint type tags (art supplies) */
.theme-collection .paint-tags{display:flex;flex-wrap:wrap;gap:6px;list-style:none;margin:0;padding:0}

.theme-collection .paint-tag{
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:3px 10px 3px 8px;
  border:1.5px solid var(--tag-dot);
  border-radius:999px;
  background:var(--tag-bg);
  color:var(--tag-ink);
  font:800 12px var(--sans);
  letter-spacing:.04em
}

.theme-collection .paint-tag::before{
  content:"";
  width:9px;
  height:9px;
  border-radius:50% 50% 50% 0;
  transform:rotate(-45deg);
  background:var(--tag-dot)
}

.theme-collection .paint-oil{--tag-bg:#f6e3b8;--tag-ink:#5e400c;--tag-dot:#c98a1b}
.theme-collection .paint-acrylic{--tag-bg:#f7d6cf;--tag-ink:#7a271d;--tag-dot:#d8513f}
.theme-collection .paint-watercolor{--tag-bg:#d6e7f3;--tag-ink:#1b4663;--tag-dot:#3b88c3}
.theme-collection .paint-gouache{--tag-bg:#e6dcf2;--tag-ink:#48306c;--tag-dot:#8a5cc7}

.theme-collection .paint-legend{
  max-width:1300px;
  margin:0 auto 24px;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:8px
}

.theme-collection .paint-legend-label{margin-right:4px;color:var(--muted);font:800 11px var(--sans);letter-spacing:.14em;text-transform:uppercase}

@media(max-width:760px){
  .theme-collection .paint-legend{margin-bottom:16px}
  .theme-collection .paint-tag{font-size:11px;padding:2px 8px 2px 7px}
}

/* Sectioned product pages (Personalized Gifts, Gifts for Him): a titled grid per group */
.theme-collection .product-groups{max-width:1300px;margin:0 auto}
.theme-collection .product-group + .product-group{margin-top:52px}

.theme-collection .group-head{
  display:flex;
  align-items:center;
  gap:18px;
  margin:0 0 24px;
  font:700 clamp(1.6rem,2.6vw,2.125rem)/1.1 var(--serif);
  color:var(--ink)
}

.theme-collection .group-head::after{content:"";flex:1;height:2px;background:var(--gilt)}

@media(max-width:760px){
  .theme-collection .product-group + .product-group{margin-top:36px}
  .theme-collection .group-head{margin-bottom:16px;gap:12px;font-size:1.5rem}
}
