:root{
  --green:#103f36;
  --green2:#18594b;
  --text:#17342e;
  --muted:#6f817d;
  --line:#dfe8e5;
  --soft:#f5f8f7;
}

*{box-sizing:border-box}

body{
  margin:0;
  direction:rtl;
  background:#f7f9f8;
  color:var(--text);
  font-family:Tahoma,Arial,sans-serif;
}

.catalog-header{
  background:#fff;
  border-bottom:1px solid var(--line);
  padding:18px 28px;
  position:sticky;
  top:0;
  z-index:20;
}

.catalog-nav{
  max-width:1240px;
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
}

.catalog-logo{
  color:var(--green);
  font-family:Georgia,serif;
  font-size:28px;
  font-weight:700;
  letter-spacing:5px;
  text-decoration:none;
}

.catalog-links{
  display:flex;
  gap:20px;
  align-items:center;
}

.catalog-links a{
  color:var(--text);
  text-decoration:none;
}

.catalog-main{
  max-width:1240px;
  margin:auto;
  padding:70px 24px 90px;
}

.catalog-hero{
  text-align:center;
  margin-bottom:46px;
}

.catalog-hero small{
  color:var(--green2);
  font-weight:700;
}

.catalog-hero h1{
  margin:12px 0;
  font-size:clamp(34px,5vw,58px);
}

.catalog-hero p{
  max-width:680px;
  margin:auto;
  line-height:2;
  color:var(--muted);
}

.catalog-search{
  max-width:520px;
  margin:32px auto 0;
}

.catalog-search input{
  width:100%;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  padding:16px 18px;
  font:inherit;
}

.products-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:22px;
}

.product-card{
  background:#fff;
  border:1px solid var(--line);
  border-radius:24px;
  padding:26px;
  min-height:280px;
  display:flex;
  flex-direction:column;
  transition:.25s ease;
}

.product-card:hover{
  transform:translateY(-4px);
  box-shadow:0 20px 50px rgba(16,63,54,.08);
}

.product-card.bundle{
  background:var(--green);
  color:#fff;
}

.product-card small{
  opacity:.7;
}

.product-card h2{
  font-size:23px;
  line-height:1.7;
  margin:12px 0;
}

.price{
  font-size:24px;
  font-weight:700;
  margin-top:auto;
  padding-top:22px;
}

.product-actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  margin-top:18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  border-radius:12px;
  padding:0 17px;
  text-decoration:none;
  font-weight:700;
}

.btn-primary{
  background:var(--green);
  color:#fff;
}

.bundle .btn-primary{
  background:#fff;
  color:var(--green);
}

.btn-outline{
  border:1px solid currentColor;
  color:inherit;
}

.catalog-footer{
  padding:35px 24px;
  background:var(--green);
  color:#fff;
  text-align:center;
}

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

@media(max-width:620px){
  .catalog-links{
    display:none;
  }

  .products-grid{
    grid-template-columns:1fr;
  }

  .catalog-main{
    padding-top:45px;
  }
}


/* ======================================================
   PAIDIA STORE DESIGN SYSTEM V2
   ====================================================== */

.product-cover-wrap{
  aspect-ratio:3/4;
  overflow:hidden;
  border-radius:18px;
  background:#edf3f1;
  margin-bottom:20px;
  position:relative;
}

.product-cover-wrap img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}

.product-cover-placeholder{
  width:100%;
  height:100%;
  display:grid;
  place-items:center;
  text-align:center;
  padding:20px;
  background:
    linear-gradient(
      145deg,
      #e8f0ed,
      #f8faf9
    );
  color:#59736d;
}

.breadcrumb{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  align-items:center;
  margin-bottom:32px;
  font-size:14px;
  color:var(--muted);
}

.breadcrumb a{
  color:var(--green2);
  text-decoration:none;
}

.product-detail{
  display:grid;
  grid-template-columns:minmax(260px,360px) 1fr;
  gap:48px;
  align-items:start;
}

.product-detail-cover{
  position:sticky;
  top:110px;
}

.product-detail-cover img{
  width:100%;
  display:block;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:24px;
  box-shadow:
    0 22px 60px rgba(16,63,54,.14);
}

.product-detail-content{
  background:#fff;
  border:1px solid var(--line);
  border-radius:28px;
  padding:36px;
}

.product-detail-content h1{
  font-size:clamp(30px,4vw,48px);
  line-height:1.55;
  margin:10px 0 18px;
}

.product-meta{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:22px 0;
}

.product-meta span{
  padding:8px 12px;
  border-radius:999px;
  background:#edf4f1;
  color:var(--green);
  font-size:13px;
}

.store-section{
  margin-top:54px;
}

.store-section-title{
  margin-bottom:20px;
}

.sigma-cover-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:14px;
}

.sigma-cover-item{
  display:block;
  text-decoration:none;
  color:inherit;
}

.sigma-cover-item img{
  width:100%;
  aspect-ratio:3/4;
  object-fit:cover;
  border-radius:16px;
  display:block;
  transition:.25s ease;
}

.sigma-cover-item:hover img{
  transform:translateY(-5px);
  box-shadow:0 18px 38px rgba(16,63,54,.13);
}

.paidia-faq{
  display:grid;
  gap:12px;
}

.paidia-faq details{
  background:#fff;
  border:1px solid var(--line);
  border-radius:18px;
  padding:0 20px;
}

.paidia-faq summary{
  cursor:pointer;
  padding:20px 0;
  font-weight:700;
}

.paidia-faq details p{
  color:var(--muted);
  line-height:2;
  margin-top:0;
  padding-bottom:20px;
}

.paidia-trust-badge{
  margin-top:30px;
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:120px;
  padding:18px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:20px;
}

.paidia-trust-badge img{
  max-width:110px;
  max-height:110px;
  object-fit:contain;
}


/* Dark store theme */

html[data-paidia-theme="dark"] body{
  background:#0c2722;
  color:#edf5f2;
}

html[data-paidia-theme="dark"] .catalog-header,
html[data-paidia-theme="dark"] .product-card,
html[data-paidia-theme="dark"] .product-detail-content,
html[data-paidia-theme="dark"] .buy-step,
html[data-paidia-theme="dark"] .paidia-faq details,
html[data-paidia-theme="dark"] .paidia-trust-badge{
  background:#12352e;
  color:#edf5f2;
  border-color:rgba(255,255,255,.10);
}

html[data-paidia-theme="dark"] .catalog-links a,
html[data-paidia-theme="dark"] .catalog-logo{
  color:#edf5f2;
}

html[data-paidia-theme="dark"] .catalog-search input{
  background:#163d35;
  border-color:rgba(255,255,255,.12);
  color:#fff;
}

html[data-paidia-theme="dark"] .product-meta span{
  background:#1d4d43;
  color:#fff;
}

html[data-paidia-theme="dark"] .catalog-hero p,
html[data-paidia-theme="dark"] .paidia-faq details p{
  color:#b9cbc6;
}


@media(max-width:900px){

  .product-detail{
    grid-template-columns:1fr;
    gap:28px;
  }

  .product-detail-cover{
    position:static;
    max-width:350px;
    margin:auto;
  }

  .sigma-cover-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }
}

@media(max-width:560px){

  .product-detail-content{
    padding:23px;
    border-radius:22px;
  }

  .sigma-cover-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

/* ===== END PAIDIA STORE DESIGN SYSTEM V2 ===== */

