/* Bigcrea custom overrides */

/* wider dropdown submenus */
.main-menu .navigation > li > ul,
.main-menu .navigation > li > ul > li > ul {
    width: 290px;
}
.main-menu .navigation > li > ul > li > a,
.main-menu .navigation > li > ul > li > ul > li > a {
    white-space: normal;
    line-height: 1.4;
}

/* uniform card image heights (blog grid, services, products) */
.news-block .inner-box .image-box figure.image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}
.service-block .inner-box .image-box figure.image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}
/* blog post hero image */
.blog-details__img > img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
}

/* ---- blog toolbar: search + categories ---- */
.blog-toolbar { max-width: 1100px; margin: 0 auto 40px; text-align: center; }
.blog-search {
    display: flex; max-width: 480px; margin: 0 auto 24px;
    border: 2px solid #e6e8ec; border-radius: 30px; overflow: hidden; background: #fff;
}
.blog-search input {
    flex: 1; border: 0; outline: none; padding: 12px 22px; font-size: 15px; background: transparent;
}
.blog-search button {
    border: 0; background: #20c2b6; color: #fff; padding: 0 26px; cursor: pointer; transition: background .3s;
}
.blog-search button:hover { background: #17a89d; }
.blog-cats { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.blog-cats a {
    display: inline-block; padding: 7px 16px; border-radius: 20px;
    background: #f1f3f6; color: #222429; font-size: 13px; font-weight: 600;
    transition: all .25s; line-height: 1.4;
}
.blog-cats a span { font-weight: 400; opacity: .55; }
.blog-cats a:hover { background: #dff5f3; color: #17a89d; }
.blog-cats a.active { background: #20c2b6; color: #fff; }
.blog-cats a.active span { opacity: .8; }
.blog-result-info { margin-top: 18px; color: #666; font-size: 14px; }

/* 4-column blog grid */
.blog-grid .news-block .inner-box .image-box figure.image img { height: 190px; }
.blog-grid .news-block .title a { font-size: 17px; line-height: 1.45; }

/* ---- blog pagination ---- */
.blog-pagination { display: flex; gap: 8px; justify-content: center; margin-top: 30px; }
.blog-pagination a {
    display: flex; align-items: center; justify-content: center;
    min-width: 44px; height: 44px; padding: 0 14px; border-radius: 22px;
    background: #f1f3f6; color: #222429; font-weight: 600; font-size: 15px;
    transition: all .25s;
}
.blog-pagination a:hover { background: #dff5f3; color: #17a89d; }
.blog-pagination a.active { background: #20c2b6; color: #fff; }
.blog-pagination a.page-arrow { background: #fff; border: 2px solid #e6e8ec; }
.blog-pagination a.page-arrow:hover { border-color: #20c2b6; color: #17a89d; }
.blog-page-info { text-align: center; margin-top: 14px; color: #888; font-size: 13px; }

/* ============================================================
   Product detail pages (demo-*.php) + checkout + WhatsApp
   ============================================================ */
.pd-top { padding: 70px 0 40px; }
.pd-gallery { margin-bottom: 30px; }
.pd-tabs { display: flex; gap: 8px; margin-bottom: 14px; }
.pd-tabs button {
    padding: 9px 20px; border-radius: 22px; border: 2px solid #e6e8ec; background: #fff;
    font-weight: 600; font-size: 14px; color: #555; cursor: pointer; transition: all .25s;
}
.pd-tabs button.active { background: #20c2b6; border-color: #20c2b6; color: #fff; }
.pd-tabs button:hover { border-color: #20c2b6; color: #17a89d; }
.pd-tabs button.active:hover { color: #fff; }
.pd-frame {
    position: relative; width: 100%; aspect-ratio: 16/10; overflow: hidden;
    border-radius: 12px; border: 1px solid #e6e8ec; background: #f6f7f9;
    box-shadow: 0 18px 50px rgba(34,36,41,.12);
}
.pd-frame iframe {
    width: 200%; height: 200%; border: 0;
    transform: scale(.5); transform-origin: 0 0;
}
.pd-frame-note { margin-top: 12px; font-size: 13px; color: #777; }
.pd-frame-note em { color: #17a89d; font-style: normal; font-weight: 600; }
.pd-demo-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pd-buy .pd-kicker {
    display: inline-block; background: #dff5f3; color: #17a89d; font-size: 12px;
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
    padding: 5px 14px; border-radius: 14px; margin-bottom: 12px;
}
.pd-buy h2 { font-size: 30px; line-height: 1.25; margin-bottom: 14px; }
.pd-intro { color: #666; margin-bottom: 20px; }
.pd-price { background: #f6f9f9; border: 1px solid #e2ecea; border-radius: 12px; padding: 18px 20px; margin-bottom: 18px; }
.pd-price-row { display: flex; justify-content: space-between; align-items: baseline; padding: 4px 0; font-size: 15px; color: #555; }
.pd-price-row b { font-size: 26px; color: #222429; }
.pd-price-row b small { font-size: 14px; color: #888; font-weight: 600; }
.pd-price-note { border-top: 1px dashed #cfe0dd; margin-top: 10px; padding-top: 12px; font-size: 13px; color: #666; }
.pd-ctas { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-bottom: 18px; }
.pd-buy-btn { flex: 1; min-width: 220px; text-align: center; }
.pd-wa-btn {
    display: inline-flex; align-items: center; gap: 8px; background: #25d366; color: #fff;
    font-weight: 700; font-size: 15px; padding: 13px 22px; border-radius: 26px; transition: all .25s;
}
.pd-wa-btn:hover { background: #1eb857; color: #fff; }
.pd-wa-btn.big { margin-top: 16px; }
.pd-usps { list-style: none; padding: 0; margin: 0; }
.pd-usps li { padding: 4px 0; color: #444; font-size: 15px; }

.pd-features { padding: 60px 0; background: #f6f7f9; }
.pd-feature {
    background: #fff; border-radius: 12px; padding: 26px 24px; height: 100%;
    margin-bottom: 24px; box-shadow: 0 8px 26px rgba(34,36,41,.06); transition: transform .25s;
}
.pd-feature:hover { transform: translateY(-4px); }
.pd-feature .ic { font-size: 30px; display: block; margin-bottom: 12px; }
.pd-feature h4 { font-size: 18px; margin-bottom: 8px; }
.pd-feature p { color: #666; font-size: 14px; margin: 0; }

.pd-steps { padding: 60px 0 40px; }
.pd-step { text-align: center; padding: 0 18px; margin-bottom: 26px; }
.pd-step .n {
    display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px;
    border-radius: 50%; background: #20c2b6; color: #fff; font-size: 22px; font-weight: 700; margin-bottom: 14px;
}
.pd-step h4 { font-size: 19px; margin-bottom: 8px; }
.pd-step p { color: #666; font-size: 14px; }

.pd-included { padding: 50px 0; background: #222429; color: #cfd4dc; }
.pd-included .sec-title h2 { color: #fff; }
.pd-included-note { color: #9aa1ac; margin-top: 10px; }
.pd-inc-list { list-style: none; padding: 0; margin: 0; }
.pd-inc-list li { padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 15px; }
.pd-inc-list li:last-child { border-bottom: 0; }

.pd-faq { padding: 60px 0; }
.pd-faq-list { max-width: 760px; margin: 0 auto; }
.pd-faq-item { border: 1px solid #e6e8ec; border-radius: 10px; margin-bottom: 12px; background: #fff; }
.pd-faq-item summary {
    padding: 16px 20px; font-weight: 600; font-size: 16px; cursor: pointer; list-style: none;
    position: relative; padding-right: 44px;
}
.pd-faq-item summary::-webkit-details-marker { display: none; }
.pd-faq-item summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 22px; color: #20c2b6; }
.pd-faq-item[open] summary::after { content: "\2212"; }
.pd-faq-item p { padding: 0 20px 16px; color: #666; margin: 0; }

.pd-enquiry { padding: 60px 0; background: #f6f7f9; }
.pd-related { padding: 60px 0 40px; }
.pd-rel-card {
    display: block; background: #fff; border: 1px solid #e6e8ec; border-radius: 12px;
    padding: 24px; margin-bottom: 24px; transition: all .25s; height: calc(100% - 24px);
}
.pd-rel-card:hover { border-color: #20c2b6; box-shadow: 0 14px 40px rgba(34,36,41,.1); transform: translateY(-3px); }
.pd-rel-kicker { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #17a89d; }
.pd-rel-card h4 { font-size: 18px; margin: 8px 0 10px; color: #222429; }
.pd-rel-price { display: block; font-weight: 700; color: #222429; margin-bottom: 10px; }
.pd-rel-link { color: #17a89d; font-weight: 600; font-size: 14px; }

.wa-float {
    position: fixed; right: 22px; bottom: 22px; z-index: 999; width: 58px; height: 58px;
    border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 30px rgba(0,0,0,.25); transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* checkout */
.co-section { padding: 70px 0; }
.co-summary { background: #f6f9f9; border: 1px solid #e2ecea; border-radius: 12px; padding: 24px; margin-bottom: 24px; }
.co-summary h4 { font-size: 18px; margin-bottom: 14px; }
.co-line { display: flex; justify-content: space-between; padding: 7px 0; font-size: 15px; color: #555; border-bottom: 1px dashed #dbe7e4; }
.co-line b { color: #222429; }
.co-line.total { border-bottom: 0; padding-top: 12px; font-size: 17px; }
.co-line.total b { font-size: 22px; }
.co-note { background: #fff8ec; border: 1px solid #f2e2bd; color: #8a6d1f; border-radius: 10px; padding: 12px 16px; font-size: 13.5px; margin: 16px 0; }
.co-success { text-align: center; padding: 40px 20px; }
.co-success .tick {
    width: 76px; height: 76px; border-radius: 50%; background: #dff5f3; color: #17a89d;
    font-size: 34px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px;
}

/* products grid redesign */
.prod-grid { padding: 20px 0 40px; }
.prod-card {
    background: #fff; border: 1px solid #e6e8ec; border-radius: 14px; overflow: hidden;
    margin-bottom: 30px; transition: all .25s; display: flex; flex-direction: column; height: calc(100% - 30px);
}
.prod-card:hover { box-shadow: 0 20px 50px rgba(34,36,41,.12); transform: translateY(-4px); border-color: #cfe0dd; }
.prod-card .shot { position: relative; aspect-ratio: 16/10; overflow: hidden; background: #f6f7f9; display: block; }
.prod-card .shot iframe {
    width: 250%; height: 250%; border: 0; transform: scale(.4); transform-origin: 0 0; pointer-events: none;
}
.prod-card .shot img { width: 100%; height: 100%; object-fit: cover; }
.prod-card .shot .live-badge {
    position: absolute; top: 12px; left: 12px; background: #20c2b6; color: #fff; font-size: 11px;
    font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 14px; z-index: 2;
}
.prod-card .shot .shot-cover { position: absolute; inset: 0; z-index: 1; }
.prod-card .body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.prod-card h4 { font-size: 19px; margin-bottom: 6px; }
.prod-card h4 a { color: #222429; }
.prod-card h4 a:hover { color: #17a89d; }
.prod-card .desc { color: #666; font-size: 14px; flex: 1; }
.prod-card .price { margin: 12px 0; font-size: 14px; color: #666; }
.prod-card .price b { color: #222429; font-size: 20px; }
.prod-card .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.prod-card .actions .a-buy {
    flex: 1; text-align: center; background: #20c2b6; color: #fff; font-weight: 700; font-size: 14px;
    padding: 11px 16px; border-radius: 22px; transition: background .25s; min-width: 130px;
}
.prod-card .actions .a-buy:hover { background: #17a89d; color: #fff; }
.prod-card .actions .a-view {
    flex: 1; text-align: center; border: 2px solid #e6e8ec; color: #222429; font-weight: 600; font-size: 14px;
    padding: 9px 16px; border-radius: 22px; transition: all .25s; min-width: 130px;
}
.prod-card .actions .a-view:hover { border-color: #20c2b6; color: #17a89d; }

@media (max-width: 991px) {
    .pd-buy { margin-top: 30px; }
    .pd-buy h2 { font-size: 25px; }
}

/* ---- products: toolbar, categories, 4-up grid ---- */
.prod-toolbar { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 6px; }
.prod-search { flex: 1; min-width: 240px; }
.prod-search input {
    width: 100%; font-family: inherit; font-size: 15px; padding: 12px 20px;
    border: 2px solid #e6e8ec; border-radius: 26px; background: #fff; transition: border-color .25s;
}
.prod-search input:focus { outline: none; border-color: #20c2b6; }
.prod-cats { display: flex; gap: 8px; flex-wrap: wrap; }
.prod-cats button {
    padding: 9px 18px; border-radius: 22px; border: 2px solid #e6e8ec; background: #fff;
    font-weight: 600; font-size: 13.5px; color: #555; cursor: pointer; transition: all .25s;
}
.prod-cats button:hover { border-color: #20c2b6; color: #17a89d; }
.prod-cats button.active { background: #222429; border-color: #222429; color: #fff; }
.prod-count { color: #888; font-size: 13.5px; font-weight: 600; margin: 10px 2px 16px; }
.prod-none { display: none; text-align: center; color: #888; padding: 50px 20px; font-size: 15px; }
.prod-card .shot .cat-badge {
    position: absolute; top: 12px; right: 12px; background: rgba(34,36,41,.82); color: #fff;
    font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
    padding: 4px 10px; border-radius: 12px; z-index: 2;
}
.prod-card.prod-sm .body { padding: 16px 16px 18px; }
.prod-card.prod-sm h4 { font-size: 15.5px; line-height: 1.35; }
.prod-card.prod-sm .desc { font-size: 13px; }
.prod-card.prod-sm .price { font-size: 12.5px; margin: 10px 0; }
.prod-card.prod-sm .price b { font-size: 17px; }
.prod-card.prod-sm .actions .a-buy,
.prod-card.prod-sm .actions .a-view { min-width: 0; font-size: 13px; padding: 9px 12px; }

/* ------------------------------------------------------------------
   list-style-two is styled white-on-dark by the template (it lives in
   the dark "offer" band on the home page). On the light corporate
   pages that made the text invisible — white on white.
   ------------------------------------------------------------------ */
.corporate-page .list-style-two li,
.services-details__content .list-style-two li{color:var(--text-color)}
.corporate-page .list-style-two li i,
.services-details__content .list-style-two li i{color:var(--theme-color2)}
.corporate-page .list-style-two li a,
.services-details__content .list-style-two li a{color:var(--theme-color1)}

/* ------------------------------------------------------------------
   Image-free layouts. The template pairs each text block with a photo
   column; where the photo was stock imagery pretending to be ours it
   has been removed, so the text now spans the full width and the
   sub-blocks lay out in a grid instead of a single tall column.
   ------------------------------------------------------------------ */
.about-section .content-column .content-box,
.about-section .content-column .about-block{margin-left:0}
@media(min-width:992px){
  .about-section .content-column .content-box{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:26px;align-items:start}
  .about-section .content-column .sec-title .text{max-width:74ch}
  .offer-section .content-column .list-style-two{column-count:2;column-gap:48px}
  .offer-section .content-column .list-style-two li{break-inside:avoid}
  .offer-section .content-column .sec-title .text{max-width:74ch}
}
.offer-section .content-column .inner-column{padding-right:0}
.about-section .content-column .content-box{padding-right:0}
/* dark "Why choose Bigcrea" band: keep the checklist white, not body grey */
.offer-section .list-style-two li{color:#fff}
.offer-section .list-style-two li i{color:var(--theme-color2)}

/* ------------------------------------------------------------------
   Imagery sizing. Source images are now 1200x675 so detail pages can
   show them full width instead of the old 340px thumbnails; cards get
   a fixed ratio so the grid stays even whatever the source.
   ------------------------------------------------------------------ */
.services-details__content > img,
.services-details__content > p > img{width:100%;height:auto;border-radius:14px;margin-bottom:8px}
.service-block .image img,
.news-block .image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:cover}
.feature-block .image img{width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}

/* ------------------------------------------------------------------
   Form fields. The template gives inputs a #f4f5f8 border on a #f4f5f8
   fill, so on the light product/contact sections the boxes disappear —
   you cannot see where to type. Give them a real edge and a white fill,
   plus a visible focus ring for keyboard and accessibility.
   ------------------------------------------------------------------ */
.form-control,
.pd-form .form-control,
.co-section .form-control{
  background:#fff;
  border:1px solid #d5dae2;
  border-radius:8px;
  color:var(--theme-color1);
  transition:border-color .15s, box-shadow .15s;
}
.form-control::placeholder{color:#98a0ab;opacity:1}
.form-control:hover{border-color:#b9c1cc}
.form-control:focus,
.pd-form .form-control:focus,
.co-section .form-control:focus{
  background:#fff;
  border-color:var(--theme-color2);
  box-shadow:0 0 0 3px rgba(44,172,180,.18);
  outline:none;
}
textarea.form-control{min-height:140px;padding-top:14px}
