/*
Theme Name: لاله مد
Theme URI: https://example.com/laleh-mod
Author: Laleh
Author URI: https://example.com
Description: تم فروشگاهی زنانه مد خانگی، ریسپانسیو و سازگار با ووکامرس. طراحی پاستیلی و فانتزی.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: laleh-mod
Tags: rtl-language-support, translation-ready, custom-menu, featured-images, e-commerce
*/

:root {
  --pink:    #f8c8d4;
  --lavender:#d9c7f0;
  --mint:    #c5e8d9;
  --peach:   #fdd9c0;
  --sky:     #c2dff5;
  --yellow:  #fdefc3;
  --white:   #fdfbff;
  --text:    #5a4a5a;
  --text-light: #8a7a8a;
  --shadow:  rgba(180,140,180,0.18);
}

* { margin:0; padding:0; box-sizing:border-box; }

body {
  font-family: 'Vazirmatn', sans-serif;
  background: linear-gradient(135deg, #fef0f5 0%, #f0ebfc 35%, #ebf5fb 70%, #f0faf5 100%);
  min-height: 100vh;
  color: var(--text);
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; }
a { color: inherit; }

/* ---- Floating blobs ---- */
.blob-wrap { position: fixed; inset: 0; pointer-events: none; z-index: 0; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; animation: float 12s ease-in-out infinite alternate; }
.blob-1 { width:420px; height:420px; background:#f8c8d4; top:-120px; right:-100px; animation-delay:0s; }
.blob-2 { width:350px; height:350px; background:#d9c7f0; bottom:-80px; left:-80px; animation-delay:3s; }
.blob-3 { width:280px; height:280px; background:#c5e8d9; top:50%; left:60%; animation-delay:6s; }
@keyframes float { from { transform: translate(0,0) scale(1); } to { transform: translate(30px,40px) scale(1.08); } }

/* ---- Navbar ---- */
.site-header {
  position: sticky; top:0; z-index: 100;
  backdrop-filter: blur(20px);
  background: rgba(253,251,255,.7);
  border-bottom: 1.5px solid rgba(255,255,255,.8);
  padding: 0 5%;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
  box-shadow: 0 4px 24px var(--shadow);
  overflow: visible;
}

.logo, .logo a {
  font-size: 1.7rem; font-weight: 800; text-decoration:none;
  background: linear-gradient(135deg, #d98fc0, #9b7fd4, #6fb8d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  letter-spacing: .03em;
}
.logo span { font-weight: 300; }

.nav-links {
  display:flex;
  gap:28px;
  list-style:none;
  align-items:center;
  overflow: visible;
}

.nav-links ul,
.nav-links li {
  list-style: none !important;
  margin: 0;
  padding: 0;
  overflow: visible;
  position: relative; /* این خط اضافه شد تا مشکل روی هم افتادن زیرمنوها حل شود */
}

.nav-links > li {
  position: relative;
}

.nav-links a {
  text-decoration:none;
  color: var(--text-light);
  font-size:.95rem;
  font-weight:500;
  transition: color .3s;
  position: relative;
}

.nav-links a::after {
  content:'';
  position:absolute;
  bottom:-4px;
  right:0;
  width:0;
  height:2px;
  background: linear-gradient(90deg,#d98fc0,#9b7fd4);
  transition: width .3s;
  border-radius:2px;
}

.nav-links a:hover { color: #c07ab0; }
.nav-links a:hover::after { width:100%; }
.nav-links .current-menu-item > a { color:#c07ab0; }

.nav-links li ul,
.nav-links .sub-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 250px;
  z-index: 99999;
  background: rgba(253,251,255,.98);
  backdrop-filter: blur(20px);
  border-radius: 18px;
  padding: 8px 0 !important;
  box-shadow: 0 14px 35px rgba(180,140,180,.25);
}

.nav-links li:hover > ul,
.nav-links li:hover > .sub-menu,
.nav-links li:focus-within > ul,
.nav-links li:focus-within > .sub-menu {
  display: block;
}

.nav-links li ul li,
.nav-links .sub-menu li {
  display: block;
  width: 100%;
}

.nav-links li ul a,
.nav-links .sub-menu a {
  display: block;
  width: 100%;
  padding: 12px 18px;
  white-space: nowrap;
  text-decoration: none;
}

.nav-links li ul ul,
.nav-links .sub-menu .sub-menu {
  top: 0;
  right: calc(100% + 8px);
}

.nav-links .sub-menu a:hover,
.nav-links li ul a:hover {
  background: rgba(217,199,240,.28);
}

.nav-icons { display:flex; gap:16px; align-items:center; }
.nav-icon-btn {
  width:40px; height:40px; border-radius:50%;
  background: rgba(255,255,255,.7);
  border: 1.5px solid rgba(255,255,255,.9);
  display:grid; place-items:center; cursor:pointer; transition: all .3s;
  box-shadow: 0 2px 8px var(--shadow); color: var(--text-light); font-size:1.1rem;
  position:relative; text-decoration:none;
}
.nav-icon-btn:hover { transform:translateY(-2px); box-shadow:0 6px 20px var(--shadow); background:#fff; }
.badge {
  position:absolute; top:-4px; left:-4px; width:18px; height:18px; border-radius:50%;
  background: linear-gradient(135deg,#d98fc0,#9b7fd4);
  color:#fff; font-size:.6rem; display:grid; place-items:center; font-weight:700;
}
.menu-toggle { display:none; background:none; border:none; font-size:1.5rem; cursor:pointer; color:var(--text-light); }

/* ---- Hero ---- */
.hero { position:relative; z-index:1; display:flex; align-items:center; justify-content:space-between; padding: 80px 7% 60px; gap: 40px; }
.hero-text { max-width: 520px; }
.hero-badge {
  display:inline-flex; align-items:center; gap:8px;
  background: rgba(255,255,255,.8); border: 1.5px solid rgba(217,143,192,.3);
  padding: 8px 18px; border-radius:50px; font-size:.82rem; color:#c07ab0; font-weight:600;
  margin-bottom:20px; box-shadow: 0 2px 12px rgba(217,143,192,.2);
}
.hero-badge .dot { width:8px; height:8px; border-radius:50%; background: linear-gradient(135deg,#d98fc0,#9b7fd4); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform:scale(1); opacity:1; } 50% { transform:scale(1.4); opacity:.6; } }
.hero h1 { font-size: clamp(2.2rem,4vw,3.4rem); font-weight:800; line-height:1.25; margin-bottom:18px; color: #4a3a5a; }
.hero h1 .highlight { background: linear-gradient(135deg,#d98fc0,#9b7fd4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.hero p { font-size:1.05rem; color:var(--text-light); line-height:1.8; margin-bottom:32px; }
.hero-buttons { display:flex; gap:14px; flex-wrap:wrap; }
.btn-primary { padding:14px 32px; border-radius:50px; background: linear-gradient(135deg,#d98fc0,#9b7fd4); color:#fff; font-family:inherit; font-size:.95rem; font-weight:600; border:none; cursor:pointer; box-shadow: 0 8px 24px rgba(155,127,212,.4); transition: all .3s; text-decoration:none; display:inline-block; }
.btn-primary:hover { transform:translateY(-3px); box-shadow:0 14px 32px rgba(155,127,212,.5); }
.btn-outline { padding:13px 28px; border-radius:50px; background: rgba(255,255,255,.7); border:1.5px solid rgba(155,127,212,.4); color:#9b7fd4; font-family:inherit; font-size:.95rem; font-weight:600; cursor:pointer; transition: all .3s; text-decoration:none; display:inline-block; }
.btn-outline:hover { background:#fff; transform:translateY(-3px); box-shadow:0 8px 20px var(--shadow); }

/* Hero Visual */
.hero-visual { position:relative; flex-shrink:0; }
.hero-card { width: 340px; height: 420px; background: rgba(255,255,255,.65); backdrop-filter: blur(20px); border-radius: 32px; border: 2px solid rgba(255,255,255,.9); box-shadow: 0 24px 60px rgba(155,127,212,.2); display:flex; flex-direction:column; align-items:center; justify-content:center; position:relative; overflow:hidden; animation: heroFloat 5s ease-in-out infinite; }
@keyframes heroFloat { 0%,100%{ transform:translateY(0); } 50% { transform:translateY(-14px); } }
.hero-img-placeholder { width:200px; height:240px; background: linear-gradient(160deg,var(--pink),var(--lavender)); border-radius:24px; margin-bottom:16px; box-shadow: 0 12px 30px rgba(155,127,212,.25); background-size:cover; background-position:center; }
.hero-card-label { font-size:.9rem; color:var(--text-light); font-weight:500; display:flex; align-items:center; gap:6px; }
.hero-card-label .emoji-icon { font-size: 1.2rem; }
.hero-card-price { font-size:1.3rem; font-weight:800; color:#9b7fd4; margin-top:4px; }
.floating-tag { position:absolute; background:rgba(255,255,255,.9); backdrop-filter:blur(10px); border-radius:14px; padding:10px 14px; box-shadow:0 8px 24px var(--shadow); font-size:.78rem; font-weight:600; color:var(--text); border:1.5px solid rgba(255,255,255,.9); }
.tag-1 { top:20px; left:-60px; animation: tagFloat1 4s ease-in-out infinite; }
.tag-2 { bottom:60px; left:-70px; animation: tagFloat2 5s ease-in-out infinite; }
.tag-3 { top:60px; right:-55px; animation: tagFloat1 4.5s ease-in-out infinite reverse; }
@keyframes tagFloat1 { 0%,100%{ transform:translateY(0) rotate(-2deg); } 50%{ transform:translateY(-8px) rotate(2deg); } }
@keyframes tagFloat2 { 0%,100%{ transform:translateY(0) rotate(3deg); } 50%{ transform:translateY(-10px) rotate(-3deg); } }
.tag-stars { color:#f5a623; font-size:.7rem; }

/* ---- Stats ---- */
.stats { position:relative; z-index:1; display:flex; justify-content:center; gap:0; padding: 0 7% 60px; }
.stat-item { flex:1; max-width:200px; text-align:center; padding: 24px 20px; background:rgba(255,255,255,.6); backdrop-filter:blur(12px); border:1.5px solid rgba(255,255,255,.9); box-shadow:0 4px 20px var(--shadow); transition: transform .3s; }
.stat-item:first-child { border-radius:20px 0 0 20px; }
.stat-item:last-child { border-radius:0 20px 20px 0; }
.stat-item:hover { transform:translateY(-4px); }
.stat-num { font-size:1.8rem; font-weight:800; background:linear-gradient(135deg,#d98fc0,#9b7fd4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }
.stat-label { font-size:.82rem; color:var(--text-light); margin-top:4px; }

/* ---- Section Title ---- */
.section-header { text-align:center; margin-bottom:40px; }
.section-header h2 { font-size:clamp(1.6rem,2.5vw,2.2rem); font-weight:800; color:#4a3a5a; margin-bottom:10px; }
.section-header p { font-size:.95rem; color:var(--text-light); }
.section-line { width:60px; height:4px; border-radius:4px; background:linear-gradient(90deg,#d98fc0,#9b7fd4); margin:12px auto 0; }

/* ---- Categories ---- */
.categories { position:relative; z-index:1; padding: 0 5% 70px; }
.cat-grid { display:flex; gap:16px; justify-content:center; flex-wrap:wrap; }
.cat-card { width:150px; padding:24px 16px; background:rgba(255,255,255,.7); backdrop-filter:blur(14px); border-radius:24px; border:1.5px solid rgba(255,255,255,.9); box-shadow:0 4px 20px var(--shadow); display:flex; flex-direction:column; align-items:center; gap:12px; cursor:pointer; transition:all .35s; text-decoration:none; color:var(--text); }
.cat-card:hover { transform:translateY(-8px); box-shadow:0 16px 40px var(--shadow); }
.cat-card.active { background:linear-gradient(135deg,rgba(217,143,192,.25),rgba(155,127,212,.25)); border-color:rgba(155,127,212,.5); }
.cat-icon { width:64px; height:64px; border-radius:18px; display:grid; place-items:center; font-size:1.8rem; transition: transform .3s; }
.cat-card:hover .cat-icon { transform:scale(1.12) rotate(-4deg); }
.ci-1{ background:linear-gradient(135deg,#fdd9c0,#f8c8d4); }
.ci-2{ background:linear-gradient(135deg,#d9c7f0,#c2dff5); }
.ci-3{ background:linear-gradient(135deg,#c5e8d9,#c2dff5); }
.ci-4{ background:linear-gradient(135deg,#fdefc3,#fdd9c0); }
.ci-5{ background:linear-gradient(135deg,#f8c8d4,#d9c7f0); }
.cat-name { font-size:.88rem; font-weight:600; }
.cat-count { font-size:.75rem; color:var(--text-light); }

/* ---- Products ---- */
.products { position:relative; z-index:1; padding:0 5% 80px; }
.filter-bar { display:flex; gap:10px; justify-content:center; flex-wrap:wrap; margin-bottom:36px; }
.filter-btn { padding:8px 22px; border-radius:50px; font-family:inherit; font-size:.85rem; font-weight:600; cursor:pointer; transition:all .3s; border:1.5px solid rgba(155,127,212,.3); background:rgba(255,255,255,.7); color:var(--text-light); }
.filter-btn.active, .filter-btn:hover { background:linear-gradient(135deg,#d98fc0,#9b7fd4); color:#fff; border-color:transparent; box-shadow:0 4px 16px rgba(155,127,212,.4); }
.products-grid { display:grid; grid-template-columns: repeat(auto-fill, minmax(240px,1fr)); gap:24px; }
.product-card { background:rgba(255,255,255,.7); backdrop-filter:blur(14px); border-radius:26px; border:1.5px solid rgba(255,255,255,.9); box-shadow:0 4px 20px var(--shadow); overflow:hidden; cursor:pointer; transition:all .35s; position:relative; }
.product-card:hover { transform:translateY(-8px); box-shadow:0 20px 50px rgba(155,127,212,.25); }
.product-img { height:230px; position:relative; overflow:hidden; background-size:cover; background-position:center; }
.product-img::after { content:''; position:absolute; inset:0; background:linear-gradient(to top, rgba(255,255,255,.5) 0%, transparent 60%); }
.bg-p1{ background:linear-gradient(160deg,#fdd9c0,#f8c8d4); }
.bg-p2{ background:linear-gradient(160deg,#d9c7f0,#c2dff5); }
.bg-p3{ background:linear-gradient(160deg,#c5e8d9,#fdefc3); }
.bg-p4{ background:linear-gradient(160deg,#f8c8d4,#d9c7f0); }
.bg-p5{ background:linear-gradient(160deg,#fdefc3,#fdd9c0); }
.bg-p6{ background:linear-gradient(160deg,#c2dff5,#c5e8d9); }
.product-badge { position:absolute; top:14px; right:14px; z-index:1; padding:5px 12px; border-radius:20px; font-size:.72rem; font-weight:700; background:linear-gradient(135deg,#d98fc0,#9b7fd4); color:#fff; box-shadow:0 4px 12px rgba(155,127,212,.4); }
.wishlist-btn { position:absolute; top:14px; left:14px; z-index:1; width:34px; height:34px; border-radius:50%; background:rgba(255,255,255,.8); border:none; cursor:pointer; display:grid; place-items:center; font-size:1rem; transition:all .3s; box-shadow:0 2px 8px var(--shadow); }
.wishlist-btn:hover { transform:scale(1.15); background:#fff; }
.product-info { padding:18px; }
.product-name { font-size:.95rem; font-weight:700; margin-bottom:6px; color:#4a3a5a; display:flex; align-items:center; gap:8px; text-decoration:none; }
.product-name .title-icon { font-size: 1.1rem; background: rgba(255, 255, 255, 0.8); padding: 4px; border-radius: 8px; box-shadow: 0 2px 6px rgba(155, 127, 212, 0.2); }
.product-sub { font-size:.8rem; color:var(--text-light); margin-bottom:14px; }
.product-footer { display:flex; align-items:center; justify-content:space-between; }
.product-price { font-size:1.05rem; font-weight:800; color:#9b7fd4; }
.product-price .old { font-size:.8rem; color:#c0b0c0; text-decoration:line-through; font-weight:400; margin-left:6px; }
.add-btn { width:36px; height:36px; border-radius:50%; background:linear-gradient(135deg,#d98fc0,#9b7fd4); border:none; cursor:pointer; color:#fff; font-size:1.2rem; display:grid; place-items:center; box-shadow:0 4px 14px rgba(155,127,212,.45); transition:all .3s; text-decoration:none; }
.add-btn:hover { transform:scale(1.12) rotate(90deg); box-shadow:0 8px 20px rgba(155,127,212,.55); }
.color-dots { display:flex; gap:5px; margin-bottom:10px; }
.color-dot { width:14px; height:14px; border-radius:50%; border:2px solid rgba(255,255,255,.9); box-shadow:0 1px 4px rgba(0,0,0,.12); cursor:pointer; transition:transform .2s; }
.color-dot:hover { transform:scale(1.25); }

/* ---- Banner ---- */
.promo-banner { position:relative; z-index:1; margin:0 5% 70px; border-radius:32px; overflow:hidden; background:linear-gradient(135deg,#d98fc0 0%,#9b7fd4 50%,#6fb8d4 100%); padding:50px 6%; display:flex; align-items:center; justify-content:space-between; box-shadow:0 20px 50px rgba(155,127,212,.4); }
.promo-banner::before { content:''; position:absolute; inset:0; background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.06'%3E%3Ccircle cx='30' cy='30' r='20'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); }
.promo-text { position:relative; z-index:1; color:#fff; }
.promo-text h2 { font-size:clamp(1.5rem,3vw,2.2rem); font-weight:800; margin-bottom:10px; }
.promo-text p { font-size:.95rem; opacity:.88; margin-bottom:24px; }
.btn-white { padding:12px 30px; border-radius:50px; background:#fff; color:#9b7fd4; font-family:inherit; font-size:.9rem; font-weight:700; border:none; cursor:pointer; transition:all .3s; box-shadow:0 6px 20px rgba(0,0,0,.15); text-decoration:none; display:inline-block; }
.btn-white:hover { transform:translateY(-3px); box-shadow:0 12px 28px rgba(0,0,0,.2); }
.promo-emoji { font-size:6rem; position:relative; z-index:1; animation:heroFloat 4s ease-in-out infinite; }

/* ---- Testimonials ---- */
.testimonials { position:relative; z-index:1; padding:0 5% 80px; }
.testi-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(260px,1fr)); gap:20px; }
.testi-card { background:rgba(255,255,255,.7); backdrop-filter:blur(14px); border-radius:24px; border:1.5px solid rgba(255,255,255,.9); padding:24px; box-shadow:0 4px 20px var(--shadow); transition:transform .3s; }
.testi-card:hover { transform:translateY(-5px); }
.testi-header { display:flex; align-items:center; gap:12px; margin-bottom:14px; }
.testi-avatar { width:46px; height:46px; border-radius:50%; display:grid; place-items:center; font-size:1.4rem; border:2px solid rgba(255,255,255,.9); }
.av-1{ background:linear-gradient(135deg,var(--pink),var(--lavender)); }
.av-2{ background:linear-gradient(135deg,var(--mint),var(--sky)); }
.av-3{ background:linear-gradient(135deg,var(--peach),var(--yellow)); }
.testi-name { font-size:.9rem; font-weight:700; color:#4a3a5a; }
.testi-date { font-size:.75rem; color:var(--text-light); }
.testi-stars { color:#f5a623; font-size:.85rem; margin-bottom:10px; }
.testi-text { font-size:.88rem; color:var(--text-light); line-height:1.75; }

/* ---- Newsletter ---- */
.newsletter { position:relative; z-index:1; margin:0 5% 70px; background:rgba(255,255,255,.6); backdrop-filter:blur(16px); border-radius:28px; border:1.5px solid rgba(255,255,255,.9); box-shadow:0 8px 32px var(--shadow); padding:44px; text-align:center; }
.newsletter h2 { font-size:1.7rem; font-weight:800; color:#4a3a5a; margin-bottom:10px; }
.newsletter p { font-size:.95rem; color:var(--text-light); margin-bottom:28px; }
.newsletter-form { display:flex; gap:12px; justify-content:center; flex-wrap:wrap; }
.newsletter-input { padding:14px 22px; border-radius:50px; width:300px; border:1.5px solid rgba(155,127,212,.3); background:rgba(255,255,255,.8); font-family:inherit; font-size:.9rem; color:var(--text); outline:none; transition:all .3s; }
.newsletter-input:focus { border-color:#9b7fd4; box-shadow:0 0 0 4px rgba(155,127,212,.12); }
.newsletter-input::placeholder { color:#c0b0c0; }

/* ---- Content pages ---- */
.page-wrap { position:relative; z-index:1; max-width:1100px; margin:0 auto; padding:60px 5%; }
.content-card { background:rgba(255,255,255,.7); backdrop-filter:blur(14px); border-radius:26px; border:1.5px solid rgba(255,255,255,.9); box-shadow:0 4px 20px var(--shadow); padding:36px; margin-bottom:28px; }
.content-card h1, .content-card h2, .content-card h3 { color:#4a3a5a; margin-bottom:14px; }
.content-card p { line-height:1.9; color:var(--text-light); margin-bottom:16px; }
.content-card a { color:#c07ab0; }
.content-card ul, .content-card ol { margin:0 20px 16px; line-height:1.9; color:var(--text-light); }
.post-meta { font-size:.82rem; color:var(--text-light); margin-bottom:16px; }
.post-thumb { border-radius:18px; overflow:hidden; margin-bottom:20px; }
.blog-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(280px,1fr)); gap:24px; }
.pagination { display:flex; gap:8px; justify-content:center; margin-top:40px; flex-wrap:wrap; }
.pagination .page-numbers { padding:8px 16px; border-radius:50px; background:rgba(255,255,255,.7); border:1.5px solid rgba(155,127,212,.3); text-decoration:none; color:var(--text-light); font-weight:600; }
.pagination .page-numbers.current, .pagination .page-numbers:hover { background:linear-gradient(135deg,#d98fc0,#9b7fd4); color:#fff; border-color:transparent; }
.error-404 { text-align:center; padding:100px 5%; position:relative; z-index:1; }
.error-404 .big { font-size:6rem; font-weight:800; background:linear-gradient(135deg,#d98fc0,#9b7fd4); -webkit-background-clip:text; -webkit-text-fill-color:transparent; }

/* ---- Footer ---- */
.site-footer { position:relative; z-index:1; background:rgba(255,255,255,.5); backdrop-filter:blur(14px); border-top:1.5px solid rgba(255,255,255,.9); padding:40px 7% 24px; }
.footer-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(180px,1fr)); gap:32px; margin-bottom:32px; }
.footer-brand .logo { font-size:1.5rem; }
.footer-brand p { font-size:.85rem; color:var(--text-light); margin-top:10px; line-height:1.7; }
.footer-col h4 { font-size:.95rem; font-weight:700; color:#4a3a5a; margin-bottom:14px; }
.footer-col a { display:block; font-size:.85rem; color:var(--text-light); text-decoration:none; margin-bottom:8px; transition:color .3s; }
.footer-col a:hover { color:#c07ab0; }
.social-links { display:flex; gap:10px; margin-top:14px; }
.social-btn { width:38px; height:38px; border-radius:50%; background:rgba(255,255,255,.8); border:1.5px solid rgba(155,127,212,.25); display:grid; place-items:center; text-decoration:none; font-size:1rem; color:var(--text-light); transition:all .3s; }
.social-btn:hover { background:linear-gradient(135deg,#d98fc0,#9b7fd4); color:#fff; transform:translateY(-3px); }
.footer-bottom { border-top:1px solid rgba(155,127,212,.15); padding-top:20px; text-align:center; font-size:.82rem; color:var(--text-light); }

/* ---- Scroll to top ---- */
.scroll-top {
  position:fixed;
  bottom:28px;
  left:28px;
  z-index:999999;
  width:46px;
  height:46px;
  border-radius:50%;
  background:linear-gradient(135deg,#d98fc0,#9b7fd4);
  border:none;
  cursor:pointer;
  color:#fff;
  font-size:1.2rem;
  box-shadow:0 6px 20px rgba(155,127,212,.5);
  display:grid;
  place-items:center;
  transition:all .3s;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.scroll-top:hover { transform:translateY(-4px) scale(1.08); }

html {
  scroll-behavior: smooth;
}

/* ---- WooCommerce tweaks ---- */
.woocommerce { position:relative; z-index:1; padding:40px 5% 80px; max-width:1300px; margin:0 auto; }
.woocommerce ul.products li.product { background:rgba(255,255,255,.7); backdrop-filter:blur(14px); border-radius:26px; border:1.5px solid rgba(255,255,255,.9); box-shadow:0 4px 20px var(--shadow); padding:16px; transition:all .35s; }
.woocommerce ul.products li.product:hover { transform:translateY(-8px); box-shadow:0 20px 50px rgba(155,127,212,.25); }
.woocommerce ul.products li.product .price { color:#9b7fd4; font-weight:800; display:block; margin-top:10px; }
.woocommerce ul.products li.product a img,
.woocommerce div.product div.images img {
  display:block;
  width:100%;
  height:auto;
}
.woocommerce ul.products li.product a img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  margin-bottom: 12px;
}
.woocommerce .woocommerce-product-gallery,
.woocommerce ul.products li.product .woocommerce-loop-product__link {
  display:block;
}
.woocommerce a.button, .woocommerce button.button, .woocommerce .button, .woocommerce #respond input#submit {
  background:linear-gradient(135deg,#d98fc0,#9b7fd4) !important; color:#fff !important; border-radius:50px !important; padding:10px 22px !important; font-family:inherit !important; box-shadow:0 4px 16px rgba(155,127,212,.4);
}
.woocommerce span.onsale { background:linear-gradient(135deg,#d98fc0,#9b7fd4); border-radius:50px; }

/* ---- Responsive ---- */
@media(max-width:768px){
  .hero { flex-direction:column; padding:50px 5% 40px; text-align:center; }
  .hero-visual { display:none; }
  .hero-buttons { justify-content:center; }

  .nav-links {
    display:none;
    position:absolute;
    top:70px;
    right:0;
    left:0;
    flex-direction:column;
    gap:0;
    background:rgba(253,251,255,.97);
    backdrop-filter:blur(20px);
    padding:12px 5%;
    box-shadow:0 8px 24px var(--shadow);
    z-index: 9999;
  }

  .nav-links.open { display:flex; }
  .nav-links a { padding:12px 0; display:block; }
  .menu-toggle { display:block; }

  .nav-links li ul,
  .nav-links .sub-menu {
    position: static;
    min-width: 100%;
    width: 100%;
    box-shadow: none;
    padding: 0 !important;
    margin-top: 6px;
  }

  .nav-links li ul ul,
  .nav-links .sub-menu .sub-menu {
    position: static;
    right: auto;
    top: auto;
    margin-right: 12px;
  }

  .stats { flex-wrap:wrap; }
  .stat-item { border-radius:16px !important; min-width:140px; }
  .promo-banner { flex-direction:column; text-align:center; gap:24px; }
}
/* اصلاح جهت باز شدن زیرمنوهای سطح ۳ و ۴ در سایت راست‌چین */
.nav-links li ul ul,
.nav-links .sub-menu .sub-menu {
  top: 0;
  right: auto;
  left: calc(100% + 8px);
}
