/* DentifyLab | Dental Olcu Yontemleri — Category ID 18
   Scoped deliberately to PrestaShop's category-id-18 body class.
   Add this stylesheet after your current theme.css. */
body#category.category-id-18 {
  --dim-ink:#182f2e;
  --dim-muted:#617471;
  --dim-green:#267766;
  --dim-line:#e1eae6;
  --dim-soft:#f5f9f7;
  --dim-shadow:0 18px 45px rgba(25,59,52,.075);
}
body#category.category-id-18 #wrapper {background:#fff;}
body#category.category-id-18 #main {min-width:0;}
/* Hero injected into category description */
body#category.category-id-18 .dim-collection-hero {
  position:relative; isolation:isolate; overflow:hidden;
  padding:clamp(30px,5.4vw,74px); margin:0 0 32px;
  border:1px solid #dbece5; border-radius:26px;
  background:linear-gradient(112deg,#edf8f2 0%,#f7fbf9 59%,#fff 100%);
  color:var(--dim-ink); box-shadow:var(--dim-shadow);
}
body#category.category-id-18 .dim-collection-hero:after {
  content:""; position:absolute; z-index:-1; width:370px;height:370px;
  border:1px solid rgba(49,122,102,.16); border-radius:50%;
  right:-120px;top:-170px;box-shadow:0 0 0 62px rgba(86,155,130,.035),0 0 0 132px rgba(86,155,130,.025);
}
body#category.category-id-18 .dim-collection-hero__tag,
body#category.category-id-18 .dim-section-tag {
  color:var(--dim-green);font-size:11px;letter-spacing:.18em;font-weight:800;text-transform:uppercase;
}
body#category.category-id-18 .dim-collection-hero h1 {
  font-size:clamp(29px,3.8vw,49px);line-height:1.12;letter-spacing:-.035em;
  margin:14px 0 14px;color:var(--dim-ink);font-weight:800;
}
body#category.category-id-18 .dim-collection-hero p {max-width:720px;font-size:clamp(14px,1.4vw,17px);line-height:1.85;color:#506663;margin:0 0 22px;}
body#category.category-id-18 .dim-collection-hero__chips {display:flex;flex-wrap:wrap;gap:9px;margin-bottom:25px;}
body#category.category-id-18 .dim-collection-hero__chips span {
  border:1px solid #d3e6db;background:rgba(255,255,255,.82);border-radius:999px;
  padding:8px 13px;color:#315f53;font-size:12px;font-weight:650;
}
body#category.category-id-18 .dim-collection-hero__actions {display:flex;gap:10px;flex-wrap:wrap;}
body#category.category-id-18 .dim-collection-hero__actions a {
  padding:12px 18px;border-radius:10px;text-decoration:none!important;font-weight:700;font-size:13px;
  border:1px solid #2e7866;color:#fff;background:#2e7866;transition:transform .2s,background .2s;
}
body#category.category-id-18 .dim-collection-hero__actions a:nth-child(2){background:#fff;color:#276858;border-color:#bcd8ca;}
body#category.category-id-18 .dim-collection-hero__actions a:hover {transform:translateY(-2px);background:#205b4d;color:#fff;}
body#category.category-id-18 .dim-collection-hero__actions a:nth-child(2):hover {background:#e8f5ed;color:#205b4d;}
body#category.category-id-18 .dim-section-intro {margin:10px 0 23px;}
body#category.category-id-18 .dim-section-intro h2 {font-size:clamp(23px,2.5vw,32px);letter-spacing:-.02em;color:var(--dim-ink);margin:7px 0 7px;font-weight:800;}
body#category.category-id-18 .dim-section-intro p {margin:0;color:var(--dim-muted);font-size:14px;}
/* Avoid duplicating the default category title when custom intro is present */
body#category.category-id-18:has(.dim-collection-hero) #js-product-list-header > h1,
body#category.category-id-18:has(.dim-collection-hero) #js-product-list-header .h1,
body#category.category-id-18:has(.dim-collection-hero) .block-category > h1,
body#category.category-id-18:has(.dim-collection-hero) .block-category > .h1 {display:none!important;}
/* Product layout for standard PrestaShop classic and common custom themes */
body#category.category-id-18 #js-product-list .products,
body#category.category-id-18 #products .products {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:stretch;}
body#category.category-id-18 #js-product-list .products > article,
body#category.category-id-18 #js-product-list .products > .product,
body#category.category-id-18 #products .products > article {width:100%!important;max-width:none!important;margin:0!important;float:none!important;min-width:0;}
body#category.category-id-18 .product-miniature {
  height:100%;border-radius:20px!important;overflow:hidden;background:#fff;
  border:1px solid var(--dim-line)!important;box-shadow:0 9px 25px rgba(25,59,52,.05);
  transition:transform .25s,box-shadow .25s,border-color .25s;
}
body#category.category-id-18 .product-miniature:hover {transform:translateY(-5px);box-shadow:var(--dim-shadow);border-color:#b9d8c9!important;}
body#category.category-id-18 .product-miniature .thumbnail-container {width:100%!important;max-width:100%!important;height:auto!important;box-shadow:none!important;margin:0!important;}
body#category.category-id-18 .product-miniature .product-thumbnail {display:block;overflow:hidden;background:var(--dim-soft);}
body#category.category-id-18 .product-miniature .product-thumbnail img {display:block;max-width:100%;width:100%;height:clamp(195px,24vw,310px);object-fit:contain;transition:transform .35s;}
body#category.category-id-18 .product-miniature:hover .product-thumbnail img {transform:scale(1.035);}
body#category.category-id-18 .product-miniature .product-description {position:relative!important;top:auto!important;left:auto!important;width:100%!important;height:auto!important;padding:20px 22px 24px!important;background:#fff;text-align:left;}
body#category.category-id-18 .product-miniature .product-title,
body#category.category-id-18 .product-miniature .product-title a {font-weight:750!important;color:var(--dim-ink)!important;font-size:clamp(17px,1.65vw,21px)!important;line-height:1.35;text-decoration:none!important;}
body#category.category-id-18 .product-miniature .product-price-and-shipping {margin-top:12px!important;color:#247460!important;font-size:clamp(18px,2vw,24px)!important;font-weight:800!important;}
body#category.category-id-18 .product-miniature .product-price-and-shipping .price {color:#247460!important;font-weight:800!important;}
body#category.category-id-18 .product-miniature .product-flags .product-flag {background:#2d7965!important;border-radius:7px!important;font-size:11px;}
body#category.category-id-18 .product-miniature .btn,
body#category.category-id-18 .product-miniature button.add-to-cart {border-radius:10px!important;}
body#category.category-id-18 .products-sort-order .select-title {border-radius:10px;border:1px solid var(--dim-line);}
body#category.category-id-18 .pagination {border-top:1px solid var(--dim-line);margin-top:25px;padding-top:20px;}
@media(max-width:767px){
  body#category.category-id-18 .dim-collection-hero{padding:25px 20px;border-radius:18px;margin-bottom:24px;}
  body#category.category-id-18 .dim-collection-hero__actions a {width:100%;text-align:center;}
  body#category.category-id-18 #js-product-list .products,
  body#category.category-id-18 #products .products {grid-template-columns:minmax(0,1fr);gap:18px;}
  body#category.category-id-18 .product-miniature .product-thumbnail img {height:230px;}
  body#category.category-id-18 .product-miniature .product-description{padding:17px 18px 21px!important;}
}
@media(prefers-reduced-motion:reduce){body#category.category-id-18 .product-miniature,body#category.category-id-18 .product-miniature img,body#category.category-id-18 .dim-collection-hero__actions a{transition:none!important;}}


/* DENTIFYLAB - KATEGORI 18 TAM GENISLIK */

/* Sol sütunu kaldır */
body#category.category-id-18 #left-column {
    display: none !important;
}

/* Ana içerik alanını %100 genişlet */
body#category.category-id-18 #content-wrapper {
    flex: 0 0 100% !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* İçeriği tam genişlikte göster */
body#category.category-id-18 #main,
body#category.category-id-18 #products {
    width: 100% !important;
    max-width: 100% !important;
}

/* Kategori tanıtım bölümünü genişlet */
body#category.category-id-18 .category-description {
    width: 100% !important;
    max-width: 100% !important;
}

/* Mobil uyumluluk */
@media (max-width: 767px) {
    body#category.category-id-18 #content-wrapper {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}
