/* ============================================================
   درمیسا — کامپوننت‌های فروشگاهی
   (این فایل روی style.css سوار می‌شود و از همان توکن‌های رنگی استفاده می‌کند)
   ============================================================ */

/* ---------- نوار اطلاع‌رسانی بالای سایت ---------- */
.top-bar {
  background: var(--charcoal);
  color: rgba(237,230,218,.75);
  font-size: 12.5px;
  text-align: center;
  padding: 8px 12px;
  letter-spacing: .3px;
}
.top-bar strong { color: var(--gold-soft); }

/* ---------- شکل‌های تزئینی محصول (بدون نیاز به عکس) ---------- */
.product-media {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.bottle, .jar, .tube {
  position: relative;
  transition: transform .5s var(--ease);
}
.product-card:hover .bottle,
.product-card:hover .jar,
.product-card:hover .tube,
.gallery-thumb.active .bottle,
.gallery-thumb.active .jar,
.gallery-thumb.active .tube { transform: translateY(-6px); }

.bottle {
  width: 58px; height: 96px;
  border-radius: 10px 10px 22px 22px;
  box-shadow: 0 14px 24px -10px rgba(0,0,0,.35), inset 0 -10px 18px rgba(0,0,0,.12), inset 0 8px 10px rgba(255,255,255,.18);
}
.bottle::before {
  content: "";
  position: absolute;
  top: -16px; left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 18px;
  background: var(--charcoal);
  border-radius: 4px 4px 2px 2px;
}
.bottle::after {
  content: "";
  position: absolute;
  top: -22px; left: 50%;
  transform: translateX(-50%);
  width: 10px; height: 8px;
  background: var(--ink-soft);
  border-radius: 2px;
}

.jar {
  width: 78px; height: 56px;
  border-radius: 14px;
  box-shadow: 0 14px 24px -10px rgba(0,0,0,.35), inset 0 -8px 16px rgba(0,0,0,.12), inset 0 6px 8px rgba(255,255,255,.2);
}
.jar::before {
  content: "";
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  width: 84px; height: 16px;
  background: var(--charcoal);
  border-radius: 8px;
}

.tube {
  width: 30px; height: 96px;
  border-radius: 6px 6px 3px 3px;
  box-shadow: 0 14px 24px -10px rgba(0,0,0,.35), inset 0 -8px 14px rgba(0,0,0,.12), inset 0 6px 8px rgba(255,255,255,.2);
}
.tube::before {
  content: "";
  position: absolute;
  top: -14px; left: 50%;
  transform: translateX(-50%);
  width: 0; height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-bottom: 16px solid var(--charcoal);
  border-radius: 3px;
}

.tone-gold { background: linear-gradient(160deg, var(--gold-soft), var(--gold)); }
.tone-sage { background: linear-gradient(160deg, #8a9a7c, var(--sage-dark)); }
.tone-sand { background: linear-gradient(160deg, var(--white), var(--sand-deep)); }
.tone-charcoal { background: linear-gradient(160deg, #4a4844, var(--charcoal)); }

/* ---------- برچسب محصول (جدید/تخفیف/پرفروش) ---------- */
.product-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 12px;
  letter-spacing: .5px;
  z-index: 2;
}
.product-badge.sale { background: var(--gold); color: var(--charcoal); }
.product-badge.new { background: var(--sage); color: var(--white); }
.product-badge.hot { background: var(--charcoal); color: var(--gold-soft); }

/* ---------- ستاره امتیاز ---------- */
.rating { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--ink-soft); }
.rating .stars { color: var(--gold); letter-spacing: 1px; font-size: 13px; }

/* ---------- کارت محصول ---------- */
.product-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.product-card {
  flex: 1 1 240px;
  max-width: 280px;
  background: var(--white);
  box-shadow: 0 16px 30px -22px rgba(35,35,35,.3);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 40px -20px rgba(35,35,35,.3);
}
.product-card .product-media { height: 220px; }
.product-card .product-body { padding: 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .cat { font-size: 11px; letter-spacing: 1.5px; color: var(--sage-dark); font-weight: 700; }
.product-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 700; }
.product-card h3 a:hover { color: var(--sage-dark); }
.price-row { display: flex; align-items: baseline; gap: 8px; margin-top: 6px; }
.price-row .price { font-family: var(--font-display); font-weight: 800; font-size: 17px; }
.price-row .old-price { font-size: 13px; color: #a29c8f; text-decoration: line-through; }
.price-row .toman { font-size: 11px; color: var(--ink-soft); font-weight: 400; }

.add-cart-btn {
  margin-top: 10px;
  width: 100%;
  padding: 11px;
  background: var(--charcoal);
  color: var(--sand);
  font-size: 13px;
  font-weight: 600;
  transition: background .3s var(--ease), transform .2s var(--ease);
}
.add-cart-btn:hover { background: var(--sage-dark); }
.add-cart-btn:active { transform: scale(.97); }

/* ---------- چیپ‌های دسته‌بندی ---------- */
.category-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.category-chip {
  flex: 1 1 150px;
  background: var(--white);
  padding: 22px 18px;
  text-align: center;
  box-shadow: 0 14px 26px -20px rgba(35,35,35,.3);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s var(--ease);
}
.category-chip:hover { transform: translateY(-6px); background: var(--sage); color: var(--white); box-shadow: 0 22px 34px -18px rgba(35,35,35,.35); }
.category-chip .cshape { margin: 0 auto 14px; }
.category-chip span { display: block; font-size: 13px; font-weight: 600; }

/* ---------- صفحه فروشگاه: سایدبار فیلتر + گرید ---------- */
.shop-layout {
  display: flex;
  gap: 44px;
  align-items: flex-start;
}
.filter-sidebar {
  flex: 0 0 250px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 14px 26px -20px rgba(35,35,35,.25);
}
.filter-group { margin-bottom: 26px; }
.filter-group:last-child { margin-bottom: 0; }
.filter-group h4 { font-size: 13px; font-weight: 700; margin-bottom: 14px; letter-spacing: .3px; }
.filter-group label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--ink-soft);
  margin-bottom: 10px;
  cursor: pointer;
}
.filter-group input[type="checkbox"] { accent-color: var(--sage); width: 15px; height: 15px; }
.price-range-track {
  height: 4px;
  background: var(--sand-deep);
  border-radius: 4px;
  position: relative;
  margin: 20px 4px 10px;
}
.price-range-track::before {
  content: "";
  position: absolute;
  right: 15%; left: 25%;
  top: 0; bottom: 0;
  background: var(--sage);
  border-radius: 4px;
}
.price-range-track::after {
  content: "";
  position: absolute;
  right: 15%; top: 50%;
  width: 14px; height: 14px;
  background: var(--white);
  border: 3px solid var(--sage);
  border-radius: 50%;
  transform: translate(50%, -50%);
}

.shop-main { flex: 1; }
.shop-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 30px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.shop-toolbar select {
  padding: 9px 14px;
  border: 1px solid #d8cfbd;
  background: var(--white);
  font-family: inherit;
  font-size: 13px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 50px;
}
.pagination a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white);
  font-size: 13px;
  transition: background .3s var(--ease), color .3s var(--ease);
}
.pagination a.active, .pagination a:hover { background: var(--charcoal); color: var(--gold-soft); }

/* ---------- صفحه محصول تکی ---------- */
.product-single {
  display: flex;
  gap: 56px;
  align-items: flex-start;
  flex-wrap: wrap;
}
.gallery-col { flex: 1 1 400px; display: flex; gap: 16px; }
.gallery-thumbs { display: flex; flex-direction: column; gap: 12px; }
.gallery-thumb {
  width: 66px; height: 66px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 16px -10px rgba(35,35,35,.3);
  transition: box-shadow .3s var(--ease);
}
.gallery-thumb.active, .gallery-thumb:hover { box-shadow: 0 0 0 2px var(--gold); }
.gallery-main { flex: 1; height: 440px; box-shadow: 0 20px 40px -22px rgba(35,35,35,.35); }
.gallery-main .bottle, .gallery-main .jar, .gallery-main .tube { transform: scale(1.9); }

.product-info { flex: 1 1 380px; }
.product-info h1 { font-family: var(--font-display); font-size: 28px; font-weight: 800; margin: 10px 0 12px; }
.product-info .price-row { font-size: 22px; margin: 16px 0; }
.product-info .price-row .price { font-size: 26px; }
.product-info .desc { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 22px; max-width: 480px; }

.variant-row { display: flex; align-items: center; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.variant-row span.lbl { font-size: 13px; font-weight: 600; margin-left: 6px; }
.variant-chip {
  padding: 8px 18px;
  border: 1px solid #d8cfbd;
  font-size: 13px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.variant-chip.active, .variant-chip:hover { border-color: var(--sage); background: rgba(107,122,94,.08); }

.qty-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d8cfbd;
}
.qty-stepper button {
  width: 40px; height: 44px;
  font-size: 16px;
  transition: background .2s var(--ease);
}
.qty-stepper button:hover { background: var(--sand-deep); }
.qty-stepper input {
  width: 44px; height: 44px;
  text-align: center;
  border: none;
  border-right: 1px solid #d8cfbd;
  border-left: 1px solid #d8cfbd;
  font-family: inherit;
  font-size: 14px;
}

.buy-row { display: flex; gap: 14px; margin: 26px 0; flex-wrap: wrap; }
.buy-row .add-cart-btn { width: auto; padding: 15px 34px; }

.trust-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  padding-top: 22px;
  border-top: 1px solid #e5ddcb;
  font-size: 12.5px;
  color: var(--ink-soft);
}
.trust-row div { display: flex; align-items: center; gap: 8px; }

/* ---------- تب‌ها (توضیحات/مشخصات/نظرات) ---------- */
.tabs-nav { display: flex; gap: 6px; border-bottom: 1px solid #e5ddcb; margin: 60px 0 30px; }
.tabs-nav button {
  padding: 14px 26px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.tabs-nav button.active { color: var(--charcoal); border-color: var(--gold); }
.tab-panel { display: none; color: var(--ink-soft); font-size: 14.5px; line-height: 2; }
.tab-panel.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table tr { border-bottom: 1px solid #eee2cd; }
.spec-table td { padding: 12px 6px; font-size: 13.5px; }
.spec-table td:first-child { color: var(--ink-soft); width: 200px; }

/* ---------- فرم‌های ورود / ثبت‌نام ---------- */
.auth-section { display: flex; justify-content: center; padding: 60px 0; }
.auth-card {
  width: 100%;
  max-width: 440px;
  background: var(--white);
  box-shadow: 0 24px 50px -26px rgba(35,35,35,.35);
  padding: 44px;
}
.auth-tabs { display: flex; margin-bottom: 30px; border-bottom: 1px solid #eee2cd; }
.auth-tabs button {
  flex: 1;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink-soft);
  border-bottom: 2px solid transparent;
  transition: color .3s var(--ease), border-color .3s var(--ease);
}
.auth-tabs button.active { color: var(--charcoal); border-color: var(--gold); }
.auth-panel { display: none; flex-direction: column; gap: 16px; }
.auth-panel.active { display: flex; }
.auth-panel .btn-solid { width: 100%; text-align: center; margin-top: 6px; }
.auth-meta { display: flex; justify-content: space-between; font-size: 12.5px; color: var(--ink-soft); }
.auth-meta a:hover { color: var(--sage-dark); }
.auth-divider { text-align: center; font-size: 12px; color: #b8b0a0; position: relative; margin: 6px 0; }

/* ---------- پنل حساب کاربری ---------- */
.account-layout { display: flex; gap: 40px; align-items: flex-start; }
.account-sidebar {
  flex: 0 0 240px;
  background: var(--white);
  box-shadow: 0 14px 26px -20px rgba(35,35,35,.25);
  padding: 10px;
}
.account-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  font-size: 14px;
  color: var(--ink-soft);
  border-right: 3px solid transparent;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.account-sidebar a.active, .account-sidebar a:hover {
  background: var(--sand);
  color: var(--charcoal);
  border-color: var(--gold);
}
.account-main { flex: 1; }
.account-panel { display: none; }
.account-panel.active { display: block; }

.account-card {
  background: var(--white);
  box-shadow: 0 14px 26px -20px rgba(35,35,35,.25);
  padding: 32px;
  margin-bottom: 24px;
}
.form-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.form-grid > div { flex: 1 1 220px; }
.form-grid label, .contact-form label { font-size: 13px; font-weight: 600; margin-bottom: 6px; display: block; }
.form-grid input {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d8cfbd;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
}

.order-table { width: 100%; border-collapse: collapse; }
.order-table th { text-align: right; font-size: 12.5px; color: var(--ink-soft); padding: 12px; border-bottom: 1px solid #e5ddcb; }
.order-table td { padding: 16px 12px; font-size: 13.5px; border-bottom: 1px solid #f0e9d9; }
.order-status { padding: 5px 12px; font-size: 11.5px; font-weight: 600; display: inline-block; }
.order-status.done { background: rgba(107,122,94,.15); color: var(--sage-dark); }
.order-status.pending { background: rgba(198,161,91,.2); color: #8a6a2c; }
.order-status.shipping { background: rgba(35,35,35,.08); color: var(--charcoal); }

.addr-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.addr-card {
  flex: 1 1 260px;
  border: 1px solid #e5ddcb;
  padding: 20px;
  position: relative;
}
.addr-card.default { border-color: var(--gold); }
.addr-card .tag-mini { position: absolute; top: -10px; right: 16px; background: var(--gold); color: var(--charcoal); font-size: 11px; padding: 3px 10px; font-weight: 700; }
.addr-card h4 { font-size: 14px; margin-bottom: 8px; }
.addr-card p { font-size: 13px; color: var(--ink-soft); line-height: 1.8; }

.logout-btn { color: #b3564a !important; }

/* ---------- سبد خرید / تسویه حساب ---------- */
.checkout-layout { display: flex; gap: 44px; align-items: flex-start; }
.checkout-main { flex: 1; }
.cart-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.cart-table th { text-align: right; font-size: 12.5px; color: var(--ink-soft); padding: 12px; border-bottom: 1px solid #e5ddcb; }
.cart-row td { padding: 18px 12px; border-bottom: 1px solid #f0e9d9; vertical-align: middle; }
.cart-prod { display: flex; align-items: center; gap: 14px; }
.cart-prod .product-media { width: 64px; height: 64px; flex: none; }
.cart-prod .bottle, .cart-prod .jar, .cart-prod .tube { transform: scale(.6); }
.cart-prod strong { font-size: 14px; display: block; margin-bottom: 4px; }
.cart-prod span { font-size: 12px; color: var(--ink-soft); }
.remove-row { color: #b3564a; font-size: 12.5px; }

.order-summary {
  flex: 0 0 340px;
  background: var(--white);
  box-shadow: 0 20px 40px -24px rgba(35,35,35,.3);
  padding: 30px;
  position: sticky;
  top: 100px;
}
.order-summary h3 { font-family: var(--font-display); font-size: 17px; margin-bottom: 20px; }
.sum-row { display: flex; justify-content: space-between; font-size: 13.5px; color: var(--ink-soft); margin-bottom: 12px; }
.sum-row.total { color: var(--charcoal); font-weight: 800; font-size: 16px; border-top: 1px solid #e5ddcb; padding-top: 16px; margin-top: 6px; }
.coupon-row { display: flex; gap: 8px; margin: 18px 0; }
.coupon-row input { flex: 1; padding: 11px 14px; border: 1px solid #d8cfbd; font-family: inherit; font-size: 13px; }
.coupon-row button { padding: 0 16px; background: var(--charcoal); color: var(--sand); font-size: 12.5px; font-weight: 600; }

.payment-methods { display: flex; flex-direction: column; gap: 12px; margin: 18px 0 26px; }
.payment-method {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 16px;
  border: 1px solid #d8cfbd;
  cursor: pointer;
  font-size: 13.5px;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.payment-method.active { border-color: var(--sage); background: rgba(107,122,94,.06); }
.payment-method input { accent-color: var(--sage); width: 16px; height: 16px; }
.payment-method .pm-badges { margin-right: auto; font-size: 11px; color: var(--ink-soft); }

.gateway-note {
  display: flex;
  gap: 10px;
  background: rgba(201,166,107,.12);
  border: 1px dashed var(--gold);
  padding: 14px 16px;
  font-size: 12.5px;
  color: #6b5a34;
  margin-bottom: 20px;
  line-height: 1.9;
}

/* ---------- محتوای صفحات قانونی ---------- */
.policy-content { max-width: 760px; }
.policy-content h2 { font-family: var(--font-display); font-size: 20px; margin: 34px 0 14px; }
.policy-content h2:first-child { margin-top: 0; }
.policy-content p { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 12px; }
.policy-content ul { margin: 10px 0 10px 0; padding-right: 20px; }
.policy-content li { color: var(--ink-soft); font-size: 14.5px; margin-bottom: 8px; list-style: disc; }
.policy-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 14px 26px -20px rgba(35,35,35,.25);
  position: sticky;
  top: 100px;
}
.policy-nav a { padding: 12px 14px; font-size: 13.5px; color: var(--ink-soft); border-right: 3px solid transparent; }
.policy-nav a:hover, .policy-nav a.active { background: var(--sand); color: var(--charcoal); border-color: var(--gold); }
.policy-layout { display: flex; gap: 40px; align-items: flex-start; }

/* ---------- خبرنامه ---------- */
.newsletter {
  background: var(--charcoal);
  color: var(--sand);
  padding: 56px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  background-image: radial-gradient(circle at 85% 20%, rgba(201,166,107,.18), transparent 45%);
}
.newsletter h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.newsletter p { color: rgba(237,230,218,.6); font-size: 13.5px; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input {
  padding: 13px 18px;
  border: 1px solid rgba(237,230,218,.25);
  background: rgba(255,255,255,.05);
  color: var(--white);
  font-family: inherit;
  min-width: 240px;
}
.newsletter input::placeholder { color: rgba(237,230,218,.45); }

/* ---------- سازگاری با نوار مدیریت وردپرس ---------- */
body.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
}

/* ---------- استایل فرم Contact Form 7 (هماهنگ با فرم تماس طراحی) ---------- */
.wpcf7-form p { margin-bottom: 16px; }
.wpcf7-form label { font-size: 13px; font-weight: 600; display: block; margin-bottom: 6px; }
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #d8cfbd;
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
}
.wpcf7-form input[type="submit"] {
  background: var(--charcoal);
  color: var(--sand);
  padding: 13px 30px;
  font-weight: 600;
  border: none;
  transition: background .3s var(--ease);
}
.wpcf7-form input[type="submit"]:hover { background: var(--sage-dark); }
.wpcf7-not-valid-tip { font-size: 12px; color: #b3564a; margin-top: 4px; }
.wpcf7-response-output { border-radius: 0 !important; font-size: 13px; margin-top: 16px !important; }
/* ---------- گرید دسته‌بندی محصولات (صفحه اختصاصی دسته‌بندی‌ها) ---------- */
.cat-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}
.cat-card {
  flex: 1 1 260px;
  max-width: 320px;
  background: var(--white);
  box-shadow: 0 18px 34px -22px rgba(74,55,40,.3);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}
.cat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 44px -20px rgba(74,55,40,.32);
}
.cat-card-media { height: 210px; overflow: hidden; }
.cat-card-media img,
.cat-card-media .media { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.cat-card:hover .cat-card-media img,
.cat-card:hover .cat-card-media .media { transform: scale(1.08); }
.cat-card-body { padding: 20px 22px; }
.cat-card-body h3 { font-family: var(--font-display); font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.cat-card-body span { font-size: 12.5px; color: var(--ink-soft); }

/* ---------- صفحه ورود اختصاصی (دو ستونه) ---------- */
.login-split {
  display: flex;
  min-height: calc(100vh - var(--header-h));
}
.login-visual {
  flex: 1 1 46%;
  position: relative;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(198,161,91,.35), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(169,131,88,.4), transparent 50%),
    linear-gradient(160deg, var(--charcoal-soft) 0%, var(--charcoal) 100%);
  display: flex;
  align-items: center;
  color: var(--sand);
  padding: 60px;
  overflow: hidden;
}
.login-visual-inner { max-width: 380px; position: relative; z-index: 2; }
.login-visual-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.35;
  margin: 14px 0 18px;
}
.login-visual-inner p { color: rgba(247,241,230,.7); font-size: 14.5px; }
.login-shapes {
  display: flex;
  align-items: flex-end;
  gap: 26px;
  margin-top: 50px;
  opacity: .9;
}
.login-shapes .jar,  .login-shapes .bottle, .login-shapes .tube { transform: scale(1.1); }

.login-form-panel {
  flex: 1 1 54%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sand);
  padding: 60px 30px;
}
.login-form-inner { width: 100%; max-width: 400px; }

/* هماهنگ‌سازی فرم واقعی ووکامرس با پنل سفید (بدون کادر/سایه اضافه) */
.login-form-panel .woocommerce form.login,
.login-form-panel .woocommerce form.register {
  max-width: none;
  box-shadow: none !important;
  padding: 0 !important;
}
.login-form-panel .woocommerce-account .woocommerce-MyAccount-navigation,
.login-form-panel .woocommerce-account .woocommerce-MyAccount-content { box-shadow: none; padding: 0; }
.login-form-panel .u-column1,
.login-form-panel .u-column2 { float: none !important; width: 100% !important; }
.login-form-panel .u-column2 { margin-top: 40px; padding-top: 40px; border-top: 1px solid #e5ddcb; }

@media (max-width: 960px) {
  .login-split { flex-direction: column; }
  .login-visual { padding: 46px 30px; }
}

/* ---------- ریسپانسیو فروشگاهی ---------- */
@media (max-width: 960px) {
  .shop-layout, .account-layout, .checkout-layout, .policy-layout { flex-direction: column; }
  .filter-sidebar, .account-sidebar, .order-summary, .policy-nav { flex: 1 1 auto; width: 100%; position: static; }
  .product-single { flex-direction: column; }
  .gallery-col { width: 100%; }
}
@media (max-width: 600px) {
  .gallery-col { flex-direction: column-reverse; }
  .gallery-thumbs { flex-direction: row; overflow-x: auto; }
  .newsletter { flex-direction: column; align-items: flex-start; }
  .newsletter form { width: 100%; }
  .newsletter input { flex: 1; min-width: 0; }
}
