/* =============================================
   HOUSE OF TEKEL — Global Stylesheet
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400;1,600&family=Jost:wght@200;300;400;500;600&display=swap');

/* ── Variables ─────────────────────────────── */
:root {
  --cream:        #F5F1E8;
  --cream-dark:   #EDE8DC;
  --cream-deep:   #E0D9CA;
  --red:          #C62828;
  --red-deep:     #9B1B1B;
  --navy:         #2F4F6F;
  --black:        #1A1A1A;
  --brown:        #A0522D;
  --brown-light:  #C68642;
  --muted:        #7A7267;
  --border:       rgba(26,26,26,0.1);

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Jost', sans-serif;

  --radius-sm:    4px;
  --radius-md:    8px;
  --radius-lg:    16px;

  --shadow-sm:    0 2px 12px rgba(26,26,26,0.06);
  --shadow-md:    0 8px 32px rgba(26,26,26,0.10);
  --shadow-lg:    0 20px 60px rgba(26,26,26,0.14);

  --transition:   0.3s cubic-bezier(0.22,1,0.36,1);
  --max-width:    1200px;
}

/* ── Reset ──────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* WordPress admin bar offset */
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}

/* ── Typography ─────────────────────────────── */
.t-display {
  font-family: var(--font-display);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.t-display-italic {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
}
.t-label {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.t-body {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.75;
}

/* ── Layout ─────────────────────────────────── */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 100px 0; }
.section-sm { padding: 60px 0; }

/* ── Navigation ─────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 24px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(245,241,232,0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 16px 48px;
  box-shadow: 0 1px 0 var(--border);
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--red);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.65;
  transition: opacity var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0; right: 0;
  height: 1px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active,
.nav-links .current-menu-item > a,
.nav-links .current_page_item > a { opacity: 1; color: var(--red); }
.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-cart {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.65;
  transition: opacity var(--transition);
}
.nav-cart:hover { opacity: 1; }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--black);
  transition: var(--transition);
}

/* Mobile nav */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--cream);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 300;
  color: var(--black);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}
.nav-mobile a:hover { color: var(--red); }
.nav-mobile-close {
  position: absolute;
  top: 24px; right: 24px;
  font-size: 24px;
  opacity: 0.5;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}

/* ── Buttons ─────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 15px 40px;
  transition: var(--transition);
  cursor: pointer;
}
.btn-primary {
  background: var(--red);
  color: #fff;
  border: 1px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-deep);
  border-color: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(198,40,40,0.25);
}
.btn-secondary {
  background: transparent;
  color: var(--black);
  border: 1px solid rgba(26,26,26,0.3);
}
.btn-secondary:hover {
  border-color: var(--black);
  transform: translateY(-2px);
}
.btn-dark {
  background: var(--black);
  color: var(--cream);
  border: 1px solid var(--black);
}
.btn-dark:hover {
  background: #333;
  transform: translateY(-2px);
}

/* ── Dividers ────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 16px 0;
}
.divider::before, .divider::after {
  content: '';
  flex: 1;
  height: 0.5px;
  background: var(--navy);
  opacity: 0.3;
}
.divider-dot {
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--navy);
  opacity: 0.4;
}
.hr {
  border: none;
  border-top: 0.5px solid var(--border);
  margin: 0;
}

/* ── Section Headers ─────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .t-label {
  color: var(--red);
  margin-bottom: 12px;
  display: block;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 300;
  line-height: 1.1;
  color: var(--black);
}
.section-header h2 em {
  font-style: italic;
  color: var(--red);
}
.section-header p {
  margin-top: 16px;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Product Card ────────────────────────────── */
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.product-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background: var(--cream-dark);
}
.product-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.product-card:hover .product-card-img img {
  transform: scale(1.05);
}
.product-card-badge {
  position: absolute;
  top: 12px; left: 12px;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 10px;
  background: var(--red);
  color: #fff;
  border-radius: 2px;
}
.product-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 16px;
  background: linear-gradient(to top, rgba(26,26,26,0.7) 0%, transparent 100%);
  transform: translateY(100%);
  transition: var(--transition);
}
.product-card:hover .product-card-overlay { transform: translateY(0); }
.product-card-overlay .btn {
  width: 100%;
  text-align: center;
  padding: 12px;
  background: var(--cream);
  color: var(--black);
  font-size: 10px;
}
.product-card-info {
  padding: 16px 18px 20px;
}
.product-card-collection {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.product-card-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 8px;
}
.product-card-price {
  font-size: 14px;
  font-weight: 500;
  color: var(--red);
}

/* ── Product Grid ────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

/* ── Category Cards ──────────────────────────── */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.category-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
}
.category-card-bg {
  width: 100%; height: 100%;
  transition: transform 0.6s cubic-bezier(0.22,1,0.36,1);
}
.category-card:hover .category-card-bg { transform: scale(1.06); }
.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26,26,26,0.75) 0%, rgba(26,26,26,0.1) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
}
.category-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 4px;
}
.category-card span {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

/* ── Footer ──────────────────────────────────── */
footer {
  background: var(--black);
  color: var(--cream);
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 0.5px solid rgba(245,241,232,0.1);
}
.footer-brand-name {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-tagline {
  font-size: 13px;
  font-weight: 300;
  color: rgba(245,241,232,0.5);
  line-height: 1.65;
  max-width: 260px;
  margin-bottom: 28px;
}
.footer-social {
  display: flex;
  gap: 16px;
}
.footer-social a {
  width: 36px; height: 36px;
  border: 0.5px solid rgba(245,241,232,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: rgba(245,241,232,0.6);
  transition: var(--transition);
}
.footer-social a:hover {
  border-color: var(--red);
  color: var(--red);
}
.footer-col h4 {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245,241,232,0.4);
  margin-bottom: 20px;
}
.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-col ul a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,241,232,0.65);
  transition: color var(--transition);
}
.footer-col ul a:hover { color: var(--cream); }
.footer-bottom {
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(245,241,232,0.3);
}
.footer-dachshund {
  font-size: 24px;
  opacity: 0.3;
}

/* ── Decorative elements ─────────────────────── */
.deco-line {
  width: 40px;
  height: 1px;
  background: var(--red);
  display: inline-block;
  vertical-align: middle;
  margin: 0 12px;
}
.corner-deco {
  position: absolute;
  width: 48px; height: 48px;
  opacity: 0.12;
}
.corner-deco-tl { top: 24px; left: 24px; border-top: 1px solid var(--black); border-left: 1px solid var(--black); }
.corner-deco-tr { top: 24px; right: 24px; border-top: 1px solid var(--black); border-right: 1px solid var(--black); }
.corner-deco-bl { bottom: 24px; left: 24px; border-bottom: 1px solid var(--black); border-left: 1px solid var(--black); }
.corner-deco-br { bottom: 24px; right: 24px; border-bottom: 1px solid var(--black); border-right: 1px solid var(--black); }

/* ── Fade-in animations ──────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22,1,0.36,1), transform 0.8s cubic-bezier(0.22,1,0.36,1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── Newsletter ──────────────────────────────── */
.newsletter-section {
  background: var(--black);
  padding: 100px 0;
  text-align: center;
}
.newsletter-section .t-label { color: var(--red); margin-bottom: 16px; display: block; }
.newsletter-section h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
  color: var(--cream);
  margin-bottom: 12px;
}
.newsletter-section h2 em { font-style: italic; color: var(--red); }
.newsletter-section p {
  font-size: 14px;
  font-weight: 300;
  color: rgba(245,241,232,0.5);
  margin-bottom: 40px;
}
.newsletter-form {
  display: flex;
  max-width: 440px;
  margin: 0 auto;
  border: 0.5px solid rgba(245,241,232,0.2);
}
.newsletter-form input {
  flex: 1;
  padding: 16px 20px;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 300;
  color: var(--cream);
  letter-spacing: 0.04em;
}
.newsletter-form input::placeholder { color: rgba(245,241,232,0.3); }
.newsletter-form button {
  padding: 16px 28px;
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  transition: background var(--transition);
  white-space: nowrap;
}
.newsletter-form button:hover { background: var(--red-deep); }

/* ── Page Hero ───────────────────────────────── */
.page-hero {
  padding: 160px 0 80px;
  text-align: center;
  position: relative;
}
.page-hero .t-label {
  color: var(--red);
  margin-bottom: 16px;
  display: block;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 96px);
  font-weight: 300;
  line-height: 1.0;
  color: var(--black);
}
.page-hero h1 em { font-style: italic; color: var(--red); }
.page-hero p {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 300;
  color: var(--muted);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ── WooCommerce Overrides ───────────────────── */
.woocommerce ul.products li.product .price {
  color: var(--red);
  font-family: var(--font-body);
  font-weight: 500;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit {
  background: var(--red);
  color: #fff;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 14px 32px;
  border-radius: 0;
  transition: var(--transition);
}
.woocommerce a.button:hover,
.woocommerce button.button:hover {
  background: var(--red-deep);
  color: #fff;
  transform: translateY(-2px);
}
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border-top-color: var(--red);
  background: var(--cream-dark);
}

/* ── Responsive ──────────────────────────────── */
@media (max-width: 1024px) {
  .container { padding: 0 32px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .nav { padding: 20px 32px; }
  .nav.scrolled { padding: 14px 32px; }
}
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .section { padding: 64px 0; }
  .nav-links { display: none; }
  .nav { padding: 18px 20px; }
  .nav.scrolled { padding: 14px 20px; }
  .nav-hamburger { display: flex; }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .newsletter-form { flex-direction: column; }
  .newsletter-form input { border-bottom: 0.5px solid rgba(245,241,232,0.2); }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .category-grid { grid-template-columns: 1fr 1fr; }
}
