/* PGD Car Rental - homepage, shop and product page styles */
:root{
  --pgd-green:#15803d; --pgd-green-dark:#0b3d22; --pgd-green-soft:#ecf8f0;
  --pgd-ink:#14231a; --pgd-muted:#5b6b62; --pgd-line:#e3ebe6; --pgd-radius:18px;
}

/* ---------- shared ---------- */
.pgd-wrap{max-width:1200px;margin:0 auto;padding:0 20px}
.pgd-btn,a.pgd-btn,button.pgd-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--pgd-green);color:#fff !important;padding:14px 28px;border-radius:999px;font-weight:600;font-size:16px;line-height:1.2;text-decoration:none !important;border:2px solid var(--pgd-green);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.pgd-btn:hover{background:var(--pgd-green-dark);border-color:var(--pgd-green-dark)}
.pgd-btn[disabled]{opacity:.45;cursor:not-allowed}
.pgd-btn-ghost,a.pgd-btn-ghost{background:transparent;border-color:rgba(255,255,255,.75)}
.pgd-btn-ghost:hover{background:#fff;border-color:#fff;color:var(--pgd-green-dark) !important}
.pgd-section{padding:84px 0}
.pgd-section.alt{background:var(--pgd-green-soft)}
.pgd-eyebrow{display:inline-block;font-size:13px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--pgd-green);margin:0 0 10px}
.pgd-h2{font-size:clamp(28px,4vw,42px);line-height:1.15;color:var(--pgd-ink);margin:0 0 14px;font-weight:700}
.pgd-sub{font-size:18px;color:var(--pgd-muted);max-width:640px;margin:0 0 40px}
.pgd-head{display:flex;justify-content:space-between;align-items:flex-end;gap:20px;flex-wrap:wrap;margin-bottom:34px}
.pgd-head .pgd-sub{margin-bottom:0}

/* ---------- hero ---------- */
.pgd-hero{position:relative;overflow:hidden;color:#fff;padding:200px 0 96px;
  background:radial-gradient(900px 420px at 88% 0%,rgba(74,222,128,.30),transparent 62%),linear-gradient(135deg,#052314 0%,#0b3d22 48%,#15803d 100%)}
.pgd-hero .pgd-eyebrow{color:#86efac}
.pgd-hero h1{color:#fff;font-size:clamp(38px,6.4vw,72px);line-height:1.04;font-weight:800;margin:0 0 20px;max-width:820px;letter-spacing:-.02em}
.pgd-lead{font-size:clamp(17px,2vw,21px);line-height:1.6;color:rgba(255,255,255,.88);max-width:640px;margin:0 0 34px}
.pgd-cta{display:flex;gap:14px;flex-wrap:wrap}
.pgd-facts{list-style:none;display:flex;gap:44px;flex-wrap:wrap;margin:56px 0 0;padding:26px 0 0;border-top:1px solid rgba(255,255,255,.22)}
.pgd-facts li{display:flex;flex-direction:column;gap:2px}
.pgd-facts strong{font-size:26px;font-weight:800;color:#fff}
.pgd-facts span{font-size:14px;color:rgba(255,255,255,.75)}

/* ---------- brand chips ---------- */
.pgd-chips{display:flex;flex-wrap:wrap;gap:12px}
.pgd-chip,a.pgd-chip{display:inline-flex;align-items:center;gap:8px;padding:11px 20px;border-radius:999px;background:#fff;border:1px solid var(--pgd-line);color:var(--pgd-ink) !important;font-weight:600;text-decoration:none !important;transition:.2s}
.pgd-chip small{color:var(--pgd-muted);font-weight:500}
.pgd-chip:hover{border-color:var(--pgd-green);background:var(--pgd-green);color:#fff !important}
.pgd-chip:hover small{color:rgba(255,255,255,.8)}

/* ---------- steps and reasons ---------- */
.pgd-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.pgd-grid4{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}
.pgd-card{background:#fff;border:1px solid var(--pgd-line);border-radius:var(--pgd-radius);padding:30px 26px}
.pgd-card h3{font-size:20px;margin:14px 0 8px;color:var(--pgd-ink)}
.pgd-card p{margin:0;color:var(--pgd-muted);line-height:1.6}
.pgd-num{display:inline-flex;width:44px;height:44px;border-radius:50%;align-items:center;justify-content:center;background:var(--pgd-green);color:#fff;font-weight:800;font-size:18px}
.pgd-ico{display:inline-flex;width:48px;height:48px;border-radius:14px;align-items:center;justify-content:center;background:var(--pgd-green-soft);color:var(--pgd-green);font-size:22px}

/* ---------- call to action ---------- */
.pgd-cta-band{background:linear-gradient(135deg,#0b3d22,#15803d);color:#fff;border-radius:26px;padding:56px 48px;display:flex;justify-content:space-between;align-items:center;gap:28px;flex-wrap:wrap}
.pgd-cta-band h2{color:#fff;font-size:clamp(26px,3.4vw,38px);margin:0 0 8px}
.pgd-cta-band p{margin:0;color:rgba(255,255,255,.85);font-size:17px}
.pgd-cta-band a.pgd-btn{background:#fff;color:var(--pgd-green-dark) !important;border-color:#fff}
.pgd-cta-band a.pgd-btn:hover{background:#dcfce7;border-color:#dcfce7}
.pgd-contact-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.pgd-contact-strip div{padding:6px 0}
.pgd-contact-strip strong{display:block;color:var(--pgd-ink);margin-bottom:4px}
.pgd-contact-strip a{color:var(--pgd-green)}

/* ---------- shop and car cards ---------- */
.woocommerce ul.products{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:24px;margin:0 0 20px;padding:0;list-style:none}
.woocommerce ul.products::before,.woocommerce ul.products::after{display:none !important}
.woocommerce ul.products li.product{width:auto !important;float:none !important;margin:0 !important;background:#fff;border:1px solid var(--pgd-line);border-radius:var(--pgd-radius);overflow:hidden;display:flex;flex-direction:column;transition:transform .2s,box-shadow .2s}
.woocommerce ul.products li.product:hover{transform:translateY(-4px);box-shadow:0 18px 40px rgba(11,61,34,.14)}
.woocommerce ul.products li.product a img{aspect-ratio:4/3;object-fit:cover;width:100%;margin:0 !important;display:block}
.woocommerce ul.products li.product .woocommerce-loop-product__title{font-size:18px;line-height:1.3;padding:16px 20px 0;margin:0;color:var(--pgd-ink)}
.woocommerce ul.products li.product .price{display:block;padding:6px 20px 0;color:var(--pgd-green);font-weight:700;font-size:20px}
.woocommerce ul.products li.product .price .pgd-per-day{font-size:14px;color:var(--pgd-muted);font-weight:500}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product .pgd-card-btn{margin:14px 20px 20px;background:var(--pgd-green);color:#fff;border-radius:999px;text-align:center;padding:12px 18px;font-weight:600;border:0}
.woocommerce ul.products li.product .button:hover{background:var(--pgd-green-dark);color:#fff}
.woocommerce ul.products li.product .onsale,.woocommerce .woocommerce-result-count,.woocommerce .woocommerce-ordering{display:none !important}

/* ---------- product page ---------- */
.single-product div.product.type-product{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:48px;align-items:start;padding-top:30px}
.single-product div.product .woocommerce-product-gallery{width:100% !important;float:none !important;margin:0 !important}
.single-product div.product .woocommerce-product-gallery__image img{width:100%;height:auto;border-radius:22px;display:block}
.single-product div.product .summary.entry-summary{width:100% !important;float:none !important;margin:0 !important}
.single-product div.product .product_title{font-size:clamp(26px,3vw,36px);color:var(--pgd-ink);margin:0 0 8px}
.single-product div.product .summary .price{font-size:34px;font-weight:800;color:var(--pgd-green);margin:0 0 12px}
.single-product div.product .summary .price .pgd-per-day{font-size:16px;font-weight:500;color:var(--pgd-muted)}
.single-product div.product .woocommerce-product-details__short-description{color:var(--pgd-muted);margin-bottom:14px}
.single-product div.product .woocommerce-product-details__short-description p{margin:0}
.single-product .related.products,.single-product .upsells.products{grid-column:1/-1;margin-top:40px}
.single-product .related.products>h2{font-size:28px;color:var(--pgd-ink);margin-bottom:22px}
.pgd-specs{list-style:none;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0;padding:0}
.pgd-specs li{background:var(--pgd-green-soft);border-radius:14px;padding:12px 14px;display:flex;flex-direction:column;gap:2px}
.pgd-specs span{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--pgd-muted)}
.pgd-specs strong{color:var(--pgd-ink);font-size:17px}
.pgd-book{background:#fff;border:1px solid #cfe8d8;border-radius:var(--pgd-radius);padding:24px;margin:18px 0;box-shadow:0 10px 30px rgba(11,61,34,.08)}
.pgd-book-title{margin:0 0 12px;font-size:20px;color:var(--pgd-ink)}
.pgd-book label{display:block;font-weight:600;margin-bottom:6px;color:var(--pgd-ink)}
.pgd-book .pgd-range,.pgd-book input.flatpickr-input{width:100%;padding:14px 16px;border:1px solid #cbd5cf;border-radius:12px;font-size:16px;background:#fff}
.pgd-summary{margin:14px 0;padding:14px 16px;background:var(--pgd-green-soft);border-radius:12px;color:var(--pgd-ink);font-size:16px}
.pgd-book .pgd-btn{width:100%}
.pgd-note{font-size:13px;color:var(--pgd-muted);margin:12px 0 0}
.pgd-contact{font-size:15px;color:var(--pgd-muted);margin-top:6px}
.pgd-contact a{color:var(--pgd-green);font-weight:600}
.flatpickr-day.selected,.flatpickr-day.startRange,.flatpickr-day.endRange{background:var(--pgd-green) !important;border-color:var(--pgd-green) !important}
.flatpickr-day.inRange{background:#dcfce7 !important;border-color:#dcfce7 !important;box-shadow:-5px 0 0 #dcfce7,5px 0 0 #dcfce7 !important}

/* ---------- cart and checkout ---------- */
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,.woocommerce #payment #place_order{background:var(--pgd-green) !important;color:#fff !important;border-radius:999px !important;padding:16px 28px !important;font-weight:700}
.woocommerce-checkout #payment{background:var(--pgd-green-soft);border-radius:var(--pgd-radius)}

/* ---------- responsive ---------- */
@media (max-width:991px){
  .pgd-grid3,.pgd-contact-strip{grid-template-columns:1fr}
  .pgd-grid4{grid-template-columns:repeat(2,1fr)}
  .single-product div.product.type-product{grid-template-columns:1fr;gap:26px}
  .pgd-hero{padding:150px 0 70px}
  .pgd-section{padding:60px 0}
  .pgd-cta-band{padding:40px 26px}
}
@media (max-width:560px){
  .pgd-grid4{grid-template-columns:1fr}
  .pgd-specs{grid-template-columns:1fr 1fr}
  .pgd-facts{gap:24px}
}

/* Elementor: make full-width shortcode widgets fill their container */
.elementor-element.pgd-wrap,.e-con>.pgd-wrap{width:100% !important;box-sizing:border-box}

/* Elementor sets container padding to 0 inline; give the homepage sections their breathing space back */
.elementor .e-con.pgd-section{padding-top:84px !important;padding-bottom:84px !important}
.elementor .e-con.pgd-section.alt{background:var(--pgd-green-soft)}
.elementor .e-con.pgd-home-hero{padding:0 !important}
.pgd-section .pgd-wrap>.pgd-head{margin-bottom:34px}
.elementor-widget-html,.elementor-widget-shortcode{width:100%}
@media (max-width:991px){.elementor .e-con.pgd-section{padding-top:56px !important;padding-bottom:56px !important}}

/* Theme resets paragraph margins: restore spacing under section titles */
.pgd-sub{margin:0 0 40px !important}
.pgd-h2{margin:0 0 14px !important}
.pgd-eyebrow{margin:0 0 10px !important}
.pgd-head .pgd-sub{margin-bottom:0 !important}
.pgd-card p{margin:0 !important}
.pgd-card h3{margin:14px 0 8px !important}

/* Icons as CSS masks (inline SVG is stripped by the page builder) */
.pgd-ico::before{content:"";display:block;width:24px;height:24px;background:currentColor;-webkit-mask:var(--pgd-icon) center/contain no-repeat;mask:var(--pgd-icon) center/contain no-repeat}
.pgd-ico.i-user{--pgd-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 21v-2a4 4 0 0 0-4-4H8a4 4 0 0 0-4 4v2'/%3E%3Ccircle cx='12' cy='7' r='4'/%3E%3C/svg%3E")}
.pgd-ico.i-tag{--pgd-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.59 13.41l-7.17 7.17a2 2 0 0 1-2.83 0L2 12V2h10l8.59 8.59a2 2 0 0 1 0 2.82z'/%3E%3Cline x1='7' y1='7' x2='7.01' y2='7'/%3E%3C/svg%3E")}
.pgd-ico.i-star{--pgd-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolygon points='12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2'/%3E%3C/svg%3E")}
.pgd-ico.i-globe{--pgd-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='2' y1='12' x2='22' y2='12'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E")}

/* ---------- product page: remove the blog-post look ---------- */
.single-product .content-post-sigle-title,
.single-product .entry-footer,
.single-product .social-share-article,
.single-product #comments,
.single-product .comments-area,
.single-product .comment-respond,
.single-product .post-navigation,
.single-product .post-meta,
.single-product .entry-meta,
.single-product .woocommerce-product-details__short-description{display:none !important}
.single-product .product_title{display:none !important}
.single-product .page-title{padding-bottom:0}
.single-product article.blog-single{padding-top:10px}
.single-product .pgd-book .pgd-btn,
.single-product .pgd-book button.single_add_to_cart_button{width:100%;background:var(--pgd-green) !important;color:#fff !important;border:2px solid var(--pgd-green) !important;border-radius:999px !important;padding:15px 28px !important;font-size:16px !important;font-weight:700 !important;line-height:1.2 !important}
.single-product .pgd-book button.single_add_to_cart_button[disabled]{opacity:.45;cursor:not-allowed}
.single-product .pgd-book button.single_add_to_cart_button:not([disabled]):hover{background:var(--pgd-green-dark) !important;border-color:var(--pgd-green-dark) !important}
.single-product .content-post-single>.meta,.single-product .content-post-single .meta,.single-product .item-meta,.single-product .post-date{display:none !important}

/* ---------- alignment fixes ---------- */
/* three contact blocks under the call-to-action: equal cards, centred text */
.pgd-contact-strip{display:grid !important;grid-template-columns:repeat(3,1fr) !important;gap:24px !important;align-items:stretch !important;text-align:center}
.pgd-contact-strip>div{background:#fff;border:1px solid var(--pgd-line);border-radius:var(--pgd-radius);padding:26px 18px !important;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:6px;line-height:1.6;color:var(--pgd-muted)}
.pgd-contact-strip strong{display:block;color:var(--pgd-ink);font-size:17px;margin:0 0 4px !important}
.pgd-contact-strip small{display:block;margin-top:2px}
@media (max-width:767px){.pgd-contact-strip{grid-template-columns:1fr !important}}

/* car cards: same left padding for title, price and button */
.woocommerce ul.products li.product .woocommerce-loop-product__title{padding:18px 20px 0 !important;margin:0 !important;font-size:18px !important;line-height:1.3 !important;text-align:left}
.woocommerce ul.products li.product .price{display:block !important;padding:8px 20px 0 !important;margin:0 !important;text-align:left}
.woocommerce ul.products li.product .button,.woocommerce ul.products li.product a.pgd-card-btn{display:block !important;margin:18px 20px 20px !important;text-align:center}
.woocommerce ul.products li.product a.woocommerce-LoopProduct-link{display:block}

/* ---------- product page: tighter top, extra content ---------- */
.single-product .page-title{padding:26px 0 0 !important;margin:0 !important;min-height:0 !important}
.single-product .page-title .inner-heading{margin:0 !important;padding:0 !important}
.single-product .page-title-heading{margin:0 !important;font-size:clamp(28px,3.4vw,40px)}
.single-product #primary,.single-product .content-area,.single-product main.post-wrap,.single-product article.blog-single,.single-product .content-post-single{padding-top:0 !important;margin-top:0 !important}
.single-product div.product.type-product{padding-top:14px !important}
.pgd-steps{list-style:none;counter-reset:pgd;display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:18px 0 6px;padding:0}
.pgd-steps li{counter-increment:pgd;background:#fff;border:1px solid var(--pgd-line);border-radius:14px;padding:14px 14px 14px 14px;display:flex;flex-direction:column;gap:3px;font-size:14px;color:var(--pgd-muted)}
.pgd-steps li::before{content:counter(pgd);display:inline-flex;width:26px;height:26px;border-radius:50%;background:var(--pgd-green);color:#fff;font-weight:700;font-size:13px;align-items:center;justify-content:center;margin-bottom:6px}
.pgd-steps strong{color:var(--pgd-ink);font-size:15px}
.pgd-about{grid-column:1/-1;display:grid;grid-template-columns:1.4fr 1fr;gap:40px;margin-top:34px;padding:36px;background:var(--pgd-green-soft);border-radius:22px}
.pgd-about h2{font-size:26px;margin:0 0 12px;color:var(--pgd-ink)}
.pgd-about h3{font-size:18px;margin:0 0 12px;color:var(--pgd-ink)}
.pgd-about p{margin:0 0 12px;line-height:1.7;color:var(--pgd-muted)}
.pgd-about a{color:var(--pgd-green);font-weight:600}
.pgd-about ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}
.pgd-about li{padding:12px 14px;background:#fff;border-radius:12px;line-height:1.5;color:var(--pgd-muted)}
.pgd-about li strong{color:var(--pgd-ink)}
@media (max-width:991px){.pgd-about{grid-template-columns:1fr;padding:26px}.pgd-steps{grid-template-columns:1fr}}

/* ---------- footer: four columns on the same line ---------- */
#footer .widget:first-child,#footer .widget-title,footer .widget:first-child{margin-top:0 !important}
#footer .col-md-3,#footer [class*="col-"]{align-self:flex-start}

/* product page: pull the content up under the title */
.single-product #themesflat-content.page-wrap{padding-top:8px !important}
.single-product .page-title{padding:8px 0 0 !important;height:auto !important}
.single-product .page-title .inner-heading{padding:0 !important}
.single-product .page-title-heading{line-height:1.15 !important;padding:0 !important}

/* no "Share this page" icons anywhere */
.social-share-article,.page-title .social-share-article,.themesflat-share,.share-post{display:none !important}
