/*
Theme Name: Fargolearn
Theme URI: https://fargolearn.com/
Author: Fargolearn
Description: قالب اختصاصی Fargolearn، تبدیل‌شده از طراحی Hostinger Horizons.
Version: 1.0.0
Text Domain: fargolearn
*/




:root{
  --background:40 100% 99%;
  --foreground:350 8% 14%;
  --primary:352 74% 47%;
  --primary-foreground:0 0% 100%;
  --secondary:352 70% 95%;
  --secondary-foreground:352 74% 47%;
  --muted:352 35% 96%;
  --muted-foreground:340 5% 40%;
  --accent:352 70% 95%;
  --accent-foreground:352 74% 47%;
  --border:352 30% 89%;
  --input:352 30% 89%;
  --ring:352 74% 47%;
  --radius:1rem;
  --card:0 0% 100%;
  --card-foreground:350 8% 14%;
  --popover:0 0% 100%;
  --popover-foreground:350 8% 14%;
  --destructive:352 76% 47%;
  --destructive-foreground:0 0% 100%;

  --ivory:#FFFDF9;
  --ivory-deep:#f7f1ea;
  --ink:#252126;
  --ink-soft:#3d3940;
  --wine:#D21F3C;
  --wine-deep:#B51630;
  --wine-soft:#E13A52;
  --blush:#FFE7EB;
  --blush-deep:#FFC9D1;
  --soft:#FFF0F2;
  --line:#F0CDD3;
  --line-soft:#F6E1E5;
  --quiet:#6b6065;
  --quiet-soft:#8a7e83;

  --shadow-sm:0 2px 10px -2px #9f123914;
  --shadow-md:0 14px 40px -12px #9f123922;
  --shadow-lg:0 28px 70px -24px #9f12392e;
  --shadow-wine:0 18px 50px -18px #9f123955;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:88px}
body{
  margin:0;
  background:var(--ivory);
  color:var(--ink);
  font-family:'Vazirmatn',sans-serif;
  overflow-x:clip;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font:inherit}
button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}
button{cursor:pointer}
a,button{transition:background .25s ease,color .25s ease,transform .25s ease,box-shadow .25s ease,border-color .25s ease}
button:active,.button:active{transform:scale(.98)}
:focus-visible{outline:2px solid var(--wine);outline-offset:4px}
h1,h2,h3,p{margin:0}
h1,h2,h3{font-weight:600;letter-spacing:-.4px}
p{color:var(--quiet);font-weight:300;line-height:1.95}
h2{font-size:clamp(27px,3vw,41px);line-height:1.7;letter-spacing:-1.2px}
h2 em{color:var(--wine);font-style:normal}
h3{font-size:21px;letter-spacing:-.3px}
section[id]{scroll-margin-top:24px}

.section{max-width:1180px;margin:auto;padding:84px 40px}
.eyebrow{display:block;color:var(--wine);font-size:11.5px;font-weight:500;letter-spacing:.3px;margin-bottom:18px}
.eyebrow::before{content:'';display:inline-block;width:18px;height:1px;background:var(--wine);vertical-align:middle;margin-left:9px;opacity:.6}

/* ---------- Buttons ---------- */
.button{
  display:inline-flex;align-items:center;justify-content:center;gap:22px;
  min-height:52px;padding:13px 28px;
  background:var(--wine);color:#fff;
  border:1px solid var(--wine);
  border-radius:10px;
  font-size:14px;font-weight:500;letter-spacing:.1px;
  box-shadow:var(--shadow-wine);
}
.button:hover{background:var(--wine-deep);border-color:var(--wine-deep);box-shadow:0 22px 55px -16px #9f123966}
.button-outline{background:transparent;color:var(--wine);box-shadow:none;border-color:var(--line)}
.button-outline:hover{background:var(--wine);color:#fff;border-color:var(--wine);box-shadow:var(--shadow-wine)}
.text-link{display:inline-flex;align-items:center;gap:16px;font-size:13px;color:var(--wine);border:none;background:none;padding:12px 0;font-weight:500}
.text-link:hover{color:var(--ink);gap:20px}

/* ---------- Header ---------- */
.site-header {
  max-width: 1340px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 55px;
  gap: 35px;
  position: relative;
  z-index: 10
}

.brand {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  transition: transform .25s ease
}

.brand:hover {
  transform: translateY(-1px)
}

.brand strong {
  font-size: 35px;
  line-height: 1.2;
  color: var(--wine);
  font-weight: 800;
  letter-spacing: -2px
}

.brand strong span {
  font-size: 20px;
  display: inline-block;
  margin-right: 6px;
  vertical-align: middle;
  opacity: .85
}

.brand small {
  font-family: Manrope, sans-serif;
  font-size: 9.5px;
  letter-spacing: 2.5px;
  color: var(--wine-soft);
  margin-top: 2px
}

.navigation {
  display: flex;
  gap: 32px;
  font-size: 13px;
  color: var(--ink-soft)
}

.navigation a {
  position: relative;
  padding: 5px 0;
  transition: color .25s ease
}

.navigation a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  right: 0;
  width: 0;
  height: 2px;
  border-radius: 10px;
  background: var(--wine);
  transition: width .3s ease
}

.navigation a:hover {
  color: var(--wine)
}

.navigation a:hover::after {
  width: 100%
}

.header-cta {
  font-size: 12px;
  min-height: 44px;
  padding: 9px 21px;
  gap: 16px;
  border-radius: 11px;
  box-shadow: 0 8px 22px #d21f3c18
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  color: var(--wine)
}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  max-width:1340px;margin:auto;
  padding:34px 85px 0;
  min-height:calc(100dvh - 92px);
  display:flex;flex-direction:column;justify-content:center;
  overflow:hidden;
}
.hero-glow{
  position:absolute;inset:0;pointer-events:none;z-index:0;
  background:
    radial-gradient(60% 55% at 78% 38%, rgba(159,18,57,.10), transparent 70%),
    radial-gradient(46% 50% at 22% 60%, rgba(194,24,58,.07), transparent 72%);
}
.hero-grid{
  position:relative;z-index:2;
  display:grid;
  grid-template-columns:1.05fr 1fr;
  gap:64px;
  align-items:center;
  padding:30px 0 40px;
}

/* ---- Copy (right in RTL) ---- */
.hero-copy{padding:10px 0;max-width:560px}
.hero-eyebrow{
  display:inline-flex;align-items:center;gap:10px;
  font-size:12px;font-weight:500;color:var(--wine);
  background:var(--blush);
  border:1px solid var(--blush-deep);
  padding:8px 16px;border-radius:30px;
  margin-bottom:26px;
}
.eyebrow-dot{width:7px;height:7px;border-radius:50%;background:var(--wine);box-shadow:0 0 0 4px #9f123922}
.hero h1{
  font-size:clamp(40px,4.4vw,62px);
  font-weight:600;line-height:1.5;letter-spacing:-2px;
  margin-bottom:24px;color:var(--ink);
}
.h1-accent{
  color:var(--wine);
  position:relative;
  background:linear-gradient(120deg,var(--wine) 0%,var(--wine-soft) 100%);
  -webkit-background-clip:text;background-clip:text;
  -webkit-text-fill-color:transparent;
}
.hero-lead{
  font-size:16px;line-height:2;max-width:460px;
  color:var(--ink-soft);font-weight:300;
  margin-bottom:34px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:14px;margin-bottom:26px}
.hero-primary{min-height:54px;padding:14px 30px;font-size:14px}
.hero-secondary{min-height:54px;padding:14px 26px;font-size:14px}
.hero-trust{
  display:flex;align-items:center;gap:10px;
  font-size:12.5px;color:var(--ink-soft);font-weight:400;
}
.trust-bullet{width:6px;height:6px;border-radius:50%;background:var(--wine-soft);box-shadow:0 0 0 3px #c2183a1f}

/* ---- Portrait (left in RTL) ---- */
.portrait-area{
  position:relative;
  min-height:520px;
  align-self:center;
  display:flex;align-items:center;justify-content:center;
}
.portrait-glow{
  position:absolute;
  width:88%;height:92%;left:6%;top:4%;
  background:radial-gradient(circle at 50% 45%, rgba(159,18,57,.22), transparent 68%);
  filter:blur(26px);
  border-radius:50%;
  z-index:0;
}
.portrait-backdrop{
  position:absolute;
  width:90%;height:94%;left:5%;top:3%;
  background:linear-gradient(140deg,var(--blush) 0%,var(--blush-deep) 100%);
  border-radius:170px 22px 150px 22px;
  transform:rotate(-3.5deg);
  box-shadow:inset 0 0 0 1px #ffffff66;
  z-index:1;
}
.portrait-backdrop::after{
  content:'';position:absolute;inset:16px;
  border:1px dashed #c9a7af;border-radius:150px 14px 130px 14px;opacity:.45;
}
.portrait-frame{
  position:relative;z-index:2;
  width:100%;max-width:440px;
  border-radius:160px 18px 130px 18px;
  overflow:hidden;
  box-shadow:var(--shadow-lg),0 0 0 6px #fff,0 0 0 7px var(--line);
}
.teacher-photo{
  display:block;width:100%;height:500px;
  object-fit:cover;object-position:center 30%;
  filter:saturate(.85) contrast(1.03);
}

/* ---- Decorations ---- */
.deco{position:absolute;z-index:3;color:var(--wine);pointer-events:none}
.deco-star{color:var(--wine-soft)}
.deco-1{top:-6px;right:-10px;animation:floaty 5s ease-in-out infinite}
.deco-2{bottom:18%;left:-22px;animation:floaty 6s ease-in-out infinite .8s}
.deco-book{
  bottom:-14px;right:8%;color:var(--wine);
  background:var(--ivory);border:1px solid var(--line);
  width:54px;height:54px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  box-shadow:var(--shadow-md);animation:floaty 5.5s ease-in-out infinite .4s;
}
.deco-bubble{
  top:14%;left:-30px;
  display:flex;align-items:center;gap:6px;
  background:var(--wine);color:#fff;
  padding:9px 14px;border-radius:14px 14px 14px 4px;
  font-size:11px;font-weight:600;font-family:Manrope,sans-serif;letter-spacing:1px;
  box-shadow:var(--shadow-wine);animation:floaty 5s ease-in-out infinite .2s;
}
.deco-bubble small{font-size:11px}
.deco-letter{
  font-family:Manrope,sans-serif;font-weight:700;
  color:var(--wine);opacity:.32;font-size:22px;
}
.deco-l-A{top:30%;right:-18px;transform:rotate(12deg);font-size:26px}
.deco-l-B{bottom:8%;left:14%;transform:rotate(-10deg)}
.deco-l-C{top:6%;left:30%;transform:rotate(8deg);font-size:18px;opacity:.24}

.photo-label{
  position:absolute;bottom:26px;right:-30px;z-index:4;
  display:flex;flex-direction:column;
  background:rgba(255,255,255,.94);
  backdrop-filter:blur(8px);
  border:1px solid var(--line);
  box-shadow:var(--shadow-md);
  border-radius:14px;
  padding:16px 22px;
}
.photo-label>span{font-size:16px;font-weight:500;color:var(--ink)}
.photo-label small{font-size:10.5px;color:var(--quiet);margin-top:5px}

@keyframes floaty{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}

/* ---- Bottom strip ---- */
.hero-bottom{
  position:relative;z-index:2;
  border-top:1px solid var(--line);
  padding:20px 0 4px;margin-top:10px;
  display:flex;align-items:center;justify-content:space-between;
  font-size:11px;color:var(--quiet);
}
.hero-bottom>span:first-child{font-family:Manrope,sans-serif;letter-spacing:1.5px;color:var(--wine-soft)}
.bottom-flower{color:var(--wine);font-size:24px;opacity:.7}

/* ---------- About ---------- */
.about{display:grid;grid-template-columns:1fr 1.12fr;gap:80px}
.about .lead{font-size:18.5px;font-weight:400;color:var(--ink);margin-bottom:18px;line-height:1.8}
.about p{font-size:14px}
.values{display:flex;flex-wrap:wrap;gap:22px;border-top:1px solid var(--line);padding-top:24px;margin-top:28px}
.values span{display:flex;align-items:center;gap:8px;font-size:11.5px;color:var(--ink-soft)}
.values svg{width:18px;color:var(--wine);stroke-width:1.5}

/* ---------- Method ---------- */
.method-section{background:var(--soft);position:relative}
.method-section::before{
  content:'';position:absolute;top:0;left:0;right:0;height:1px;
  background:linear-gradient(90deg,transparent,var(--line),transparent);
}
.section-heading{text-align:center;margin-bottom:46px}
.section-heading .eyebrow{margin-bottom:10px}
.section-heading .eyebrow::before{display:none}
.section-heading>p{font-size:14px;margin-top:14px;max-width:520px;margin-left:auto;margin-right:auto}
.method-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:28px}
.method-grid article{position:relative;border-top:1px solid #d8c3c9;padding-top:28px;transition:transform .3s ease}
.method-grid article:hover{transform:translateY(-4px)}
.method-number{position:absolute;left:0;top:28px;font-size:11.5px;color:var(--quiet-soft);font-family:Manrope,sans-serif;letter-spacing:.5px}
.method-grid svg{color:var(--wine);margin-bottom:18px;transition:transform .3s ease}
.method-grid article:hover svg{transform:scale(1.08)}
.method-grid h3{font-size:17.5px;margin-bottom:11px}
.method-grid p{font-size:13px}

.story{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:72px;margin-top:84px}
.story p{font-size:14px;margin-top:18px}
.story-art{
  height:320px;
  background:linear-gradient(150deg,var(--blush) 0%,var(--blush-deep) 100%);
  border-radius:16px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  color:var(--wine);position:relative;
  box-shadow:inset 0 0 0 1px #ffffff55,var(--shadow-sm);
}
.story-word{font-family:Georgia,serif;font-size:25px;font-style:italic;text-align:center;line-height:1.5;margin-top:18px}
.story-sun{position:absolute;left:35px;top:20px;font-size:62px;opacity:.8}
.story-star{position:absolute;right:40px;bottom:40px;font-size:58px;opacity:.8}

/* ---------- Classes ---------- */
.classes-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1080px;
  margin: auto;
  align-items: stretch
}

.class-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 26px;
  position: relative;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition:
    box-shadow .35s cubic-bezier(.22, 1, .36, 1),
    transform .35s cubic-bezier(.22, 1, .36, 1),
    border-color .35s ease;
  display: flex;
  flex-direction: column;
}

.class-panel:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
  border-color: var(--blush-deep)
}

.class-panel.featured {
  background: linear-gradient(165deg, #fff 0%, var(--soft) 100%);
  border-color: var(--blush-deep);
  box-shadow: var(--shadow-md), 0 0 0 1px var(--blush-deep) inset;
  transform: scale(1.02);
  z-index: 2;
}

.class-panel.featured:hover {
  transform: scale(1.02) translateY(-5px);
  box-shadow: var(--shadow-lg), 0 0 0 1px var(--blush-deep) inset
}

.class-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 15px;
  background: var(--blush);
  color: var(--wine);
  margin-bottom: 17px;
  transition: transform .35s ease, background .35s ease;
}

.class-panel:hover .class-icon {
  transform: translateY(-2px) rotate(-3deg);
  background: var(--blush-deep)
}

.class-panel.featured .class-icon {
  background: var(--wine);
  color: #fff;
  box-shadow: var(--shadow-wine)
}

.class-panel .eyebrow {
  margin-bottom: 8px
}

.class-panel h3 {
  font-size: 23px;
  margin-bottom: 11px
}

.class-panel p {
  font-size: 13px;
  min-height: 50px;
  line-height: 1.9
}

.class-panel ul {
  list-style: none;
  padding: 0;
  margin: 18px 0
}

.class-panel li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  margin: 11px 0;
  color: var(--ink-soft);
  line-height: 1.7
}

.check-bubble {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--wine);
  flex-shrink: 0;
  transition: background .3s ease, color .3s ease
}

.class-panel.featured .check-bubble {
  background: var(--wine);
  color: #fff
}

.class-tag {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--wine);
  color: #fff;
  font-size: 10.5px;
  padding: 7px 15px;
  border-radius: 30px;
  box-shadow: var(--shadow-wine);
  letter-spacing: .2px;
  white-space: nowrap
}

.price {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  margin-top: auto;
  font-weight: 500;
  display: flex;
  align-items: baseline;
  gap: 7px;
  flex-wrap: wrap
}

.price-amount {
  font-size: 27px;
  color: var(--wine);
  font-weight: 700;
  letter-spacing: -.5px;
  font-family: Manrope, sans-serif
}

.price-unit {
  font-size: 12px;
  color: var(--wine-soft)
}

.price small {
  display: block;
  width: 100%;
  color: var(--quiet);
  font-size: 10.5px;
  font-weight: 300;
  margin-top: 6px
}

.class-panel .button {
  display: flex;
  margin-top: 18px;
  width: 100%
}

.class-note {
  text-align: center;
  font-size: 12px;
  margin-top: 28px
}

/* ---------- Journey ---------- */
.journey-section {
  background: var(--wine);
  color: var(--ivory);
  position: relative;
  overflow: hidden
}

.journey-section::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 40px;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, #ffffff18 1.5px, transparent 1.6px);
  background-size: 13px 13px;
  opacity: .55
}

.journey-section .eyebrow {
  color: #ffd6dd
}

.journey-section .section {
  padding-top: 72px;
  padding-bottom: 76px;
  position: relative;
  z-index: 1
}

.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 42px
}

.journey-grid article {
  position: relative;
  padding: 0 4px
}

.journey-grid article:not(:last-child):after {
  content: '';
  position: absolute;
  width: calc(100% - 42px);
  height: 1px;
  background: #ffffff45;
  right: 56px;
  top: 23px
}

.step-circle {
  display: flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid #ffffff75;
  border-radius: 50%;
  font-size: 13px;
  margin-bottom: 20px;
  background: #ffffff12;
  color: #fff;
  box-shadow: 0 0 0 6px #ffffff08;
  position: relative;
  z-index: 2;
  transition: background .3s ease, transform .3s ease, border-color .3s ease
}

.journey-grid article:hover .step-circle {
  background: #ffffff22;
  border-color: #fff;
  transform: translateY(-2px)
}

.journey-grid h3 {
  font-size: 16.5px;
  margin-bottom: 11px;
  color: #fff
}

.journey-grid p {
  font-size: 12px;
  color: #ffe3e8;
  line-height: 2
}

/* ---------- FAQ ---------- */
.faq {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 72px;
  align-items: start
}

.faq>div>p {
  font-size: 14px;
  margin-top: 20px;
  line-height: 2
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
  overflow: hidden;
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    background .25s ease
}

.faq-list details:hover {
  border-color: var(--blush-deep);
  box-shadow: 0 10px 28px #d21f3c10
}

.faq-list details[open] {
  border-color: var(--blush-deep);
  background: var(--soft);
  box-shadow: 0 12px 32px #d21f3c12
}

.faq-list summary {
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 25px;
  padding: 20px 22px;
  cursor: pointer;
  font-size: 14px;
  color: var(--ink);
  transition: color .25s ease
}

.faq-list summary:hover {
  color: var(--wine)
}

.faq-list summary::-webkit-details-marker {
  display: none
}

.faq-list summary span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blush);
  color: var(--wine);
  font-size: 19px;
  font-weight: 300;
  flex-shrink: 0;
  transition:
    transform .3s ease,
    background .3s ease,
    color .3s ease
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
  background: var(--wine);
  color: #fff
}

.faq-list details p {
  font-size: 13px;
  line-height: 2;
  padding: 0 22px 20px;
  max-width: 95%;
  color: var(--ink-soft)
}

/* ---------- Registration ---------- */
.registration-section {
  background: var(--soft);
  position: relative
}

.registration-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent)
}

.registration {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center
}

.registration>div>p {
  font-size: 14px;
  margin-top: 20px;
  max-width: 380px;
  line-height: 2
}

.registration h2 {
  font-size: 33px
}

.registration-note {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  color: var(--wine);
  margin-top: 32px;
  line-height: 2
}

.registration-note svg {
  flex-shrink: 0;
  background: var(--blush);
  padding: 9px;
  width: 42px;
  height: 42px;
  border-radius: 50%
}

.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md)
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

form label {
  display: block;
  font-size: 11px;
  margin-bottom: 16px;
  color: var(--ink-soft)
}

form input:not([type=checkbox]),
form select,
form textarea {
  display: block;
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 11px;
  padding: 12px 13px;
  margin-top: 8px;
  color: var(--ink);
  font-size: 12px;
  min-height: 45px;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease
}

form input:not([type=checkbox]):hover,
form select:hover,
form textarea:hover {
  border-color: var(--blush-deep)
}

form input:not([type=checkbox]):focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-color: var(--wine);
  box-shadow: 0 0 0 3px #d21f3c1a;
  background: #fff
}

form textarea {
  resize: vertical;
  min-height: 90px
}

form input::placeholder,
form textarea::placeholder {
  color: var(--quiet-soft);
  font-weight: 300
}

form label small {
  color: var(--quiet)
}

.consent {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.8
}

.consent input {
  accent-color: var(--wine);
  width: 16px;
  height: 16px;
  flex-shrink: 0
}

.form-panel .button {
  width: 100%;
  margin-top: 4px
}

.button:disabled {
  opacity: .6;
  cursor: wait
}

.privacy {
  display: block;
  font-size: 9px;
  text-align: center;
  color: var(--quiet);
  margin-top: 14px
}

.form-error {
  font-size: 12px;
  color: var(--wine);
  margin-bottom: 15px
}

.success {
  text-align: center;
  padding: 50px 10px
}

.success svg {
  color: var(--wine);
  margin: 0 auto 20px
}

.success p {
  font-size: 14px;
  margin-top: 15px;
  line-height: 2
}

/* ---------- Footer ---------- */
.site-footer{max-width:1180px;margin:auto;padding:60px 40px 20px}
.footer-top{display:grid;grid-template-columns:1.2fr 1.2fr .6fr;gap:50px;align-items:start}
.footer-top p{font-size:12px;margin-top:15px}
.footer-top h3{font-size:15px;margin-bottom:18px}
.footer-contact-item{display:flex;align-items:center;gap:10px;color:var(--ink-soft);font-size:12px;line-height:2.4;text-decoration:none;white-space:nowrap}
.footer-contact-item:hover{color:var(--wine)}
.footer-contact-item .contact-icon{width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;color:var(--wine);font-size:16px;line-height:1;flex:0 0 22px}
.footer-contact-item.instagram{color:var(--wine);font-size:13px;gap:10px}
.footer-contact-item .contact-arrow{font-size:12px;margin-inline-start:2px}
.footer-contact-item bdi{direction:ltr;unicode-bidi:isolate}
.footer-links{display:flex;flex-direction:column;gap:15px;font-size:12px}
.footer-links a{color:var(--ink-soft);transition:color .25s ease,padding-right .25s ease}
.footer-links a:hover{color:var(--wine);padding-right:4px}
.footer-bottom{border-top:1px solid var(--line);margin-top:48px;padding-top:20px;display:flex;justify-content:space-between;font-size:10px;color:var(--quiet)}

/* ---------- Motion ---------- */
@media(min-width:1000px){
  .hero-eyebrow{animation:enter .6s ease-out both;animation-delay:.05s}
  .hero h1{animation:enter .7s ease-out both;animation-delay:.15s}
  .hero-lead{animation:enter .7s ease-out both;animation-delay:.28s}
  .hero-actions{animation:enter .7s ease-out both;animation-delay:.4s}
  .hero-trust{animation:enter .7s ease-out both;animation-delay:.5s}
  .portrait-area{animation:enter .9s ease-out both;animation-delay:.2s}
}
@keyframes enter{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1450px){.hero{min-height:820px}.teacher-photo{height:560px}.portrait-area{min-height:560px}}

/* ---------- Responsive ---------- */
@media(max-width:1000px){
  .site-header{padding:18px 30px;gap:20px}
  .navigation{gap:20px}
  .hero{padding:28px 45px 0}
  .hero-grid{gap:40px}
  .teacher-photo{height:440px}
  .portrait-area{min-height:440px}
  .hero-copy{padding-top:8px}
  h1{font-size:42px}
  .section{padding:68px 30px}
  .about,.faq,.registration{gap:40px}
  .story{gap:40px}
  .journey-grid{gap:25px}
  .registration h2{font-size:28px}
}
@media(max-width:760px){
  .site-header{padding:16px 22px}
  .brand strong{font-size:28px}
  .brand small{font-size:8px}
  .menu-toggle{display:block;margin-right:0}
  .header-cta{margin-right:auto;font-size:10px;padding:9px 12px;gap:10px}
  .navigation{display:none;position:absolute;top:78px;left:15px;right:15px;padding:18px;background:var(--ivory);border:1px solid var(--line);border-radius:12px;box-shadow:var(--shadow-md)}
  .navigation.open{display:flex;flex-direction:column;gap:0}
  .navigation a{padding:13px}
  .navigation a::after{display:none}
  .hero{padding:24px 25px 0;min-height:auto}
  .hero-grid{grid-template-columns:1fr;gap:30px;padding:18px 0 24px}
  .hero-copy{padding:0;text-align:center;max-width:none;order:1}
  .hero-eyebrow{margin-left:auto;margin-right:auto}
  .hero-lead{margin-left:auto;margin-right:auto}
  .hero-actions{justify-content:center}
  .hero-trust{justify-content:center}
  h1{font-size:clamp(33px,8vw,48px);letter-spacing:-1.4px;line-height:1.6}
  .hero-lead{font-size:13.5px;margin-bottom:24px}
  .portrait-area{width:88%;max-width:340px;margin:6px auto 30px;min-height:360px;order:2}
  .teacher-photo{height:360px}
  .portrait-frame{border-radius:120px 14px 100px 14px}
  .portrait-backdrop{border-radius:120px 14px 100px 14px}
  .photo-label{right:-10px;padding:13px 16px;bottom:14px}
  .photo-label>span{font-size:14px}
  .photo-label small{font-size:9.5px}
  .deco-bubble{left:-14px;padding:7px 11px;font-size:10px}
  .deco-book{width:46px;height:46px}
  .deco-l-A{right:-6px}
  .hero-bottom{font-size:9px;padding:16px 0;gap:12px;flex-wrap:wrap;justify-content:center;text-align:center}
  .hero-bottom>span:first-child{font-size:8px;letter-spacing:0}
  .hero-bottom .bottom-flower{display:none}
  .section{padding:60px 25px}
  .about,.faq,.registration{grid-template-columns:1fr;gap:30px}
  h2{font-size:29px;line-height:1.6}
  .about .lead{font-size:16.5px}
  .values{gap:16px}
  .values span{font-size:10.5px}
  .method-grid{grid-template-columns:1fr 1fr;gap:28px 22px}
  .method-grid h3{font-size:16px}
  .method-grid p{font-size:12px}
  .section-heading{margin-bottom:34px}
  .section-heading>p{font-size:12px}
  .story{grid-template-columns:1fr;gap:30px;margin-top:56px}
  .story-art{height:260px}
  .story h2{font-size:28px}
  .classes-grid-3{grid-template-columns:1fr;gap:28px;max-width:420px}
  .class-panel{padding:28px 24px}
  .class-panel.featured{transform:none}
  .class-panel.featured:hover{transform:translateY(-6px)}
  .class-note{font-size:11px}
  .journey-grid{grid-template-columns:1fr 1fr;gap:30px 22px}
  .journey-grid article:not(:last-child):after{display:none}
  .journey-grid p{font-size:12px}
  .journey-section .section{padding-top:56px;padding-bottom:56px}
  .faq>div>p br{display:none}
  .faq-list summary{font-size:13px}
  .registration h2{font-size:28px}
  .registration-note{margin-top:22px}
  .form-panel{padding:22px}
  .form-grid{gap:12px}
  form label{font-size:10px}
  .privacy{font-size:9px;line-height:1.8}
  .site-footer{padding:48px 25px 22px}
  .footer-top{grid-template-columns:1fr 1fr;gap:35px 20px}
  .footer-brand,.footer-contact{grid-column:auto}
  .footer-links{grid-column:1/-1;flex-direction:row;flex-wrap:wrap;gap:22px}
  .footer-bottom{flex-direction:column;gap:10px;margin-top:28px;font-size:9px}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}}
/* Video text */

.video-content {
  padding: 22px 23px 25px;
  text-align: right;
}

.video-label {
  display: block;

  margin-bottom: 8px;

  color: var(--wine);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.2px;
  line-height: 1.2;

  direction: ltr;
}

.video-content h3 {
  margin: 0 0 8px;

  color: #222222;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.4;

  direction: ltr;
}

.video-content p {
  margin: 0;

  color: #858585;
  font-size: 13px;
  line-height: 1.8;
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 900px) {
  .song-categories,
  .video-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* =========================================
   LEARNING SECTIONS
   Match the main Classes design
========================================= */

.learning-section {
  direction: rtl;
}

.learning-grid {
  align-items: stretch;
}

.learning-card .learning-icon {
  width: 64px;
  height: 64px;
  min-width: 64px;
  font-size: 42px !important;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.learning-card .eyebrow {
  margin-bottom: 7px;
}

.learning-card h3 {
  margin-bottom: 12px;
}

.learning-card p {
  min-height: 58px;
  margin-bottom: 24px;
}

.learning-button {
  margin-top: auto;
  width: 100%;
}

.videos-learning {
  background: #fff8fa;
}

.videos-learning .learning-card {
  background: #ffffff;
}

@media (max-width: 768px) {
  .learning-card p {
    min-height: auto;
  }
}}/* ---------- Courses layout ---------- */
.courses-grid {
  justify-content: center;
}

.courses-grid .course-card:last-child {
  grid-column: 2;
}

@media (max-width: 768px) {
  .courses-grid .course-card:last-child {
    grid-column: auto;
  }
}
/* WordPress integration */
body.admin-bar .site-header{top:32px}
@media (max-width:782px){body.admin-bar .site-header{top:46px}}
.site-header{z-index:999}
.wp-form-message{margin-top:18px;padding:14px 16px;border-radius:12px;background:var(--soft);color:var(--wine);font-size:14px}


/* =========================================================
   Fargolearn Scroll Motion System
   Reversible reveal: visible in the viewport, hidden after leaving it.
   ========================================================= */
.motion-reveal,
.motion-reveal-stagger,
.hero-scroll-motion {
  opacity: 0;
  transform: translateY(34px);
  transition:
    opacity .68s cubic-bezier(.22,1,.36,1),
    transform .68s cubic-bezier(.22,1,.36,1);
  transition-delay: var(--motion-delay, 0ms);
  will-change: opacity, transform;
}
.motion-reveal-stagger {
  transform: translateY(30px) scale(.985);
}
.hero-scroll-motion {
  transform: translateY(26px);
}
.hero-scroll-motion.portrait-premium {
  transform: translateX(-28px) scale(.985);
}

.motion-reveal.is-visible,
.motion-reveal-stagger.is-visible,
.hero-scroll-motion.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}
.hero-scroll-motion.portrait-premium.is-visible {
  transform: translateX(0) scale(1);
}

/* Gentle hover movement for interactive cards/buttons */
.method-grid article,
.classes-grid .class-panel,
.journey-grid article,
.song-categories > *,
.video-cards > *,
.courses-grid > *,
.learning-grid > * {
  transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.method-grid article:hover,
.classes-grid .class-panel:hover,
.journey-grid article:hover,
.song-categories > *:hover,
.video-cards > *:hover,
.courses-grid > *:hover,
.learning-grid > *:hover {
  transform: translateY(-6px);
}

.button,
.text-link {
  transition: transform .25s ease, box-shadow .25s ease, background-color .25s ease;
}
.button:hover { transform: translateY(-2px); }

/* Respect visitors who request less motion at OS/browser level. */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .motion-reveal,
  .motion-reveal-stagger,
  .hero-scroll-motion {
    opacity: 1 !important;
    transform: none !important;
  }
}


/* Footer contact direction fix */
.footer-contact-item bdi{direction:ltr;unicode-bidi:isolate;display:inline-block}

/* Social icon logos */
.footer-contact-item .contact-icon svg{width:18px;height:18px;display:block;overflow:visible}
.footer-contact-item .social-instagram svg,.footer-contact-item .social-whatsapp svg,.footer-contact-item .social-telegram svg,.footer-contact-item .social-phone svg{color:var(--wine)}
/* =========================================================
   Fargolearn WooCommerce Shop
   ========================================================= */

.woocommerce-page {
  background: var(--ivory);
  color: var(--ink);
}

/* Main WooCommerce area */
.woocommerce-page .woocommerce {
  width: min(1180px, calc(100% - 80px));
  margin: 0 auto;
  padding: 70px 0 100px;
}

/* Shop heading */
.woocommerce-products-header {
  text-align: center;
  margin-bottom: 45px;
}

.woocommerce-products-header__title,
.woocommerce-page .page-title {
  margin: 0;
  color: var(--ink);
  font-size: clamp(34px, 4vw, 48px);
  font-weight: 600;
  line-height: 1.5;
}

.woocommerce-products-header__title::after,
.woocommerce-page .page-title::after {
  content: '';
  display: block;
  width: 42px;
  height: 3px;
  margin: 15px auto 0;
  background: var(--wine);
  border-radius: 10px;
}

/* Result count + sorting */
.woocommerce .woocommerce-result-count {
  float: right;
  margin: 8px 0 28px;
  color: var(--quiet);
  font-size: 12px;
}

.woocommerce .woocommerce-ordering {
  float: left;
  margin: 0 0 28px;
}

.woocommerce .woocommerce-ordering select {
  min-height: 42px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: 12px;
}

/* Clear floating elements before products */
.woocommerce ul.products {
  clear: both;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.woocommerce ul.products li.product {
  float: none;
  width: 360px;
  max-width: 100%;
  margin: 0;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

/* Product card */
.woocommerce ul.products li.product {
  float: none;
  width: auto;
  margin: 0;
  padding: 0 0 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: right;

  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    box-shadow .35s ease,
    border-color .35s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-6px);
  border-color: var(--blush-deep);
  box-shadow: var(--shadow-md);
}

/* Product image */
.woocommerce ul.products li.product a img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  margin: 0 0 20px;
  border: 0;
}

/* Product title */
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 22px;
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.8;
}

/* Price */
.woocommerce ul.products li.product .price {
  display: block;
  padding: 0 22px;
  margin: 0 0 18px;
  color: var(--wine);
  font-size: 17px;
  font-weight: 700;
}

.woocommerce ul.products li.product .price bdi {
  color: var(--wine);
}

/* Add to cart button */
.woocommerce ul.products li.product .button {
  display: flex;
  align-items: center;
  justify-content: center;

  width: calc(100% - 44px);
  min-height: 48px;

  margin: 0 22px;
  padding: 11px 18px;

  background: var(--wine);
  color: #fff;

  border: 1px solid var(--wine);
  border-radius: 11px;

  font-size: 13px;
  font-weight: 500;

  box-shadow: var(--shadow-wine);
}

.woocommerce ul.products li.product .button:hover {
  background: var(--wine-deep);
  border-color: var(--wine-deep);
  transform: translateY(-2px);
}

/* Sale badge */
.woocommerce span.onsale {
  min-width: 52px;
  min-height: 52px;
  padding: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  top: 14px;
  right: 14px;

  background: var(--wine);
  color: #fff;

  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
}

/* Pagination */
.woocommerce nav.woocommerce-pagination {
  margin-top: 50px;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex;
  align-items: center;
  justify-content: center;

  min-width: 40px;
  height: 40px;

  background: #fff;
  color: var(--ink);

  border: 1px solid var(--line);
  border-radius: 10px;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--wine);
  border-color: var(--wine);
  color: #fff;
}

/* Tablet */
@media (max-width: 900px) {

  .woocommerce-page .woocommerce {
    width: min(100% - 60px, 760px);
    padding: 55px 0 80px;
  }

  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

}

/* Mobile */
@media (max-width: 600px) {

  .woocommerce-page .woocommerce {
    width: calc(100% - 40px);
    padding: 45px 0 65px;
  }

  .woocommerce ul.products {
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
  }

  .woocommerce .woocommerce-ordering {
    margin-bottom: 25px;
  }

  .woocommerce ul.products li.product a img {
    height: 230px;
  }

/* =========================================================
   Fargolearn Shop - Final Layout
   ========================================================= */

/* Main shop area */
body.woocommerce-shop main.section {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 55px 40px 100px !important;
    box-sizing: border-box;
}

/* Shop content */
body.woocommerce-shop main.section > .woocommerce {
    width: min(1180px, 100%) !important;
    max-width: 1180px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Shop title */
body.woocommerce-shop main.section > h1 {
    width: min(1180px, 100%) !important;
    margin: 0 auto 45px !important;
    padding: 24px 30px !important;

    text-align: center !important;
    font-size: clamp(30px, 4vw, 46px) !important;
    font-weight: 700 !important;
    color: var(--wine) !important;

    background: linear-gradient(
        135deg,
        #FFF0F2 0%,
        #FFFFFF 100%
    ) !important;

    border: 1px solid #F0CDD3 !important;
    border-radius: 24px !important;

    box-shadow: 0 12px 35px rgba(210, 31, 60, 0.08) !important;
}

/* Result count */
body.woocommerce-shop .woocommerce-result-count {
    float: none !important;
    width: 100% !important;
    margin: 0 0 22px !important;

    text-align: center !important;
    color: #777 !important;
    font-size: 14px !important;
}

/* Sorting */
body.woocommerce-shop .woocommerce-ordering {
    float: none !important;
    width: 100% !important;
    margin: 0 0 42px !important;

    display: flex !important;
    justify-content: center !important;
}

body.woocommerce-shop .woocommerce-ordering select {
    min-width: 180px !important;
    padding: 11px 16px !important;

    background: #fff !important;
    color: #333 !important;

    border: 1px solid #F0CDD3 !important;
    border-radius: 12px !important;

    outline: none !important;
}

/* Products container */
body.woocommerce-shop .woocommerce ul.products {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;

    margin: 0 !important;
    padding: 0 !important;

    clear: both !important;
}

/* Product card */
body.woocommerce-shop .woocommerce ul.products li.product {
    float: none !important;

    width: min(340px, 100%) !important;
    margin: 0 !important;
    padding: 0 !important;

    background: #fff !important;

    border: 1px solid #F0CDD3 !important;
    border-radius: 22px !important;

    overflow: hidden !important;

    box-shadow: 0 14px 40px rgba(210, 31, 60, 0.10) !important;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease !important;
}

/* Product hover */
body.woocommerce-shop .woocommerce ul.products li.product:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 45px rgba(210, 31, 60, 0.16) !important;
}

/* Product image */
body.woocommerce-shop .woocommerce ul.products li.product img {
    width: 100% !important;
    height: auto !important;

    margin: 0 !important;

    display: block !important;
}

/* Product title */
body.woocommerce-shop .woocommerce ul.products li.product .woocommerce-loop-product__title {
    padding: 20px 20px 8px !important;

    text-align: center !important;

    font-size: 17px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;

    color: #252525 !important;
}

/* Price */
body.woocommerce-shop .woocommerce ul.products li.product .price {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;

    margin: 0 !important;
    padding: 5px 20px 16px !important;

    text-align: center !important;
}

body.woocommerce-shop .woocommerce ul.products li.product .price ins {
    color: var(--wine) !important;
    font-weight: 800 !important;
    text-decoration: none !important;
}

body.woocommerce-shop .woocommerce ul.products li.product .price del {
    color: #999 !important;
    opacity: 1 !important;
}

/* Add to cart button */
body.woocommerce-shop .woocommerce ul.products li.product a.button {
    display: block !important;

    width: calc(100% - 36px) !important;

    margin: 0 18px 18px !important;
    padding: 13px 18px !important;

    box-sizing: border-box !important;

    text-align: center !important;

    background: var(--wine) !important;
    color: #fff !important;

    border: 1px solid var(--wine) !important;
    border-radius: 12px !important;

    font-size: 15px !important;
    font-weight: 700 !important;

    box-shadow: 0 8px 20px rgba(210, 31, 60, 0.18) !important;

    transition:
        background 0.2s ease,
        transform 0.2s ease !important;
}

body.woocommerce-shop .woocommerce ul.products li.product a.button:hover {
    background: var(--wine-deep) !important;
    border-color: var(--wine-deep) !important;
    color: #fff !important;

    transform: translateY(-2px) !important;
}

/* Sale badge */
body.woocommerce-shop .woocommerce ul.products li.product .onsale {
    top: 14px !important;
    right: 14px !important;
    left: auto !important;

    min-height: auto !important;
    min-width: auto !important;

    margin: 0 !important;
    padding: 8px 12px !important;

    background: var(--wine) !important;
    color: #fff !important;

    border-radius: 999px !important;

    font-size: 12px !important;
    font-weight: 700 !important;
}

/* Header CTA on WooCommerce pages */
body.woocommerce-page .site-header .header-cta {
    background: var(--wine) !important;
    color: #fff !important;
    border: 1px solid var(--wine) !important;
    box-shadow: 0 8px 22px rgba(210, 31, 60, 0.12) !important;
}

body.woocommerce-page .site-header .header-cta:hover {
    background: var(--wine-deep) !important;
    color: #fff !important;
    border-color: var(--wine-deep) !important;
}

/* Mobile */
@media (max-width: 768px) {

    body.woocommerce-shop main.section {
        padding: 35px 18px 70px !important;
    }

    body.woocommerce-shop main.section > h1 {
        margin-bottom: 30px !important;
        padding: 20px 15px !important;
        border-radius: 18px !important;
        font-size: 30px !important;
    }

    body.woocommerce-shop .woocommerce ul.products li.product {
        width: min(340px, 100%) !important;
    }
}
/* =========================================================
   FARGOLEARn SHOP — Soft Fargolearn Frame
   ========================================================= */

body.woocommerce-shop {
    background: #fffaf9;
}

/* Main shop area */
body.woocommerce-shop .fargolearn-woocommerce {
    width: min(1180px, calc(100% - 40px));
    margin: 42px auto 80px;
}

/* Shop header */
body.woocommerce-shop .woocommerce-products-header {
    background: linear-gradient(135deg, #fff0f2 0%, #fffaf9 100%);
    border: 1px solid #f0cdd3;
    border-radius: 28px;
    padding: 42px 48px;
    margin-bottom: 34px;
    text-align: right;
    box-shadow: 0 12px 35px rgba(210, 31, 60, 0.06);
}

/* Shop title */
body.woocommerce-shop .woocommerce-products-header__title,
body.woocommerce-shop .woocommerce-products-header .page-title {
    margin: 0 0 10px;
    color: #222;
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
}

/* Subtitle */
body.woocommerce-shop .woocommerce-result-count {
    color: #777;
    font-size: 15px;
    margin: 0;
}

/* Product area */
body.woocommerce-shop .woocommerce ul.products {
    display: flex;
    justify-content: center;
    gap: 28px;
    margin: 0;
    padding: 0;
}

/* Product card */
body.woocommerce-shop .woocommerce ul.products li.product {
    width: min(360px, 100%);
    margin: 0;
    padding: 18px;
    background: #fff;
    border: 1px solid #f0cdd3;
    border-radius: 26px;
    box-shadow: 0 14px 38px rgba(40, 20, 25, 0.07);
    text-align: right;
    transition: transform .25s ease, box-shadow .25s ease;
}

/* Hover */
body.woocommerce-shop .woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(210, 31, 60, 0.12);
}

/* Product image */
body.woocommerce-shop .woocommerce ul.products li.product img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 20px;
    margin: 0 0 20px;
}

/* Product title */
body.woocommerce-shop .woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #222;
    font-size: 19px;
    font-weight: 800;
    line-height: 1.7;
    padding: 0;
}

/* Price */
body.woocommerce-shop .woocommerce ul.products li.product .price {
    color: #d21f3c;
    font-size: 18px;
    font-weight: 800;
    margin: 12px 0 18px;
}

/* Add to cart */
body.woocommerce-shop .woocommerce ul.products li.product .button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    background: #d21f3c !important;
    color: #fff !important;
    border: 1px solid #d21f3c !important;
    border-radius: 14px;
    padding: 13px 18px;
    text-align: center;
    font-weight: 700;
    transition: background .2s ease, transform .2s ease;
}

body.woocommerce-shop .woocommerce ul.products li.product .button:hover {
    background: #b51630 !important;
    border-color: #b51630 !important;
    color: #fff !important;
    transform: translateY(-2px);
}

/* Sorting */
body.woocommerce-shop .woocommerce-ordering {
    margin: 0 0 22px;
}

body.woocommerce-shop .woocommerce-ordering select {
    border: 1px solid #f0cdd3;
    border-radius: 12px;
    background: #fff;
    padding: 10px 14px;
    color: #444;
}

/* Mobile */
@media (max-width: 768px) {

    body.woocommerce-shop .fargolearn-woocommerce {
        width: min(100% - 24px, 560px);
        margin-top: 24px;
    }

    body.woocommerce-shop .woocommerce-products-header {
        padding: 30px 24px;
        border-radius: 22px;
    }

    body.woocommerce-shop .woocommerce ul.products {
        display: block;
    }

    body.woocommerce-shop .woocommerce ul.products li.product {
        width: 100%;
        box-sizing: border-box;
        margin-bottom: 24px;
    }
}
/* =========================================================
   Fargolearn Shop — Real Shop Page Structure
   ========================================================= */

/* Background */
body.woocommerce-shop {
    background: var(--ivory);
}

/* Shop page container */
body.woocommerce-shop main.section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 45px 40px 90px;
}

/* Shop title box */
body.woocommerce-shop main.section > h1 {
    background: linear-gradient(135deg, var(--soft), #fff);
    border: 1px solid var(--line);
    border-radius: 24px;
    padding: 30px 36px;
    margin: 0 0 35px;
    text-align: right;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 600;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

/* WooCommerce content */
body.woocommerce-shop main.section > .woocommerce {
    width: 100%;
    padding: 0;
    margin: 0;
}

/* Result count */
body.woocommerce-shop main.section > .woocommerce .woocommerce-result-count {
    float: none;
    margin: 0 0 18px;
    color: var(--quiet);
    font-size: 12px;
    text-align: right;
}

/* Sorting */
body.woocommerce-shop main.section > .woocommerce .woocommerce-ordering {
    float: none;
    margin: 0 0 28px;
    text-align: right;
}

body.woocommerce-shop main.section > .woocommerce .woocommerce-ordering select {
    min-height: 42px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
}

/* Products */
body.woocommerce-shop main.section > .woocommerce ul.products {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 28px;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Product card */
body.woocommerce-shop main.section > .woocommerce ul.products li.product {
    float: none;
    width: 360px;
    max-width: 100%;
    margin: 0;
    padding: 0 0 24px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    text-align: right;
    transition:
        transform .3s ease,
        box-shadow .3s ease,
        border-color .3s ease;
}

body.woocommerce-shop main.section > .woocommerce ul.products li.product:hover {
    transform: translateY(-5px);
    border-color: var(--blush-deep);
    box-shadow: var(--shadow-md);
}

/* Product image */
body.woocommerce-shop main.section > .woocommerce ul.products li.product a img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    margin: 0 0 20px;
}

/* Product title */
body.woocommerce-shop main.section > .woocommerce ul.products li.product
.woocommerce-loop-product__title {
    padding: 0 22px;
    margin: 0 0 10px;
    color: var(--ink);
    font-size: 17px;
    font-weight: 600;
    line-height: 1.8;
}

/* Price */
body.woocommerce-shop main.section > .woocommerce ul.products li.product .price {
    display: block;
    padding: 0 22px;
    margin: 0 0 18px;
    color: var(--wine);
    font-size: 17px;
    font-weight: 700;
}

/* Add to cart */
body.woocommerce-shop main.section > .woocommerce ul.products li.product .button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 44px);
    min-height: 48px;
    margin: 0 22px;
    padding: 11px 18px;
    background: var(--wine) !important;
    color: #fff !important;
    border: 1px solid var(--wine) !important;
    border-radius: 11px;
    font-size: 13px;
    font-weight: 500;
    box-shadow: var(--shadow-wine);
}

body.woocommerce-shop main.section > .woocommerce ul.products li.product .button:hover {
    background: var(--wine-deep) !important;
    border-color: var(--wine-deep) !important;
    color: #fff !important;
}

/* Sale badge */
body.woocommerce-shop main.section > .woocommerce span.onsale {
    background: var(--wine);
    color: #fff;
}

/* Header CTA on Shop */
body.woocommerce-page .site-header .header-cta {
    background: var(--wine) !important;
    color: #fff !important;
    border: 1px solid var(--wine) !important;
    box-shadow: var(--shadow-wine) !important;
}

body.woocommerce-page .site-header .header-cta:hover {
    background: var(--wine-deep) !important;
    border-color: var(--wine-deep) !important;
    color: #fff !important;
}

/* Mobile */
@media (max-width: 760px) {

    body.woocommerce-shop main.section {
        padding: 30px 20px 60px;
    }

    body.woocommerce-shop main.section > h1 {
        padding: 24px;
        border-radius: 20px;
        text-align: center;
    }

    body.woocommerce-shop main.section > .woocommerce ul.products {
        flex-direction: column;
        align-items: center;
    }

    body.woocommerce-shop main.section > .woocommerce ul.products li.product {
        width: 100%;
        max-width: 380px;
    }
}
body.woocommerce-shop main.section > h1 {
    background: red !important;
    color: yellow !important;
}