form.cart {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
/* Make our inline availability notices small & red */
.wc-cb-availability.wc-cb-error {
  color: #d9534f;      /* a Bootstrap-style “danger” red */
  font-size: 0.85em;   /* a bit smaller than normal text */
  margin-top: 0.2em;
}

.coupon {
  display: none !important;
}
.woocommerce-form-coupon-toggle {
  display: none !important;
}

#wc-cb-precheckout-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
#wc-cb-precheckout-modal .wc-cb-precheckout-content {
background: #fff;
padding: 20px;
max-width: 600px;
max-height: 80vh;
overflow: auto;
}
.wc-cb-price {
font-size: 28px;
font-weight: 700;
color: #2f2e2e;
}
button#wc-cb-precheckout-decline {
margin: 0 9px 0 5px;
}
#wc-cb-postcheckout-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: rgba(0,0,0,0.6);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
#wc-cb-postcheckout-modal .wc-cb-postcheckout-content {
background: #fff;
padding: 20px;
max-width: 600px;
max-height: 80vh;
overflow: auto;
}
.wc-cb-estimate{font-weight:bold;margin-bottom:1em;}

/* =========================================================
 HiLucy – Woo Rental Product Page Polish
 Scope: single product pages only
 Paste in Customizer > Additional CSS or child theme.
========================================================= */

:root {
--hl-brand: #10a6df;            /* primary (navbar blue) */
--hl-brand-2: #0c8fc2;          /* hover/darker */
--hl-bg: #ffffff;               /* surface */
--hl-card: #f7fafc;             /* light card */
--hl-border: #e6e9ee;           /* soft border */
--hl-text: #0f172a;             /* main text */
--hl-muted: #64748b;            /* secondary text */
--hl-shadow: 0 10px 24px rgba(2, 6, 23, .06), 0 2px 6px rgba(2, 6, 23, .06);
}

/* ====== Layout / Card ====== */
/* .single-product .content-area.row.the-page-content > .col-md-12 > #product-14161,
.single-product .content-area.row.the-page-content > .col-md-12 > .product {
display: grid;
grid-template-columns: 1.2fr 1fr;      
gap: 26px;
} */

@media (max-width: 992px) {
.single-product .content-area.row.the-page-content > .col-md-12 > #product-14161,
.single-product .content-area.row.the-page-content > .col-md-12 > .product {
  grid-template-columns: 1fr;
}
}

.single-product .summary.entry-summary {
background: var(--hl-bg);
border: 1px solid var(--hl-border);
border-radius: 16px;
padding: 22px 22px 18px;
box-shadow: var(--hl-shadow);
}

/* Title */
.single-product .product_title.entry-title {
margin: 0 0 10px;
font-size: clamp(1.35rem, 1.8vw, 1.8rem);
line-height: 1.25;
color: var(--hl-text);
}

/* Price + estimate “chips” */
.single-product .summary .wc-cb-price,
.single-product .summary .wc-cb-estimate {
display: inline-flex;
align-items: center;
gap: 8px;
border-radius: 999px;
padding: 8px 12px;
margin: 2px 8px 14px 0;
font-weight: 700;
}
.single-product .summary .wc-cb-price {
background: #e6f7ff;
color: #004b66;
}
.single-product .summary .wc-cb-estimate {
background: #eefcf4;
color: #0b6b3a;
}

/* Notices / availability */
.single-product .summary .wc-cb-availability {
margin-bottom: 10px !important;
font-weight: 600 !important;
color: #10793a;
}

/* ====== Form Grid ====== */
.single-product .summary form.cart {
display: grid;
grid-template-columns: 1fr 1fr;   /* 2-up */
gap: 16px;
}

.single-product .summary .wc-cb-field {
display: grid;
gap: 8px;
}

@media (max-width: 640px) {
.single-product .summary form.cart {
  grid-template-columns: 1fr;
}
}

/* Labels */
.single-product .summary .wc-cb-field > label {
font-size: .92rem;
font-weight: 600;
color: var(--hl-muted);
}

/* Inputs + selects */
.single-product .summary input[type="date"],
.single-product .summary input[type="text"],
.single-product .summary input[type="number"],
.single-product .summary select {
width: 100%;
background: var(--hl-bg);
border: 1px solid var(--hl-border);
border-radius: 12px;
padding: 12px 14px;
font-size: 1rem;
color: var(--hl-text);
transition: border-color .2s ease, box-shadow .2s ease, transform .05s ease;
outline: none;
}
.single-product .summary input:focus,
.single-product .summary select:focus {
border-color: var(--hl-brand);
box-shadow: 0 0 0 4px rgba(16, 166, 223, .18);
}

/* Add-on checkboxes inline */
.single-product .summary .wc-cb-field > label > input[type="checkbox"] {
accent-color: var(--hl-brand);
width: 18px;
height: 18px;
margin-right: 10px;
transform: translateY(2px);
}

/* Conditional delivery fields – override inline display:none */
#delivery_address_field[style],
#return_delivery_field[style] {
display: none !important;
}

/* Quantity + CTA row */
.single-product .summary .quantity {
display: flex;
align-items: center;
gap: 10px;
}
.single-product .summary .quantity .input-text.qty {
width: 110px;
text-align: center;
border-radius: 12px;
border: 1px solid var(--hl-border);
background: var(--hl-bg);
padding: 10px 12px;
}

/* Primary button */
.single-product .summary .single_add_to_cart_button {
grid-column: 1 / -1;                /* full width under fields */
display: inline-flex;
justify-content: center;
align-items: center;
gap: 8px;
padding: 14px 18px;
border-radius: 12px;
background: var(--hl-brand);
color: #fff !important;
border: 0;
font-weight: 800;
letter-spacing: .3px;
box-shadow: 0 10px 18px rgba(16,166,223,.22);
transition: transform .05s ease, background .2s ease, box-shadow .2s ease;
}
.single-product .summary .single_add_to_cart_button:hover {
background: var(--hl-brand-2);
}
.single-product .summary .single_add_to_cart_button:active {
transform: translateY(1px);
}

/* Product meta (category) */
.single-product .product_meta {
margin-top: 10px;
padding-top: 12px;
border-top: 1px dashed var(--hl-border);
color: var(--hl-muted);
font-size: .95rem;
}

/* ====== Gallery polish (MyListing/Owl) ====== */
.single-product .c27-woocommerce-product-gallery .galleryPreview img {
border-radius: 16px;
box-shadow: var(--hl-shadow);
}
.single-product .gallery-thumb .item.slide-thumb {
border-radius: 12px;
overflow: hidden;
}

.single-product .gallery-nav a:hover {
background: #f0fbff;
}

/* ====== Pre-checkout modal ====== */
#wc-cb-precheckout-modal {
position: fixed;
inset: 0;
display: none; /* JS toggles */
place-items: center;
background: rgba(15, 23, 42, .5);
z-index: 9999;
padding: 24px;
}
#wc-cb-precheckout-modal[style*="display:block"] { display: grid !important; }
#wc-cb-precheckout-modal .wc-cb-precheckout-content {
width: min(560px, 100%);
background: var(--hl-bg);
border: 1px solid var(--hl-border);
border-radius: 16px;
box-shadow: var(--hl-shadow);
padding: 22px 22px 16px;
}
#wc-cb-precheckout-modal .button {
border-radius: 10px;
padding: 10px 14px;
border: 1px solid var(--hl-border);
background: var(--hl-card);
color: var(--hl-text);
cursor: pointer;
}
#wc-cb-precheckout-modal .button.button-primary {
background: var(--hl-brand);
border-color: var(--hl-brand);
color: #fff;
}
#wc-cb-precheckout-modal .button + .button { margin-left: 10px; }

/* ====== Tabs ====== */
.single-product .woocommerce-tabs .tabs {
border-bottom: 1px solid var(--hl-border);
margin-top: 26px;
}

.single-product .woocommerce-tabs .tabs li.active a {
background: var(--hl-brand);
color: #fff;
}

/* ====== Related products ====== */
.single-product .related.products h2 {
margin-top: 28px;
font-size: 1.2rem;
}
.single-product .related .products li.product {
border: 1px solid var(--hl-border);
border-radius: 14px;
overflow: hidden;
background: var(--hl-bg);
box-shadow: var(--hl-shadow);
transition: transform .06s ease, box-shadow .2s ease;
}
.single-product .related .products li.product:hover {
transform: translateY(-2px);
box-shadow: 0 16px 30px rgba(2, 6, 23, .08);
}
.single-product .related .products li.product .button {
border-radius: 10px;
background: var(--hl-brand);
color: #fff;
border: 0;
}
.single-product .related .products li.product .button:hover {
background: var(--hl-brand-2);
}

/* ====== Small-screen niceties ====== */
@media (max-width: 480px) {
.single-product .summary.entry-summary { padding: 18px; }
.single-product .summary .single_add_to_cart_button { width: 100%; }
.single-product .summary .quantity { justify-content: space-between; }
}
