/* cigdepot gaps — remaining polish (QV, Swiper, reviews, minicart, PDP) */

/* Swiper library live mode — hero */
.block_slides .swiper.cd-swiper-live { overflow: hidden; position: relative; }
.block_slides .swiper.cd-swiper-live .swiper-wrapper { display: flex; }
.block_slides .swiper.cd-swiper-live .swiper-slide {
  display: block !important;
  flex-shrink: 0;
  width: 100%;
  position: relative;
}
.block_slides .swiper.cd-swiper-live .swiper-button-next,
.block_slides .swiper.cd-swiper-live .swiper-button-prev {
  z-index: 210;
  margin-top: -24px;
  transform: none !important;
}
.block_slides .swiper.cd-swiper-live .swiper-button-next::after,
.block_slides .swiper.cd-swiper-live .swiper-button-prev::after {
  display: none !important;
  content: none !important;
}

/* Packed gallery — Swiper freeMode */
.cd-packed-swiper.swiper {
  overflow: visible;
  width: 100%;
  cursor: grab;
}
.cd-packed-swiper .swiper-wrapper { display: flex; align-items: stretch; }
.cd-packed-swiper .swiper-slide {
  width: auto !important;
  flex-shrink: 0;
}
.cd-packed-swiper .img_box img,
.cd-packed-swiper .swiper-slide img {
  height: 20vw !important;
  width: auto;
  max-width: none;
  object-fit: cover;
  display: block;
}
.cd-packed-swiper .swiper-scrollbar {
  position: relative;
  margin-top: 16px;
  height: 2px;
  background: #eee;
}
.cd-packed-swiper .swiper-scrollbar-drag { background: #999; }
@media (max-width: 767px) {
  .cd-packed-swiper .img_box img,
  .cd-packed-swiper .swiper-slide img { height: 210px !important; }
}

/* Minicart populated polish */
.minicart[hidden] { display: block !important; pointer-events: none; }
.minicart.minicart_on { pointer-events: auto; }
.minicart_list { list-style: none; margin: 0; padding: 0 30px; }
.minicart_item {
  display: flex;
  gap: 16px;
  padding: 30px 0;
  border-bottom: 1px dashed #ddd;
}
.minicart_item__thumb img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  background: #f6f6f6;
}
.minicart_item__name {
  display: block;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 220px;
  color: #121b17;
}
.minicart_item__sku,
.minicart_item__qty,
.minicart_item__price {
  color: #888;
  font-size: 14px;
  line-height: 24px;
}
.minicart_checkout {
  padding: 20px 30px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.minicart_checkout .cd-clear-cart,
.cd-cart-actions .cd-clear-cart {
  appearance: none;
  background: transparent;
  border: 0;
  box-shadow: none;
  color: #888;
  cursor: pointer;
  font-size: 14px;
  line-height: 24px;
  padding: 4px 0;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.minicart_checkout .cd-clear-cart:hover,
.cd-cart-actions .cd-clear-cart:hover {
  color: #121b17;
}
.minicart_checkout .cd-clear-cart:disabled,
.cd-cart-actions .cd-clear-cart:disabled {
  opacity: 0.55;
  cursor: wait;
}
.cd-cart-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}
.cd-cart-actions .cd-clear-cart.cd-btn--outline {
  text-decoration: none;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid #ccc;
  border-radius: 6px;
  color: #555;
  background: #fff;
}
.cd-cart-actions .cd-clear-cart.cd-btn--outline:hover {
  border-color: #121b17;
  color: #121b17;
}
.cd-cart-empty__body {
  text-align: center;
  padding: 60px 20px 80px;
}
.cd-cart-empty__body .cart_empty_svg {
  margin: 0 auto;
}
.cd-cart-empty__body p {
  margin: 24px 0 0;
  font-size: 16px;
  color: #555;
}
.cd-cart-empty__body .continue_shopping_btn {
  margin-top: 24px;
}
.minicart_subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-bottom: 4px;
}
.cd-minicart__trust {
  padding: 20px 30px 36px;
  text-align: center;
  border-top: 1px solid #eee;
}
.cd-minicart__trust-label {
  font-size: 12px;
  letter-spacing: .08em;
  color: #666;
  margin-bottom: 6px;
}
.cd-minicart__trust-badge {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .12em;
  color: #121b17;
}

/* Quick-view — closer to live product_view chrome */
.cd-quick-view {
  position: fixed;
  inset: 0;
  z-index: 10000000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.cd-quick-view[hidden] { display: none !important; }
.cd-quick-view__mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  border: 0;
}
.cd-quick-view__dialog {
  position: relative;
  z-index: 1;
  background: #fff;
  width: min(960px, calc(100vw - 32px));
  max-height: 90vh;
  overflow: auto;
  border-radius: 0;
  padding: 40px 32px 32px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
}
.cd-quick-view__close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: 0;
  background: transparent;
  cursor: pointer;
  line-height: 1;
  color: #121b17;
  padding: 4px;
}
.cd-quick-view__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.cd-quick-view__media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 6px;
  background: #f6f6f6;
}
.product_view_title {
  font-size: 24px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0 0 16px;
  color: #121b17;
}
.product_view_price { display: flex; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.product_view_price .general-price { font-size: 28px; font-weight: 700; }
.product_view_actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: min(277.5px, 100%);
  margin-top: 8px;
}
.product_view_actions .secondary_btn,
.product_view_actions .main_btn {
  width: 100%;
  height: 48px;
  min-height: 48px;
  line-height: 48px;
  padding: 0 20px;
  text-align: center;
}
.cd-quick-view__form .product-calculator { margin: 16px 0; }

/* Reviews masonry / widget chrome */
.block_comment_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: start;
}
.block_comment_li {
  background: #f6f6f6;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  break-inside: avoid;
}
.block_comment-content {
  position: relative;
  padding: 30px 20px 20px;
}
.block_comment_list_star {
  position: absolute;
  top: -12px;
  left: 20px;
  height: 24px;
  padding: 0 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.16);
  display: inline-flex;
  align-items: center;
  color: #f8ad6b;
  font-size: 12px;
  letter-spacing: 1px;
}
.block_comment_list_author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: #121b17;
  margin: 8px 0 12px;
  font-size: 14px;
}
.block_comment_list_author .flag {
  width: 20px;
  height: auto;
  display: block;
}
.block_comment_list_content {
  font-size: 14px;
  line-height: 1.55;
  color: #121b17;
}
.block_comment_list_time {
  margin-top: 12px;
  font-size: 12px;
  color: #888;
}
.block_comment_product {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid #dddddd;
}
.block_comment_product a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}
.block_comment_product .pic {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
  flex-shrink: 0;
}
.block_comment_product .name {
  font-size: 13px;
  color: var(--title_color, #121b17);
  /* overridden by dim-reviews.css — keep legacy fallback without single-line fold */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  white-space: normal;
}

.cd-qv-stock {
  margin: 8px 0 4px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--title_color, #121b17);
}
.cd-qv-stock.is-out {
  color: var(--buying_price_color, #d21936);
}
.cd-qv-skus .product-sku-name {
  margin-top: 12px;
}
.cd-quick-view__form .secondary_btn:disabled,
.cd-quick-view__form .main_btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

@media (max-width: 1023px) {
  .block_comment_list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 767px) {
  .cd-quick-view__grid { grid-template-columns: 1fr; }
  .cd-quick-view__dialog { padding: 28px 16px 20px; }
  .block_comment_list { grid-template-columns: 1fr; }
  .block_comment-content { padding: 20px 10px 10px; }
  .block_comment_product .pic { width: 40px; height: 40px; }
}

/* Mobile nav hidden bridge */
#mobile_nav_card[hidden] { display: flex !important; pointer-events: none; }
#mobile_nav_card.show { pointer-events: auto; }

.cd-pay-icons { display: flex; gap: 10px; margin-top: 10px; }
.cd-pay-icons img { height: 24px; width: auto; }

/* Duplicate plugin ticker outside sticky header (inflates chrome / collides) */
body > .cigdepot-ticker {
  display: none !important;
}

/* Woo demo store notice sits above sticky header and looks like a 2nd ticker */
.woocommerce-store-notice,
p.demo_store {
  display: none !important;
}

/*
 * Cart/checkout pages use page.php → .cd-prose (CMS max-width 820px).
 * Let Woo layouts use normal storefront width instead.
 */
body.woocommerce-cart .cd-prose,
body.woocommerce-checkout .cd-prose {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  margin-bottom: 0;
  padding: 0;
  font-size: inherit;
  line-height: inherit;
}
body.woocommerce-cart .cd-page-head .cd-breadcrumb,
body.woocommerce-checkout .cd-page-head {
  display: none;
}
body.woocommerce-cart .cd-cart-page {
  width: min(100% - 32px, var(--general_layout_width, 1200px));
  margin-inline: auto;
  margin-bottom: 60px;
}

/*
 * Cart table layout — WooCommerce CSS is fully dequeued in setup.php.
 * Without these rules the shop_table collapses into a broken wide-gap layout
 * (headers drift right, qty inputs stretch, action buttons stack oddly).
 */
body.woocommerce-cart .cd-prose > .woocommerce {
  max-width: none;
  width: 100%;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  margin: 0 0 28px;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart th,
body.woocommerce-cart .cd-cart-page table.shop_table.cart td {
  padding: 18px 12px;
  border-bottom: 1px solid #ececec;
  vertical-align: middle;
  text-align: left;
  font-size: 14px;
  line-height: 1.45;
  color: #222;
  word-break: normal;
  overflow-wrap: anywhere;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart thead th {
  font-size: 13px;
  font-weight: 600;
  color: #666;
  letter-spacing: 0.02em;
  border-bottom: 1px solid #ddd;
  background: #fafafa;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-remove {
  width: 40px;
  text-align: center;
  padding-left: 4px;
  padding-right: 4px;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-remove .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: #888;
  text-decoration: none;
  font-size: 22px;
  line-height: 1;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-remove .remove:hover {
  color: #c0392b;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-thumbnail {
  width: 96px;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-thumbnail img {
  display: block;
  width: 72px;
  height: 72px;
  max-width: 72px;
  object-fit: cover;
  border: 1px solid #eee;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-name {
  width: auto;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-name a {
  color: #121b17;
  text-decoration: none;
  font-weight: 500;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-name a:hover {
  text-decoration: underline;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-price,
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-subtotal {
  width: 110px;
  white-space: nowrap;
  text-align: right;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-quantity {
  width: 130px;
  text-align: center;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-quantity .quantity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart .product-quantity .qty {
  width: 72px !important;
  max-width: 72px;
  min-height: 40px;
  padding: 6px 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  text-align: center;
  box-sizing: border-box;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart td.actions {
  border-bottom: 0;
  padding-top: 20px;
  padding-bottom: 8px;
  /* Keep table-cell — never display:flex on <td> (collapses width → vertical button text). */
  display: table-cell !important;
  width: 100%;
  text-align: left;
  overflow: visible;
}
body.woocommerce-cart .cd-cart-page table.shop_table.cart td.actions .cd-cart-actions {
  display: flex !important;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}
body.woocommerce-cart .cd-cart-page .cd-cart-actions .cd-btn,
body.woocommerce-cart .cd-cart-page .cd-cart-actions button {
  display: inline-flex !important;
  flex: 0 0 auto !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 140px;
  padding: 10px 22px !important;
  margin: 0 !important;
  width: auto !important;
  max-width: none !important;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  writing-mode: horizontal-tb !important;
  border-radius: 6px;
}
body.woocommerce-cart .cd-cart-page .cd-cart-actions .cd-btn--secondary {
  background: #121b17;
  color: #fff;
  border: 1px solid #121b17;
}
body.woocommerce-cart .cd-cart-page .cd-cart-actions .cd-btn--outline {
  background: #fff;
  color: #555;
  border: 1px solid #ccc;
  text-decoration: none;
}
body.woocommerce-cart .cd-cart-page .cart-collaterals {
  display: flex;
  justify-content: flex-end;
  margin-top: 8px;
}
body.woocommerce-cart .cd-cart-page .cart_totals {
  width: min(100%, 420px);
  border: 1px solid #e8e8e8;
  padding: 20px 22px 8px;
  background: #fff;
}
body.woocommerce-cart .cd-cart-page .cart_totals > h2 {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 600;
}
body.woocommerce-cart .cd-cart-page .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
}
body.woocommerce-cart .cd-cart-page .cart_totals th,
body.woocommerce-cart .cd-cart-page .cart_totals td {
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
  text-align: left;
}
body.woocommerce-cart .cd-cart-page .cart_totals td {
  text-align: right;
}
body.woocommerce-cart .cd-cart-page .cart_totals .order-total th,
body.woocommerce-cart .cd-cart-page .cart_totals .order-total td {
  border-bottom: 0;
  font-size: 16px;
  font-weight: 600;
  padding-top: 14px;
}
body.woocommerce-cart .cd-cart-page .wc-proceed-to-checkout {
  margin: 8px 0 16px;
}
body.woocommerce-cart .cd-cart-page .wc-proceed-to-checkout .checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  background: #121b17;
  color: #fff !important;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
}
@media (max-width: 767px) {
  body.woocommerce-cart .cd-cart-page table.shop_table.cart,
  body.woocommerce-cart .cd-cart-page table.shop_table.cart thead,
  body.woocommerce-cart .cd-cart-page table.shop_table.cart tbody,
  body.woocommerce-cart .cd-cart-page table.shop_table.cart th,
  body.woocommerce-cart .cd-cart-page table.shop_table.cart td,
  body.woocommerce-cart .cd-cart-page table.shop_table.cart tr {
    display: block;
    width: 100%;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart thead {
    display: none;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart tr.woocommerce-cart-form__cart-item {
    border: 1px solid #ececec;
    margin-bottom: 12px;
    padding: 12px;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart td {
    border: 0;
    padding: 8px 0;
    text-align: left !important;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart td.product-remove {
    float: right;
    width: auto;
    padding: 0;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart td.product-thumbnail {
    width: auto;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart td.product-quantity .qty {
    width: 88px !important;
    max-width: 88px;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart td.actions {
    clear: both;
    display: block !important;
    width: 100% !important;
  }
  body.woocommerce-cart .cd-cart-page table.shop_table.cart td.actions .cd-cart-actions {
    flex-direction: column;
    align-items: stretch;
  }
  body.woocommerce-cart .cd-cart-page .cd-cart-actions .cd-btn,
  body.woocommerce-cart .cd-cart-page .cd-cart-actions button {
    width: 100% !important;
    min-width: 0;
  }
  body.woocommerce-cart .cd-cart-page .cart-collaterals {
    justify-content: stretch;
  }
  body.woocommerce-cart .cd-cart-page .cart_totals {
    width: 100%;
  }
}

/* Shop/archive: keep page title clear of sticky header chrome */
.woocommerce-shop .cd-page-head,
.tax-product_cat .cd-page-head,
.post-type-archive-product .cd-page-head {
  padding-top: 28px;
}

.woocommerce-shop .main-content,
.tax-product_cat .main-content,
.post-type-archive-product .main-content {
  position: relative;
  z-index: 1;
}

.woocommerce-shop .cd-archive-toolbar,
.tax-product_cat .cd-archive-toolbar,
.post-type-archive-product .cd-archive-toolbar {
  position: relative;
  z-index: 1;
}

/* Live mobile chrome: burger | logo | actions (equal flex wings) */
@media (max-width: 767px) {
  #card-header {
    min-height: 204px;
    height: auto;
    overflow: hidden;
    background: #fff;
  }
  .mobile_menu_icon,
  .cd-header__burger {
    flex: 1 1 0% !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 8px;
    color: #333;
  }
  .nav-logo {
    margin: 0 !important;
    margin-right: 0 !important;
  }
  .action-icon,
  .cd-header__actions {
    flex: 1 1 0% !important;
    justify-content: flex-end !important;
    height: 90px;
  }
  .mobile_search_icon[hidden] {
    display: none !important;
  }
  .mobile_search_icon.show {
    display: inline-flex !important;
  }
  .announcement-bar,
  .app_bartool-wrap.app_bt_roll {
    line-height: 48px;
  }
}

/* Reinforce product card image fill (overrides global img { height:auto }) */
.collection_product .collection-product-item {
  aspect-ratio: 1 / 1;
  background-image: none;
}
.collection_product .collection-product-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

/* ========== PDP 1.0.10 HTML leftovers ========== */
.product-router-nav {
  max-width: var(--general_layout_width, 1200px);
  margin: 0 auto;
  padding: 20px 0 0;
  font-size: 13px;
  color: #888;
  line-height: 1.5;
}
.product-router-nav-warp {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.product-router-nav a {
  color: #121b17;
  text-decoration: none;
}
.product-router-nav .on,
.product-router-nav span { color: #888; }
@media (max-width: 767px) {
  .product-router-nav { padding: 16px 15px 0; }
}

.product_detail_default .cell-star {
  margin-top: 8px;
  margin-bottom: 4px;
}
.product_flex_left .cell-star .moi-start-warp {
  justify-content: flex-start;
}

/* Coupon strip */
.product_detail_default .app_shoppingcoupons-wrap {
  position: relative;
  padding: 0 12px 10px;
  margin: 16px 0;
  font-size: 14px;
  border-radius: 4px;
}
.product_detail_default .app_shoppingcoupons-title {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  margin: 0;
  font-size: 14px;
  font-weight: 500;
}
.product_detail_default .app_shoppingcoupons-title > i {
  margin-right: 8px;
  font-style: normal;
}
/* Discount glyph comes from pdp-icons.css (app_shoppingcoupons-icon), not emoji */
.product_detail_default .app_shoppingcoupons-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.product_detail_default .app_shoppingcoupon-2 {
  padding: 16px 10px 10px;
  text-align: center;
  background: #fff;
  border-radius: 4px;
}
.product_detail_default .app_shoppingcoupon-top h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
}
.product_detail_default .app_shoppingcoupons-info {
  margin: 6px 0 12px;
  opacity: .5;
}
.product_detail_default .app_shoppingcoupons-code {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 8px;
  cursor: pointer;
  background: #f6f6f6;
  gap: 8px;
}
.product_detail_default .app_shoppingcoupons-code svg { width: 12px; height: 12px; fill: #1d1f21; }
.product_detail_default .Prompt_button {
  align-items: center;
  margin-top: 12px;
  cursor: pointer;
  font-size: 13px;
}
.product_detail_default .app_shoppingcoupons-tip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  margin-right: 8px;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-size: 9px;
  line-height: 1;
}

/* Side-by-side CTAs */
.product_detail_default .product-btns {
  display: flex;
  width: 100%;
  align-items: stretch;
  margin: 20px 0 24px;
}
.product_detail_default .product-btns .divider {
  width: 20px;
  flex: 0 0 20px;
}
.product_detail_default .product-btns .secondary_btn,
.product_detail_default .product-btns .main_btn,
.product_detail_default .product-btns .product-cart,
.product_detail_default .product-btns .product-now {
  flex: 1 1 0;
  width: auto;
  min-width: 0;
  height: 48px;
  min-height: 48px;
  line-height: 48px;
  padding: 0 16px;
  box-sizing: border-box;
}
.product_detail_default .product-actions,
.product_detail_default .product_view_actions {
  display: none;
}

/* Recent Orders */
.app_producttransaction-wrap {
  margin: 8px 0 20px;
  border: 1px solid #eee;
  border-radius: 4px;
  overflow: hidden;
  font-size: 13px;
}
.app_pt-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 14px;
  background: #fafafa;
  border-bottom: 1px solid #eee;
}
.app_pt-title { font-weight: 600; color: #121b17; }
.app_pt-info { display: flex; align-items: center; gap: 12px; color: #888; font-size: 12px; }
.app_pt-order_num span { font-weight: 600; color: #121b17; }
.app_pt-th,
.app_pt-tr {
  display: grid;
  grid-template-columns: 1.4fr 1fr .7fr 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 14px;
}
.app_pt-th {
  height: 40px;
  color: #888;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  font-size: 12px;
}
.app_pt-tr {
  border-bottom: 1px solid #f5f5f5;
  color: #121b17;
}
.app_pt-tr:last-child { border-bottom: 0; }
.app_pt-flag {
  width: 18px;
  height: auto;
  margin-right: 6px;
  vertical-align: middle;
}
.app_pt-tbody { overflow: auto; }

/* Trust chrome */
.safeguard-clause-list {
  margin: 16px 0 0;
  padding: 12px 14px;
  background: #f7fff5;
  border-radius: 4px;
}
.safeguard-clause-list-header { margin-bottom: 10px; font-weight: 600; }
.safeguard-clause-list-body {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  text-align: center;
  font-size: 12px;
}
.safeguard-bage {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: #38B336;
  margin-bottom: 2px;
}
.safeguard-title { color: #555; }
.trustcertificate { margin-top: 12px; border-radius: 4px; overflow: hidden; }
.trustcertificate-h {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  color: #fff;
  cursor: pointer;
  user-select: none;
}
.trustcertificate-text { font-weight: 600; font-size: 14px; }
.trustcertificate-main { background: #fff; border: 1px solid #e8e8e8; border-top: 0; }
.trustcertificate-fold {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 12px 8px;
  text-align: center;
  font-size: 12px;
  color: #333;
}
.trustcertificate-list.hide { display: none; }
.trustcertificate.is-open .trustcertificate-list.hide { display: block; }
.trustcertificate.is-open .trustcertificate-arrow { transform: rotate(180deg); }
.trustcertificate-arrow { transition: transform .2s ease; }
.trustcertificate-list-item {
  padding: 12px 14px 16px;
  border-top: 1px solid #f0f0f0;
  font-size: 13px;
  line-height: 1.6;
  color: #444;
}
.trustcertificate-list-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  margin-bottom: 6px;
}
.trustcertificate-list-title p { margin: 0; }
.trustcertificate-list-html img { max-width: 100%; height: auto; margin-top: 8px; }
.app-trusttool-badge { margin-top: 18px; }
.app-trusttool-badge .badge-title {
  position: relative;
  text-align: center;
  font-size: 12px;
  letter-spacing: .04em;
  margin: 0 0 12px;
}
.app-trusttool-badge .badge-title::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: 50%;
  border-top: 1px solid #ddd;
  z-index: 0;
}
.app-trusttool-badge .badge-title span {
  position: relative;
  z-index: 1;
  padding: 0 10px;
}
.badge-list-reep {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}
.badge-list img { height: 24px; width: auto; display: block; }

/* Gallery vertical thumbs + arrows */
.product_preview_left .product-gallery-main.swiper {
  overflow: hidden;
  width: 100%;
}
.product_preview_left .product-gallery-main .swiper-wrapper {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
}
.product_preview_left .product-gallery-main .swiper-slide img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #f6f6f6;
}
.product_preview_left .product-swiper-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 15px 0 0;
  gap: 6px;
}
.product_preview_left .product-swiper-small .arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  cursor: pointer;
  user-select: none;
}
.product_preview_left .product-swiper-small .arrow.is-disabled {
  opacity: .35;
  pointer-events: none;
}
.product_preview_left .product-swiper-small .arrow-prev svg { transform: rotate(90deg); }
.product_preview_left .product-swiper-small .arrow-next svg { transform: rotate(90deg); }
.product_preview_left .swiper-container-small {
  max-height: 420px;
  overflow: hidden;
  width: 76px;
}
.product_detail_default .product-swiper-small .swiper-wrapper.product-thumbs {
  flex-direction: column;
  gap: 10px;
}
@media (max-width: 767px) {
  .product_preview_left { display: block; }
  .product_preview_left .product-swiper-small {
    flex-direction: row;
    padding: 12px 0 0;
    width: 100%;
  }
  .product_preview_left .product-swiper-small .arrow { display: none; }
  .product_preview_left .swiper-container-small {
    max-height: none;
    width: 100%;
    overflow-x: auto;
  }
  .product_detail_default .product-swiper-small .swiper-wrapper.product-thumbs {
    flex-direction: row;
  }
  .safeguard-clause-list-body { grid-template-columns: 1fr; }
  .trustcertificate-fold { grid-template-columns: 1fr 1fr; }
  .app_pt-th,
  .app_pt-tr { grid-template-columns: 1.2fr .9fr .5fr .9fr; font-size: 11px; }
}

/* Reviews cards */
.moi-tabs-content-comment {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}
.comment_warp {
  width: 100%;
  box-sizing: border-box;
  padding: 20px 20px 16px;
  background: var(--color-table-background, #f6f6f6);
}
.comment_warp-header { display: flex; align-items: center; gap: 10px; }
.comment_warp-header .mo-flex { display: flex; align-items: center; gap: 8px; }
.comment_warp-header-nation { width: 20px; height: auto; }
.comment_warp-score { display: flex; gap: 2px; margin: 10px 0 8px; }
.comment_warp-content-lable { margin: 0; font-size: 14px; line-height: 1.55; color: #121b17; }
.comment-btn.main_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  height: 44px;
  padding: 0 24px;
  text-decoration: none;
}

/* —— Overlays polish (search / minicart / age) —— */
.cd-search-overlay:not([hidden]) {
  z-index: 10000050;
}
.cd-search-overlay__wrap {
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12);
}
.cd-search-overlay .search_txt {
  height: 52px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 16px;
}
.cd-search-overlay .search_txt:focus {
  border-color: #121b17;
  outline: none;
}
.minicart.minicart_on,
#cd-minicart.minicart_on {
  box-shadow: -8px 0 24px rgba(0, 0, 0, 0.08);
}
.minicart .continue_shopping_btn,
.minicart_empty .continue_shopping_btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 44px;
  margin-top: 20px;
  padding: 0 20px;
  background: #1d1f21;
  color: #fff !important;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 4px;
}
.minicart .continue_shopping_btn:hover {
  background: #333;
}
.minicart_empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 30px;
  text-align: center;
}
.minicart_empty .cart_empty_svg {
  opacity: 0.55;
}
.cd-minicart__trust {
  padding: 18px 30px 32px;
}
.cigdepot-age-gate__card {
  border-radius: 10px;
  border-color: #3a3a3a;
}
.cigdepot-age-gate__btn--yes {
  background: #2c676a !important;
}
.cigdepot-age-gate__kicker {
  color: #c9a227;
}

/* PDP packed strip (lifestyle, not mixed into main gallery).
 * Must span full row under the gallery — parent is flex row-reverse. */
.cd-pdp-packed-strip {
  flex: 0 0 100%;
  width: 100%;
  margin-top: 14px;
}
.cd-pdp-packed-strip__label {
  font-size: 12px;
  font-weight: 600;
  color: #555;
  margin-bottom: 8px;
}
.cd-pdp-packed-strip__scroller {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}
.cd-pdp-packed-strip__scroller img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 6px;
  flex: 0 0 auto;
  background: #f4f6f5;
}
