/* =========================
   HomeStyle
   White + Pastel Green
   ========================= */

   @import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');


   /* =========================
      RESET
      ========================= */
   
   * {
       margin: 0;
       padding: 0;
       box-sizing: border-box;
   }
   
   html {
       scroll-behavior: smooth;
   }
   
   body {
       font-family: "Vazirmatn", sans-serif;
       background: #ffffff;
       color: #183b2a;
       direction: rtl;
   }
   
   a {
       text-decoration: none;
       color: inherit;
   }
   
   button,
   input {
       font-family: inherit;
   }
   
   button {
       cursor: pointer;
   }
   
   img {
       max-width: 100%;
       display: block;
   }
   
   
   /* =========================
      COLORS
      ========================= */
   
   :root {
       --green-dark: #176b45;
       --green: #2f8f63;
       --green-light: #dff3e8;
       --green-soft: #effaf4;
   
       --text: #183b2a;
       --text-light: #6c7d74;
   
       --white: #ffffff;
       --border: #e4eee8;
   
       --shadow: 0 15px 40px rgba(23, 107, 69, 0.10);
   }
   
   
   /* =========================
      CONTAINER
      ========================= */
   
   .container {
       width: min(1180px, 92%);
       margin: 0 auto;
   }
   
   
   /* =========================
      HEADER
      ========================= */
   
   .header {
       position: sticky;
       top: 0;
       z-index: 100;
   
       background: rgba(255, 255, 255, 0.92);
       backdrop-filter: blur(15px);
   
       border-bottom: 1px solid var(--border);
   }
   
   .header-inner {
       min-height: 82px;
   
       display: flex;
       align-items: center;
       justify-content: space-between;
   
       gap: 30px;
   }
   
   .logo img {
       width: 95px;
       height: auto;
       object-fit: contain;
   }
   
   .nav {
       display: flex;
       align-items: center;
       gap: 28px;
   }
   
   .nav a {
       font-size: 14px;
       font-weight: 500;
       color: #385448;
   
       transition: 0.25s;
   }
   
   .nav a:hover {
       color: var(--green-dark);
   }
   
   .header-actions {
       display: flex;
       align-items: center;
       gap: 10px;
   }
   
   
   /* =========================
      HEADER ICONS
      ========================= */
   
   .icon-btn {
       width: 42px;
       height: 42px;
   
       border: 1px solid var(--border);
       border-radius: 50%;
   
       background: white;
   
       display: flex;
       align-items: center;
       justify-content: center;
   
       color: var(--green-dark);
   
       transition: 0.25s;
   
       position: relative;
   }
   
   .icon-btn svg {
       width: 20px;
       height: 20px;
   
       fill: none;
       stroke: currentColor;
       stroke-width: 1.8;
   
       stroke-linecap: round;
       stroke-linejoin: round;
   
       transition: 0.3s;
   }
   
   .icon-btn:hover {
       background: var(--green-light);
       border-color: #c7e7d5;
   
       transform: translateY(-3px);
   }
   
   .icon-btn:hover svg {
       transform: scale(1.08);
   }
   
   .cart-icon span {
       position: absolute;
   
       top: -4px;
       right: -3px;
   
       min-width: 18px;
       height: 18px;
   
       padding: 0 4px;
   
       border-radius: 20px;
   
       background: var(--green-dark);
       color: white;
   
       font-size: 10px;
   
       display: flex;
       align-items: center;
       justify-content: center;
   }
   
   
   /* =========================
      SEARCH
      ========================= */
   
   .search-modal {
       position: fixed;
       inset: 0;
   
       background: rgba(15, 45, 31, 0.45);
       backdrop-filter: blur(8px);
   
       display: none;
       align-items: flex-start;
       justify-content: center;
   
       padding-top: 120px;
   
       z-index: 500;
   }
   
   .search-modal.active {
       display: flex;
   }
   
   .search-box {
       width: min(600px, 90%);
   
       background: white;
   
       border-radius: 28px;
   
       padding: 35px;
   
       position: relative;
   
       box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
   
       animation: searchAppear 0.35s ease;
   }
   
   @keyframes searchAppear {
   
       from {
           opacity: 0;
           transform: translateY(-20px) scale(0.96);
       }
   
       to {
           opacity: 1;
           transform: translateY(0) scale(1);
       }
   }
   
   .search-box h2 {
       margin-bottom: 20px;
       color: var(--green-dark);
   }
   
   .search-box form {
       display: flex;
       gap: 10px;
   }
   
   .search-box input {
       flex: 1;
   
       height: 52px;
   
       border: 1px solid var(--border);
       border-radius: 15px;
   
       padding: 0 18px;
   
       outline: none;
   }
   
   .search-box input:focus {
       border-color: var(--green);
   }
   
   .search-box button {
       border: none;
   
       background: var(--green-dark);
       color: white;
   
       border-radius: 15px;
   
       padding: 0 25px;
   }
   
   .close-search {
       position: absolute;
   
       top: 15px;
       left: 18px;
   
       width: 35px;
       height: 35px;
   
       border: none;
   
       background: var(--green-soft);
   
       color: var(--green-dark);
   
       border-radius: 50%;
   
       display: flex;
       align-items: center;
       justify-content: center;
   
       transition: 0.25s;
   }
   
   .close-search:hover {
       transform: rotate(90deg);
   }
   
   .close-search svg {
       width: 19px;
       height: 19px;
   
       fill: none;
       stroke: currentColor;
       stroke-width: 1.8;
   
       stroke-linecap: round;
       stroke-linejoin: round;
   }
   
   
   /* =========================
      NOTIFICATION
      ========================= */
   
   .notification-section {
       padding-top: 20px;
   }
   
   .notification {
       background: var(--green-soft);
   
       border: 1px solid var(--green-light);
   
       border-radius: 18px;
   
       min-height: 48px;
   
       display: flex;
       align-items: center;
       justify-content: center;
   
       color: var(--green-dark);
   
       font-size: 13px;
   }
   
   
   /* =========================
      HERO
      ========================= */
   
   .hero {
       padding: 75px 0 90px;
       overflow: hidden;
   }
   
   .hero-inner {
       min-height: 520px;
   
       display: flex;
       align-items: center;
       justify-content: space-between;
   
       gap: 50px;
   }
   
   .hero-content {
       width: 48%;
   }
   
   .hero-badge {
       display: inline-flex;
   
       background: var(--green-light);
       color: var(--green-dark);
   
       padding: 9px 18px;
   
       border-radius: 30px;
   
       font-size: 13px;
       font-weight: 600;
   
       margin-bottom: 20px;
   }
   
   .hero h1 {
       font-size: clamp(42px, 5vw, 72px);
   
       line-height: 1.25;
   
       color: #163c29;
   
       margin-bottom: 22px;
   
       font-weight: 800;
   }
   
   .hero h1 span {
       color: var(--green);
       display: block;
   }
   
   .hero p {
       color: var(--text-light);
   
       font-size: 16px;
       line-height: 2.2;
   
       max-width: 520px;
   
       margin-bottom: 30px;
   }
   
   .hero-button {
       display: inline-flex;
   
       align-items: center;
       justify-content: center;
   
       background: var(--green-dark);
       color: white;
   
       padding: 15px 32px;
   
       border-radius: 16px;
   
       font-size: 14px;
       font-weight: 600;
   
       transition: 0.3s;
   
       box-shadow: 0 12px 25px rgba(23, 107, 69, 0.20);
   }
   
   .hero-button:hover {
       transform: translateY(-4px);
   
       background: #115638;
   }
   
   
   /* =========================
      HERO CIRCLE
      ========================= */
   
   .hero-image {
       width: 500px;
       height: 500px;
   
       border-radius: 50%;
   
       background: var(--green-light);
   
       position: relative;
   
       display: flex;
       align-items: center;
       justify-content: center;
   
       flex-shrink: 0;
   
       box-shadow:
           0 0 0 18px rgba(223, 243, 232, 0.45),
           0 25px 70px rgba(23, 107, 69, 0.12);
   
       animation: heroFloat 5s ease-in-out infinite;
   }
   
   @keyframes heroFloat {
   
       0%,
       100% {
           transform: translateY(0);
       }
   
       50% {
           transform: translateY(-8px);
       }
   }
   
   .hero-image::before {
       content: "";
   
       position: absolute;
   
       width: 430px;
       height: 430px;
   
       border-radius: 50%;
   
       border: 2px solid rgba(47, 143, 99, 0.18);
   
       animation: circlePulse 4s ease-in-out infinite;
   }
   
   @keyframes circlePulse {
   
       0%,
       100% {
           transform: scale(1);
           opacity: 0.8;
       }
   
       50% {
           transform: scale(1.035);
           opacity: 1;
       }
   }
   
   .hero-image img {
       width: 85%;
       height: 85%;
   
       object-fit: contain;
   
       position: relative;
       z-index: 2;
   
       transition: 0.5s;
   
       filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.12));
   }
   
   .hero-image:hover img {
       transform: scale(1.05) translateY(-8px);
   }
   
   
   /* =========================
      SECTION TITLES
      ========================= */
   
   .section-heading {
       text-align: center;
       margin-bottom: 45px;
   }
   
   .section-heading span {
       color: var(--green);
   
       font-size: 13px;
       font-weight: 600;
   }
   
   .section-heading h2 {
       font-size: 32px;
   
       margin-top: 8px;
   
       color: var(--text);
   }
   
   
   /* =========================
      CATEGORIES
      ========================= */
   
   .categories {
       padding: 80px 0;
   
       background: #fbfefc;
   }
   
   .category-grid {
       display: grid;
   
       grid-template-columns: repeat(4, 1fr);
   
       gap: 22px;
   }
   
   .category-card {
       background: white;
   
       border: 1px solid var(--border);
   
       border-radius: 28px;
   
       padding: 18px;
   
       text-align: center;
   
       overflow: hidden;
   
       transition:
           transform 0.5s cubic-bezier(.22, 1, .36, 1),
           box-shadow 0.35s ease,
           border-color 0.35s ease;
   }
   
   .category-card:hover {
       transform: translateY(-8px);
   
       box-shadow: var(--shadow);
   
       border-color: #cce8d8;
   }
   
   .category-image {
       height: 220px;
   
       border-radius: 22px;
   
       background: var(--green-soft);
   
       display: flex;
       align-items: center;
       justify-content: center;
   
       overflow: hidden;
   }
   
   .category-image img {
       width: 85%;
       height: 85%;
   
       object-fit: contain;
   
       transition: 0.4s;
   }
   
   .category-card:hover .category-image img {
       transform: scale(1.08) rotate(1deg);
   }
   
   .category-card h3 {
       margin-top: 18px;
   
       font-size: 17px;
   }
   
   .category-card span {
       display: block;
   
       color: var(--green);
   
       font-size: 12px;
   
       margin-top: 7px;
   }
   
   
   /* =========================
      FEATURED PRODUCTS
      ========================= */
   
   .featured-products {
       padding: 90px 0;
   }
   
   .featured-heading {
       display: flex;
   
       align-items: flex-end;
       justify-content: space-between;
   
       text-align: right;
   }
   
   .featured-heading > a {
       color: var(--green-dark);
   
       font-size: 13px;
   
       border-bottom: 1px solid var(--green-dark);
   
       padding-bottom: 4px;
   
       transition: 0.25s;
   }
   
   .featured-heading > a:hover {
       color: var(--green);
   }
   
   .products-grid {
       display: grid;
   
       grid-template-columns: repeat(4, 1fr);
   
       gap: 22px;
   }
   
   .products-loading {
       grid-column: 1 / -1;
   
       text-align: center;
   
       padding: 70px 20px;
   
       background: var(--green-soft);
   
       border-radius: 25px;
   
       color: var(--green-dark);
   }
   
   
   /* =========================
      FAQ
      ========================= */
   
   .faq {
       padding: 90px 0;
   
       background: var(--green-soft);
   }
   
   .faq-list {
       max-width: 850px;
   
       margin: auto;
   }
   
   .faq-item {
       background: white;
   
       border-radius: 17px;
   
       margin-bottom: 12px;
   
       padding: 0 22px;
   
       border: 1px solid #e1eee6;
   
       transition: 0.3s;
   }
   
   .faq-item:hover {
       border-color: #c5e4d3;
   }
   
   .faq-item summary {
       cursor: pointer;
   
       padding: 20px 0;
   
       font-weight: 600;
   
       color: var(--text);
   
       list-style: none;
   }
   
   .faq-item summary::-webkit-details-marker {
       display: none;
   }
   
   .faq-item p {
       color: var(--text-light);
   
       line-height: 2;
   
       padding-bottom: 20px;
   
       font-size: 13px;
   }
   
   
   /* =========================
      ABOUT
      ========================= */
   
   .about {
       padding: 90px 0;
   }
   
   .about-inner {
       background: var(--green-dark);
   
       border-radius: 35px;
   
       padding: 65px;
   
       color: white;
   
       position: relative;
   
       overflow: hidden;
   }
   
   .about-inner::before {
       content: "";
   
       position: absolute;
   
       width: 300px;
       height: 300px;
   
       border-radius: 50%;
   
       background: rgba(255,255,255,0.06);
   
       left: -70px;
       top: -100px;
   
       animation: aboutBubble 5s ease-in-out infinite;
   }
   
   @keyframes aboutBubble {
   
       0%,
       100% {
           transform: translate(0, 0);
       }
   
       50% {
           transform: translate(20px, 15px);
       }
   }
   
   .about-content {
       max-width: 650px;
   
       position: relative;
   }
   
   .about-content > span {
       color: #bce4cd;
   
       font-size: 13px;
   }
   
   .about-content h2 {
       margin: 12px 0 18px;
   
       font-size: 34px;
   }
   
   .about-content p {
       color: #e3f4ea;
   
       line-height: 2.2;
   }
   
   
   /* =========================
      FOOTER
      ========================= */
   
   .footer {
       background: #123b29;
   
       color: white;
   
       padding-top: 70px;
   }
   
   .footer-grid {
       display: grid;
   
       grid-template-columns: 2fr 1fr 1fr 1fr;
   
       gap: 50px;
   
       padding-bottom: 55px;
   }
   
   .footer-logo {
       width: 90px;
   
       background: white;
   
       border-radius: 12px;
   
       padding: 5px;
   
       margin-bottom: 18px;
   }
   
   .footer-about h3 {
       font-size: 17px;
   
       margin-bottom: 12px;
   }
   
   .footer-about p {
       color: #bdd4c7;
   
       font-size: 13px;
   
       line-height: 2;
   }
   
   .footer-links {
       display: flex;
   
       flex-direction: column;
   
       gap: 14px;
   }
   
   .footer-links h4 {
       margin-bottom: 8px;
   
       font-size: 15px;
   }
   
   .footer-links a {
       color: #bdd4c7;
   
       font-size: 13px;
   
       transition: 0.2s;
   }
   
   .footer-links a:hover {
       color: white;
   
       transform: translateX(-3px);
   }
   
   .footer-bottom {
       border-top: 1px solid rgba(255,255,255,0.08);
   
       text-align: center;
   
       padding: 22px;
   
       color: #9ebbae;
   
       font-size: 12px;
   }
   
   
   /* =========================
      MOBILE NAV
      ========================= */
   
   .mobile-nav {
       display: none;
   }
   
   
   /* =========================
      SCROLL REVEAL
      ========================= */
   
   .scroll-hidden {
       opacity: 0;
   
       transform: translateY(60px);
   
       transition:
           opacity 0.8s ease,
           transform 0.8s cubic-bezier(.22, 1, .36, 1);
   }
   
   .scroll-hidden.show {
       opacity: 1;
   
       transform: translateY(0);
   }
   
   
   /* Hero scroll */
   
   .hero-content.scroll-hidden {
       transform: translateX(70px);
   }
   
   .hero-image.scroll-hidden {
       transform: translateX(-70px) scale(0.92);
   }
   
   .hero-content.scroll-hidden.show,
   .hero-image.scroll-hidden.show {
       transform: translateX(0) scale(1);
   }
   
   
   /* =========================
      CATEGORY SCROLL
      ========================= */
   
   .category-hidden {
       opacity: 0;
   
       transform: translateY(100px);
   
       transition:
           opacity 0.8s ease,
           transform 0.8s cubic-bezier(.22, 1, .36, 1);
   }
   
   .category-hidden.show {
       opacity: 1;
   
       transform: translateY(0);
   }
   
   .category-card:nth-child(1) {
       transition-delay: 0s;
   }
   
   .category-card:nth-child(2) {
       transition-delay: 0.18s;
   }
   
   .category-card:nth-child(3) {
       transition-delay: 0.36s;
   }
   
   .category-card:nth-child(4) {
       transition-delay: 0.54s;
   }
   
   
   /* =========================
      RESPONSIVE
      ========================= */
   
   @media (max-width: 1000px) {
   
       .nav {
           gap: 15px;
       }
   
       .hero-image {
           width: 400px;
           height: 400px;
       }
   
       .category-grid,
       .products-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   
       .footer-grid {
           grid-template-columns: repeat(2, 1fr);
       }
   }
   
   
   /* =========================
      MOBILE
      ========================= */
   
   @media (max-width: 750px) {
   
       .header-inner {
           min-height: 70px;
       }
   
       .nav {
           display: none;
       }
   
       .logo img {
           width: 80px;
       }
   
       .hero {
           padding: 50px 0 90px;
       }
   
       .hero-inner {
           flex-direction: column-reverse;
   
           text-align: center;
       }
   
       .hero-content {
           width: 100%;
       }
   
       .hero p {
           margin-left: auto;
           margin-right: auto;
       }
   
       .hero-image {
           width: 320px;
           height: 320px;
       }
   
       .hero-image::before {
           width: 275px;
           height: 275px;
       }
   
       .category-grid {
           grid-template-columns: repeat(2, 1fr);
   
           gap: 12px;
       }
   
       .category-image {
           height: 170px;
       }
   
       .products-grid {
           grid-template-columns: repeat(2, 1fr);
   
           gap: 12px;
       }
   
       .featured-heading {
           align-items: flex-start;
   
           gap: 20px;
   
           flex-direction: column;
       }
   
       .footer-grid {
           grid-template-columns: 1fr 1fr;
   
           gap: 35px;
       }
   
   
       /* =================================
          CUTE MOBILE BOTTOM NAV
          ================================= */
   
       .mobile-nav {
   
           position: fixed;
   
           display: flex;
   
           bottom: 14px;
   
           left: 50%;
   
           width: min(430px, calc(100% - 24px));
   
           height: 76px;
   
           padding: 7px;
   
           background: rgba(255, 255, 255, 0.97);
   
           backdrop-filter: blur(20px);
   
           border: 2px solid #e4f4eb;
   
           border-radius: 30px;
   
           z-index: 999;
   
           box-shadow:
               0 20px 50px rgba(23, 107, 69, 0.16),
               0 5px 15px rgba(0, 0, 0, 0.05);
   
           align-items: center;
   
           justify-content: space-around;
   
           /* اول صفحه پایین مخفی */
   
           transform:
               translateX(-50%)
               translateY(120px);
   
           opacity: 0;
   
           transition:
               transform 0.7s cubic-bezier(.34, 1.56, .64, 1),
               opacity 0.4s ease;
       }
   
   
       /* بعد از اسکرول */
   
       .mobile-nav.show-menu {
   
           transform:
               translateX(-50%)
               translateY(0);
   
           opacity: 1;
       }
   
   
       /* =================================
          آیتم‌های منو
          ================================= */
   
       .mobile-nav a,
       .mobile-nav button {
   
           position: relative;
   
           width: 76px;
   
           height: 62px;
   
           border: none;
   
           background: transparent;
   
           color: #91a29a;
   
           display: flex;
   
           flex-direction: column;
   
           align-items: center;
   
           justify-content: center;
   
           gap: 4px;
   
           border-radius: 22px;
   
           transition:
               transform 0.35s cubic-bezier(.34, 1.56, .64, 1),
               color 0.3s ease;
       }
   
   
       /* =================================
          حباب پاستیلی
          ================================= */
   
       .mobile-nav a::before,
       .mobile-nav button::before {
   
           content: "";
   
           position: absolute;
   
           width: 45px;
   
           height: 45px;
   
           top: 3px;
   
           left: 50%;
   
           border-radius: 50%;
   
           background: #e0f4e8;
   
           transform:
               translateX(-50%)
               scale(0);
   
           opacity: 0;
   
           transition:
               transform 0.4s cubic-bezier(.34, 1.56, .64, 1),
               opacity 0.3s ease;
       }
   
   
       /* =================================
          آیکون
          ================================= */
   
       .mobile-nav svg {
   
           width: 22px;
   
           height: 22px;
   
           fill: none;
   
           stroke: currentColor;
   
           stroke-width: 1.8;
   
           stroke-linecap: round;
   
           stroke-linejoin: round;
   
           position: relative;
   
           z-index: 2;
   
           transition:
               transform 0.4s cubic-bezier(.34, 1.56, .64, 1),
               stroke-width 0.25s ease;
       }
   
   
       /* =================================
          نوشته
          ================================= */
   
       .mobile-nav span {
   
           position: relative;
   
           z-index: 2;
   
           font-size: 10px;
   
           font-weight: 500;
   
           color: currentColor;
   
           transition:
               transform 0.3s ease,
               font-weight 0.3s ease;
       }
   
   
       /* =================================
          آیتم فعال
          ================================= */
   
       .mobile-nav a.active,
       .mobile-nav button.active {
   
           color: var(--green-dark);
   
           transform: translateY(-5px);
       }
   
   
       .mobile-nav a.active::before,
       .mobile-nav button.active::before {
   
           opacity: 1;
   
           transform:
               translateX(-50%)
               scale(1);
   
           animation:
               cuteBubble 2.2s ease-in-out infinite;
       }
   
   
       .mobile-nav a.active svg,
       .mobile-nav button.active svg {
   
           transform:
               translateY(-2px)
               scale(1.12);
   
           stroke-width: 2.1;
   
           animation:
               cuteIcon 1.8s ease-in-out infinite;
       }
   
   
       .mobile-nav a.active span,
       .mobile-nav button.active span {
   
           font-weight: 700;
   
           transform: translateY(1px);
       }
   
   
       /* =================================
          هاور
          ================================= */
   
       .mobile-nav a:hover,
       .mobile-nav button:hover {
   
           color: var(--green-dark);
   
           transform: translateY(-4px);
       }
   
   
       .mobile-nav a:hover svg,
       .mobile-nav button:hover svg {
   
           transform:
               scale(1.08);
       }
   
   
       /* =================================
          کلیک
          ================================= */
   
       .mobile-nav a:active,
       .mobile-nav button:active {
   
           transform: scale(0.88);
       }
   
   
       /* =================================
          انیمیشن حباب
          ================================= */
   
       @keyframes cuteBubble {
   
           0%,
           100% {
               transform:
                   translateX(-50%)
                   scale(1);
           }
   
           50% {
               transform:
                   translateX(-50%)
                   scale(1.08);
           }
       }
   
   
       /* =================================
          انیمیشن آیکون
          ================================= */
   
       @keyframes cuteIcon {
   
           0%,
           100% {
               transform:
                   translateY(-2px)
                   scale(1.12);
           }
   
           50% {
               transform:
                   translateY(-5px)
                   scale(1.18);
           }
       }
   }
   
   
   /* =========================
      SMALL MOBILE
      ========================= */
   
   @media (max-width: 480px) {
   
       .container {
           width: 90%;
       }
   
       .hero h1 {
           font-size: 38px;
       }
   
       .hero-image {
           width: 280px;
           height: 280px;
       }
   
       .hero-image::before {
           width: 240px;
           height: 240px;
       }
   
       .category-card {
           padding: 10px;
   
           border-radius: 20px;
       }
   
       .category-image {
           height: 140px;
       }
   
       .category-card h3 {
           font-size: 14px;
       }
   
       .footer-grid {
           grid-template-columns: 1fr;
       }
   
       .about-inner {
           padding: 35px 25px;
       }
   
   
       /* منوی پایین گوشی کوچک */
   
       .mobile-nav {
   
           width: calc(100% - 20px);
   
           height: 72px;
   
           border-radius: 27px;
       }
   
       .mobile-nav a,
       .mobile-nav button {
   
           width: 68px;
       }
   
       .mobile-nav svg {
   
           width: 21px;
   
           height: 21px;
       }
   
       .mobile-nav span {
   
           font-size: 9px;
       }
   }
   /* =========================
   PRODUCTS PAGE
   ========================= */

.products-page {
    background: #ffffff;
}


/* =========================
   PRODUCTS HERO
   ========================= */

.products-hero {
    padding: 75px 0 45px;

    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(223, 243, 232, 0.8),
            transparent 35%
        );

    overflow: hidden;
}

.products-page-heading {
    text-align: center;

    max-width: 700px;

    margin: 0 auto;
}

.products-page-heading > span {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 8px 18px;

    border-radius: 30px;

    background: var(--green-light);

    color: var(--green-dark);

    font-size: 13px;

    font-weight: 600;

    margin-bottom: 15px;
}

.products-page-heading h1 {
    font-size: clamp(34px, 5vw, 52px);

    color: var(--text);

    margin-bottom: 15px;

    font-weight: 800;
}

.products-page-heading p {
    color: var(--text-light);

    font-size: 14px;

    line-height: 2;
}


/* =========================
   PRODUCTS SECTION
   ========================= */

.products-section {
    padding: 25px 0 100px;
}


/* =========================
   TOOLBAR
   ========================= */

.products-toolbar {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;

    margin-bottom: 45px;

    padding: 18px;

    background: #fbfefc;

    border: 1px solid var(--border);

    border-radius: 24px;
}


/* =========================
   CATEGORY FILTER
   ========================= */

.product-categories {
    display: flex;

    align-items: center;

    flex-wrap: wrap;

    gap: 8px;
}

.product-categories a {
    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 75px;

    height: 42px;

    padding: 0 17px;

    border-radius: 14px;

    color: #61736a;

    background: transparent;

    font-size: 13px;

    font-weight: 500;

    border: 1px solid transparent;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease,
        border-color 0.25s ease;
}

.product-categories a:hover {
    color: var(--green-dark);

    background: white;

    border-color: var(--green-light);

    transform: translateY(-2px);
}

.product-categories a.active {
    color: white;

    background: var(--green-dark);

    border-color: var(--green-dark);

    box-shadow:
        0 8px 18px rgba(23, 107, 69, 0.16);
}


/* =========================
   PRODUCTS SEARCH
   ========================= */

.products-search {
    width: 270px;

    height: 46px;

    display: flex;

    align-items: center;

    background: white;

    border: 1px solid var(--border);

    border-radius: 15px;

    overflow: hidden;

    transition: 0.25s;
}

.products-search:focus-within {
    border-color: #b9dfca;

    box-shadow:
        0 0 0 4px rgba(223, 243, 232, 0.7);
}

.products-search input {
    width: 100%;

    height: 100%;

    border: none;

    outline: none;

    padding: 0 15px;

    color: var(--text);

    font-size: 12px;

    background: transparent;
}

.products-search input::placeholder {
    color: #9aaaA2;
}

.products-search button {
    width: 48px;

    height: 100%;

    flex-shrink: 0;

    border: none;

    background: transparent;

    color: var(--green-dark);

    display: flex;

    align-items: center;

    justify-content: center;

    transition: 0.25s;
}

.products-search button:hover {
    background: var(--green-soft);
}

.products-search svg {
    width: 19px;

    height: 19px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.8;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================
   PRODUCT GRID
   ========================= */

.products-page-grid {
    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


/* =========================
   PRODUCT CARD
   ========================= */

.product-card {
    background: white;

    border: 1px solid var(--border);

    border-radius: 25px;

    overflow: hidden;

    transition:
        transform 0.4s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.product-card:hover {
    transform: translateY(-8px);

    border-color: #c9e6d5;

    box-shadow:
        0 18px 45px rgba(23, 107, 69, 0.12);
}


/* =========================
   PRODUCT IMAGE
   ========================= */

.product-image {
    display: flex;

    align-items: center;

    justify-content: center;

    height: 300px;

    margin: 12px;

    border-radius: 19px;

    background: var(--green-soft);

    overflow: hidden;
}

.product-image img {
    width: 88%;

    height: 88%;

    object-fit: contain;

    transition:
        transform 0.5s cubic-bezier(.22, 1, .36, 1);
}

.product-card:hover .product-image img {
    transform:
        scale(1.08)
        translateY(-5px);
}


/* =========================
   PRODUCT INFO
   ========================= */

.product-info {
    padding: 5px 20px 20px;
}

.product-category {
    color: var(--green);

    font-size: 11px;

    font-weight: 600;
}

.product-info h3 {
    color: var(--text);

    font-size: 15px;

    line-height: 1.8;

    margin-top: 6px;

    min-height: 27px;
}


/* =========================
   PRODUCT BOTTOM
   ========================= */

.product-bottom {
    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;

    margin-top: 17px;
}

.product-bottom strong {
    color: var(--green-dark);

    font-size: 13px;

    white-space: nowrap;
}

.product-button {
    display: flex;

    align-items: center;

    justify-content: center;

    min-width: 70px;

    height: 35px;

    padding: 0 12px;

    border-radius: 11px;

    background: var(--green-light);

    color: var(--green-dark);

    font-size: 11px;

    font-weight: 600;

    transition: 0.25s;
}

.product-button:hover {
    background: var(--green-dark);

    color: white;

    transform: translateY(-2px);
}


/* =========================
   PRODUCT CARD SCROLL
   ========================= */

.product-card.category-hidden {
    opacity: 0;

    transform: translateY(70px);

    transition:
        opacity 0.75s ease,
        transform 0.75s cubic-bezier(.22, 1, .36, 1),
        box-shadow 0.35s ease,
        border-color 0.3s ease;
}

.product-card.category-hidden.show {
    opacity: 1;

    transform: translateY(0);
}


/* یکی یکی وارد شدن */

.products-page-grid .product-card:nth-child(1) {
    transition-delay: 0s;
}

.products-page-grid .product-card:nth-child(2) {
    transition-delay: 0.12s;
}

.products-page-grid .product-card:nth-child(3) {
    transition-delay: 0.24s;
}

.products-page-grid .product-card:nth-child(4) {
    transition-delay: 0.36s;
}


/* =========================
   TABLET
   ========================= */

@media (max-width: 1000px) {

    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .products-toolbar {
        flex-direction: column;

        align-items: stretch;
    }

    .product-categories {
        justify-content: center;
    }

    .products-search {
        width: 100%;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 750px) {

    .products-hero {
        padding: 55px 0 30px;
    }

    .products-page-heading h1 {
        font-size: 35px;
    }

    .products-page-heading p {
        font-size: 13px;
    }

    .products-section {
        padding-top: 20px;

        padding-bottom: 110px;
    }

    .products-toolbar {
        padding: 12px;

        border-radius: 20px;

        gap: 14px;
    }

    .product-categories {
        display: grid;

        grid-template-columns: repeat(5, 1fr);

        gap: 5px;
    }

    .product-categories a {
        min-width: 0;

        height: 40px;

        padding: 0 5px;

        font-size: 10px;

        border-radius: 11px;
    }

    .products-search {
        height: 44px;
    }

    .products-page-grid {
        grid-template-columns: repeat(2, 1fr);

        gap: 12px;
    }

    .product-card {
        border-radius: 19px;
    }

    .product-image {
        height: 190px;

        margin: 8px;

        border-radius: 14px;
    }

    .product-info {
        padding: 3px 12px 14px;
    }

    .product-category {
        font-size: 9px;
    }

    .product-info h3 {
        font-size: 12px;

        line-height: 1.7;
    }

    .product-bottom {
        margin-top: 12px;

        align-items: flex-end;

        flex-direction: column;

        gap: 8px;
    }

    .product-bottom strong {
        font-size: 11px;
    }

    .product-button {
        width: 100%;

        height: 33px;
    }
}


/* =========================
   SMALL MOBILE
   ========================= */

@media (max-width: 480px) {

    .products-page-heading h1 {
        font-size: 32px;
    }

    .product-categories a {
        font-size: 9px;
    }

    .product-image {
        height: 165px;
    }

    .product-info h3 {
        min-height: 40px;
    }

    .product-bottom strong {
        font-size: 10px;
    }
}/* =========================
   PRODUCTS EMPTY STATE
   ========================= */

.products-empty {

    grid-column: 1 / -1;

    min-height: 450px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 60px 25px;

    position: relative;

    overflow: hidden;

    background:
        radial-gradient(
            circle at 50% 35%,
            #eef9f3 0%,
            #ffffff 62%
        );

    border: 1px solid #e2eee7;

    border-radius: 34px;

    animation: emptyAppear 0.8s ease both;
}


/* دایره‌های خیلی ظریف */

.products-empty::before {

    content: "";

    position: absolute;

    width: 230px;

    height: 230px;

    border-radius: 50%;

    background: rgba(223, 243, 232, 0.45);

    top: -110px;

    right: -80px;

    animation: emptyBubble 6s ease-in-out infinite;
}


.products-empty::after {

    content: "";

    position: absolute;

    width: 170px;

    height: 170px;

    border-radius: 50%;

    background: rgba(223, 243, 232, 0.35);

    bottom: -90px;

    left: -60px;

    animation: emptyBubble 5s ease-in-out infinite reverse;
}


/* =========================
   ICON
   ========================= */

.products-empty-icon {

    width: 88px;

    height: 88px;

    display: flex;

    align-items: center;

    justify-content: center;

    border-radius: 50%;

    background: #e1f4e9;

    color: var(--green-dark);

    margin-bottom: 22px;

    position: relative;

    z-index: 2;

    box-shadow:
        0 12px 30px rgba(23, 107, 69, 0.10);

    animation: emptyIcon 3s ease-in-out infinite;
}


.products-empty-icon svg {

    width: 38px;

    height: 38px;

    fill: none;

    stroke: currentColor;

    stroke-width: 1.5;

    stroke-linecap: round;

    stroke-linejoin: round;
}


/* =========================
   TEXT
   ========================= */

.products-empty > span {

    position: relative;

    z-index: 2;

    color: var(--green);

    font-size: 12px;

    font-weight: 700;

    letter-spacing: 0.3px;

    margin-bottom: 9px;
}


.products-empty h2 {

    position: relative;

    z-index: 2;

    color: #183b2a;

    font-size: 27px;

    font-weight: 800;

    margin-bottom: 14px;
}


.products-empty p {

    position: relative;

    z-index: 2;

    max-width: 520px;

    color: #718178;

    font-size: 13px;

    line-height: 2.3;

    margin-bottom: 28px;
}


/* =========================
   BUTTON
   ========================= */

.products-empty-button {

    position: relative;

    z-index: 2;

    display: inline-flex;

    align-items: center;

    justify-content: center;

    height: 48px;

    padding: 0 26px;

    border-radius: 15px;

    background: var(--green-dark);

    color: white;

    font-size: 12px;

    font-weight: 600;

    box-shadow:
        0 12px 25px rgba(23, 107, 69, 0.18);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}


.products-empty-button:hover {

    background: #115638;

    transform: translateY(-4px);

    box-shadow:
        0 17px 32px rgba(23, 107, 69, 0.23);
}


/* =========================
   ANIMATIONS
   ========================= */

@keyframes emptyAppear {

    from {

        opacity: 0;

        transform:
            translateY(35px)
            scale(0.97);
    }

    to {

        opacity: 1;

        transform:
            translateY(0)
            scale(1);
    }
}


@keyframes emptyIcon {

    0%,
    100% {

        transform:
            translateY(0)
            rotate(0deg);
    }

    50% {

        transform:
            translateY(-7px)
            rotate(1deg);
    }
}


@keyframes emptyBubble {

    0%,
    100% {

        transform:
            translate(0, 0)
            scale(1);
    }

    50% {

        transform:
            translate(12px, 10px)
            scale(1.05);
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 750px) {

    .products-empty {

        min-height: 390px;

        padding: 45px 20px;

        border-radius: 26px;
    }


    .products-empty-icon {

        width: 74px;

        height: 74px;
    }


    .products-empty-icon svg {

        width: 32px;

        height: 32px;
    }


    .products-empty h2 {

        font-size: 21px;
    }


    .products-empty p {

        font-size: 11px;

        line-height: 2.2;
    }


    .products-empty-button {

        height: 44px;

        padding: 0 22px;

        font-size: 11px;
    }

}
/* =========================
   CART PAGE
   ========================= */

   .cart-page {
    background: #fbfdfc;
    min-height: 100vh;
}


/* =========================
   CART HERO
   ========================= */

.cart-hero {
    padding: 80px 0 55px;
    background:
        linear-gradient(
            180deg,
            #effaf4 0%,
            #ffffff 100%
        );
}

.cart-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.cart-heading span {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 12px;
}

.cart-heading h1 {
    color: var(--text);
    font-size: 38px;
    font-weight: 800;
    margin-bottom: 14px;
}

.cart-heading p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 2;
}


/* =========================
   CART SECTION
   ========================= */

.cart-section {
    padding: 55px 0 100px;
}

.cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}


/* =========================
   CART PRODUCTS
   ========================= */

.cart-products {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cart-item {
    display: grid;
    grid-template-columns: 110px 1fr auto auto;
    align-items: center;
    gap: 22px;

    padding: 20px;

    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;

    box-shadow: 0 12px 35px rgba(23, 107, 69, 0.06);

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}

.cart-item:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 40px rgba(23, 107, 69, 0.10);
}


/* =========================
   PRODUCT IMAGE
   ========================= */

.cart-item-image {
    width: 110px;
    height: 110px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    border-radius: 18px;
    background: var(--green-soft);
}

.cart-item-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;

    transition: transform 0.35s ease;
}

.cart-item:hover .cart-item-image img {
    transform: scale(1.06);
}


/* =========================
   PRODUCT INFO
   ========================= */

.cart-item-info {
    min-width: 0;
}

.cart-item-category {
    display: block;

    color: var(--green);
    font-size: 11px;
    font-weight: 600;

    margin-bottom: 7px;
}

.cart-item-info h3 {
    color: var(--text);

    font-size: 17px;
    font-weight: 700;

    margin-bottom: 12px;
}

.cart-item-info strong {
    color: var(--green-dark);

    font-size: 14px;
    font-weight: 800;
}


/* =========================
   QUANTITY
   ========================= */

.cart-quantity {
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 5px;

    background: var(--green-soft);
    border: 1px solid #dceee4;

    border-radius: 13px;
}

.cart-quantity button {
    width: 32px;
    height: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 9px;

    background: #ffffff;
    color: var(--green-dark);

    font-size: 18px;
    font-weight: 600;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.cart-quantity button:hover {
    background: var(--green-dark);
    color: #ffffff;

    transform: scale(1.05);
}

.cart-quantity span {
    min-width: 25px;

    text-align: center;

    color: var(--text);

    font-size: 13px;
    font-weight: 700;
}


/* =========================
   REMOVE BUTTON
   ========================= */

.cart-remove {
    width: 40px;
    height: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid #f0dfdf;
    border-radius: 12px;

    background: #fff8f8;
    color: #c66b6b;

    cursor: pointer;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.cart-remove svg {
    width: 18px;
    height: 18px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-remove:hover {
    background: #c66b6b;
    color: #ffffff;

    transform: translateY(-2px);
}


/* =========================
   CART SUMMARY
   ========================= */

.cart-summary {
    position: sticky;
    top: 25px;

    padding: 27px;

    background: #ffffff;

    border: 1px solid var(--border);
    border-radius: 25px;

    box-shadow:
        0 15px 40px rgba(23, 107, 69, 0.08);
}

.cart-summary-title {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-bottom: 20px;

    border-bottom: 1px solid var(--border);
}

.cart-summary-title h2 {
    color: var(--text);

    font-size: 19px;
    font-weight: 800;
}

.cart-summary-title span {
    color: var(--green);

    font-size: 11px;
    font-weight: 600;
}


/* =========================
   SUMMARY ROW
   ========================= */

.cart-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 17px 0;

    border-bottom: 1px solid #edf3ef;
}

.cart-summary-row span {
    color: var(--text-light);
    font-size: 12px;
}

.cart-summary-row strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}


/* =========================
   TOTAL
   ========================= */

.cart-summary-total {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 22px 0;
}

.cart-summary-total span {
    color: var(--text);

    font-size: 14px;
    font-weight: 700;
}

.cart-summary-total strong {
    color: var(--green-dark);

    font-size: 19px;
    font-weight: 800;
}


/* =========================
   CHECKOUT BUTTON
   ========================= */

.cart-checkout-button {
    width: 100%;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 15px;

    background: var(--green-dark);
    color: #ffffff;

    font-size: 13px;
    font-weight: 700;

    box-shadow:
        0 12px 25px rgba(23, 107, 69, 0.18);

    transition:
        transform 0.3s ease,
        background 0.3s ease,
        box-shadow 0.3s ease;
}

.cart-checkout-button:hover {
    background: #115638;

    transform: translateY(-3px);

    box-shadow:
        0 17px 30px rgba(23, 107, 69, 0.23);
}


/* =========================
   CONTINUE SHOPPING
   ========================= */

.cart-continue-button {
    width: 100%;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-top: 10px;

    border: 1px solid #dcebe3;
    border-radius: 15px;

    background: #ffffff;
    color: var(--green-dark);

    font-size: 12px;
    font-weight: 600;

    transition:
        background 0.3s ease,
        transform 0.3s ease;
}

.cart-continue-button:hover {
    background: var(--green-soft);

    transform: translateY(-2px);
}


/* =========================
   EMPTY CART
   ========================= */

.cart-empty {
    min-height: 440px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 60px 25px;

    background:
        radial-gradient(
            circle at 50% 35%,
            #eef9f3 0%,
            #ffffff 65%
        );

    border: 1px solid #e2eee7;
    border-radius: 32px;

    animation: cartEmptyAppear 0.7s ease both;
}

.cart-empty-icon {
    width: 88px;
    height: 88px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 22px;

    border-radius: 50%;

    background: #e1f4e9;
    color: var(--green-dark);

    box-shadow:
        0 12px 30px rgba(23, 107, 69, 0.10);

    animation: cartEmptyFloat 3s ease-in-out infinite;
}

.cart-empty-icon svg {
    width: 38px;
    height: 38px;

    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.cart-empty > span {
    color: var(--green);

    font-size: 12px;
    font-weight: 700;

    margin-bottom: 8px;
}

.cart-empty h2 {
    color: var(--text);

    font-size: 26px;
    font-weight: 800;

    margin-bottom: 12px;
}

.cart-empty p {
    color: var(--text-light);

    font-size: 13px;
    line-height: 2.2;

    margin-bottom: 25px;
}

.cart-empty-button {
    height: 48px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0 28px;

    border-radius: 15px;

    background: var(--green-dark);
    color: #ffffff;

    font-size: 12px;
    font-weight: 700;

    transition:
        transform 0.3s ease,
        background 0.3s ease;
}

.cart-empty-button:hover {
    background: #115638;

    transform: translateY(-3px);
}


/* =========================
   ANIMATIONS
   ========================= */

@keyframes cartEmptyAppear {

    from {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

}

@keyframes cartEmptyFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7px);
    }

}


/* =========================
   TABLET
   ========================= */

@media (max-width: 950px) {

    .cart-layout {
        grid-template-columns: 1fr;
    }

    .cart-summary {
        position: static;
    }

}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 650px) {

    .cart-hero {
        padding: 55px 0 40px;
    }

    .cart-heading h1 {
        font-size: 29px;
    }

    .cart-heading p {
        font-size: 12px;
    }

    .cart-section {
        padding: 35px 0 90px;
    }

    .cart-item {
        grid-template-columns: 80px 1fr auto;

        gap: 14px;

        padding: 14px;

        border-radius: 19px;
    }

    .cart-item-image {
        width: 80px;
        height: 80px;
    }

    .cart-item-info h3 {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .cart-item-category {
        font-size: 10px;
    }

    .cart-item-info strong {
        font-size: 12px;
    }

    .cart-quantity {
        grid-column: 2 / 3;
        justify-self: start;
    }

    .cart-remove {
        grid-column: 3;
        grid-row: 1;
    }

    .cart-summary {
        padding: 21px;
        border-radius: 21px;
    }

    .cart-empty {
        min-height: 380px;

        padding: 45px 18px;

        border-radius: 25px;
    }

    .cart-empty-icon {
        width: 74px;
        height: 74px;
    }

    .cart-empty-icon svg {
        width: 32px;
        height: 32px;
    }

    .cart-empty h2 {
        font-size: 21px;
    }

    .cart-empty p {
        font-size: 11px;
    }

}
/* =========================
   CHECKOUT PAGE
   ========================= */

.checkout-page {
    min-height: 100vh;
    background: #fbfdfc;
    padding: 70px 0 100px;
}

.checkout-container {
    max-width: 1200px;
}

.checkout-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px;
}

.checkout-badge {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.checkout-header h1 {
    color: var(--text);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.checkout-header p {
    color: var(--text-light);
    font-size: 13px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.checkout-form {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(23, 107, 69, 0.06);
}

.form-section {
    padding: 30px;
}

.form-section h2 {
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.form-group label span {
    color: var(--text-light);
    font-size: 10px;
    font-weight: 500;
    margin-right: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dfeae4;
    border-radius: 13px;
    background: #fbfdfc;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.form-group input {
    height: 50px;
    padding: 0 15px;
}

.form-group textarea {
    min-height: 115px;
    padding: 14px 15px;
    resize: vertical;
    line-height: 2;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a5b3ac;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(47, 143, 99, 0.08);
}

.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.back-to-cart {
    height: 50px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcebe3;
    border-radius: 14px;
    background: #ffffff;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.back-to-cart:hover {
    background: var(--green-soft);
    transform: translateY(-2px);
}

.submit-order-btn {
    height: 50px;
    min-width: 170px;
    padding: 0 25px;
    border: none;
    border-radius: 14px;
    background: var(--green-dark);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(23, 107, 69, 0.16);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.submit-order-btn:hover {
    background: #115638;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(23, 107, 69, 0.22);
}

.checkout-summary {
    position: sticky;
    top: 25px;
    padding: 27px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(23, 107, 69, 0.08);
}

.checkout-summary h2 {
    color: var(--text);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 22px;
}

.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.checkout-summary-empty {
    padding: 25px 15px;
    border-radius: 15px;
    background: var(--green-soft);
    text-align: center;
}

.checkout-summary-empty span {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.checkout-summary-empty p {
    color: var(--text-light);
    font-size: 11px;
}

.checkout-summary-line {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
}

.checkout-summary-row span {
    color: var(--text-light);
    font-size: 12px;
}

.checkout-summary-row strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.checkout-total span {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.checkout-total strong {
    color: var(--green-dark);
    font-size: 19px;
    font-weight: 800;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 950px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

}

@media (max-width: 650px) {

    .checkout-page {
        padding: 45px 0 90px;
    }

    .checkout-header {
        margin-bottom: 30px;
    }

    .checkout-header h1 {
        font-size: 29px;
    }

    .checkout-header p {
        font-size: 12px;
    }

    .form-section {
        padding: 21px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .checkout-form {
        border-radius: 21px;
    }

    .checkout-summary {
        padding: 21px;
        border-radius: 21px;
    }

    .checkout-actions {
        flex-direction: column-reverse;
    }

    .back-to-cart,
    .submit-order-btn {
        width: 100%;
    }

}
/* =========================
   CHECKOUT PAGE
   ========================= */

   .checkout-page {
    min-height: 100vh;
    background: #fbfdfc;
    padding: 70px 0 100px;
}

.checkout-container {
    max-width: 1200px;
}

.checkout-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 45px;
}

.checkout-badge {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.checkout-header h1 {
    color: var(--text);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.checkout-header p {
    color: var(--text-light);
    font-size: 13px;
}

.checkout-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 28px;
    align-items: start;
}

.checkout-form {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(23, 107, 69, 0.06);
}

.form-section {
    padding: 30px;
}

.form-section h2 {
    color: var(--text);
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 28px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 9px;
}

.form-group label span {
    color: var(--text-light);
    font-size: 10px;
    font-weight: 500;
    margin-right: 6px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    border: 1px solid #dfeae4;
    border-radius: 13px;
    background: #fbfdfc;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.form-group input {
    height: 50px;
    padding: 0 15px;
}

.form-group textarea {
    min-height: 115px;
    padding: 14px 15px;
    resize: vertical;
    line-height: 2;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a5b3ac;
}

.form-group input:focus,
.form-group textarea:focus {
    background: #ffffff;
    border-color: var(--green);
    box-shadow: 0 0 0 4px rgba(47, 143, 99, 0.08);
}

.checkout-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border);
}

.back-to-cart {
    height: 50px;
    padding: 0 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #dcebe3;
    border-radius: 14px;
    background: #ffffff;
    color: var(--green-dark);
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        transform 0.25s ease;
}

.back-to-cart:hover {
    background: var(--green-soft);
    transform: translateY(-2px);
}

.submit-order-btn {
    height: 50px;
    min-width: 170px;
    padding: 0 25px;
    border: none;
    border-radius: 14px;
    background: var(--green-dark);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 12px 25px rgba(23, 107, 69, 0.16);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.submit-order-btn:hover {
    background: #115638;
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(23, 107, 69, 0.22);
}

.checkout-summary {
    position: sticky;
    top: 25px;
    padding: 27px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(23, 107, 69, 0.08);
}

.checkout-summary h2 {
    color: var(--text);
    font-size: 19px;
    font-weight: 800;
    margin-bottom: 22px;
}

.checkout-summary-items {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

.checkout-summary-empty {
    padding: 25px 15px;
    border-radius: 15px;
    background: var(--green-soft);
    text-align: center;
}

.checkout-summary-empty span {
    display: block;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.checkout-summary-empty p {
    color: var(--text-light);
    font-size: 11px;
}

.checkout-summary-line {
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

.checkout-summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 13px 0;
}

.checkout-summary-row span {
    color: var(--text-light);
    font-size: 12px;
}

.checkout-summary-row strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.checkout-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 10px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.checkout-total span {
    color: var(--text);
    font-size: 14px;
    font-weight: 700;
}

.checkout-total strong {
    color: var(--green-dark);
    font-size: 19px;
    font-weight: 800;
}


/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 950px) {

    .checkout-layout {
        grid-template-columns: 1fr;
    }

    .checkout-summary {
        position: static;
    }

}

@media (max-width: 650px) {

    .checkout-page {
        padding: 45px 0 90px;
    }

    .checkout-header {
        margin-bottom: 30px;
    }

    .checkout-header h1 {
        font-size: 29px;
    }

    .checkout-header p {
        font-size: 12px;
    }

    .form-section {
        padding: 21px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 0;
        margin-bottom: 0;
    }

    .checkout-form {
        border-radius: 21px;
    }

    .checkout-summary {
        padding: 21px;
        border-radius: 21px;
    }

    .checkout-actions {
        flex-direction: column-reverse;
    }

    .back-to-cart,
    .submit-order-btn {
        width: 100%;
    }

}
/* =========================
   ACCOUNT PAGE
   ========================= */

   .account-page {
    min-height: 100vh;
    background: #fbfdfc;
}

.account-hero {
    padding: 70px 0 50px;
    background:
        linear-gradient(
            180deg,
            #effaf4 0%,
            #ffffff 100%
        );
}

.account-heading {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.account-heading span {
    display: inline-block;
    color: var(--green);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 10px;
}

.account-heading h1 {
    color: var(--text);
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.account-heading p {
    color: var(--text-light);
    font-size: 13px;
    line-height: 2;
}

.account-section {
    padding: 45px 0 100px;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr);
    gap: 28px;
    align-items: start;
}


/* Sidebar */

.account-sidebar {
    position: sticky;
    top: 25px;
    padding: 22px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow:
        0 15px 40px rgba(23, 107, 69, 0.07);
}

.account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 20px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border);
}

.account-avatar {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
}

.account-avatar svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-user strong {
    display: block;
    color: var(--text);
    font-size: 13px;
    margin-bottom: 5px;
}

.account-user span {
    display: block;
    color: var(--text-light);
    font-size: 10px;
}

.account-menu {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.account-menu-item {
    min-height: 48px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 13px;
    border-radius: 13px;
    color: var(--text-light);
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.account-menu-item svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-menu-item:hover {
    background: var(--green-soft);
    color: var(--green-dark);
    transform: translateX(-3px);
}

.account-menu-item.active {
    background: var(--green-dark);
    color: #ffffff;
}

.account-logout {
    margin-top: 8px;
    border-top: 1px solid var(--border);
    border-radius: 0 0 13px 13px;
    padding-top: 8px;
    color: #b86b6b;
}


/* Content */

.account-content {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.account-welcome {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
    padding: 28px 30px;
    border-radius: 25px;
    background:
        linear-gradient(
            135deg,
            #edf9f2 0%,
            #ffffff 100%
        );
    border: 1px solid #dfeee6;
    overflow: hidden;
}

.account-welcome span {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
}

.account-welcome h2 {
    color: var(--text);
    font-size: 24px;
    font-weight: 800;
    margin: 7px 0 8px;
}

.account-welcome p {
    color: var(--text-light);
    font-size: 12px;
    line-height: 2;
}

.account-welcome-icon {
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 22px;
    background: #ffffff;
    color: var(--green-dark);
    box-shadow:
        0 12px 30px rgba(23, 107, 69, 0.08);
}

.account-welcome-icon svg {
    width: 38px;
    height: 38px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* Stats */

.account-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.account-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 20px;
    box-shadow:
        0 10px 30px rgba(23, 107, 69, 0.05);
}

.account-stat-icon {
    width: 45px;
    height: 45px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    background: var(--green-soft);
    color: var(--green-dark);
}

.account-stat-icon svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-stat span {
    display: block;
    color: var(--text-light);
    font-size: 10px;
    margin-bottom: 5px;
}

.account-stat strong {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}


/* Cards */

.account-card {
    padding: 27px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow:
        0 12px 35px rgba(23, 107, 69, 0.05);
}

.account-card-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 5px;
    border-bottom: 1px solid var(--border);
}

.account-card-heading span {
    display: block;
    color: var(--green);
    font-size: 10px;
    font-weight: 700;
    margin-bottom: 5px;
}

.account-card-heading h2 {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
}

.account-card-heading > a {
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
}


/* Empty */

.account-empty {
    min-height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
}

.account-empty-icon {
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 50%;
    background: var(--green-soft);
    color: var(--green-dark);
}

.account-empty-icon svg {
    width: 31px;
    height: 31px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.account-empty h3 {
    color: var(--text);
    font-size: 16px;
    font-weight: 800;
    margin-bottom: 9px;
}

.account-empty p {
    max-width: 430px;
    color: var(--text-light);
    font-size: 11px;
    line-height: 2;
    margin-bottom: 20px;
}

.account-empty-button {
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    border-radius: 13px;
    background: var(--green-dark);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    transition:
        transform 0.25s ease,
        background 0.25s ease;
}

.account-empty-button:hover {
    background: #115638;
    transform: translateY(-2px);
}


/* Profile */

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid #edf3ef;
}

.profile-row:last-child {
    border-bottom: none;
}

.profile-row span {
    color: var(--text-light);
    font-size: 11px;
}

.profile-row strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.profile-note {
    padding: 14px 16px;
    margin-top: 10px;
    border-radius: 12px;
    background: var(--green-soft);
    color: var(--text-light);
    font-size: 10px;
    line-height: 2;
}


/* Responsive */

@media (max-width: 950px) {

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-menu {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .account-logout {
        margin-top: 0;
        border-top: none;
    }

}


@media (max-width: 650px) {

    .account-hero {
        padding: 50px 0 35px;
    }

    .account-heading h1 {
        font-size: 29px;
    }

    .account-heading p {
        font-size: 12px;
    }

    .account-section {
        padding: 30px 0 90px;
    }

    .account-sidebar {
        padding: 17px;
        border-radius: 20px;
    }

    .account-menu {
        grid-template-columns: 1fr;
    }

    .account-welcome {
        padding: 22px;
        border-radius: 21px;
    }

    .account-welcome h2 {
        font-size: 20px;
    }

    .account-welcome p {
        font-size: 11px;
    }

    .account-welcome-icon {
        width: 60px;
        height: 60px;
        border-radius: 17px;
    }

    .account-welcome-icon svg {
        width: 29px;
        height: 29px;
    }

    .account-stats {
        grid-template-columns: 1fr;
    }

    .account-card {
        padding: 21px;
        border-radius: 21px;
    }

    .account-card-heading h2 {
        font-size: 16px;
    }

    .profile-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

}
/* =========================
   AUTH PAGES
   ========================= */

   .auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 0 100px;
    background:
        radial-gradient(
            circle at 50% 20%,
            #effaf4 0%,
            #ffffff 60%
        );
}

.auth-page .container {
    width: 100%;
}

.auth-box {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow:
        0 20px 55px rgba(23, 107, 69, 0.09);
}

.auth-heading {
    text-align: center;
    margin-bottom: 30px;
}

.auth-heading span {
    display: inline-block;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 9px;
}

.auth-heading h1 {
    color: var(--text);
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 10px;
}

.auth-heading p {
    color: var(--text-light);
    font-size: 11px;
    line-height: 2;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-group label {
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
}

.auth-form-group label span {
    color: var(--text-light);
    font-size: 9px;
    font-weight: 500;
    margin-right: 5px;
}

.auth-form-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #dfeae4;
    border-radius: 13px;
    background: #fbfdfc;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.auth-form-group input::placeholder {
    color: #a5b3ac;
}

.auth-form-group input:focus {
    background: #ffffff;
    border-color: var(--green);
    box-shadow:
        0 0 0 4px rgba(47, 143, 99, 0.08);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 2px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-light);
    font-size: 10px;
    cursor: pointer;
}

.remember-me input {
    accent-color: var(--green-dark);
}

.auth-options > a {
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
}

.auth-submit {
    width: 100%;
    height: 52px;
    margin-top: 5px;
    border: none;
    border-radius: 14px;
    background: var(--green-dark);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 12px 25px rgba(23, 107, 69, 0.17);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.auth-submit:hover {
    background: #115638;
    transform: translateY(-2px);
    box-shadow:
        0 16px 30px rgba(23, 107, 69, 0.22);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 20px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    color: var(--text-light);
    font-size: 10px;
}

.auth-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 11px;
}

.auth-register a {
    color: var(--green-dark);
    font-weight: 800;
}

.auth-back {
    display: block;
    margin-top: 22px;
    text-align: center;
    color: var(--text-light);
    font-size: 10px;
    transition: color 0.25s ease;
}

.auth-back:hover {
    color: var(--green-dark);
}

@media (max-width: 650px) {

    .auth-page {
        padding: 40px 0 90px;
    }

    .auth-box {
        padding: 27px 20px;
        border-radius: 22px;
    }

    .auth-heading h1 {
        font-size: 23px;
    }

    .auth-options {
        align-items: flex-start;
    }

}
/* =========================
   AUTH PAGES
   ========================= */

   .auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 70px 0 100px;
    background:
        radial-gradient(
            circle at 50% 20%,
            #effaf4 0%,
            #ffffff 60%
        );
}

.auth-page .container {
    width: 100%;
}

.auth-box {
    width: 100%;
    max-width: 470px;
    margin: 0 auto;
    padding: 38px;
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 28px;
    box-shadow:
        0 20px 55px rgba(23, 107, 69, 0.09);
}

.auth-heading {
    text-align: center;
    margin-bottom: 30px;
}

.auth-heading span {
    display: inline-block;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 9px;
}

.auth-heading h1 {
    color: var(--text);
    font-size: 27px;
    font-weight: 800;
    margin-bottom: 10px;
}

.auth-heading p {
    color: var(--text-light);
    font-size: 11px;
    line-height: 2;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 17px;
}

.auth-form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form-group label {
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
}

.auth-form-group label span {
    color: var(--text-light);
    font-size: 9px;
    font-weight: 500;
    margin-right: 5px;
}

.auth-form-group input {
    width: 100%;
    height: 50px;
    padding: 0 15px;
    border: 1px solid #dfeae4;
    border-radius: 13px;
    background: #fbfdfc;
    color: var(--text);
    font-family: inherit;
    font-size: 12px;
    outline: none;
    transition:
        border-color 0.25s ease,
        box-shadow 0.25s ease,
        background 0.25s ease;
}

.auth-form-group input::placeholder {
    color: #a5b3ac;
}

.auth-form-group input:focus {
    background: #ffffff;
    border-color: var(--green);
    box-shadow:
        0 0 0 4px rgba(47, 143, 99, 0.08);
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 2px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--text-light);
    font-size: 10px;
    cursor: pointer;
}

.remember-me input {
    accent-color: var(--green-dark);
}

.auth-options > a {
    color: var(--green);
    font-size: 10px;
    font-weight: 600;
}

.auth-submit {
    width: 100%;
    height: 52px;
    margin-top: 5px;
    border: none;
    border-radius: 14px;
    background: var(--green-dark);
    color: #ffffff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    box-shadow:
        0 12px 25px rgba(23, 107, 69, 0.17);
    transition:
        background 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.auth-submit:hover {
    background: #115638;
    transform: translateY(-2px);
    box-shadow:
        0 16px 30px rgba(23, 107, 69, 0.22);
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 25px 0 20px;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    color: var(--text-light);
    font-size: 10px;
}

.auth-register {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--text-light);
    font-size: 11px;
}

.auth-register a {
    color: var(--green-dark);
    font-weight: 800;
}

.auth-back {
    display: block;
    margin-top: 22px;
    text-align: center;
    color: var(--text-light);
    font-size: 10px;
    transition: color 0.25s ease;
}

.auth-back:hover {
    color: var(--green-dark);
}


/* =========================
   REGISTER AGREEMENT
   ========================= */

.register-agreement {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 2px;
    color: var(--text-light);
    font-size: 9px;
    line-height: 1.8;
    cursor: pointer;
}

.register-agreement input {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin: 1px 0 0;
    accent-color: var(--green-dark);
}


/* =========================
   MOBILE
   ========================= */

@media (max-width: 650px) {

    .auth-page {
        padding: 40px 0 90px;
    }

    .auth-box {
        padding: 27px 20px;
        border-radius: 22px;
    }

    .auth-heading h1 {
        font-size: 23px;
    }

    .auth-options {
        align-items: flex-start;
    }

}
/* =========================
   ACCOUNT PAGE
   ========================= */

   .account-page {
    min-height: calc(100vh - 80px);
    padding: 70px 0 100px;
    background:
        radial-gradient(
            circle at 50% 15%,
            #effaf4 0%,
            #ffffff 65%
        );
}

.account-heading {
    text-align: center;
    margin-bottom: 35px;
}

.account-heading span {
    display: inline-block;
    color: var(--green);
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 8px;
}

.account-heading h1 {
    color: var(--text);
    font-size: 30px;
    font-weight: 800;
    margin-bottom: 10px;
}

.account-heading p {
    color: var(--text-light);
    font-size: 12px;
}

.account-box {
    max-width: 850px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 22px;
}

.account-profile,
.account-menu {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.account-profile {
    padding: 30px;
}

.account-profile h2 {
    color: var(--text);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 25px;
}

.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px 0;
    border-bottom: 1px solid var(--border);
}

.account-row:last-child {
    border-bottom: none;
}

.account-row span {
    color: var(--text-light);
    font-size: 11px;
}

.account-row strong {
    color: var(--text);
    font-size: 12px;
    font-weight: 700;
}

.account-menu {
    padding: 12px;
    height: fit-content;
}

.account-menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 14px;
    color: var(--text);
    font-size: 11px;
    font-weight: 700;
    transition:
        background 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}

.account-menu-item:hover {
    background: var(--green-soft);
    color: var(--green-dark);
    transform: translateX(-3px);
}

.account-logout {
    color: #a33a3a;
    margin-top: 5px;
}

.account-logout:hover {
    background: #fff3f3;
    color: #922f2f;
}

@media (max-width: 750px) {

    .account-page {
        padding: 45px 0 90px;
    }

    .account-heading h1 {
        font-size: 25px;
    }

    .account-box {
        grid-template-columns: 1fr;
    }

    .account-profile {
        padding: 22px;
    }

    .account-menu {
        order: -1;
    }

    .account-row {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

}
/* ================= ADMIN LOGIN LINK ================= */

.admin-login-link {
    font-size: 9px;
    color: #d7e5dd;
    text-decoration: none;
    opacity: 0.35;
    transition: opacity 0.3s ease, color 0.3s ease;
}

.admin-login-link:hover {
    opacity: 0.8;
    color: var(--green-dark);
} /* ================= ADMIN LOGIN PASSWORD ================= */

.password-wrapper {
    position: relative;
    width: 100%;
}

.password-wrapper input {
    width: 100%;
    padding-left: 75px;
}

.password-toggle {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: var(--green-dark);

    font-family: inherit;
    font-size: 12px;

    cursor: pointer;

    padding: 5px;

    transition: opacity 0.2s ease;
}

.password-toggle:hover {
    opacity: 0.65;
}