/*
 Theme Name:   Woodmart Child
 Description:  Woodmart Child Theme
 Author:       XTemos
 Author URI:   http://xtemos.com
 Template:     woodmart
 Version:      1.0.0
 Text Domain:  woodmart
*/
.wd-prefooter .flipbook {
    display: none;
}

.woodmart-archive-blog .flipbook {
    display: block;
}

a.button.fgf-add-manual-gift-product {
    background: #78B9BA;
    color: #fff;
}
@media screen and (min-width:991px) {
/* Checkout review table: keep the price column tight & on one line */
.woocommerce-checkout-review-order-table th.product-total,
.woocommerce-checkout-review-order-table td.product-total {
  text-align: right;
  white-space: nowrap;   /* don't break the price */
  width: 35%;             /* shrink-to-fit */
}

/* Let the name/variations take the remaining width */
.woocommerce-checkout-review-order-table th.product-name,
.woocommerce-checkout-review-order-table td.product-name {
  width: 65%;
}


/* ---- CART TABLE: keep numeric columns compact ---- */
.woocommerce-cart-form__contents th.product-price,
.woocommerce-cart-form__contents td.product-price,
.woocommerce-cart-form__contents th.product-subtotal,
.woocommerce-cart-form__contents td.product-subtotal {
  text-align: right;
  white-space: nowrap;  /* don't break price/subtotal */
  width: 1%;            /* shrink-to-fit */
}

/* Show unit price on its own line so it doesn't bloat the column */
.woocommerce-cart-form__contents td.product-price .unit-price {
  display: block;       /* move under the main price */
  white-space: normal;  /* allow wrapping */
  line-height: 1.25;
  margin-top: 2px;
  opacity: .85;         /* optional */
}

/* Let product name/variations wrap and take remaining width */
.woocommerce-cart-form__contents th.product-name,
.woocommerce-cart-form__contents td.product-name {
  width: 99%;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.woocommerce-cart-form__contents td.product-name .variation,
.woocommerce-cart-form__contents td.product-name .item-variation-value,
.woocommerce-cart-form__contents td.product-name .wc-gzd-cart-info {
  white-space: normal;
}

/* Keep thumbnails tiny so they don't force the row wide */
.woocommerce-cart-form__contents td.product-thumbnail img {
  max-width: 60px;
  height: auto;
}

/* Narrow utility columns */
.woocommerce-cart-form__contents th.product-remove,
.woocommerce-cart-form__contents td.product-remove { width: 32px; }
.woocommerce-cart-form__contents th.product-thumbnail,
.woocommerce-cart-form__contents td.product-thumbnail { width: 72px; }
.woocommerce-cart-form__contents th.product-quantity,
.woocommerce-cart-form__contents td.product-quantity { width: 120px; }

/* If present (Germanized), keep name row neat when thumbnail + text inline */
.woocommerce-cart-form__contents .wc-gzd-cart-item-name-wrapper {
  display: flex;
  align-items: center;
  gap: .75rem;
}
}
/* ---- Mobile tweaks (Woodmart/Woo responsive tables) ---- */
@media (max-width: 768px) {
  .shop_table_responsive.woocommerce-cart-form__contents td.product-price,
  .shop_table_responsive.woocommerce-cart-form__contents td.product-subtotal {
    text-align: right;
    white-space: nowrap;
  }
  /* keep the auto-generated left labels (:before) left-aligned */
  .shop_table_responsive.woocommerce-cart-form__contents td:before { float: left; }
}

h3#order_review_heading {
    color: #fff;
    font-size: 30px;
}

/* ===== Pretty product countdown (works with your existing markup) ===== */
.wd-product-countdown.wd-style-standard{
--countdown-accent: #444;         /* dark neutral */
--countdown-bg: rgba(0,0,0,0.05);

  --countdown-text: #2b2b2b;             /* body text color */
  --countdown-muted: rgba(43,43,43,.6);  /* label color */

  display:flex;
  gap:12px;
  align-items:stretch;
  font-variant-numeric: tabular-nums; /* avoids digit “jumps” */
  color:var(--countdown-text);
}

/* Each unit as a rounded badge */
.wd-product-countdown .wd-timer-days,
.wd-product-countdown .wd-timer-hours,
.wd-product-countdown .wd-timer-min,
.wd-product-countdown .wd-timer-sec{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  min-width:70px;
  padding:10px 12px 8px;
  background:var(--countdown-bg);
  border:1px solid rgba(0,0,0,.06);
  border-radius:14px;
  position:relative;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  backdrop-filter:saturate(140%) blur(2px);
  transition:transform .2s ease, box-shadow .2s ease;
}
.wd-product-countdown .wd-timer-days:hover,
.wd-product-countdown .wd-timer-hours:hover,
.wd-product-countdown .wd-timer-min:hover,
.wd-product-countdown .wd-timer-sec:hover{
  transform:translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,.06);
}

/* Numbers */
.wd-product-countdown .wd-timer-value{
  font-size:26px;
  line-height:1;
  font-weight:700;
  letter-spacing:.5px;
  color:var(--countdown-accent);
  margin-bottom:6px;
}

/* Labels (Tage, Std., Min., Sek.) */
.wd-product-countdown .wd-timer-text{
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.06em;
  color:var(--countdown-muted);
}

/* Subtle separators between badges */
.wd-product-countdown > span:not(:last-child)::after{
  content:"";
  position:absolute;
  right:-6px; top:14px; bottom:14px;
  width:1px;
  background:rgba(0,0,0,.06);
  border-radius:1px;
}

/* Compact on small screens */
@media (max-width: 480px){
  .wd-product-countdown{ gap:8px; }
  .wd-product-countdown .wd-timer-days,
  .wd-product-countdown .wd-timer-hours,
  .wd-product-countdown .wd-timer-min,
  .wd-product-countdown .wd-timer-sec{
    min-width:58px;
    padding:8px 8px 7px;
    border-radius:12px;
  }
  .wd-product-countdown .wd-timer-value{ font-size:22px; }
  .wd-product-countdown .wd-timer-text{ font-size:10px; }
}


