/* ===================================================
   FOAÉ PREMIUM DESKTOP CART (Clean • Elegant • Tight)
   Paste at END of CSS
   =================================================== */

@media (min-width: 992px) {

  /* Page overall spacing */
  .s-shop-cart {
    padding-top: 26px;
  }

  /* Remove any harsh separators (that thick black line you have) */
  .table-shop-cart .br-line,
  .table-shop-cart hr {
    opacity: .15;
  }

  .table-shop-cart.table-order-detail table {
    border-collapse: separate;
    border-spacing: 0;
  }

  /* ===== Table header (premium) ===== */
  .table-shop-cart thead th {
    background: rgba(0,0,0,0.03);
    border-bottom: 1px solid rgba(0,0,0,0.06);
    padding: 18px 18px;
    font-size: 12px;
    letter-spacing: .12em;
    text-transform: uppercase;
    font-weight: 700;
    color: rgba(0,0,0,0.75);
  }

  /* ===== Row layout ===== */
  .table-shop-cart tbody tr.each-prd td {
    padding: 18px 18px;
    vertical-align: middle;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .table-shop-cart tbody tr.each-prd:last-child td {
    border-bottom: 0;
  }

  /* Product cell */
  .table-shop-cart .order_product {
    display: flex;
    gap: 16px;
    align-items: center;
  }

  .table-shop-cart .order_product .image {
    width: 86px;
    flex: 0 0 86px;
  }

  .table-shop-cart .order_product .image img {
    width: 86px;
    height: 86px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(0,0,0,0.04);
  }

  .table-shop-cart .prd-type {
    font-size: 13px;
    opacity: .6;
    margin: 0 0 6px 0;
  }

  /* Remove link (premium, not ugly underline) */
  .table-shop-cart .cart-remove-btn{
	  background: transparent;
	  border: 0;
	  padding: 0;
	  font-size: 13px;
	  font-weight: 600;
	  color: rgba(0,0,0,0.55);
	  cursor: pointer;
	}

	.table-shop-cart .cart-remove-btn:hover{
	  color: #c59a56; /* FoAé gold */
	}
  .table-shop-cart .cart-remove-btn:hover::after{
    transform: scaleX(1);
    background: rgba(0,0,0,0.45);
  }

  /* Quantity control: premium */
  .table-shop-cart .wg-quantity.style-2 {
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 6px 10px;
    gap: 10px;
    display: inline-flex;
    align-items: center;
  }

  .table-shop-cart .wg-quantity.style-2 button {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
  }

  /* Gift packaging area: make it a clean addon block */
  .cart-addon-card {
    margin-top: 14px;
    border: 1px solid rgba(0,0,0,0.06);
    background: rgba(0,0,0,0.02);
    border-radius: 16px;
    padding: 14px 16px;
  }
  .cart-addon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    color: rgba(0,0,0,0.78);
  }
  .cart-addon input[type="checkbox"]{
    width: 18px;
    height: 18px;
    accent-color: #c59a56;
  }

  /* Special instruction textarea premium */
  .style-border .label-text {
    font-size: 12px;
    letter-spacing: .10em;
    text-transform: uppercase;
    font-weight: 700;
    opacity: .65;
  }

  /* ===== Sidebar card premium ===== */
  .checkout-sidebar .tax-text {
    margin-top: 6px;
    opacity: .65;
  }

  .checkout-sidebar .br-line {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 14px 0;
  }

    /* table baseline */
  .table-shop-cart table{
    border-collapse: separate;
    border-spacing: 0 12px; /* soft row gap like premium */
  }

  .table-shop-cart thead th{
    background:#e9e9e9;
    letter-spacing:.08em;
    text-transform:uppercase;
    font-size:12px;
  }

  .table-shop-cart tbody tr.each-prd{
    background:#fff;
    box-shadow: 0 10px 30px rgba(0,0,0,.04);
    border-radius: 16px;
    overflow:hidden;
  }

  .table-shop-cart tbody td{
    vertical-align: middle;
    padding: 18px 18px;
    border-top: 1px solid rgba(0,0,0,.06);
    border-bottom: 1px solid rgba(0,0,0,.06);
  }

  /* Round the row “card” edges */
  .table-shop-cart tbody tr.each-prd td:first-child{
    border-left: 1px solid rgba(0,0,0,.06);
  }
  .table-shop-cart tbody tr.each-prd td:last-child{
    border-right: 1px solid rgba(0,0,0,.06);
  }

  /* Product cell layout: image left, info right */
  .table-shop-cart .order_product{
    display:flex;
    align-items:center;
    gap:16px;
  }

  .table-shop-cart .order_product .image{
    flex: 0 0 92px;
    max-width: 92px;
  }
  .table-shop-cart .order_product .image img{
    width: 92px;
    height: 92px;
    object-fit: cover;
    border-radius: 14px;
  }

  .table-shop-cart .order_product .infor{
    flex: 1;
    min-width: 0;
    display:flex;
    flex-direction:column;
    gap:6px;
  }

  .table-shop-cart .order_product .prd-name{
    font-size: 18px;
    line-height: 1.25;
    margin: 0;
  }
  .table-shop-cart .order_product .prd-type{
    margin: 0;
    opacity:.65;
  }

  /* Make badge + save sit nicely on one line */
  .table-shop-cart .cart-promo-top{
    justify-content:flex-start;
    gap:10px;
  }

  /* Remove button: stop the long underline look */
  .table-shop-cart .cart-remove-btn{
    width: fit-content;
    padding: 0;
    margin-top: 6px;
    background: transparent;
    border: 0;
    color: #888;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
  }
  .table-shop-cart .cart-remove-btn:hover{
    color:#111;
  }

  .table-shop-cart .order_quantity{
    text-align: center;
  }

  /* Quantity control not too huge on desktop */
  .table-shop-cart .wg-quantity.style-2{
    transform: scale(.95);
    transform-origin: center;
  }
}

@media (max-width: 1199px) {

}
@media (max-width: 991px){
	.box_collection--V01.style_2 .image{
		width: 150px;
		height: 150px;
	}

	 /* Page spacing tighten */
  .s-shop-cart {
    padding-top: 18px !important;
  }

  /* Remove desktop table header on mobile */
  .table-shop-cart thead { display: none; }

  /* Table -> stacked cards */
  .table-shop-cart table,
  .table-shop-cart tbody,
  .table-shop-cart tr,
  .table-shop-cart td {
    display: block;
    width: 100%;
  }

  /* Softer page background so cards feel premium */
  body {
    background: #fbfbfb;
    padding-bottom: 92px; /* space for sticky bar */
  }

  /* ======= Top progress area refine (optional) ======= */
  .box-delivery h6 {
    font-size: 13px;
    letter-spacing: .04em;
    line-height: 1.35;
  }

  /* ======= Countdown banner: make it premium ======= */
  .tf-cart-countdown {
    margin: 10px 0 14px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(197,154,86,0.10);
    border: 1px solid rgba(197,154,86,0.18);
  }
  .tf-cart-countdown p {
    margin: 0;
    font-size: 16px;
    line-height: 1.35;
    color: rgba(0,0,0,0.72);
    font-weight: 500;
  }
  .tf-cart-countdown svg {
    width: 22px;
    height: 22px;
    opacity: .9;
  }

  /* ======= Cart item card (NO heavy shadow) ======= */
  .table-shop-cart tr.each-prd {
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.06);
    padding: 14px;
    margin-bottom: 14px;
    box-shadow: none; /* premium: let borders + spacing do the work */
  }

  /* Product block */
  .table-shop-cart td:first-child {
    padding: 0 !important;
    margin-bottom: 10px;
  }

  .table-shop-cart .order_product {
    display: flex;
    gap: 12px;
    align-items: flex-start;
  }

  .table-shop-cart .order_product .image {
    flex: 0 0 72px;
    max-width: 72px;
  }

  .table-shop-cart .order_product .image img {
    width: 72px;
    height: 72px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: none; /* keep image clean for luxury feel */
    border: 1px solid rgba(0,0,0,0.04);
  }

  .table-shop-cart .order_product .infor {
    flex: 1;
    min-width: 0;
    padding-top: 2px;
  }

  .table-shop-cart .prd-name {
    font-size: 15px;
    font-weight: 650;
    letter-spacing: .2px;
    line-height: 1.25;
    margin: 0 0 4px 0;
  }

  .table-shop-cart .prd-type {
    font-size: 12.5px;
    opacity: .62;
    margin: 0;
  }

  /* ======= Price/Qty/Total rows: tighter + clean divider ======= */
  .table-shop-cart td[data-label] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(0,0,0,0.06);
  }

  .table-shop-cart td[data-label]::before {
    content: attr(data-label);
    font-size: 11px;
    opacity: .55;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 650;
  }

  /* ======= Quantity: less “bubble toy”, more premium ======= */
  .table-shop-cart .order_quantity {
    justify-content: flex-end;
  }

  .table-shop-cart .wg-quantity.style-2 {
    background: rgba(0,0,0,0.035);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px; /* less round than 999px = more premium */
    padding: 6px 8px;
    gap: 10px;
  }

  .table-shop-cart .wg-quantity.style-2 button {
    width: 32px;
    height: 32px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: none;
  }

  .table-shop-cart .wg-quantity.style-2 .quantity-product {
    width: 28px;
    pointer-events: auto;
    background: transparent;
  }

  /* ======= Gift packaging block: make it feel like a service add-on ======= */
  .cart-addon-card {
    margin-top: 12px;
    padding: 14px;
    border-radius: 16px;
    background: rgba(0,0,0,0.02);
    border: 1px solid rgba(0,0,0,0.06);
  }

  .cart-addon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 650;
    font-size: 13.5px;
    color: rgba(0,0,0,0.78);
  }

  .cart-addon input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c59a56;
  }

  /* ======= Special instructions: keep clean ======= */
  .style-border textarea {
    border-radius: 16px;
    border: 1px solid rgba(0,0,0,0.08);
    background: #fff;
  }
  .style-border .label-text {
    font-weight: 650;
    font-size: 12px;
    opacity: .7;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  /* ======= Sticky bottom bar (premium) ======= */
  .cart-sticky-bar{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.06); /* subtle only */
  }

  .cart-sticky-total { flex: 1; }

  .cart-sticky-total .label{
    font-size: 11px;
    opacity: .55;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 650;
  }

  .cart-sticky-total .value{
    font-size: 17px;
    font-weight: 900;
    letter-spacing: .25px;
  }

  .cart-sticky-btn{
    flex: 0 0 46%;
    text-align: center;
    padding: 13px 14px;
    border-radius: 16px;
    background: #c59a56;  /* FoAé gold */
    color: #fff;
    font-weight: 850;
    border: 0;
    box-shadow: none; /* keep button clean */
  }

  .cart-sticky-btn:active {
    transform: translateY(1px);
  }

  .table-shop-cart tr.each-prd{
    position: relative;
  }

  .cart-remove-btn{
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,0.10);
    background: rgba(255,255,255,0.9);
    box-shadow: 0 8px 18px rgba(0,0,0,0.06);
    text-decoration: none;
    font-size: 0; /* hide “Remove” text */
    justify-content: center;
    align-items: center;
  }

  .cart-remove-btn::before{
    content: "✕";
    font-size: 16px;
    font-weight: 800;
    color: rgba(0,0,0,0.65);
    position: relative;
    top: 1px;
  }
}

@media (max-width: 767px){
	.payment-item .card-logo {
  	grid-template-columns: repeat(3, auto);
	}
	
	/* ===================================================
   FOAÉ PREMIUM MOBILE CART (Table → Card Layout)
   =================================================== */
  /* Hide desktop table header */
  .table-shop-cart thead {
    display: none;
  }

  /* Make table behave like stacked layout */
  .table-shop-cart table,
  .table-shop-cart tbody,
  .table-shop-cart tr,
  .table-shop-cart td {
    display: block;
    width: 100%;
  }

  /* Each product row becomes a premium card */
  .table-shop-cart tr.each-prd {
    border-radius: 16px;
	  background: #fff;
	  border: 1px solid rgba(0,0,0,0.06);
	  padding: 16px;
	  margin-bottom: 18px;
  }

  /* Product image + info row */
  .table-shop-cart td:first-child {
    padding: 0 !important;
    margin-bottom: 12px;
  }

  .table-shop-cart .order_product {
    display: flex;
    gap: 14px;
    align-items: flex-start;
  }

  .table-shop-cart .order_product .image {
    flex: 0 0 82px;
    max-width: 82px;
  }

  .table-shop-cart .order_product .image img {
    width: 82px;
    height: 82px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 10px 18px rgba(0,0,0,0.10);
  }

  .table-shop-cart .order_product .infor {
    flex: 1;
    min-width: 0;
  }

  .table-shop-cart .prd-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 4px;
  }

  .table-shop-cart .prd-type {
    font-size: 13px;
    opacity: .6;
    margin-bottom: 6px;
  }

  /* Label + value rows (Price / Quantity / Total) */
  .table-shop-cart td[data-label] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 0;
    border-top: 1px dashed rgba(0,0,0,0.10);
  }

  .table-shop-cart td[data-label]::before {
    content: attr(data-label);
    font-size: 12px;
    opacity: .6;
    text-transform: uppercase;
    letter-spacing: .05em;
    font-weight: 600;
  }

  /* Quantity UI premium style */
  .table-shop-cart .order_quantity {
    justify-content: flex-end;
  }

  .table-shop-cart .wg-quantity.style-2 {
    background: rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 999px;
    padding: 6px 8px;
    gap: 12px;
  }

  .table-shop-cart .wg-quantity.style-2 button {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.08);
    box-shadow: 0 6px 14px rgba(0,0,0,0.06);
  }

  .table-shop-cart .wg-quantity.style-2 .quantity-product {
    width: 28px;
    pointer-events: auto;
  }

	.cart-addon-card {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 14px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
  }

  .cart-addon {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
  }

  .cart-addon input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #c59a56; /* FoAé gold vibe */
  }

  .cart-sticky-bar{
    position: fixed;
    left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(0,0,0,0.08);
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 999;
  }

  .cart-sticky-total{
    flex: 1;
    min-width: 0;
  }
  .cart-sticky-total .label{
    font-size: 12px;
    opacity: .6;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .04em;
  }
  .cart-sticky-total .value{
    font-size: 18px;
    font-weight: 800;
    letter-spacing: .2px;
  }

  .cart-sticky-btn{
    flex: 0 0 44%;
    text-align: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 14px;
    background: #c59a56;
    color: #fff;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 12px 26px rgba(197,154,86,0.35);
  }

  .cart-promo-top{
    flex-direction:column;
    align-items:flex-start;
  }
  .cart-promo-save{
    width: fit-content;
  }

  .box-delivery{
	  /*margin-right: 25px;*/
	  width: 100%;
	}
}

@media (max-width: 575px){
  .banner_text .tf-btn.style-4{
    transform: scale(.88);
    transform-origin: center;
  }

  .checkout-title{
  	display: block !important;
  }
}
