﻿/*
Theme Name: Selectraven Luxe Pet
Theme URI: https://selectraven.com/
Author: Selectraven + Codex
Author URI: https://selectraven.com/
Description: A premium WooCommerce theme for a U.S.-focused cat and pet supplies boutique, inspired by modern editorial pet commerce patterns with original Selectraven branding.
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: selectraven
Tags: e-commerce, custom-logo, custom-menu, block-styles, wide-blocks
*/
:root {
  --sr-ink: #070707;
  --sr-ink-soft: #151311;
  --sr-paper: #f5f1e8;
  --sr-muted: #b8b0a4;
  --sr-brass: #b9955b;
  --sr-oxblood: #6d1f2a;
  --sr-sage: #8d9b87;
  --sr-teal: #1f6f6b;
  --sr-line: rgba(245, 241, 232, 0.16);
  --sr-shadow: 0 24px 90px rgba(0, 0, 0, 0.36);
  --sr-radius: 8px;
  --sr-serif: Georgia, "Times New Roman", serif;
  --sr-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.selectraven-luxe {
  margin: 0;
  color: var(--sr-paper);
  background:
    linear-gradient(90deg, rgba(245,241,232,.045) 1px, transparent 1px) 0 0 / 76px 76px,
    linear-gradient(180deg, #050505 0%, #0f0d0b 44%, #17120f 100%);
  font-family: var(--sr-sans);
  letter-spacing: 0;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
button, input { font: inherit; }
.screen-reader-text, .skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
}
.skip-link:focus {
  z-index: 999;
  width: auto;
  height: auto;
  padding: 10px 14px;
  background: var(--sr-paper);
  color: var(--sr-ink);
  clip: auto;
}

.sr-topbar {
  display: flex;
  justify-content: center;
  gap: 28px;
  padding: 9px 18px;
  border-bottom: 1px solid rgba(245, 241, 232, .1);
  background: #0b0a09;
  color: var(--sr-muted);
  font-size: 12px;
  text-transform: uppercase;
}
.sr-header {
  position: sticky;
  top: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
  padding: 18px clamp(18px, 4vw, 58px);
  border-bottom: 1px solid rgba(245, 241, 232, .12);
  background: rgba(7, 7, 7, .78);
  backdrop-filter: blur(18px);
  transition: padding .25s ease, background .25s ease;
}
.sr-header.is-scrolled { padding-block: 12px; background: rgba(7,7,7,.94); }
.sr-logo img, .custom-logo-link img {
  width: min(250px, 38vw);
  max-height: 58px;
  object-fit: contain;
  filter: invert(1) contrast(1.28) brightness(1.3);
}
.sr-nav { justify-self: center; }
.sr-menu {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2.1vw, 30px);
  margin: 0;
  padding: 0;
  list-style: none;
}
.sr-menu a {
  color: rgba(245, 241, 232, .84);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0;
}
.sr-menu a:hover { color: var(--sr-brass); }
.sr-actions { display: flex; gap: 10px; justify-content: end; }
.sr-icon-button {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--sr-line);
  border-radius: 50%;
  background: rgba(245, 241, 232, .04);
  color: var(--sr-paper);
  cursor: pointer;
}
.sr-icon-button:hover { border-color: var(--sr-brass); color: var(--sr-brass); }
.sr-menu-toggle { display: none; }
.sr-menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}
.sr-menu-toggle span + span { margin-top: 5px; }

.sr-mega {
  position: fixed;
  top: 106px;
  left: 50%;
  z-index: 70;
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 26px;
  width: min(920px, calc(100vw - 36px));
  padding: 28px;
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(13, 12, 10, .96);
  box-shadow: var(--sr-shadow);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -10px);
  transition: opacity .2s ease, transform .2s ease;
}
.sr-mega.is-visible { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.sr-mega a { display: block; padding: 8px 0; color: rgba(245,241,232,.82); }
.sr-mega a:hover { color: var(--sr-brass); }
.sr-mega-card {
  min-height: 210px;
  padding: 22px;
  border-radius: var(--sr-radius);
  background:
    linear-gradient(135deg, rgba(109,31,42,.86), rgba(31,111,107,.58)),
    linear-gradient(90deg, rgba(245,241,232,.12), transparent);
}
.sr-mega-card span, .sr-mega-card a { color: #fff4df; }
.sr-mega-card strong {
  display: block;
  margin: 18px 0 32px;
  font-family: var(--sr-serif);
  font-size: 31px;
  line-height: 1;
}

.site-main { min-height: 60vh; }
.sr-kicker {
  margin: 0 0 12px;
  color: var(--sr-brass);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.sr-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(290px, .45fr);
  min-height: calc(100vh - 103px);
  padding: clamp(54px, 8vw, 118px) clamp(18px, 5vw, 72px) 36px;
  overflow: hidden;
}
.sr-hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(109,31,42,.28), transparent 38%),
    linear-gradient(20deg, transparent 50%, rgba(141,155,135,.16));
  pointer-events: none;
}
.sr-hero-copy { position: relative; z-index: 1; max-width: 790px; align-self: center; }
.sr-hero h1 {
  margin: 0;
  max-width: 840px;
  font-family: var(--sr-serif);
  font-size: clamp(56px, 8.7vw, 132px);
  font-weight: 400;
  line-height: .9;
}
.sr-hero-copy > p:not(.sr-kicker) {
  max-width: 570px;
  color: rgba(245,241,232,.78);
  font-size: clamp(17px, 1.55vw, 22px);
  line-height: 1.55;
}
.sr-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.sr-button, .button, button.single_add_to_cart_button, .added_to_cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid var(--sr-brass);
  border-radius: 999px;
  background: var(--sr-brass);
  color: #111;
  font-weight: 800;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.sr-button:hover, .button:hover, button.single_add_to_cart_button:hover {
  transform: translateY(-2px);
  background: var(--sr-paper);
}
.sr-button-ghost {
  background: transparent;
  color: var(--sr-paper);
  border-color: var(--sr-line);
}
.sr-button-ghost:hover { color: var(--sr-ink); }
.sr-hero-media {
  position: absolute;
  right: clamp(-40px, 4vw, 70px);
  bottom: 4vh;
  width: min(44vw, 620px);
  opacity: .34;
}
.sr-hero-media img { filter: invert(1) contrast(1.1); }
.sr-orbit {
  position: absolute;
  inset: 11% 7%;
  border: 1px solid rgba(185,149,91,.44);
  transform: skew(-12deg) rotate(-8deg);
}
.sr-orbit-two { inset: 22% 18%; border-color: rgba(141,155,135,.35); transform: skew(14deg) rotate(11deg); }
.sr-hero-panel {
  position: relative;
  z-index: 1;
  align-self: end;
  padding: 22px;
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(12, 11, 10, .72);
  box-shadow: var(--sr-shadow);
}
.sr-hero-panel span {
  color: var(--sr-sage);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.sr-hero-panel strong {
  display: block;
  margin-top: 12px;
  font-family: var(--sr-serif);
  font-size: 25px;
  line-height: 1.12;
}

.sr-marquee { overflow: hidden; border-block: 1px solid var(--sr-line); background: #0b0a09; }
.sr-marquee div {
  display: flex;
  width: max-content;
  animation: sr-marquee 24s linear infinite;
}
.sr-marquee span {
  padding: 15px 28px;
  color: rgba(245,241,232,.76);
  text-transform: uppercase;
  white-space: nowrap;
}
@keyframes sr-marquee { to { transform: translateX(-50%); } }

.sr-section, .sr-split, .sr-editorial, .sr-page, .sr-shop-shell {
  padding: clamp(54px, 7vw, 104px) clamp(18px, 5vw, 72px);
}
.sr-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 28px;
}
.sr-section-head h2, .sr-split h2, .sr-editorial h2, .sr-content h1, .woocommerce-products-header__title {
  margin: 0;
  font-family: var(--sr-serif);
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 400;
  line-height: .98;
}
.sr-section-head a { color: var(--sr-brass); font-weight: 800; }
.sr-collection-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.sr-collection {
  position: relative;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background:
    linear-gradient(155deg, rgba(245,241,232,.08), rgba(245,241,232,.02)),
    linear-gradient(30deg, rgba(31,111,107,.24), transparent 54%);
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease;
}
.sr-collection:before, .product:before, .sr-placeholder-card:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(240px circle at var(--sr-x, 50%) var(--sr-y, 30%), rgba(245,241,232,.14), transparent 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.sr-collection:hover:before, .product:hover:before, .sr-placeholder-card:hover:before { opacity: 1; }
.sr-collection > *, .product > *, .sr-placeholder-card > * { position: relative; z-index: 2; }
.sr-collection:nth-child(2) { background: linear-gradient(155deg, rgba(109,31,42,.32), rgba(245,241,232,.03)); }
.sr-collection:nth-child(3) { background: linear-gradient(155deg, rgba(141,155,135,.28), rgba(245,241,232,.03)); }
.sr-collection:nth-child(4) { background: linear-gradient(155deg, rgba(185,149,91,.24), rgba(245,241,232,.03)); }
.sr-collection:hover { transform: translateY(-6px); border-color: rgba(185,149,91,.68); }
.sr-collection span { color: var(--sr-muted); font-size: 13px; text-transform: uppercase; }
.sr-collection strong { font-family: var(--sr-serif); font-size: 28px; line-height: 1.05; }

.products, .sr-placeholder-products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.product, .sr-placeholder-card {
  position: relative;
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(245,241,232,.05);
  overflow: hidden;
  transform: translateY(18px);
  opacity: 0;
}
.product.is-visible, .sr-placeholder-card.is-visible, [data-sr-reveal].is-visible {
  transform: translateY(0);
  opacity: 1;
  transition: opacity .65s ease, transform .65s ease;
}
.product img, .sr-placeholder-card div {
  width: 100%;
  aspect-ratio: 1 / 1.18;
  object-fit: cover;
  background:
    linear-gradient(145deg, rgba(245,241,232,.12), rgba(31,111,107,.22)),
    repeating-linear-gradient(45deg, transparent 0 16px, rgba(245,241,232,.04) 16px 17px);
}
.woocommerce-loop-product__title, .product .price, .product .button, .sr-placeholder-card h3, .sr-placeholder-card p {
  margin-inline: 14px;
}
.woocommerce-loop-product__title, .sr-placeholder-card h3 {
  color: var(--sr-paper);
  font-size: 17px;
  line-height: 1.2;
}
.price { display: block; color: var(--sr-brass); margin-bottom: 14px; }
.product .button, .product .added_to_cart { margin: 0 14px 16px; width: calc(100% - 28px); }
.sr-product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 9px;
  border-radius: 999px;
  background: var(--sr-oxblood);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sr-split {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(300px, .7fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: center;
  border-block: 1px solid var(--sr-line);
  background: rgba(245,241,232,.035);
}
.sr-split p:not(.sr-kicker), .sr-editorial p, .sr-content p {
  color: rgba(245,241,232,.75);
  line-height: 1.7;
}
.sr-feature-stack {
  display: grid;
  gap: 10px;
}
.sr-feature-stack span {
  padding: 18px 20px;
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(5,5,5,.46);
}
.sr-editorial {
  text-align: center;
  max-width: 980px;
  margin: 0 auto;
}
.sr-editorial p { max-width: 670px; margin-inline: auto; }

.sr-newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(280px, 460px);
  gap: 24px;
  align-items: end;
  padding: clamp(34px, 5vw, 70px) clamp(18px, 5vw, 72px);
  border-block: 1px solid var(--sr-line);
}
.sr-newsletter h2 {
  margin: 0;
  font-family: var(--sr-serif);
  font-size: clamp(30px, 4vw, 58px);
  font-weight: 400;
}
.sr-newsletter form { display: flex; gap: 10px; }
.sr-newsletter input {
  min-width: 0;
  flex: 1;
  height: 48px;
  padding: 0 14px;
  border: 1px solid var(--sr-line);
  border-radius: 999px;
  background: rgba(245,241,232,.08);
  color: var(--sr-paper);
}
.sr-newsletter button {
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--sr-paper);
  color: var(--sr-ink);
  font-weight: 900;
}
.sr-footer {
  background: #050505;
  color: var(--sr-paper);
}
.sr-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 26px;
  padding: 46px clamp(18px, 5vw, 72px);
}
.sr-footer-logo {
  width: 220px;
  filter: invert(1) contrast(1.3) brightness(1.25);
}
.sr-footer h3 { color: var(--sr-brass); font-size: 13px; text-transform: uppercase; }
.sr-footer a { display: block; margin: 10px 0; color: rgba(245,241,232,.72); }
.sr-legal {
  margin: 0;
  padding: 18px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--sr-line);
  color: var(--sr-muted);
  font-size: 12px;
}

.sr-shop-shell .woocommerce {
  max-width: 1280px;
  margin: 0 auto;
}
.woocommerce-result-count, .woocommerce-ordering, .woocommerce-breadcrumb {
  color: var(--sr-muted);
}
.woocommerce-ordering select, .quantity input, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(245,241,232,.07);
  color: var(--sr-paper);
  padding: 12px;
}
.woocommerce-message, .woocommerce-info, .woocommerce-error {
  border: 1px solid var(--sr-line);
  border-radius: var(--sr-radius);
  background: rgba(245,241,232,.08);
  color: var(--sr-paper);
}
.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: 42px;
  padding: 24px;
}
.single-product div.product .summary {
  align-self: center;
}
.product_title {
  font-family: var(--sr-serif);
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 400;
}

@media (max-width: 980px) {
  .sr-topbar span:nth-child(n+2) { display: none; }
  .sr-header { grid-template-columns: auto 1fr auto; }
  .sr-menu-toggle { display: inline-grid; }
  .sr-nav {
    position: fixed;
    inset: 96px 12px auto;
    padding: 18px;
    border: 1px solid var(--sr-line);
    border-radius: var(--sr-radius);
    background: rgba(8,7,6,.98);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }
  body.sr-menu-open .sr-nav { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .sr-menu { display: grid; gap: 4px; }
  .sr-menu a { display: block; padding: 12px; font-size: 15px; }
  .sr-mega { display: none; }
  .sr-hero, .sr-split, .sr-newsletter, .single-product div.product {
    grid-template-columns: 1fr;
  }
  .sr-hero { min-height: auto; }
  .sr-hero-media { width: 78vw; right: -22vw; bottom: 14%; }
  .sr-collection-grid, .products, .sr-placeholder-products, .sr-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .sr-logo img, .custom-logo-link img { width: 168px; }
  .sr-actions { gap: 6px; }
  .sr-icon-button { width: 38px; height: 38px; }
  .sr-hero h1 { font-size: 50px; }
  .sr-section-head { display: block; }
  .sr-collection-grid, .products, .sr-placeholder-products, .sr-footer-grid {
    grid-template-columns: 1fr;
  }
  .sr-collection { min-height: 220px; }
  .sr-newsletter form { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *:before, *:after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

