/*
Theme Name: True Colors of Nina
Theme URI: https://grlca.com
Author: GrL'Ca
Author URI: https://grlca.com
Description: Edukacijska platforma o fluidnoj i resin umjetnosti s WooCommerce integracijom. Sneaky store filozofija — posjećivač dolazi po znanje, shop je tu da podrži putovanje. Kompatibilno s GrL'Ca Builder pluginom.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: true-colors-nina
Tags: art, education, woocommerce, fluid-art, resin, croatia, grlca-builder
*/

/* ═══════════════════════════════════════════
   CSS CUSTOM PROPERTIES — lako izmjenjivo
   ═══════════════════════════════════════════ */
:root {
  /* Brand colours */
  --clr-cream:      #faf7f2;
  --clr-cream-dark: #f4ede0;
  --clr-sand:       #ece4d6;
  --clr-brown:      #2c2010;
  --clr-brown-mid:  #4a3828;
  --clr-gold:       #c4956a;
  --clr-gold-light: #e8c898;
  --clr-muted:      #8a7a68;
  --clr-border:     #e0d4c4;
  --clr-green:      #3a7050;

  /* Typography */
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Raleway', system-ui, sans-serif;
  --font-serif: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --section-pad: 88px 52px;
  --container:   1280px;

  /* Hero background images — easily changeable via Customizer or GrL'Ca Builder */
  --hero-home-bg:   url('assets/images/ornament.jpg');
  --hero-blog-bg:   url('assets/images/art1.jpg');
  --hero-shop-bg:   url('assets/images/beauty.jpg');
  --hero-about-bg:  url('assets/images/wave.jpg');
  --hero-gallery-bg: url('assets/images/happiness.jpg');
  --hero-contact-bg: url('assets/images/art2.jpg');

  /* Animation timings */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ═══════════════════════════════════════════
   RESET & BASE
   ═══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  background: var(--clr-cream);
  font-family: var(--font-body);
  color: var(--clr-brown);
  line-height: 1.6;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .2s; }
button { cursor: pointer; font-family: var(--font-body); border: none; background: none; }
ul { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); font-weight: 700; line-height: 1.1; }

/* ═══════════════════════════════════════════
   ANIMATIONS — text entrance + hero parallax
   ═══════════════════════════════════════════ */

/* Fade up — za naslove i tekst */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(32px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Fade in — za suptilne elemente */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Slide in from left */
@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-28px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Slow float — hero background subtle drift */
@keyframes heroDrift {
  0%   { transform: scale(1.08) translate(0, 0); }
  33%  { transform: scale(1.08) translate(-1%, 0.5%); }
  66%  { transform: scale(1.08) translate(0.5%, -0.5%); }
  100% { transform: scale(1.08) translate(0, 0); }
}

/* Pulse line */
@keyframes pulseLine {
  0%, 100% { opacity: .4; transform: scaleY(1); }
  50%       { opacity: 1;  transform: scaleY(1.15); }
}

/* Stagger utility classes */
.anim-fade-up    { animation: fadeUp .8s var(--ease-out) both; }
.anim-fade-in    { animation: fadeIn .8s var(--ease-out) both; }
.anim-slide-left { animation: slideLeft .8s var(--ease-out) both; }

.delay-100 { animation-delay: .1s; }
.delay-200 { animation-delay: .2s; }
.delay-300 { animation-delay: .3s; }
.delay-400 { animation-delay: .4s; }
.delay-500 { animation-delay: .5s; }
.delay-600 { animation-delay: .6s; }

/* Scroll-triggered — dodaje se via JS IntersectionObserver */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ═══════════════════════════════════════════
   TOPBAR
   ═══════════════════════════════════════════ */
.tcn-topbar {
  background: var(--clr-brown);
  padding: 9px 52px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 9px; letter-spacing: 2px;
}
.tcn-topbar-left { display: flex; gap: 20px; }
.tcn-topbar-left a { color: #b8a888; text-decoration: none; text-transform: uppercase; transition: color .2s; }
.tcn-topbar-left a:hover { color: var(--clr-gold); }
.tcn-topbar-center { color: #a09070; text-transform: uppercase; letter-spacing: 3px; }
.tcn-topbar-center span { color: var(--clr-gold); }
.tcn-topbar-right { color: #a09070; font-size: 9px; }

/* ═══════════════════════════════════════════
   MAIN NAVIGATION
   ═══════════════════════════════════════════ */
.tcn-nav {
  background: var(--clr-cream);
  border-bottom: 1px solid var(--clr-border);
  padding: 0 52px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: sticky; top: 0; z-index: 999;
  box-shadow: 0 2px 24px rgba(44,32,16,.06);
  transition: box-shadow .3s, min-height .35s;
  min-height: 84px;  /* taller to fit larger logo */
}
.tcn-nav.scrolled { box-shadow: 0 4px 32px rgba(44,32,16,.1); min-height: 56px; }
.tcn-nav-left, .tcn-nav-right {
  display: flex; gap: 32px; padding: 20px 0; align-items: center;
}
.tcn-nav-right { justify-content: flex-end; }
.tcn-nav-left a, .tcn-nav-right a {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: #6a5c4e; font-weight: 500;
  position: relative; transition: color .2s;
}
.tcn-nav-left a::after {
  content: ''; position: absolute; bottom: -3px; left: 0; right: 0;
  height: 1px; background: var(--clr-gold);
  transform: scaleX(0); transition: transform .25s var(--ease-out);
  transform-origin: left;
}
.tcn-nav-left a:hover, .tcn-nav-right a:hover { color: var(--clr-brown); }
.tcn-nav-left a:hover::after, .tcn-nav-left a.active::after { transform: scaleX(1); }
.tcn-nav-left a.active { color: var(--clr-brown); }
.tcn-nav-cart {
  font-size: 9px; letter-spacing: 1.5px; color: #6a5c4e;
  border: 1px solid var(--clr-border); padding: 7px 16px;
  transition: all .2s; text-transform: uppercase;
}
.tcn-nav-cart:hover { border-color: var(--clr-gold); color: var(--clr-gold); }

/* ── LOGO — image version ── */
.tcn-logo--img {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 0;
  text-decoration: none;
}
.tcn-logo-img {
  height: 64px;       /* Initial size — larger and prominent */
  width: auto;
  display: block;
  transition: height .35s cubic-bezier(0.4,0,0.2,1),
              opacity .35s ease;
  object-fit: contain;
  /* Dark logo for cream nav background */
  filter: none;
}
.tcn-logo--img:hover .tcn-logo-img {
  opacity: .75;
}
/* Scrolled state — nav shrinks, logo shrinks with it */
.tcn-nav.scrolled .tcn-logo-img {
  height: 36px;
}

/* Mobile hamburger */
.tcn-hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: 4px; background: none; border: none; cursor: pointer;
}
.tcn-hamburger span {
  display: block; width: 22px; height: 1.5px;
  background: var(--clr-brown); transition: all .3s;
}

/* ═══════════════════════════════════════════
   HERO — s animiranom pozadinom
   ═══════════════════════════════════════════ */
.tcn-hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center; overflow: hidden;
}
.tcn-hero-bg {
  position: absolute; inset: 0;
  background-image: var(--hero-home-bg);
  background-size: cover; background-position: center;
  /* Animirani spori drift */
  animation: heroDrift 20s ease-in-out infinite;
  will-change: transform;
}
/* Overlay — lagana sepia, tekst čitljiv s lijeve strane */
.tcn-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(
    108deg,
    rgba(250,247,242,.97) 0%,
    rgba(250,247,242,.92) 35%,
    rgba(250,247,242,.62) 58%,
    rgba(250,247,242,.08) 100%
  );
}
.tcn-hero-content {
  position: relative; z-index: 2;
  padding: 80px 52px 80px 64px;
  max-width: 640px;
}
.tcn-hero-eyebrow {
  font-size: 9px; letter-spacing: 5px; text-transform: uppercase;
  color: var(--clr-gold); margin-bottom: 20px; font-weight: 400;
  /* Animacija */
  animation: fadeUp .8s var(--ease-out) .1s both;
}
.tcn-hero-h1 {
  font-family: var(--font-head);
  font-size: clamp(40px, 4.5vw, 68px);
  line-height: 1.08; color: var(--clr-brown); font-weight: 700; margin-bottom: 22px;
  animation: fadeUp .8s var(--ease-out) .25s both;
}
.tcn-hero-h1 em { font-style: italic; color: var(--clr-gold); }
.tcn-hero-lead {
  font-size: 15px; color: #3e3020; line-height: 2.1;
  font-weight: 400; margin-bottom: 38px; max-width: 460px;
  animation: fadeUp .8s var(--ease-out) .4s both;
}
.tcn-hero-btns {
  display: flex; gap: 14px; flex-wrap: wrap;
  animation: fadeUp .8s var(--ease-out) .55s both;
}
.tcn-hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: fadeIn 1s var(--ease-out) 1.2s both;
}
.tcn-hero-scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--clr-gold), transparent);
  animation: pulseLine 2.5s ease-in-out infinite;
}
.tcn-hero-scroll-txt {
  font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: #8a7860;
}

/* Hero variants for inner pages */
.tcn-hero--inner { min-height: 44vh; align-items: flex-end; }
.tcn-hero--inner .tcn-hero-bg { animation: heroDrift 25s ease-in-out infinite; }
.tcn-hero--inner .tcn-hero-content { padding-bottom: 52px; }
.tcn-hero--blog    .tcn-hero-bg { background-image: var(--hero-blog-bg); }
.tcn-hero--shop    .tcn-hero-bg { background-image: var(--hero-shop-bg); }
.tcn-hero--about   .tcn-hero-bg { background-image: var(--hero-about-bg); }
.tcn-hero--gallery .tcn-hero-bg { background-image: var(--hero-gallery-bg); }
.tcn-hero--contact .tcn-hero-bg { background-image: var(--hero-contact-bg); }

/* ═══════════════════════════════════════════
   BUTTONS
   ═══════════════════════════════════════════ */
.btn { display: inline-block; font-family: var(--font-body); cursor: pointer; transition: all .25s; }
.btn-primary {
  padding: 15px 42px; background: var(--clr-gold); color: var(--clr-cream);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; border: none;
}
.btn-primary:hover { background: #a87a52; color: var(--clr-cream); }
.btn-outline {
  padding: 15px 42px; background: transparent;
  border: 1.5px solid var(--clr-brown); color: var(--clr-brown);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase;
}
.btn-outline:hover { background: var(--clr-brown); color: var(--clr-cream); }
.btn-warm {
  padding: 14px 40px; background: var(--clr-brown); color: var(--clr-cream);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; border: none;
}
.btn-warm:hover { background: var(--clr-brown-mid); color: var(--clr-cream); }
.btn-light {
  padding: 13px 36px; border: 1px solid rgba(196,149,106,.4); color: var(--clr-gold);
  font-size: 9px; letter-spacing: 3px; text-transform: uppercase; background: none;
}
.btn-light:hover { border-color: var(--clr-gold); background: rgba(196,149,106,.08); }
.btn-text {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--clr-gold); border-bottom: 1px solid rgba(196,149,106,.3);
  padding-bottom: 2px; background: none; border-top: none; border-left: none; border-right: none;
}
.btn-text:hover { border-bottom-color: var(--clr-gold); }

/* ═══════════════════════════════════════════
   SECTION COMMON
   ═══════════════════════════════════════════ */
.tcn-section { padding: var(--section-pad); }
.tcn-section--cream { background: var(--clr-cream); }
.tcn-section--sand  { background: var(--clr-sand); }
.tcn-section--dark  { background: var(--clr-cream-dark); }
.tcn-section--brown { background: var(--clr-brown); }
.tcn-section--mid   { background: #f4ede0; }

.sec-eyebrow {
  font-size: 9px; letter-spacing: 4px; text-transform: uppercase;
  color: var(--clr-gold); margin-bottom: 12px; font-weight: 400;
}
.sec-title {
  font-family: var(--font-head); font-size: 38px;
  color: var(--clr-brown); font-weight: 700; line-height: 1.15;
}
.sec-title em { font-style: italic; }
.sec-title--light { color: var(--clr-cream); }
.sec-link {
  font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--clr-gold); text-decoration: none;
  border-bottom: 1px solid rgba(196,149,106,.4); padding-bottom: 2px;
}
.sec-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 48px;
}

/* ═══════════════════════════════════════════
   LEARN STEPS
   ═══════════════════════════════════════════ */
.tcn-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; background: var(--clr-border); }
.tcn-step {
  background: var(--clr-cream); padding: 48px 40px;
  transition: background .3s;
}
.tcn-step:hover { background: #fff; }
.step-num {
  font-family: var(--font-head); font-size: 56px;
  color: #f0e8dc; font-weight: 700; line-height: 1; margin-bottom: 20px;
}
.step-title {
  font-family: var(--font-head); font-size: 21px;
  color: var(--clr-brown); margin-bottom: 14px;
}
.step-body { font-size: 14px; color: #4a3c2e; line-height: 2; font-weight: 400; }

/* ═══════════════════════════════════════════
   FEATURED TUTORIAL
   ═══════════════════════════════════════════ */
.tcn-featured { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }
.tcn-featured-img { position: relative; overflow: hidden; }
.tcn-featured-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tcn-featured:hover .tcn-featured-img img { transform: scale(1.03); }
.tcn-featured-badge {
  position: absolute; top: 28px; left: 28px;
  background: var(--clr-gold); color: var(--clr-cream);
  font-size: 8px; letter-spacing: 2.5px; text-transform: uppercase; padding: 6px 14px;
}
.tcn-featured-content {
  background: var(--clr-sand); padding: 72px 64px;
  display: flex; flex-direction: column; justify-content: center;
}
.ft-free { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--clr-green); margin-bottom: 14px; font-weight: 500; }
.ft-title { font-family: var(--font-head); font-size: 36px; color: var(--clr-brown); font-weight: 700; line-height: 1.15; margin-bottom: 18px; }
.ft-title em { font-style: italic; }
.ft-meta { display: flex; gap: 20px; margin-bottom: 22px; font-size: 10px; letter-spacing: 1px; color: #7a6a58; flex-wrap: wrap; font-weight: 500; }
.ft-body { font-size: 14px; color: #3e3020; line-height: 2.2; font-weight: 400; margin-bottom: 32px; }

/* ═══════════════════════════════════════════
   BLOG / TUTORIAL CARDS
   ═══════════════════════════════════════════ */
.tcn-blog-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr;
  gap: 1px; background: #ddd0bc;
}
.tcn-blog-card { background: var(--clr-cream); overflow: hidden; }
.tcn-blog-card-img { position: relative; overflow: hidden; }
.tcn-blog-card-img img {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.tcn-blog-card:hover .tcn-blog-card-img img { transform: scale(1.05); }
.blog-tag {
  position: absolute; top: 18px; left: 18px;
  background: var(--clr-gold); color: var(--clr-cream);
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px;
}
.blog-free {
  position: absolute; top: 18px; right: 18px;
  background: var(--clr-green); color: var(--clr-cream);
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase; padding: 4px 10px;
}
.tcn-blog-card-body { padding: 24px 26px 28px; }
.blog-date { font-size: 10px; color: #7a6a58; letter-spacing: 1px; margin-bottom: 10px; font-weight: 500; }
.blog-title { font-family: var(--font-head); font-size: 20px; color: var(--clr-brown); line-height: 1.35; margin-bottom: 10px; }
.blog-excerpt { font-size: 13px; color: #4a3c2e; line-height: 2; font-weight: 400; margin-bottom: 16px; }
.blog-sticky-badge {
  display: inline-block; margin-bottom: 10px;
  font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--clr-gold); border: 1px solid rgba(196,149,106,.3);
  padding: 3px 9px;
}

/* ═══════════════════════════════════════════
   NINA SPLIT
   ═══════════════════════════════════════════ */
.tcn-nina { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.tcn-nina-img { position: relative; overflow: hidden; }
.tcn-nina-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.tcn-nina:hover .tcn-nina-img img { transform: scale(1.03); }
.tcn-nina-content { background: var(--clr-brown); padding: 80px 64px; display: flex; flex-direction: column; justify-content: center; }
.nina-eyebrow { font-size: 9px; letter-spacing: 4px; text-transform: uppercase; color: var(--clr-gold); margin-bottom: 18px; }
.nina-title { font-family: var(--font-head); font-size: 40px; color: #f4eee4; font-weight: 700; line-height: 1.1; margin-bottom: 24px; }
.nina-title em { font-style: italic; color: var(--clr-gold-light); }
.nina-quote { font-family: var(--font-serif); font-size: 21px; font-style: italic; color: #d4b880; line-height: 1.7; border-left: 2px solid var(--clr-gold); padding-left: 20px; margin-bottom: 24px; }
.nina-body { font-size: 14px; color: #b8a888; line-height: 2.4; font-weight: 400; margin-bottom: 32px; }

/* ═══════════════════════════════════════════
   PAINTINGS — WooCommerce product grid
   ═══════════════════════════════════════════ */
.tcn-paintings-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; align-items: end; margin-bottom: 52px; }
.paintings-intro-text { font-family: var(--font-serif); font-size: 18px; color: #5a4a38; line-height: 1.9; font-style: italic; font-weight: 400; }
.tcn-paintings-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }

/* WooCommerce product card override */
.tcn-product-card { cursor: pointer; }
.tcn-product-card-img { position: relative; overflow: hidden; margin-bottom: 14px; background: var(--clr-sand); }
.tcn-product-card-img img { width: 100%; aspect-ratio: 3/4; object-fit: cover; transition: transform .55s var(--ease-out); }
.tcn-product-card:hover .tcn-product-card-img img { transform: scale(1.04); }
.tcn-product-card-title { font-family: var(--font-head); font-size: 17px; color: var(--clr-brown); margin-bottom: 4px; font-weight: 700; }
.tcn-product-card-meta { font-size: 10px; color: #6a5c4e; letter-spacing: .5px; margin-bottom: 5px; font-weight: 400; }
.tcn-product-card-price { font-size: 13px; color: var(--clr-gold); letter-spacing: 1px; font-weight: 500; }
.tcn-product-card-cta { display: inline-block; margin-top: 8px; font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: #5a4a38; border-bottom: 1px solid #c4b09a; padding-bottom: 2px; transition: all .2s; font-weight: 500; }
.tcn-product-card:hover .tcn-product-card-cta { color: var(--clr-gold); border-color: rgba(196,149,106,.4); }

/* ═══════════════════════════════════════════
   GALLERY STRIP
   ═══════════════════════════════════════════ */
.tcn-gallery-strip { display: grid; grid-template-columns: repeat(5,1fr); gap: 3px; background: var(--clr-border); }
.gs-item { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.gs-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out), filter .5s; filter: saturate(.85); }
.gs-item:hover img { transform: scale(1.07); filter: saturate(1.1); }
.gs-hover { position: absolute; inset: 0; background: rgba(44,32,16,.5); display: flex; align-items: flex-end; padding: 18px; opacity: 0; transition: opacity .3s; }
.gs-item:hover .gs-hover { opacity: 1; }
.gs-label { font-family: var(--font-head); font-size: 14px; color: #f4eee4; }

/* ═══════════════════════════════════════════
   FAQ
   ═══════════════════════════════════════════ */
.tcn-faq-layout { display: grid; grid-template-columns: 1fr 2fr; gap: 80px; align-items: start; }
.tcn-faq-sticky { position: sticky; top: 100px; }
.faq-intro-title { font-family: var(--font-head); font-size: 38px; color: var(--clr-brown); font-weight: 700; line-height: 1.1; margin-bottom: 16px; }
.faq-intro-title em { font-style: italic; }
.faq-intro-sub { font-size: 14px; color: #5a4a38; line-height: 2; font-weight: 400; }
.tcn-faq-items { display: flex; flex-direction: column; gap: 2px; }
.tcn-faq-item { background: var(--clr-cream); padding: 28px 36px; border-left: 2px solid transparent; transition: all .2s; cursor: pointer; }
.tcn-faq-item:hover { background: #fff; border-left-color: var(--clr-gold); }
.faq-top { display: flex; align-items: flex-start; gap: 20px; }
.faq-n { font-family: var(--font-head); font-size: 28px; color: #e0d4c4; font-weight: 700; min-width: 36px; line-height: 1; padding-top: 2px; }
.faq-q { font-family: var(--font-head); font-size: 18px; color: var(--clr-brown); line-height: 1.35; margin-bottom: 10px; }
.faq-a { font-size: 14px; color: #4a3c2e; line-height: 2; font-weight: 400; padding-left: 56px; }

/* ═══════════════════════════════════════════
   INSTAGRAM STRIP
   ═══════════════════════════════════════════ */
.tcn-insta-bar { padding: 28px 52px; display: flex; justify-content: space-between; align-items: center; }
.insta-handle { font-family: var(--font-head); font-size: 22px; color: #f4eee4; font-style: italic; }
.tcn-insta-grid { display: grid; grid-template-columns: repeat(5,1fr); }
.insta-item { position: relative; overflow: hidden; aspect-ratio: 1; cursor: pointer; }
.insta-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; filter: brightness(.9) saturate(.9); }
.insta-item:hover img { transform: scale(1.06); filter: brightness(1) saturate(1.1); }
.insta-ov { position: absolute; inset: 0; background: rgba(196,149,106,.5); display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .3s; font-size: 24px; color: #fff; }
.insta-item:hover .insta-ov { opacity: 1; }

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.tcn-footer { background: #1a1008; }
.tcn-footer-main { padding: 64px 52px 40px; display: grid; grid-template-columns: 1.8fr 1fr 1fr 1fr; gap: 56px; }
.f-logo { font-family: var(--font-head); font-size: 20px; color: #f4eee4; font-weight: 700; margin-bottom: 4px; }
.f-sub { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--clr-gold); margin-bottom: 20px; font-family: var(--font-body); }
.f-desc { font-size: 12px; color: #9a8870; line-height: 2.1; font-weight: 400; max-width: 240px; }
.footer-col-h { font-size: 8px; letter-spacing: 3px; text-transform: uppercase; color: var(--clr-gold); margin-bottom: 20px; font-weight: 400; }
.footer-col ul li { margin-bottom: 11px; }
.footer-col ul li a { font-size: 12px; color: #8a7860; font-weight: 400; transition: color .2s; }
.footer-col ul li a:hover { color: var(--clr-gold); }
.tcn-footer-bottom { border-top: 1px solid #261a0c; padding: 20px 52px; display: flex; justify-content: space-between; align-items: center; }
.f-copy { font-size: 10px; color: #6a5840; letter-spacing: 1px; font-weight: 400; }
.f-social { display: flex; gap: 20px; }
.f-social a { font-size: 10px; letter-spacing: 1.5px; color: #6a5840; text-transform: uppercase; transition: color .2s; font-weight: 400; }
.f-social a:hover { color: var(--clr-gold); }

/* ═══════════════════════════════════════════
   WOOCOMMERCE OVERRIDES
   ═══════════════════════════════════════════ */
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
  border-top-color: var(--clr-gold);
  background: var(--clr-cream);
  font-family: var(--font-body);
}
.woocommerce .button,
.woocommerce button.button,
.woocommerce a.button,
.woocommerce input[type="submit"] {
  background: var(--clr-gold) !important;
  color: var(--clr-cream) !important;
  font-family: var(--font-body) !important;
  font-size: 9px !important;
  letter-spacing: 3px !important;
  text-transform: uppercase !important;
  border-radius: 0 !important;
  padding: 14px 36px !important;
  font-weight: 500 !important;
  transition: background .25s !important;
  border: none !important;
  cursor: pointer !important;
  display: inline-block !important;
}
.woocommerce button.button:hover,
.woocommerce a.button:hover,
.woocommerce input[type="submit"]:hover { background: #a87a52 !important; }

/* Add to cart quantity + button row */
.woocommerce .quantity { margin-right: 12px !important; }
.woocommerce .quantity input.qty {
  border: 1px solid var(--clr-border) !important;
  border-radius: 0 !important;
  padding: 13px 16px !important;
  font-family: var(--font-body) !important;
  font-size: 14px !important;
  width: 64px !important;
  text-align: center !important;
  color: var(--clr-brown) !important;
  background: #fff !important;
}
.woocommerce form.cart { display: flex; align-items: center; gap: 12px; margin: 8px 0 20px; }
.woocommerce form.cart .single_add_to_cart_button {
  flex: 1;
  text-align: center !important;
  padding: 14px 24px !important;
}

/* WooCommerce notices — success/error messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
  border-top: 3px solid var(--clr-gold) !important;
  background: var(--clr-cream) !important;
  font-family: var(--font-body) !important;
  padding: 1em 1.5em !important;
  margin: 0 0 24px !important;
  list-style: none !important;
}
.woocommerce-error { border-top-color: #dc2626 !important; }

/* Cart page */
.woocommerce-cart .woocommerce { font-family: var(--font-body); }
.woocommerce table.shop_table {
  border: 1px solid var(--clr-border) !important;
  font-family: var(--font-body) !important;
}
.woocommerce table.shop_table th { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-muted); font-weight: 500; }
.woocommerce .cart-subtotal th,
.woocommerce .order-total th { font-family: var(--font-head); color: var(--clr-brown); }
.woocommerce .order-total .amount { color: var(--clr-gold); font-size: 18px; }

/* Checkout page */
.woocommerce-checkout .woocommerce-billing-fields__field-wrapper label,
.woocommerce-checkout label { font-family: var(--font-body); font-size: 11px; letter-spacing: 1px; color: var(--clr-brown); }
.woocommerce-checkout input.input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  border: 1px solid var(--clr-border) !important;
  border-radius: 0 !important;
  font-family: var(--font-body) !important;
  padding: 12px 16px !important;
  color: var(--clr-brown) !important;
}
.woocommerce-checkout input.input-text:focus,
.woocommerce-checkout select:focus { border-color: var(--clr-gold) !important; outline: none !important; }
#place_order {
  width: 100% !important;
  padding: 18px !important;
  font-size: 11px !important;
  letter-spacing: 3px !important;
}
.woocommerce .woocommerce-cart-form { font-family: var(--font-body); }
.woocommerce table.shop_table { font-family: var(--font-body); border: 1px solid var(--clr-border); }
.woocommerce-page .entry-title { font-family: var(--font-head); color: var(--clr-brown); }
.woocommerce ul.products li.product .price { color: var(--clr-gold); font-family: var(--font-body); }
.woocommerce #respond input#submit { background: var(--clr-gold); }
.woocommerce a.added_to_cart { font-family: var(--font-body); font-size: 9px; letter-spacing: 2px; text-transform: uppercase; }
.woocommerce span.onsale { background: var(--clr-gold); border-radius: 0; }
.woocommerce-cart .cart-collaterals .cart_totals { font-family: var(--font-body); }
.woocommerce-checkout #payment { font-family: var(--font-body); background: var(--clr-cream); }
.woocommerce form .form-row label { font-family: var(--font-body); font-size: 11px; letter-spacing: 1px; color: var(--clr-brown); }
.woocommerce form .form-row .input-text { border: 1px solid var(--clr-border); border-radius: 0; font-family: var(--font-body); padding: 12px 16px; background: #fff; }
.woocommerce form .form-row .input-text:focus { border-color: var(--clr-gold); outline: none; box-shadow: none; }
/* Cart notification */
.tcn-cart-toast { position: fixed; bottom: 28px; right: 28px; z-index: 9999; background: var(--clr-brown); color: var(--clr-gold); padding: 14px 24px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; box-shadow: 0 8px 32px rgba(0,0,0,.2); display: none; animation: fadeUp .3s var(--ease-out); }

/* ═══════════════════════════════════════════
   GrL'Ca BUILDER COMPATIBILITY
   ═══════════════════════════════════════════ */
/* Svi elementi s data-gle atributom su editabilni */
/* GrL'Ca Builder highlights — ONLY shown when editor is active (.gle-editing on body) */
/* Regular visitors never see any outlines or cursor changes */

/* ═══════════════════════════════════════════
   SINGLE BLOG POST
   ═══════════════════════════════════════════ */
.tcn-post-layout { display: grid; grid-template-columns: 1fr minmax(0, 300px); gap: 52px; max-width: var(--container); margin: 0 auto; padding: 64px 52px; overflow: hidden; }
.tcn-post-single { width: 100%; box-sizing: border-box; }
.tcn-post-single article { min-width: 0; overflow: hidden; }
.tcn-post-single aside { min-width: 0; }
.tcn-post-content h1,h2,h3 { font-family: var(--font-head); color: var(--clr-brown); margin: 1.5em 0 .5em; }
.tcn-post-content p { font-size: 16px; line-height: 2.2; color: #3a2e20; margin-bottom: 1.5em; font-weight: 400; }
.tcn-post-content img { border-radius: 0; margin: 2em 0; }
.tcn-sidebar-widget { margin-bottom: 40px; padding: 32px; background: var(--clr-sand); }
.sidebar-widget-title { font-family: var(--font-head); font-size: 18px; color: var(--clr-brown); margin-bottom: 20px; }

/* ═══════════════════════════════════════════
   SINGLE PRODUCT PAGE
   ═══════════════════════════════════════════ */
.tcn-product-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; padding: 64px 52px; max-width: var(--container); margin: 0 auto; }
.tcn-product-gallery { position: sticky; top: 100px; }
.tcn-product-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tcn-product-info .product-title { font-family: var(--font-head); font-size: 38px; color: var(--clr-brown); margin-bottom: 8px; }
.tcn-product-info .product-price { font-size: 22px; color: var(--clr-gold); margin-bottom: 24px; letter-spacing: 1px; }
.tcn-product-info .product-desc { font-size: 15px; line-height: 2.2; color: #3a2e20; font-weight: 400; margin-bottom: 32px; }
.tcn-product-info .product-meta { font-size: 11px; color: #6a5c4e; letter-spacing: 1px; margin-bottom: 32px; font-weight: 500; }

/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (max 1024px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --section-pad: 72px 36px; }

  .tcn-section { padding: var(--section-pad); }

  /* Nav */
  .tcn-topbar { padding: 9px 36px; }
  .tcn-nav { padding: 0 36px; }

  /* Hero */
  .tcn-hero-content { padding: 60px 36px 80px; }

  /* Grids */
  .tcn-blog-grid { grid-template-columns: 1fr 1fr; }
  .tcn-steps { grid-template-columns: 1fr 1fr; }
  .tcn-paintings-grid { grid-template-columns: repeat(2, 1fr); }
  .tcn-paintings-intro { grid-template-columns: 1fr; gap: 24px; }
  .tcn-gallery-strip { grid-template-columns: repeat(4, 1fr); }
  .tcn-insta-grid { grid-template-columns: repeat(4, 1fr); }
  .tcn-faq-layout { grid-template-columns: 1fr; gap: 40px; }
  .tcn-faq-sticky { position: static; }

  /* Footer */
  .tcn-footer-main { grid-template-columns: 1fr 1fr; gap: 36px; padding: 48px 36px 32px; }
  .tcn-footer-bottom { padding: 18px 36px; }

  /* Post & Product layouts */
  .tcn-post-layout { grid-template-columns: 1fr minmax(0, 260px); padding: 48px 36px; gap: 36px; }
  .tcn-product-layout { grid-template-columns: 1fr; padding: 48px 36px; gap: 40px; }
  .tcn-product-gallery { position: static; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 768px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --section-pad: 52px 20px; }

  /* ── Topbar — hide on mobile ── */
  .tcn-topbar { display: none; }

  /* ── Nav: logo centred, hamburger absolute right ── */
  .tcn-nav {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    padding: 0 16px !important;
    min-height: 56px;
  }
  /* Hide desktop nav links */
  .tcn-nav-left,
  .tcn-nav-right { display: none !important; }
  /* Logo sits in the natural centre */
  .tcn-logo--img { padding: 8px 0; }
  .tcn-logo-img { height: 44px; }
  .tcn-nav.scrolled .tcn-logo-img { height: 30px; }
  /* Hamburger pinned to the right */
  .tcn-hamburger {
    display: flex !important;
    position: absolute !important;
    right: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    left: auto !important;
  }

/* ── Hero ── */
  .tcn-hero { min-height: 100svh; align-items: flex-end; }
  .tcn-hero-bg::after {
    background: linear-gradient(
      to top,
      rgba(250,247,242,.98) 0%,
      rgba(250,247,242,.85) 40%,
      rgba(250,247,242,.4) 70%,
      rgba(250,247,242,.1) 100%
    );
  }
  .tcn-hero-content {
    padding: 0 20px 60px;
    max-width: 100%;
  }
  .tcn-hero-h1 { font-size: clamp(32px, 9vw, 48px); }
  .tcn-hero-lead { font-size: 14px; margin-bottom: 28px; }
  .tcn-hero-btns { flex-direction: column; gap: 10px; }
  .tcn-hero-btns .btn { width: 100%; text-align: center; padding: 14px 20px; }
  .tcn-hero-scroll { display: none; }

  /* ── Sections ── */
  .tcn-section { padding: var(--section-pad); }
  .sec-title { font-size: 28px; }
  .sec-header { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }

  /* ── 3 Steps ── */
  .tcn-steps { grid-template-columns: 1fr; gap: 1px; }
  .step-num { font-size: 40px; margin-bottom: 12px; }

  /* ── Featured tutorial ── */
  .tcn-featured { grid-template-columns: 1fr; min-height: auto; }
  .tcn-featured-img { min-height: 260px; }
  .tcn-featured-content { padding: 36px 24px; }
  .ft-title { font-size: 26px; }
  .ft-meta { flex-wrap: wrap; gap: 10px; }

  /* ── Blog grid ── */
  .tcn-blog-grid { grid-template-columns: 1fr; gap: 1px; }
  .blog-title { font-size: 18px; }
  .blog-excerpt { display: none; } /* hide excerpt on mobile cards */

  /* ── Nina split ── */
  .tcn-nina { grid-template-columns: 1fr; min-height: auto; }
  .tcn-nina-img { min-height: 280px; }
  .tcn-nina-content { padding: 40px 24px; }
  .nina-title { font-size: 32px; }
  .nina-quote { font-size: 17px; }
  .nina-body { font-size: 13px; }

  /* ── Paintings intro ── */
  .tcn-paintings-intro { grid-template-columns: 1fr; gap: 16px; margin-bottom: 28px; }
  .paintings-intro-text { font-size: 15px; }

  /* ── Paintings grid ── */
  .tcn-paintings-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .tcn-product-card-title { font-size: 14px; }

  /* ── Gallery strip ── */
  .tcn-gallery-strip { grid-template-columns: repeat(2, 1fr); gap: 2px; }

  /* ── FAQ ── */
  .tcn-faq-layout { grid-template-columns: 1fr; gap: 28px; }
  .tcn-faq-sticky { position: static; margin-bottom: 0; }
  .faq-intro-title { font-size: 28px; }
  .tcn-faq-item { padding: 20px 20px; }
  .faq-n { font-size: 22px; min-width: 28px; }
  .faq-q { font-size: 15px; }
  .faq-a { font-size: 13px; padding-left: 44px; }

  /* ── Instagram strip ── */
  .tcn-insta-bar { padding: 20px 20px; flex-direction: column; gap: 8px; text-align: center; }
  .insta-handle { font-size: 18px; }
  .tcn-insta-grid { grid-template-columns: repeat(3, 1fr); }

  /* ── Footer: compact single block ── */
  .tcn-footer-main {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 32px 20px 20px !important;
    gap: 0 !important;
  }
  /* Hide the 3 link columns entirely on mobile */
  .tcn-footer-main > .footer-col { display: none !important; }
  .f-logo { font-size: 18px; margin-bottom: 4px; }
  .f-sub  { margin-bottom: 12px; }
  .f-desc { max-width: 260px; font-size: 12px; line-height: 1.9; margin: 0 auto 20px; }
  /* Social row in footer bottom */
  .tcn-footer-bottom {
    flex-direction: column !important;
    gap: 10px !important;
    padding: 14px 20px !important;
    text-align: center !important;
  }
  .f-social { justify-content: center; gap: 16px; }
  .f-social a { font-size: 10px; }
  .f-copy { font-size: 9px; }

  /* ── WooCommerce ── */
  .tcn-woo-wrap { padding: 0 16px; }
  .woocommerce ul.products { grid-template-columns: 1fr 1fr !important; }
  .woocommerce-cart table.shop_table { font-size: 13px; }
  .tcn-post-layout { grid-template-columns: 1fr !important; padding: 32px 20px !important; gap: 0 !important; max-width: 100% !important; overflow: hidden !important; }
  .tcn-post-layout aside { display: none !important; width: 0 !important; overflow: hidden !important; }
  .tcn-sidebar-widget { padding: 22px 20px; }
  .tcn-product-layout { grid-template-columns: 1fr; padding: 32px 20px; gap: 28px; }
  .tcn-product-info .product-title { font-size: 26px; }

  /* ── Blog page filter ── */
  .tcn-blog-filter { flex-wrap: wrap; gap: 8px; }
  .tcn-blog-grid-3col { grid-template-columns: 1fr !important; }

  /* ── About page ── */
  .tcn-nina { min-height: auto; }

  /* ── Contact page ── */
  .tcn-contact-grid { grid-template-columns: 1fr !important; gap: 32px !important; }

  /* ── Gallery page ── */
  .tcn-gallery-3col { grid-template-columns: 1fr 1fr !important; }

  /* ── Prevent horizontal scroll ── */
  body, .tcn-hero, section, header, footer { overflow-x: hidden; max-width: 100vw; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (max 480px)
   ════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  :root { --section-pad: 44px 16px; }

  .tcn-nav { padding: 0 12px; }
  .tcn-hero-h1 { font-size: 30px; }
  .tcn-hero-content { padding: 0 16px 52px; }

  .tcn-paintings-grid { grid-template-columns: 1fr; }
  .tcn-gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .tcn-insta-grid { grid-template-columns: repeat(2, 1fr); }

  .sec-title { font-size: 24px; }
  .nina-title { font-size: 26px; }
  .faq-intro-title { font-size: 24px; }

  .btn-primary, .btn-outline, .btn-warm {
    font-size: 9px;
    padding: 13px 20px;
    letter-spacing: 2px;
  }

  .tcn-footer-main { gap: 24px; padding: 32px 16px 24px; }

  /* Blog single page */
  .tcn-post-layout { grid-template-columns: 1fr !important; padding: 24px 16px !important; gap: 0 !important; }
  .tcn-post-layout aside { display: none !important; width: 0 !important; }
  .tcn-product-layout { padding: 24px 16px; }
}

/* ═══════════════════════════════════════════════════════════
   INSTAGRAM FEED — Smash Balloon overrides
   Matches the Nina theme dark brown section aesthetic
   ════════════════════════════════════════════════════════ */
.tcn-insta-feed-wrap {
  width: 100%;
}

/* Override Smash Balloon container */
.tcn-insta-feed-wrap #sb_instagram,
.tcn-insta-feed-wrap .sbi_container {
  background: transparent !important;
  padding: 0 !important;
}

/* Override grid to match theme grid style */
.tcn-insta-feed-wrap #sbi_images,
.tcn-insta-feed-wrap .sbi_photo_wrap {
  gap: 3px !important;
}

/* Make images fill their cells */
.tcn-insta-feed-wrap .sbi_photo img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  aspect-ratio: 1 !important;
  transition: transform .4s, filter .4s !important;
  filter: brightness(.9) saturate(.9) !important;
}
.tcn-insta-feed-wrap .sbi_photo:hover img {
  transform: scale(1.06) !important;
  filter: brightness(1) saturate(1.1) !important;
}

/* Hide Smash Balloon branding/follow button */
.tcn-insta-feed-wrap .sbi_follow_btn,
.tcn-insta-feed-wrap #sbi_load,
.tcn-insta-feed-wrap .sbi-load-btn-container {
  display: none !important;
}

/* Setup notice — only visible to admins */
.tcn-insta-setup-notice {
  padding: 16px 24px;
  background: rgba(196,149,106,.12);
  border: 1px dashed rgba(196,149,106,.3);
  margin-top: 12px;
  text-align: center;
}
.tcn-insta-setup-notice p {
  font-size: 12px;
  color: #9a8878;
  margin: 0;
  line-height: 1.8;
}
.tcn-insta-placeholder .insta-item { opacity: .7; }

/* ═══════════════════════════════════════════════════════════
   KOŠARICA · PLAĆANJE · MOJ RAČUN — styled pages
   ════════════════════════════════════════════════════════ */

/* Shared wrapper */
.tcn-woo-page-wrap {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── CART PAGE ──────────────────────────────────────────── */
.tcn-cart-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 52px;
  align-items: start;
}

/* Cart table */
.tcn-cart-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 28px;
}
.tcn-cart-table thead tr {
  border-bottom: 2px solid var(--clr-border);
}
.tcn-cart-table th {
  font-size: 9px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--clr-muted);
  font-weight: 500;
  padding: 0 12px 16px;
  text-align: left;
}
.tcn-cart-table th.tc-price,
.tcn-cart-table th.tc-qty,
.tcn-cart-table th.tc-total { text-align: center; }
.tcn-cart-row { border-bottom: 1px solid var(--clr-border); }
.tcn-cart-row td { padding: 20px 12px; vertical-align: middle; }
.tc-img { width: 100px; }
.tcn-cart-product-name {
  font-family: var(--font-head);
  font-size: 17px;
  color: var(--clr-brown);
  display: block;
  margin-bottom: 6px;
}
.tcn-cart-product-meta {
  font-size: 10px;
  color: var(--clr-muted);
  letter-spacing: .5px;
}
.tc-price, .tc-total {
  font-size: 14px;
  color: var(--clr-gold);
  text-align: center;
  white-space: nowrap;
}
.tc-qty { text-align: center; }
.tc-remove { text-align: center; width: 40px; }
.tcn-cart-remove {
  font-size: 20px;
  color: var(--clr-muted);
  text-decoration: none;
  line-height: 1;
  transition: color .2s;
}
.tcn-cart-remove:hover { color: #dc2626; }

.tcn-cart-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}

/* Coupon */
.tcn-coupon-form { margin-top: 8px; }
.tcn-coupon-row { display: flex; gap: 10px; }
.tcn-coupon-input {
  flex: 1;
  max-width: 280px;
  padding: 12px 16px;
  border: 1px solid var(--clr-border);
  background: #fff;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--clr-brown);
}
.tcn-coupon-input:focus { border-color: var(--clr-gold); outline: none; }

/* Cart totals sidebar */
.tcn-cart-totals {
  background: var(--clr-sand);
  padding: 32px;
  position: sticky;
  top: 80px;
}
.tcn-cart-totals-title {
  font-family: var(--font-head);
  font-size: 22px;
  color: var(--clr-brown);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
}
.tcn-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  font-size: 13px;
  color: var(--clr-brown);
  border-bottom: 1px solid rgba(224,212,196,.5);
}
.tcn-totals-row span:last-child { font-weight: 500; }
.tcn-totals-coupon span:last-child { color: var(--clr-green); }
.tcn-totals-total {
  font-family: var(--font-head);
  font-size: 18px;
  margin-top: 4px;
  border-bottom: 2px solid var(--clr-border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}
.tcn-totals-total span:last-child { color: var(--clr-gold); font-size: 20px; }
.tcn-totals-divider { border-top: 1px solid var(--clr-border); margin: 12px 0; }
.tcn-checkout-btn { width: 100%; text-align: center; padding: 16px !important; margin-top: 4px; }
.tcn-cart-trust {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 10px;
  color: var(--clr-muted);
  letter-spacing: .5px;
}
.tcn-cart-trust div::before { margin-right: 4px; }

/* Empty cart */
.tcn-empty-cart {
  text-align: center;
  padding: 80px 20px;
}
.tcn-empty-icon { font-size: 56px; margin-bottom: 20px; }
.tcn-empty-title { font-family: var(--font-head); font-size: 32px; color: var(--clr-brown); margin-bottom: 12px; }
.tcn-empty-text { font-size: 14px; color: var(--clr-muted); margin-bottom: 32px; }

/* ── CHECKOUT PAGE ──────────────────────────────────────── */
.tcn-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 52px;
  align-items: start;
}
.tcn-checkout-section { margin-bottom: 32px; }
.tcn-checkout-section-title {
  font-family: var(--font-head);
  font-size: 20px;
  color: var(--clr-brown);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--clr-border);
}
.tcn-checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 13px;
  color: var(--clr-brown);
  border-bottom: 1px solid rgba(224,212,196,.4);
}
.tcn-checkout-item-name { flex: 1; padding-right: 16px; }
.tcn-checkout-item-price { font-weight: 500; color: var(--clr-gold); white-space: nowrap; }

/* WooCommerce checkout form fields in our layout */
.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout .woocommerce-shipping-fields h3,
.woocommerce-checkout .woocommerce-additional-fields h3 { display: none; } /* we use our own titles */

.woocommerce form.woocommerce-checkout p { margin-bottom: 16px; }
.woocommerce form .form-row label {
  display: block;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-muted);
  margin-bottom: 6px;
  font-weight: 500;
}
.woocommerce form .form-row .input-text,
.woocommerce form .form-row select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--clr-border);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--clr-brown);
  background: #fff;
  transition: border-color .2s;
}
.woocommerce form .form-row .input-text:focus,
.woocommerce form .form-row select:focus {
  border-color: var(--clr-gold);
  outline: none;
  box-shadow: none;
}
/* Payment box */
#payment {
  background: var(--clr-sand) !important;
  border-radius: 0 !important;
  padding: 24px !important;
}
#payment ul.payment_methods { list-style: none !important; padding: 0 !important; margin-bottom: 20px !important; }
#payment ul.payment_methods li { padding: 12px 0; border-bottom: 1px solid var(--clr-border); }
#payment ul.payment_methods li label { font-family: var(--font-body) !important; font-size: 14px !important; }
#payment .payment_box { background: #fff !important; padding: 16px !important; margin-top: 12px !important; font-size: 13px; color: var(--clr-muted); }
#place_order {
  width: 100% !important;
  padding: 18px !important;
  font-size: 10px !important;
  letter-spacing: 3px !important;
  margin-top: 16px !important;
}

/* ── MY ACCOUNT PAGE ────────────────────────────────────── */
.tcn-account-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 52px;
  align-items: start;
}
.tcn-account-nav {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.tcn-account-nav-item {
  display: block;
  padding: 12px 20px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--clr-muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all .2s;
  background: var(--clr-sand);
}
.tcn-account-nav-item:hover,
.tcn-account-nav-item.is-active,
.tcn-account-nav-item.woocommerce-MyAccount-navigation-link--is-active {
  color: var(--clr-brown);
  border-left-color: var(--clr-gold);
  background: #fff;
}
.tcn-account-content {
  min-height: 300px;
}
/* WC account tables */
.woocommerce-MyAccount-content table { width: 100%; border-collapse: collapse; font-family: var(--font-body); }
.woocommerce-MyAccount-content table th { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--clr-muted); padding: 8px 12px; border-bottom: 2px solid var(--clr-border); text-align: left; }
.woocommerce-MyAccount-content table td { padding: 14px 12px; border-bottom: 1px solid var(--clr-border); font-size: 13px; color: var(--clr-brown); }
.woocommerce-MyAccount-content .woocommerce-orders-table__cell-order-status span { font-size: 9px; letter-spacing: 1px; text-transform: uppercase; }

/* Auth forms (login / register) */
.tcn-account-auth {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 52px;
  align-items: start;
  max-width: 860px;
}
.tcn-auth-title {
  font-family: var(--font-head);
  font-size: 24px;
  color: var(--clr-brown);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--clr-border);
}
.tcn-auth-divider {
  width: 1px;
  background: var(--clr-border);
  align-self: stretch;
}
.woocommerce form.login, .woocommerce form.register { background: var(--clr-sand); padding: 32px; }

/* ── RESPONSIVE — cart/checkout/account ─────────────────── */
@media (max-width: 900px) {
  .tcn-cart-layout,
  .tcn-checkout-layout { grid-template-columns: 1fr; }
  .tcn-cart-totals { position: static; }
}
@media (max-width: 768px) {
  .tcn-account-layout { grid-template-columns: 1fr; }
  .tcn-account-nav { position: static; flex-direction: row; flex-wrap: wrap; gap: 4px; }
  .tcn-account-nav-item { flex: none; border-left: none; border-bottom: 2px solid transparent; }
  .tcn-account-nav-item:hover,
  .tcn-account-nav-item.is-active,
  .tcn-account-nav-item.woocommerce-MyAccount-navigation-link--is-active {
    border-left: none; border-bottom-color: var(--clr-gold);
  }
  .tcn-cart-table thead { display: none; }
  .tcn-cart-row { display: flex; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid var(--clr-border); }
  .tcn-cart-row td { border: none; padding: 4px 8px; }
  .tc-img { width: 80px; }
  .tcn-account-auth { grid-template-columns: 1fr; }
  .tcn-auth-divider { display: none; }
}

/* ═══════════════════════════════════════════════════════════
   PRODUCT GALLERY + LIGHTBOX
   ════════════════════════════════════════════════════════ */

/* Main image wrapper */
.tcn-product-main-img-wrap {
  position: relative;
  overflow: hidden;
  cursor: zoom-in;
  background: var(--clr-sand);
}
.tcn-product-main-img-wrap img {
  display: block;
  width: 100%;
  transition: transform .4s ease;
}
.tcn-product-main-img-wrap:hover img {
  transform: scale(1.03);
}
.tcn-product-img-zoom-hint {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(44,32,16,.65);
  color: #f4eee4;
  font-size: 10px;
  letter-spacing: 1px;
  padding: 5px 12px;
  border-radius: 3px;
  pointer-events: none;
  opacity: 0;
  transition: opacity .25s;
  font-family: var(--font-body);
}
.tcn-product-main-img-wrap:hover .tcn-product-img-zoom-hint {
  opacity: 1;
}

/* Thumbnail strip */
.tcn-product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(72px, 1fr));
  gap: 6px;
  margin-top: 8px;
}
.tcn-thumb {
  display: block;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color .2s;
  cursor: pointer;
}
.tcn-thumb img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  transition: transform .3s, filter .3s;
  filter: brightness(.85);
}
.tcn-thumb:hover img,
.tcn-thumb.is-active img {
  filter: brightness(1);
  transform: scale(1.05);
}
.tcn-thumb.is-active {
  border-color: var(--clr-gold);
}

/* ── LIGHTBOX ───────────────────────────────────────────── */
.tcn-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tcn-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10,8,6,.93);
  backdrop-filter: blur(4px);
  cursor: zoom-out;
}

/* Stage */
.tcn-lb-stage {
  position: relative;
  z-index: 1;
  max-width: min(90vw, 1000px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.tcn-lb-img {
  max-width: 100%;
  max-height: calc(90vh - 48px);
  object-fit: contain;
  display: block;
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  transition: opacity .25s ease;
}
.tcn-lb-img.is-loading {
  opacity: 0;
}
.tcn-lb-counter {
  margin-top: 14px;
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.4);
  font-family: var(--font-body);
  text-transform: uppercase;
}

/* Close button */
.tcn-lb-close {
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 2;
  background: none;
  border: none;
  color: rgba(255,255,255,.7);
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  transition: color .2s, transform .2s;
  font-weight: 300;
}
.tcn-lb-close:hover {
  color: #fff;
  transform: scale(1.15);
}

/* Prev / Next */
.tcn-lb-prev,
.tcn-lb-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
  color: rgba(255,255,255,.8);
  font-size: 28px;
  width: 52px;
  height: 52px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, color .2s, transform .2s;
  line-height: 1;
  padding: 0 0 2px;
}
.tcn-lb-prev { left: 20px; }
.tcn-lb-next { right: 20px; }
.tcn-lb-prev:hover,
.tcn-lb-next:hover {
  background: rgba(196,149,106,.3);
  border-color: var(--clr-gold);
  color: #fff;
}
.tcn-lb-prev.is-hidden,
.tcn-lb-next.is-hidden {
  opacity: .2;
  pointer-events: none;
}

/* Open animation */
.tcn-lightbox {
  animation: lbFadeIn .2s ease;
}
@keyframes lbFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Mobile */
@media (max-width: 768px) {
  .tcn-lb-prev { left: 8px; width: 40px; height: 40px; font-size: 22px; }
  .tcn-lb-next { right: 8px; width: 40px; height: 40px; font-size: 22px; }
  .tcn-lb-close { top: 12px; right: 12px; font-size: 28px; }
  .tcn-product-thumbs { grid-template-columns: repeat(auto-fill, minmax(56px, 1fr)); }
}

/* Footer logo image */
.tcn-footer-logo-img {
  height: 56px;
  width: auto;
  display: block;
  margin-bottom: 12px;
  opacity: .85;
  filter: brightness(0) invert(1); /* ensure pure white regardless of source */
  transition: opacity .2s;
}
.tcn-footer-logo-img:hover { opacity: 1; }

@media (max-width: 768px) {
  .tcn-footer-logo-img { height: 44px; margin: 0 auto 12px; }
}
