:root { --golmira-text: #2b2b2b; --golmira-accent: #e89cac; } /* حذف کامل بکگراند صورتی */ .golmira-hero, .golmira-hero *, .golmira-hero .swiper-slide { background: none !important; background-color: transparent !important; } .golmira-hero { padding: 40px 0; } .golmira-hero .container { max-width:1000px; margin: 0 auto; padding: 0 16px; } .hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 32px; align-items: center; } .hero-title { font-size: 44px; margin: 0 0 8px; color: var(--golmira-text); } .hero-sub { font-size: 18px; margin: 0 0 16px; opacity: .8; } .hero-desc { font-size: 16px; margin: 0 0 20px; max-width: 520px; } /* دکمه خرید با بک‌گراند صورتی */ .hero-btn { background: var(--golmira-accent) !important; /* صورتی از متغیر اصلی */ color: #fff !important; /* متن سفید */ border: none; border-radius: 14px; padding: 5px 15px; transition: background 0.3s ease; } /* افکت هاور */ .hero-btn:hover { background: #d77d91 !important; /* صورتی کمی تیره‌تر */ } .hero-image img { width: 100%; border-radius: 18px; } /* فلش‌ها */ .swiper-button-prev, .swiper-button-next { color: #b15f73; width: 42px; height: 42px; background: #fff; border-radius: 50%; } .swiper-pagination-bullet { background: #b15f73; opacity: .5; } .swiper-pagination-bullet-active { opacity: 1; } /* کارت‌ها */ .cards-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 26px auto 6px; max-width: 400px; } .card { background: #fff; border-radius: 18px; padding: 14px; text-align: center; cursor: pointer; } .card-thumb img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; } .card-title { margin-top: 10px; font-weight: 600; } /* مخفی کردن فلش‌های ناوبری */ .swiper-button-prev, .swiper-button-next { display: none !important; } /* متن چپ، تصویر راست — به صورت قطعی */ .hero-grid.text-left-image-right { display: grid; grid-template-columns: 1.1fr 0.9fr; /* چپ پهن‌تر، راست باریک‌تر (دلخواه تو) */ gap: 32px; align-items: center; direction: ltr !important; /* ستون 1 = چپ، ستون 2 = راست */ } .hero-grid.text-left-image-right .hero-text { grid-column: 1 !important; /* ستون چپ */ text-align: left; } .hero-grid.text-left-image-right .hero-image { grid-column: 2 !important; /* ستون راست */ } /* در موبایل هم همان ترتیب را حفظ کن (اگر می‌خواهی) */ @media (max-width: 900px){ .hero-grid.text-left-image-right { grid-template-columns: 1fr; } /* اگر در موبایل می‌خواهی اول متن و بعد تصویر باشد، هیچ order نگذار */ /* اگر برعکس می‌خواهی، این را فعال کن: */ /* .hero-grid.text-left-image-right .hero-image { order: -1; } */ } .hero-grid.text-left-image-right .hero-text { grid-column: 1 !important; text-align: right; margin-right: 220px; }





/* ===== Golmira – Mobile Perfect Center ===== */
@media (max-width: 767px){

  /* گرید تک‌ستونه */
  .golmira-hero .hero-grid{
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 16px !important;
  }

  /* تصویر گل وسط */
  .golmira-hero .hero-image{
    order: -1 !important; /* تصویر بالای متن */
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
  }
  .golmira-hero .hero-image img{
    width: auto !important;
    max-width: 80% !important;  /* متناسب با صفحه */
    height: auto !important;
    object-fit: contain !important;
    margin: 0 auto !important;
  }

  /* متن‌ها وسط */
  .golmira-hero .hero-text{
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 90% !important;
  }
  .golmira-hero .hero-title{
    font-size: 24px !important;
    margin-bottom: 6px !important;
  }
  .golmira-hero .hero-sub{
    font-size: 16px !important;
    margin-bottom: 6px !important;
  }
  .golmira-hero .hero-desc{
    font-size: 15px !important;
    line-height: 1.7 !important;
    margin-bottom: 12px !important;
  }

  /* دکمه وسط و کوچیک‌تر */
  .golmira-hero .hero-btn{
    display: inline-block !important;
    width: auto !important;
    min-width: 140px !important;
    max-width: 200px !important;
    padding: 10px 20px !important;
    font-size: 14px !important;
    margin: 0 auto !important;
    border-radius: 30px !important;
  }
}
