/* Store Designer package for Reptile Gifts */
/* Reptile Gifts: a well-kept planted vivarium at lamp-on hour */
:root{
  --rg-moss:#F1F5EC;      /* very pale moss tint */
  --rg-deep:#17201A;      /* vivarium shade */
  --rg-amber:#E9C46A;     /* lamp light, on dark only */
  --rg-ease:cubic-bezier(.22,.7,.2,1);
}
body{overflow-x:clip}

/* ---------- shared ---------- */
.rg-home{color:var(--cs-text)}
.rg-home h1,.rg-home h2{font-family:var(--cs-font-h);color:var(--cs-ink);letter-spacing:-.02em;text-wrap:balance}
.rg-bleed{margin-left:calc(50% - 50vw);margin-right:calc(50% - 50vw)}
.rg-h2{font-size:clamp(1.75rem,1.1rem + 2.4vw,2.75rem);line-height:1.08;margin:0}
.rg-home .cs-eyebrow{color:var(--cs-primary);font-weight:700;letter-spacing:.12em;text-transform:uppercase;font-size:.78rem;margin:0 0 .6rem}
.rg-home .rg-head{margin-bottom:clamp(1.25rem,3vw,2.25rem)}
.rg-head--center{text-align:center}
.rg-band{background:var(--rg-moss)}

/* ---------- hero ---------- */
.rg-hero{position:relative;display:flex;align-items:center;min-height:clamp(520px,74vh,760px);background:var(--rg-deep);overflow:hidden;isolation:isolate}
.rg-hero__img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:72% 50%;z-index:-2}
.rg-hero__shade{position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(14,20,15,.92) 0%,rgba(14,20,15,.78) 32%,rgba(14,20,15,.25) 58%,rgba(14,20,15,0) 75%)}
.rg-hero__in{width:100%;padding-top:3.5rem;padding-bottom:3.5rem}
.rg-hero__in>*{max-width:34rem}
.rg-hero__in>.rg-hero__title{max-width:40rem}
.rg-home .rg-hero__title{color:#fff;font-size:clamp(1.95rem,1.2rem + 3vw,3.3rem);line-height:1.08;margin:0 0 1.1rem;text-wrap:balance}
.rg-hero__lead{color:#E3E8DD;font-size:clamp(1.1rem,1rem + .6vw,1.4rem);line-height:1.45;margin:0 0 1.8rem}
.rg-hero__cta{display:flex;flex-wrap:wrap;gap:.75rem}
.rg-hero__cta .cs-btn{min-height:48px}
.rg-home .rg-btn-light{background:transparent;color:#fff;border:1.5px solid rgba(255,255,255,.7);box-shadow:none}
.rg-home a.cs-btn.rg-btn-light:hover,.rg-home a.cs-btn.rg-btn-light:focus-visible,.rg-home a.cs-btn.rg-btn-light:active{background:#fff;color:var(--cs-ink)!important;border-color:#fff}
/* phones: the picture sits on top in its own frame (gecko whole, head in the middle), the words follow under a fade */
@media (max-width:760px){
  .rg-hero{display:block;min-height:0}
  .rg-hero picture{display:block;overflow:hidden}
  .rg-hero__img{position:static;display:block;width:100%;height:auto;aspect-ratio:1040 / 916;object-position:50% 50%}
  .rg-hero__shade{display:none}
  .rg-hero__in{position:relative;margin-top:-5.5rem;padding-top:5.5rem;padding-bottom:2.25rem;background:linear-gradient(180deg,rgba(23,32,26,0) 0,rgba(23,32,26,.86) 3.4rem,var(--rg-deep) 5.5rem)}
  .rg-hero__cta .cs-btn{flex:1 1 100%;justify-content:center;text-align:center}
}
@media (prefers-reduced-motion:no-preference){
  .rg-hero__img{animation:rg-pan 28s var(--rg-ease) both}
  @keyframes rg-pan{from{transform:scale(1.08) translateX(1.5%)}to{transform:scale(1) translateX(0)}}
  @keyframes rg-settle{from{transform:scale(1.05)}to{transform:scale(1)}}
}
@media (prefers-reduced-motion:no-preference) and (max-width:760px){.rg-hero__img{animation-name:rg-settle;animation-duration:14s}}

/* ---------- animal tiles ---------- */
.rg-bento{display:grid;gap:14px;grid-template-columns:5fr 3.5fr 3.5fr;grid-template-rows:repeat(2,minmax(0,1fr))}
.rg-tile{position:relative;display:block;overflow:hidden;border-radius:var(--cs-r-lg,16px);background:var(--rg-deep);min-height:250px;isolation:isolate;text-decoration:none}
.rg-tile--lead{grid-row:1 / span 2;aspect-ratio:4 / 4.6}
.rg-tile img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2;transition:transform .9s var(--rg-ease)}
.rg-tile::before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(14,20,15,0) 42%,rgba(14,20,15,.82) 100%)}
.rg-tile::after{content:"";position:absolute;inset:7px;border:1px solid rgba(255,255,255,.28);border-radius:calc(var(--cs-r-lg,16px) - 5px);pointer-events:none}
.rg-tile__body{position:absolute;left:0;right:0;bottom:0;padding:1.25rem 1.35rem 1.3rem;display:flex;flex-direction:column;gap:.2rem;color:#fff}
.rg-tile__name{font-family:var(--cs-font-h);font-weight:700;font-size:clamp(1.2rem,1rem + .8vw,1.6rem);line-height:1.1;letter-spacing:-.01em}
.rg-tile--lead .rg-tile__name{font-size:clamp(1.5rem,1.1rem + 1.6vw,2.2rem)}
.rg-tile__go{font-size:.95rem;color:#E3E8DD}
.rg-tile:hover img,.rg-tile:focus-visible img{transform:scale(1.05)}
.rg-tile:focus-visible{outline:3px solid var(--cs-accent);outline-offset:3px}
@media (max-width:900px){
  .rg-bento{grid-template-columns:1fr 1fr;grid-template-rows:none}
  .rg-tile--lead{grid-column:1 / -1;grid-row:auto;aspect-ratio:16 / 12}
  .rg-tile{min-height:0;aspect-ratio:4 / 5}
  .rg-tile__body{padding:.9rem .95rem 1rem}
  .rg-tile__go{font-size:.84rem}
}

/* ---------- story ---------- */
.rg-story__split{align-items:center;gap:clamp(2rem,5vw,4.5rem)}
.rg-story__media{position:relative;padding-bottom:2.5rem}
.rg-frame{border-radius:var(--cs-r-lg,16px);overflow:hidden;box-shadow:0 24px 50px -28px rgba(23,32,26,.55)}
.rg-frame img{display:block;width:100%;height:auto}
.rg-card{position:absolute;right:-1.25rem;bottom:0;width:min(290px,78%);background:#fff;border:1px solid #DDE3D6;border-radius:10px;padding:1rem 1.1rem 1.05rem;box-shadow:0 18px 36px -22px rgba(23,32,26,.5)}
.rg-card__title{font-family:var(--cs-font-h);font-weight:700;color:var(--cs-ink);font-size:.95rem;margin:0 0 .55rem}
.rg-card__list{margin:0;display:grid;gap:.4rem}
.rg-card__list div{display:grid;grid-template-columns:5.6rem 1fr;gap:.5rem;font-size:.86rem;line-height:1.35}
.rg-card__list dt{color:var(--cs-primary);font-weight:700}
.rg-card__list dd{margin:0;color:var(--cs-text)}
.rg-points{list-style:none;margin:1.3rem 0 1.7rem;padding:0;display:grid;gap:.8rem}
.rg-points li{position:relative;padding-left:1.6rem;line-height:1.5;max-width:52ch}
.rg-points li::before{content:"";position:absolute;left:0;top:.5em;width:.7rem;height:.7rem;border-radius:50% 50% 50% 0;background:var(--cs-primary);transform:rotate(45deg)}
.rg-points strong{color:var(--cs-ink)}
@media (max-width:760px){.rg-card{right:.5rem}}


/* ---------- species round row ---------- */
.rg-species .rg-round img{transition:transform .6s var(--rg-ease)}
.rg-species .rg-round a:hover img{transform:scale(1.06)}

/* ---------- gift guide (dark, lamp glow) ---------- */
.rg-gift{background:radial-gradient(60rem 30rem at 12% -10%,rgba(233,196,106,.2),rgba(233,196,106,0) 60%),var(--rg-deep);color:#DCE2D6}
.rg-gift__in{display:grid;grid-template-columns:minmax(0,4fr) minmax(0,7fr);gap:clamp(1.75rem,4vw,4rem);align-items:start}
.rg-home .rg-gift__title{color:#fff}
.rg-home .rg-gift__title{margin-bottom:1.6rem}
.rg-gift__img{display:block;width:100%;height:auto;border-radius:var(--cs-r-lg,16px)}
.rg-routes{align-self:center;display:grid;grid-template-columns:1fr 1fr;gap:14px}
.rg-route{display:grid;grid-template-columns:132px 1fr;align-items:center;background:#202C23;border:1px solid #2F3E32;border-radius:14px;overflow:hidden;color:#DCE2D6;text-decoration:none;padding:10px;transition:transform .35s var(--rg-ease),border-color .35s,background .35s}
.rg-route img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;display:block;border-radius:8px}
.rg-route__body{display:flex;flex-direction:column;justify-content:center;gap:.35rem;padding:1rem 1.1rem}
.rg-route__name{font-family:var(--cs-font-h);font-weight:700;color:#fff;font-size:1.2rem;line-height:1.15}
.rg-route__text{font-size:.92rem;line-height:1.45;color:#C9D0C3}
.rg-home a.rg-route,.rg-home a.rg-route:hover{color:#DCE2D6}
.rg-home a.rg-tile,.rg-home a.rg-tile:hover{color:#fff}
.rg-route:hover,.rg-route:focus-visible{transform:translateY(-3px);border-color:var(--rg-amber);background:#243228}
.rg-route:focus-visible{outline:3px solid var(--rg-amber);outline-offset:3px}
@media (max-width:980px){.rg-gift__in{grid-template-columns:1fr}.rg-gift__img{display:none}}
@media (max-width:600px){.rg-routes{grid-template-columns:1fr}.rg-route{grid-template-columns:108px 1fr}}

/* ---------- theme touches ---------- */
.cs-catbanner{border-radius:var(--cs-r-lg,16px);overflow:hidden}
/* phones: one tile per row, tall enough to hold the whole animal; each picture placed by hand */
@media (max-width:520px){
  .rg-bento{grid-template-columns:1fr}
  .rg-tile{aspect-ratio:5 / 4}
  .rg-tile--lead{aspect-ratio:4 / 3.9}
  .rg-tile--lead img{object-position:50% 10%}
  .rg-tile--snakes img{object-position:50% 46%}
  .rg-tile--frogs img{object-position:50% 34%}
  .rg-tile--turtles img{object-position:50% 40%}
  .rg-tile--crocs img{object-position:50% 62%}
  .rg-tile::before{background:linear-gradient(180deg,rgba(14,20,15,0) 55%,rgba(14,20,15,.85) 100%)}
}

/* ---------- design review, round 2 ---------- */
/* the theme clips the home container; let the hero, moss and gift bands run edge to edge (body already clips x) */
.cs-home{overflow:visible}
.rg-home a.rg-route,.rg-home a.rg-tile,.rg-home a.rg-route:hover,.rg-home a.rg-tile:hover{text-decoration:none}
/* eight species on one row; four across on phones */
@media (min-width:1000px){.rg-species .cs-tiles--round{grid-template-columns:repeat(8,minmax(0,1fr))}}
@media (max-width:600px){.rg-species .cs-tiles--round{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 10px}.rg-species .cs-tiles--round a{font-size:.78rem;line-height:1.2}}
.cs-catbanner{margin-top:1rem}
/* footer: keep the support address on one line */
@media (min-width:1000px){.cs-footer a[href^="mailto:"]{white-space:nowrap;font-size:.86em}}
@media (max-width:600px){.cs-footer__grid>div:nth-child(4){order:3}.cs-footer__grid>div:nth-child(3){order:4;grid-column:1 / -1}}
/* cart page: keep the cart inside the page container (it was pulled 80px left, off-screen on phones) */
.wp-block-woocommerce-cart.alignwide{margin-left:0;margin-right:0;max-width:100%}

/* ---------- product options: store fonts (CHA-28) ----------
   The option label / chip styles shipped with the store name another store's
   font. Labels take the heading font, chips and messages the body font. */
html .woocommerce div.product form.variations_form table.variations th.label label{font-family:var(--cs-font-h)!important}
html .woocommerce div.product form.variations_form table.variations .woo-selected-variation-item-name,
html .woocommerce div.product form.variations_form .variable-items-wrapper .button-variable-item .variable-item-contents,
html .woocommerce div.product form.variations_form .variable-items-wrapper .button-variable-item .variable-item-span,
html body .opa-nudge-msg{font-family:var(--cs-font-b)!important}

/* ---------- exchanges promise: subline for a store that is mostly not apparel (CHA-28) ----------
   The theme's line reads "Wrong size? Swap it". Hidden and replaced here until the theme text itself changes. */
.cs-trust__item:has(.cs-i-swap) div > span,
.cs-trustrow li:has(.cs-i-swap) small{display:none}
.cs-trust__item:has(.cs-i-swap) div::after,
.cs-trustrow li:has(.cs-i-swap) > span::after{content:"Wrong or damaged item? We replace it";display:block;font-size:13px;line-height:1.4;color:var(--cs-muted)}

/* ---------- CHA-29: small photos are bright close-ups ---------- */
.cs-mm__media img{background:var(--rg-moss)}
.rg-route img{background:var(--rg-moss)}
.rg-species .rg-round{list-style:none;padding:0;margin:0}
.rg-species .rg-round a{text-decoration:none}
.rg-species .rg-round .cs-tiles__img{box-shadow:0 0 0 1px rgba(28,33,27,.08)}
/* footer logo: hold its space and never wait on anything */
.cs-footer .cs-footer__logo img{aspect-ratio:697 / 160;height:48px!important;width:auto;opacity:1;visibility:visible}
/* the tag logo is tall and narrow, so it gets a little more height in the header */
.cs-logo img.custom-logo{height:44px;max-height:44px;width:auto}
@media(min-width:1024px){.cs-logo img.custom-logo{height:58px;max-height:58px}}

/* ---------- Page hero band (every sub page): vivarium shade, leaf shadows, lamp light under the animal ---------- */
.cs-phero__text{position:relative;z-index:1}
.cs-phero__art{position:relative}
.cs-phero__art::before{content:"";position:absolute;left:50%;bottom:-5.5rem;width:26rem;height:11rem;transform:translateX(-50%);background:radial-gradient(closest-side,rgba(233,196,106,.42),rgba(233,196,106,0));pointer-events:none}
.cs-phero__art img{position:relative;height:92px}
@media (max-width:767px){
  .cs-phero__line{white-space:normal;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;font-size:13px}
}
@media (min-width:768px){
  .cs-phero__inner{min-height:184px}
  .cs-phero__art::before{bottom:-10rem;width:46rem;height:20rem}
  .cs-phero__art img{height:176px}
}

/* ---------- Store plugins: no small capital labels, no arrows on links ---------- */
/* order tracking cards: the line above each value reads as plain text */
html body .opa-hc .opa-hc-kv dt{font-size:14px;font-weight:500;text-transform:none;letter-spacing:0;color:var(--ink2)}
/* help center link cards: no chevron */
html body .opa-hc-links .opa-sf-chev,html body .opa-sf-choice .opa-sf-chev{display:none}
/* slide-out cart: "You might also like" as a normal heading */
html body .opa-upsell-mini .opa-mini-heading{font-family:var(--cs-font-h);font-size:15px;font-weight:700;letter-spacing:0;color:var(--cs-ink);text-transform:lowercase}
html body .opa-upsell-mini .opa-mini-heading::first-letter{text-transform:capitalize}
/* policy page: "On this page" above the section links, same treatment */
html body .opa-hc-policy nav .lbl{font-size:14px;font-weight:700;text-transform:none;letter-spacing:0;color:var(--ink)}

/* ---------- about page (CHA-57): the page text sits in a div.rg-about ---------- */
.rg-about{max-width:44rem;padding:clamp(.5rem,2vw,1.5rem) 0 clamp(2rem,5vw,4rem)}
.rg-about p{font-size:1.06rem;line-height:1.7;margin:0 0 1.15rem;color:var(--cs-text)}
.rg-about p:first-child{font-family:var(--cs-font-h);font-size:clamp(1.25rem,1.1rem + .9vw,1.6rem);line-height:1.35;font-weight:600;color:var(--cs-ink);margin-bottom:1.5rem;text-wrap:pretty}
.rg-about a{color:var(--cs-primary);text-decoration:underline;text-underline-offset:.18em}
