/* WooCommerce styling for Arkbae Shop */

.woocommerce .woocommerce-breadcrumb {
  margin: 0 0 18px;
  color: rgba(11, 18, 32, 0.6);
  background-color: var(--ark-accent);
  padding-top: 30px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  text-align: center;
}
.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb a {
  color: #fff;
}
.woocommerce .woocommerce-result-count {
  color: rgba(11, 18, 32, 0.6);
  margin: 0;
}
.woocommerce .woocommerce-ordering {
  margin: 0;
}
.woocommerce .woocommerce-ordering select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--ark-border);
  background: #fff;
}

.ark-shopbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 0 14px;
  border-bottom: 1px solid var(--ark-border);
  margin-bottom: 16px;
  text-align: left;
}

.ark-shoplayout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px) {
  .ark-shoplayout {
    grid-template-columns: 1fr;
  }
}

.ark-shoplayout__sidebarInner {
  position: sticky;
  top: 92px;
  padding: 14px;
  border-radius: var(--ark-radius);
  border: 1px solid var(--ark-border);
  background: #fff;
  box-shadow: var(--ark-shadow-sm);
}
@media (max-width: 980px) {
  .ark-shoplayout__sidebarInner {
    position: static;
    top: auto;
  }
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100%;
    display: block;
  }
  .ark-shoplayout__sidebar {
    order: 3;
  }
}

.ark-widget {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed rgba(17, 24, 39, 0.14);
}
.ark-widget:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}
.ark-widget__title {
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: -0.01em;
}

/* --- List Reset --- */
.wp-block-woocommerce-product-categories ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* --- List Items --- */
.wp-block-woocommerce-product-categories ul li {
  display: flex;
  flex-wrap: wrap; /* Allows submenu to drop to next line */
  align-items: center;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #f3f4f6; /* Divider line */
}

/* Remove border from last item */
.wp-block-woocommerce-product-categories ul li:last-child {
  border-bottom: none;
}

/* --- Links (Category Name) --- */
.wp-block-woocommerce-product-categories ul li a {
  text-decoration: none;
  color: #4b5563; /* Grey text */
  font-weight: 500;
  font-size: 15px;
  transition: color 0.2s ease;
}

.wp-block-woocommerce-product-categories ul li a:hover {
  color: #222222; /* Black on hover */
  transform: translateX(5px); /* Slight slide effect */
}

/* --- Count (The Number) --- */
.wp-block-woocommerce-product-categories
  .wc-block-product-categories-list-item-count {
  background-color: #f3f4f6;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 12px; /* Pill shape */
}

/* --- Submenu (Depth 1) --- */
.wp-block-woocommerce-product-categories ul ul {
  width: 100%; /* Force submenu to new line */
  margin-top: 5px;
  padding-left: 10px; /* Indent subcategories */
  border-top: none;
}

.wp-block-woocommerce-product-categories ul ul li {
  border-bottom: none; /* No dividers for sub-items */
  padding: 5px 0;
}

.wp-block-woocommerce-product-categories ul ul li a {
  font-size: 14px; /* Slightly smaller font */
  color: #000;
  transition: 0.4s;
}

.wp-block-woocommerce-product-categories ul ul li a:hover {
  color: var(--ark-accent); /* Blue highlight for sub-items */
}

.woocommerce ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.woocommerce .products ul::after,
.woocommerce .products ul::before,
.woocommerce ul.products::after,
.woocommerce ul.products::before {
  display: none;
}

.ark-grid--products li.product,
.woocommerce ul.products li.product {
  list-style: none;
  position: relative;
  z-index: 1;
}
.ark-grid--products li.product,
.woocommerce ul.products li.product {
  margin: 0 !important;
  border-radius: var(--ark-radius);
  background: #f6fafb;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease;
  width: 100%;
}
.ark-grid--products li.product:hover,
.woocommerce ul.products li.product:hover {
  transform: translateY(-2px);
  box-shadow: var(--ark-shadow);
}
.ark-grid--products li.product a img,
.woocommerce ul.products li.product a img {
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
  margin: 0 0 12px !important;
  width: 100%;
}
.ark-grid--products li.product .onsale,
.woocommerce ul.products li.product .onsale {
  position: absolute;
  right: 15px;
  top: 15px;
  border-radius: 7px;
  padding: 6px 14px;
  background: var(--ark-accent);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  line-height: 1;
  display: flex;
  align-items: center;
}

/* Product styling */
.ark-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ark-all-products .ark-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.ark-treding-products .ark-container--wide {
  background-color: rgba(245, 158, 11, 0.2);
  padding: 30px 40px;
  border-radius: 30px;
}
.ark-treding-products .ark-grid--products {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ark-grid--products li.product {
  /* padding-bottom: 60px; */
}
.stock.in-stock {
  display: none;
}

.arkbae-urgency-container {
  margin-top: 0px;
  margin-bottom: 20px;
}

.ark-fake-sales-box {
  margin-bottom: 15px;
  color: #d63031;
  font-weight: bold;
  font-size: 14px;
  background: #fff5f5;
  padding: 10px;
  border-radius: 5px;
  border: 1px dashed #ff7675;
  display: inline-block;
}

.ark-stock-progress-wrapper {
  margin-top: 15px;
  max-width: 100%;
}

.ark-progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}

.ark-sold-perc {
  color: #e67e22;
}

.ark-progress-bar-bg {
  background: #eee;
  height: 10px;
  border-radius: 5px;
  overflow: hidden;
}

.ark-progress-bar-fill {
  background: linear-gradient(90deg, #ff4d4d, #f39c12);
  height: 100%;
  border-radius: 5px;
  transition: width 1.5s ease-in-out;
}

.ark-stock-alert {
  font-size: 11px;
  color: #777;
  margin-top: 5px !important;
}
.ark-viewer-count {
  font-size: 13px;
  color: #2ecc71;
  margin-top: 10px !important;
}

.ark-grid--products .woocommerce-loop-product__title,
.woocommerce ul.products li.product .woocommerce-loop-product__title {
  padding: 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  margin-bottom: 10px;
  text-align: left;
}
.ark-loop-excerpt {
  margin-bottom: 13px;
  color: #747474;
  display: none;
}
.price ins,
.price del,
.price ins .woocommerce-Price-amount,
.price del .woocommerce-Price-amount,
.price .amount {
  text-decoration: none !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
.woocommerce-notices-wrapper {
  width: 100%;
}
/* সাইডবার মেনু কন্টেইনার */
.ark-cleanlist,
.ark-cleanlist ul.children {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* প্রতিটি মেনু আইটেম (মেইন এবং সাব সব একই স্টাইল) */
.ark-cleanlist .cat-item {
  border-bottom: 1px solid #f0f0f0;
}

/* মেনু লিংকের ডিজাইন */
.ark-cleanlist .cat-item a {
  display: block;
  padding: 12px 15px; /* প্যাডিং একটু বাড়িয়ে দেওয়া হয়েছে যাতে ক্লিকেবল এরিয়া বড় হয় */
  text-decoration: none;
  color: #333;
  font-size: 15px;
  transition: all 0.3s ease;
}

/* হোভার ইফেক্ট */
.ark-cleanlist .cat-item a:hover {
  background-color: #f9f9f9;
  color: var(--ark-accent); /* আপনার থিমের অ্যাকসেন্ট কালার পাবে */
  padding-left: 20px;
}

/* সাব-মেনু আলাদা না দেখিয়ে মেইন মেনুর মতই রাখা */
.ark-cleanlist ul.children .cat-item a {
  padding-left: 15px; /* মেইন মেনুর সমান প্যাডিং */
  font-size: 15px; /* ফন্ট সাইজও সমান */
  color: #333;
}

/* শেষ আইটেমের নিচে বর্ডার রিমুভ */
.ark-cleanlist li:last-child {
  border-bottom: none;
}

/* Woocommerce Price Filter */
.woocommerce .widget_price_filter .ui-slider .ui-slider-range {
  background: var(--ark-accent);
}
.woocommerce .widget_price_filter .ui-slider .ui-slider-handle {
  background-color: var(--ark-secondary);
  border: 2px solid var(--ark-secondary);
}

.ark-grid--products .price,
.woocommerce ul.products li.product .price {
  margin-bottom: 15px;
  color: var(--ark-accent);
  display: inline-flex;
  gap: 5px;
  flex-direction: row-reverse;
  justify-content: flex-end;
  font-family: "Noto Sans Bengali", sans-serif;
  font-weight: 700;
  text-decoration: none !important; /* আন্ডারলাইন রিমুভ নিশ্চিত করতে */
  padding: 10px;
  background: #fff5f5;
  border-radius: 5px;
  border: 1px dashed #ff7675;
  width: 100%;

  /* এনিমেশন যুক্ত করা হয়েছে এখানে */
  position: relative;
  overflow: hidden; /* Shine ইফেক্ট যেন বর্ডারের বাইরে না যায় */
  animation: arkPulse 2s infinite ease-in-out;
  transition: all 0.3s ease;
}

/* ১. পালস এনিমেশন (বক্সটি হালকা বড়-ছোট হবে এবং গ্লো করবে) */
@keyframes arkPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 118, 117, 0.4);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 10px 0 rgba(255, 118, 117, 0.2);
    transform: scale(1.01); /* খুব সামান্য বড় হবে */
    background: #fff0f0; /* কালার হালকা ডিপ হবে */
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 118, 117, 0);
    transform: scale(1);
  }
}

/* ২. শাইন ইফেক্ট (একটি আলোর ঝিলিক বাম থেকে ডানে যাবে) */
.ark-grid--products .price::after,
.woocommerce ul.products li.product .price::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.6) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: arkShine 3s infinite;
}

@keyframes arkShine {
  0% {
    left: -100%;
  }
  20% {
    left: 100%;
  } /* ৩ সেকেন্ডের মধ্যে দ্রুত একবার ঝিলিক দিয়ে চলে যাবে */
  100% {
    left: 100%;
  } /* বাকি সময় স্থির থাকবে */
}

/* মাউস হোভার করলে এনিমেশন একটু ফাস্ট হবে */
.ark-grid--products .price:hover,
.woocommerce ul.products li.product .price:hover {
  border-style: solid; /* ড্যাশ বর্ডার সলিড হয়ে যাবে */
  background: #ffebeb;
  transform: translateY(-2px); /* হালকা উপরে উঠবে */
}

.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins,
.woocommerce ul.products li.product .price ins,
.ark-grid--products .price bdi {
  text-decoration: none;
}
.ark-grid--products .price del bdi,
.price del .woocommerce-Price-amount {
  font-style: italic !important;
  font-weight: 400 !important;
  text-decoration: line-through !important;
  opacity: 0.6;
}
.button-wrap {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 20px;
}
.button-wrap .ark-qty {
  grid-column: 1 / -1;
  width: 100%;
}

.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product p.price,
.woocommerce:where(body:not(.woocommerce-uses-block-theme))
  div.product
  span.price {
  color: var(--ark-accent);
  display: inline-block;
  border: 2px solid var(--ark-accent);
  padding: 5px 10px;
  border-radius: 5px;
  font-family: "Noto Sans Bengali", sans-serif;
}
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
  color: #25d366;
}

.ark-grid--products .add_to_cart_button {
  position: relative;
  top: 0px;
  display: block;
}

.woocommerce ul.products li.product .button,
.product .button,
.woocommerce ul.products li.product .wc-forward,
.product .wc-forward {
  width: 100%;
  text-align: center;
  border-radius: 8px;
  padding: 7px 14px;
  border: 1px solid var(--ark-accent);
  background: var(--ark-accent);
  color: #fff;
  font-weight: 700;
  position: relative;
  display: block;
  font-size: 16px;
  transition: 0.4s;
}
.woocommerce ul.products li.product .wc-forward,
.product .wc-forward {
  margin-top: 10px;
}
.wp-block-button__link,
.woocommerce ul.products li.product .button:not(.direct-buy-btn),
.product .add_to_cart_button {
  width: 100%;
  text-align: center;
  border-radius: 8px !important;
  padding: 7px 14px !important;
  border: 1px solid rgba(245, 158, 11, 0.2) !important;
  background: rgba(245, 158, 11, 0.2) !important;
  font-weight: 700 !important;
  color: #000;
  font-size: 16px;
  transition: 0.4s;
}
.button.direct-buy-btn {
  margin-top: 5px;
  border: 1px solid var(--ark-accent) !important;
  background: var(--ark-accent) !important;
}

.ark-product-card {
  display: grid;
  align-items: stretch;
}
.ark-product-card__body {
  padding: 0 20px;
}
.ark-product-card__body .star-rating {
  display: none;
}
.ark-product-card__footer {
  padding: 10px 15px 15px;
  display: grid;
  align-items: flex-end;
  /* position: relative; */
}
.woocommerce ul.products li.product .button:hover {
  background: #df2e38b5 !important;
}
.product .added_to_cart {
  position: absolute;
  top: 35%;
  width: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #f59f0b;
}
.product a.button.product_type_variable {
  /* position: absolute; */
  width: calc(100% - 30px);
  bottom: 14px;
  height: 35px;
  /* left: 50%; */
  /* transform: translateX(-50%); */
  width: 100%;
}
.woocommerce div.product .product_title {
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.single-product div.product .product_title {
  font-size: 42px;
  margin-bottom: 10px;
}
.woocommerce div.product div.images.woocommerce-product-gallery {
  padding: 10px;
  padding-bottom: 0;
}
.woocommerce div.product div.images {
  border: 1px solid var(--ark-border);
  border-radius: var(--ark-radius);
  padding: 0;
  background: #fff;
  box-shadow: var(--ark-shadow-sm);
}
.woocommerce div.product .woocommerce-product-gallery img {
  border-radius: var(--ark-radius);
  width: 100% !important;
}
.woocommerce div.product .summary {
  border: 1px solid var(--ark-border);
  border-radius: var(--ark-radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--ark-shadow-sm);
}
.woocommerce
  div.product
  form.cart
  .button.single_add_to_cart_button:not(.direct-buy-btn),
.woocommerce div.product form.cart .button:not(.direct-buy-btn) {
  border-radius: 8px !important;
  padding: 14px 16px !important;
  background: var(--ark-secondary) !important;
  border-color: transparent !important;
  font-weight: 900 !important;
  color: #000 !important;
}
.woocommerce div.product form.cart .quantity .qty {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid var(--ark-border);
  width: 90px;
}
button.button.direct-buy-btn:hover {
  color: #fff;
}
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error {
  border-radius: 8px;
  background-color: #fff;
}

.woocommerce .woocommerce-message:focus-visible,
.woocommerce .woocommerce-info:focus-visible,
.woocommerce .woocommerce-error:focus-visible {
  outline: none;
}

/* Cart */
.woocommerce-cart .woocommerce {
  margin-top: 6px;
}
.woocommerce table.shop_table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid var(--ark-border);
  border-radius: var(--ark-radius);
  overflow: hidden;
  background: #fff;
}
.woocommerce table.shop_table th {
  padding: 14px 12px;
  font-weight: 600;
  font-size: 12px;
  border-bottom: 1px solid var(--ark-border);
}
.woocommerce table.shop_table thead th {
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.4;
}
.woocommerce table.shop_table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(17, 24, 39, 0.08);
    font-weight: 600;
  font-size: 12px;
}
.woocommerce table.shop_table tr:last-child td {
  border-bottom: 0;
}

.woocommerce-cart .cart-collaterals {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px) {
  .woocommerce-cart .cart-collaterals {
    grid-template-columns: 1fr;
  }
}

.woocommerce-cart .cart-collaterals .cart_totals {
  border: 1px solid var(--ark-border);
  border-radius: var(--ark-radius);
  padding: 18px;
  background: #fff;
  box-shadow: var(--ark-shadow-sm);
}
.woocommerce-cart .cart_totals h2 {
  margin-top: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}
/* Checkout */
.woocommerce-checkout {
  background-color: #f8f9fa;
}

/* Checkout Sidebar */
.ark-checkout-sidebar__content
  .woocommerce-form-coupon-toggle
  .woocommerce-info {
  border-radius: 8px;
  border: none;
  background-color: #ffedca;
  padding: 10px 15px;
  padding-left: 35px;
  margin-bottom: 20px;
}
.ark-checkout-sidebar__content
  .woocommerce-form-coupon-toggle
  .woocommerce-info:before {
  top: 12px;
  left: 15px;
  font-size: 14px;
}
.woocommerce-form-coupon-toggle .showcoupon {
    color: var(--ark-accent) !important;
    text-decoration: underline;
    font-weight: 700;
}

/* Quantity Inputs */
/* Quantity Wrapper */
.ark-qty-wrap{
display:flex;
align-items:center;
gap:6px;
margin-top:6px;
}

/* Quantity Buttons */

.ark-qty-wrap button{
width:28px;
height:28px;
border:1px solid var(--ark-border);
background:var(--ark-accent);
color: #fff;
font-size:16px;
cursor:pointer;
border-radius:50%;
transition:0.2s;
}

.ark-qty-wrap button:hover{
background:var(--ark-secondary);
}

/* Quantity Input */
.ark-qty-input{
width:45px;
height:28px;
text-align:center;
border:1px solid var(--ark-border);
border-radius:4px;
font-size:14px;
}

/* Remove Button */
.ark-remove-item{
color:var(--ark-accent);
font-size:18px;
margin-left:10px;
text-decoration:none;
cursor:pointer;
font-weight:bold;
}

.ark-remove-item:hover{
color:#d10000;
}

/* Product Row Alignment */

.woocommerce-checkout-review-order-table .product-name{
display:flex;
align-items:center;
justify-content:space-between;
gap:10px;
}

/* Mobile */
@media(max-width:768px){

.ark-qty-wrap{
gap:4px;
}

.ark-qty-wrap button{
width:26px;
height:26px;
}

.ark-qty-input{
width:40px;
}

}
/* End Quantity Inputs */


.ark-checkout-sidebar__content .checkout_coupon {
  margin-top: 0 !important;
  padding: 0 !important;
  border-radius: 14px !important;
  border: none !important;
  background: #fff !important;
  display: grid;
  grid-template-columns: calc(65% - 5px) 35%;
  align-items: center;
  gap: 0 5px;
}
.ark-checkout-sidebar__content .checkout_coupon .form-row {
  margin-bottom: 0;
  padding: 0;
  width: 100% !important;
}
.ark-checkout-sidebar__content .checkout_coupon .form-row input.input-text {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--ark-border);
}
.ark-checkout-sidebar__content table.shop_table {
  border-radius: 8px;
  margin-bottom: 0;
  box-shadow:
    rgba(27, 31, 35, 0.04) 0px 1px 0px,
    rgba(255, 255, 255, 0.25) 0px 1px 0px inset;
}
/* ১. মেইন টেবিল স্ট্রাকচার ফিক্স */
.woocommerce-checkout-review-order-table {
  display: block !important;
  width: 100% !important;
  border: none !important;
  background: transparent !important;
}
.ark-checkout-sidebar__content table.shop_table .product-name{
  font-weight: 900;
  font-size: 14px;
}
.woocommerce-checkout-review-order-table thead,
.woocommerce-checkout-review-order-table tbody,
.woocommerce-checkout-review-order-table tfoot {
  display: block !important;
  width: 100% !important;
}

/* ২. প্রতিটি রো-কে ফ্লেক্স করা যাতে বামে-ডানে এলাইন থাকে */
.woocommerce-checkout-review-order-table tr {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid #f0f0f0 !important;
  background: transparent !important;
}

/* ৩. সব th এবং td এর ডিফল্ট প্যাডিং রিমুভ করা */
.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  display: block !important;
  padding: 0 !important;
  border: none !important;
  text-align: left !important;
  background: transparent !important;
  width: auto !important; /* কলাম সিস্টেম অফ করা */
}

/* প্রাইসগুলোকে ডানে রাখা */
.woocommerce-checkout-review-order-table td {
  font-weight: 600;
}

/* ৪. শিপিং রো-টিকে স্পেশাল ভাবে ১ কলাম করা */
tr.woocommerce-shipping-totals.shipping {
  flex-direction: column !important;
  align-items: flex-start !important;
}

tr.woocommerce-shipping-totals.shipping th {
  margin-bottom: 10px !important;
  font-size: 15px;
  font-weight: 600;
}

tr.woocommerce-shipping-totals.shipping td {
  width: 100% !important;
}

/* ৫. শিপিং লিস্ট বক্স ডিজাইন */
ul#shipping_method {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
}

ul#shipping_method li {
    display: flex !important;
    align-items: center !important;
    padding: 0 !important; /* প্যাডিং লেবেলে সরিয়ে নেওয়া হয়েছে */
    background: #fff !important;
    border: 2px dashed var(--ark-border) !important;
    border-radius: 8px !important;
    margin-bottom: 8px !important;
    transition: 0.2s;
    position: relative;
    overflow: hidden;
}

/* ফুল আইটেম ক্লিকেবল করার জন্য লেবেল স্টাইল */
ul#shipping_method li label {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between;
    padding: 15px 15px 15px 50px !important; /* বামে রেডিওর জন্য জায়গা */
    width: 100% !important;
    cursor: pointer;
    margin: 0 !important;
    z-index: 1;
    font-size: 14px;
    font-weight: 500;
}

/* রেডিও বাটন ফিক্সড পজিশনিং */
ul#shipping_method li input[type="radio"] {
    position: absolute !important;
    left: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important; /* একদম মাঝখানে এলাইন হবে */
    margin: 0 !important;
    z-index: 2;
    width: 20px !important;
    height: 20px !important;
    cursor: pointer;
    accent-color: var(--ark-accent); /* আপনার ব্র্যান্ড কালার */
}

/* সিলেক্টেড বক্স হাইলাইট */
ul#shipping_method li:has(input:checked) {
    border-color: var(--ark-accent) !important;
    border-style: solid !important; /* সিলেক্ট হলে ড্যাশ থেকে সলিড বর্ডার */
    background: #fff5f7 !important;
}

/* টাকার অ্যামাউন্টকে আলাদাভাবে ডানে রাখা */
ul#shipping_method li label .woocommerce-Price-amount {
    font-weight: 700;
    color: #000;
    margin-left: 10px;
}

/* ৬. কুপন সেকশন ফিক্স */
.cart-discount.coupon-test1 {
  width: 100% !important;
}
.cart-discount th {
  background-color: var(--ark-secondary) !important;
  padding: 5px 8px !important;
  border-radius: 5px !important;
}
.woocommerce-remove-coupon {
  display: block;
  font-size: 12px;
  color: var(--ark-accent);
  text-decoration: none;
  margin-top: 5px;
}

/* ৭. টোটাল রো হাইলাইট করা */
.order-total {
  border-bottom: none !important;
  margin-top: 10px;
  padding-top: 15px !important;
}

.order-total th {
  font-size: 18px !important;
  font-weight: 700 !important;
}

.order-total td strong {
  font-size: 20px !important;
  color: #000;
}

/* ৮. হেডার (Product/Subtotal) সুন্দর করা */
.woocommerce-checkout-review-order-table thead tr {
  background: var(--ark-accent) !important; /* লাল ব্যাকগ্রাউন্ড */
  border-radius: 8px 8px 0 0;
  padding: 10px 15px !important;
}

.woocommerce-checkout-review-order-table thead th {
  color: #fff !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  font-size: 13px;
}
.ark-checkout-sidebar__content .checkout_coupon button {
  font-size: 13px;
  padding: 5px 10px !important;
  width: auto;
  min-width: inherit !important;
  height: 100%;
  min-height: 47px;
  border: none !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  border-radius: 14px !important;
  padding: 14px 16px !important;
  background: var(--ark-accent) !important;
  border-color: transparent !important;
  font-weight: 900 !important;
}

.wc-block-cart__submit-container a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid var(--ark-border);
  font-weight: 700;
  line-height: 1;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
  will-change: transform;
  min-width: 120px;
  background: var(--ark-accent);
  color: #fff;
  border-color: transparent;
}
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--ark-border);
  font-weight: 700 !important;
  line-height: 1;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    border-color 0.12s ease;
  will-change: transform;
  min-width: 140px;
  background-color: var(--ark-accent);
  color: #fff;
}

/* Checkout */
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce form .form-row .input-text,
:where(.woocommerce) .select2-container .select2-dropdown,
:where(.woocommerce) .select2-container .select2-selection {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--ark-border);
  background: #f8f9fa;
}
:where(.woocommerce) .select2-container .select2-dropdown,
:where(.woocommerce) .select2-container .select2-selection {
  padding-top: 0;
  padding-bottom: 0;
  min-height: 47px;
}
:where(.woocommerce) .select2-container .select2-selection--single .select2-selection__rendered {
  margin-top: 3px;
}
.woocommerce form .form-row textarea {
  min-height: 120px;
}
.woocommerce form .form-row input.input-text:focus,
.woocommerce form .form-row textarea:focus,
.woocommerce form .form-row select:focus {
  outline: none;
  border-color: rgba(37, 99, 235, 0.45);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.14);
}
.woocommerce-checkout #customer_details,
.woocommerce-checkout .payment-area-left,
.woocommerce-checkout .ark-checkout-sidebar__content {
  border-radius: var(--ark-radius);
  padding: 30px 15px;
  background: #fff;
  height: fit-content;
}

.woocommerce-checkout h3 {
  font-size: 20px;
}

/* Payment Section Design */
.woocommerce-checkout .woocommerce-checkout-payment {
  background-color: transparent !important;
}
/* পেমেন্ট এরিয়া মেইন কন্টেইনার */
#payment.woocommerce-checkout-payment {
  background: #ffffff;
  border: 1px solid var(--ark-border);
  border-radius: 12px;
  padding: 20px;
  margin-top: 25px;
}
#payment.woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper p{
  margin-top: 0;
}

/* পেমেন্ট মেথড লিস্ট */
#payment ul.payment_methods {
  padding: 0 !important;
  margin: 0 0 10px 0 !important;
  list-style: none !important;
}

#payment ul.payment_methods li.wc_payment_method {
  margin-bottom: 10px;
  border: 2px dashed #f0f0f0;
  border-radius: 8px;
  background: #fafafa;
  overflow: hidden;
  position: relative;
  transition: all 0.2s ease-in-out;
}

/* সিলেক্টেড মেথড হাইলাইট */
#payment ul.payment_methods li.wc_payment_method:has(input:checked) {
  border-color: var(--ark-accent, #000);
  background: #ff767d1d;
}

/* লেবেল এবং রেডিও বাটন এলাইনমেন্ট */
#payment ul.payment_methods li label {
  display: flex !important;
  align-items: center !important;
  padding: 15px 20px 15px 45px !important;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  margin: 0 !important;
}

#payment ul.payment_methods li input[type="radio"] {
  position: absolute !important;
  left: 18px !important;
  top: 20px !important;
  margin: 0 !important;
  z-index: 2;
  width: 18px !important;
  height: 18px !important;
  accent-color: var(--ark-accent, #000);
}

/* পেমেন্ট বক্স (Description) - No Delay & No Jump */
#payment div.payment_box {
  display: none; /* jQuery দিয়ে কন্ট্রোল হবে */
  background: #f9f9f9 !important;
  padding: 15px 20px 15px 45px !important;
  margin: 0 !important;
  border-top: 1px solid #eee;
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  /* এনিমেশন প্রিপারেশন */
  opacity: 0;
  transform: translateY(-5px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

/* যখন বক্সটি একটিভ হবে */
#payment div.payment_box.is-active {
  display: block !important;
  opacity: 1;
  transform: translateY(0);
  background-color: #ffecc6 !important;
}

/* প্লেস অর্ডার বাটন */
#place_order {
  width: 100%;
  background: var(--ark-accent, #000) !important;
  color: #fff !important;
  padding: 16px !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  border-radius: 8px !important;
  text-transform: uppercase;
  transition: 0.3s;
}

#place_order:hover {
  filter: brightness(1.2);
}
#add_payment_method #payment div.payment_box::before,
.woocommerce-cart #payment div.payment_box::before,
.woocommerce-checkout #payment div.payment_box::before {
  display: none;
}
#add_payment_method #payment div.payment_box p:last-child,
.woocommerce-cart #payment div.payment_box p:last-child,
.woocommerce-checkout #payment div.payment_box p:last-child {
  margin-bottom: 0 !important;
  margin: 0 !important;
}
/* End Payment Section Design */

.woocommerce-checkout #customer_details {
  margin-bottom: 18px;
}

.woocommerce-checkout #place_order {
  border-radius: 14px !important;
  padding: 14px 16px !important;
  background: var(--ark-accent) !important;
  border-color: transparent !important;
  font-weight: 900 !important;
  width: 100%;
  font-size: 22px !important;
}

.woocommerce form .form-row-first,
.woocommerce form .form-row-last,
.woocommerce-page form .form-row-first,
.woocommerce-page form .form-row-last {
  width: 100% !important;
}
.checkout-left-content {
  margin-bottom: 20px;
}
/* --- SHOPIFY STYLE LAYOUT (Using Override) --- */

@media (min-width: 1200px) {
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout .payment-area-left,
  .woocommerce-checkout .ark-checkout-sidebar__content {
    padding: 30px 40px;
  }
  .woocommerce-checkout .ark-checkout-sidebar__content {
    padding: 25px 30px;
    padding-top: 35px;
  }
  .shopify-style-layout {
    gap: 40px;
  }
}
@media (min-width: 992px) {
  /* The Main Container */
  .shopify-style-layout {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    gap: 20px;
  }
  .checkout-left-content {
    max-width: calc(70% - 40px);
    flex: 0 0 calc(70% - 40px);
  }
  .ark-checkout-sidebar {
    max-width: 30%;
    flex: 0 0 30%;
    position: relative;
  }

  .woocommerce form .form-row-first,
  .woocommerce form .form-row-last,
  .woocommerce-page form .form-row-first,
  .woocommerce-page form .form-row-last {
    width: 47% !important;
  }
  .woocommerce .woocommerce-error .button,
  .woocommerce .woocommerce-info .button,
  .woocommerce .woocommerce-message .button,
  .woocommerce-page .woocommerce-error .button,
  .woocommerce-page .woocommerce-info .button,
  .woocommerce-page .woocommerce-message .button {
    width: auto !important;
    margin-top: 0 !important;
  }
}
.woocommerce .col2-set .col-1,
.woocommerce-page .col2-set .col-1 {
  width: 100%;
}
/* --- HIDE DEFAULT ELEMENTS WE MOVED --- */
/* We moved the coupon manually in PHP, so we hide the default toggle if it duplicates */
.woocommerce .woocommerce-error .button,
.woocommerce .woocommerce-info .button,
.woocommerce .woocommerce-message .button,
.woocommerce-page .woocommerce-error .button,
.woocommerce-page .woocommerce-info .button,
.woocommerce-page .woocommerce-message .button {
  width: 100%;
  margin-top: 10px;
  font-size: 14px;
}

/* --- FOOTER NAV --- */
.checkout-footer-nav {
  margin-top: 20px;
  display: flex;
  align-items: center;
  display: none;
}
/* .return-link {
    text-decoration: none;
    color: #1990c6;
    font-size: 14px;
} */

/* Thank you page */
.woocommerce-order .woocommerce-notice {
  border-radius: 14px;
  border-left-color: var(--ark-accent);
}
.woocommerce-order-overview {
  border: 1px solid var(--ark-border);
  border-radius: var(--ark-radius);
  padding: 14px;
  background: #fff;
  box-shadow: var(--ark-shadow-sm);
}

/* Buttons */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  border-radius: 8px !important;
  font-weight: 700 !important;
}

/* Quantity stepper (JS-enhanced) */
.woocommerce .quantity.ark-qty {
  display: block;
  margin-bottom: 15px !important;
}
.ark-qty__group {
  display: inline-flex;
  align-items: center;
  border: 1px solid none;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  gap: 0px;
  border: 1px solid var(--ark-border);
  padding: 5px 7px;
}
/* Hide arrows for Chrome, Safari, Edge, Opera */
.woocommerce div.product form.cart .quantity .qty::-webkit-outer-spin-button,
.woocommerce div.product form.cart .quantity .qty::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Hide arrows for Firefox */
.woocommerce div.product form.cart .quantity .qty {
  -moz-appearance: textfield;
}
.ark-qty__group input {
  width: 50px !important;
  border: 0 !important;
  border-radius: 0 !important;
  text-align: center;
  padding: 5px 10px !important;
  box-shadow: none !important;
}
.ark-qty__btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: var(--ark-accent);
  cursor: pointer;
  font-weight: 400;
  font-size: 14px;
  line-height: 18px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.ark-qty__btn:hover {
  background: var(--ark-accent);
}
/* WooCommerce Pagination – Borderless Accent Style */
.woocommerce-pagination {
  display: flex;
  justify-content: center;
  margin: 48px 0;
}

.woocommerce-pagination .page-numbers {
  display: inline-flex !important;
  padding: 0;
  margin: 0;
  list-style: none;
}
.woocommerce nav.woocommerce-pagination ul {
  border: none;
}
.woocommerce-pagination .page-numbers li {
  display: inline-flex !important;
  border: 1px solid var(--ark-border) !important;
  margin: 0 5px !important;
  border-radius: 12px;
}

/* Base button */
.woocommerce-pagination .page-numbers a,
.woocommerce-pagination .page-numbers span {
  min-width: 42px;
  width: 42px;
  height: 42px;
  padding: 0 16px;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border: none !important;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    opacity 0.18s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

/* Hover */

/* Current page */
.woocommerce nav.woocommerce-pagination ul li a:focus,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  cursor: pointer;
  opacity: 1;
  color: #ffffff !important;
  background: var(--ark-accent) !important;
}

/* Arrow buttons */
.woocommerce-pagination .page-numbers .next,
.woocommerce-pagination .page-numbers .prev {
  font-size: 18px;
}

/* Mobile refinement */
@media (max-width: 576px) {
  .woocommerce-pagination {
    margin: 32px 0;
  }

  .woocommerce-pagination .page-numbers a,
  .woocommerce-pagination .page-numbers span {
    min-width: 36px;
    height: 36px;
    font-size: 14px;
  }
}

/* Tabs Single Product */
.woocommerce span.onsale {
  left: 20px;
  top: 20px;
  width: 55px;
  height: 25px;
  min-height: auto;
  border-radius: 8px;
  line-height: 1.54;
}
/* --- 1. The Tabs Navigation --- */
.woocommerce-tabs ul.tabs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 10px;
  border-bottom: none; /* Light gray border */
  overflow-x: auto;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li {
  margin: 0;
  border: none;
  background: transparent;
  border-radius: 8px 8px 0 0;
  position: relative;
  transition: all 0.3s ease;
}

.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  text-decoration: none;
  color: #6b7280; /* Gray text */
  padding: 15px 25px;
  display: block;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

/* Hover State */
.woocommerce-tabs ul.tabs li:hover a {
  color: #222;
}

/* Active State */
.woocommerce-tabs ul.tabs li.active {
  background: var(--ark-accent);
}

.woocommerce-tabs ul.tabs li.active a {
  color: #3b82f6; /* Bright blue active color */
}

/* Animated Underline for Active Tab */
.woocommerce-tabs ul.tabs li.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px !important;
  background-color: #3b82f6;
  animation: expandWidth 0.3s ease forwards;
}

/* --- 2. The Content Panels --- */
.woocommerce div.product .woocommerce-tabs .panel {
  background: #ffffff;
  padding: 40px;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  color: #222;
  line-height: 1.8;

  /* Animation triggers when tab is switched */
  animation: slideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.woocommerce-tabs .woocommerce-Tabs-panel h2 {
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 20px;
  color: #222;
}

/* --- 3. Reviews Form Styling --- */
#review_form_wrapper {
  background: #f9fafb;
  padding: 30px;
  border-radius: 8px;
  margin-top: 30px;
}

.comment-form-rating label {
  display: block;
  margin-bottom: 10px;
  font-weight: 600;
}

/* Stars */
p.stars a {
  color: #fbbf24;
  transition: transform 0.2s;
}
p.stars a:hover {
  transform: scale(1.2);
}

/* Inputs & Textareas */
.woocommerce-tabs input[type="text"],
.woocommerce-tabs input[type="email"],
.woocommerce-tabs textarea {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  background: #fff;
  margin-bottom: 15px;
  transition:
    border-color 0.3s,
    box-shadow 0.3s;
  font-size: 15px;
}

.woocommerce-tabs input:focus,
.woocommerce-tabs textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Submit Button */
.woocommerce-tabs input.submit {
  background-color: #222;
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 14px;
}

.woocommerce-tabs input.submit:hover {
  background-color: #3b82f6;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(59, 130, 246, 0.3);
}

/* --- 4. Animations Keyframes --- */

@keyframes slideUpFade {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandWidth {
  from {
    width: 0;
    left: 50%;
  }
  to {
    width: 100%;
    left: 0;
  }
}

/* --- Mobile Responsiveness --- */
@media (max-width: 767px) {
  .woocommerce-tabs ul.tabs {
    flex-direction: column;
    border-bottom: none;
  }

  .woocommerce-tabs ul.tabs li {
    width: 100%;
    margin-bottom: 5px;
    background: #f3f4f6;
    border-radius: 6px;
  }

  .woocommerce-tabs ul.tabs li.active::after {
    display: none;
  }

  .woocommerce-tabs ul.tabs li.active {
    background: #3b82f6;
  }

  .woocommerce-tabs ul.tabs li.active a {
    color: white;
  }

  .woocommerce-tabs .woocommerce-Tabs-panel {
    padding: 20px;
  }
  .single-product div.product .product_title {
    font-size: 25px;
  }
  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px !important;
  }
  .ark-footer__bottom {
    justify-content: center;
  }
}

/* My Account */
/* --- Layout Grid --- */
.ark-account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 40px;
  margin-top: 40px;
  margin-bottom: 60px;
}

/* --- Sidebar Styling --- */
.ark-account-sidebar {
  background: #f9fafb;
  border-radius: 8px;
  padding: 30px;
  height: fit-content;
}

/* User Profile Mini-Section */
.ark-account-user {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.ark-account-user img {
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.ark-account-user .ark-user-name {
  font-weight: 700;
  font-size: 16px;
  color: #111;
}

/* --- Navigation Menu --- */
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100%;
}
.woocommerce-MyAccount-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.woocommerce-MyAccount-navigation ul li {
  margin-bottom: 5px;
}

.woocommerce-MyAccount-navigation ul li a {
  display: block;
  padding: 12px 15px;
  color: #555;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 500;
  font-size: 14px;
  transition: all 0.2s ease;
}

/* Hover State */
.woocommerce-MyAccount-navigation ul li a:hover {
  background-color: #fff;
  color: #111;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Active State */
.woocommerce-MyAccount-navigation ul li.is-active a {
  background-color: var(--ark-accent); /* Dark Active Background */
  color: #fff;
}

/* --- Content Body --- */
/* .ark-account-body {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 40px;
} */

.ark-account-body h2 {
  margin-top: 0;
  font-size: 24px;
  margin-bottom: 20px;
}

.ark-account-body address {
  font-style: normal;
  background: #f9fafb;
  padding: 20px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}
.woocommerce-Addresses.col-1,
.woocommerce-Addresses.col2-set {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.woocommerce-Addresses header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.woocommerce-Addresses header h2 {
  margin-bottom: 0;
  margin-right: 15px;
}
.woocommerce-Addresses::before,
.woocommerce-Addresses header::before,
.woocommerce-Addresses header::after,
.woocommerce-Addresses::after {
  display: none !important;
}
.woocommerce .col2-set .col-2,
.woocommerce-page .col2-set .col-2 {
  width: 100%;
}
/* --- Responsive Breakpoints --- */

/* Tablet & Mobile (Stack vertically) */
@media (max-width: 992px) {
  .ark-account-layout {
      display: block;
    
  }

  .ark-account-sidebar {
    padding: 20px;
  }

  /* Make nav items horizontal scrollable on mobile */
  .woocommerce-MyAccount-navigation ul {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding-bottom: 5px;
  }

  .woocommerce-MyAccount-navigation ul li {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .woocommerce-MyAccount-navigation ul li a {
    white-space: nowrap;
    background: #fff;
    border: 1px solid #e5e7eb;
  }
}

.wc-block-product-filter-price-slider__range .range-bar {
  background: var(--ark-accent);
}

.woocommerce-order-received
  .woocommerce-customer-details
  .woocommerce-column--billing-address {
  margin-bottom: 30px;
}
#order_review .woocommerce-form-coupon-toggle, 
#order_review .checkout_coupon {
    display: none !important;
}
.wc-block-cart__empty-cart__title.with-empty-cart-icon:before {
  color: var(--ark-accent);
}

/* --- Wrapper Container --- */
.woocommerce div.product form.cart {
  margin-bottom: 1rem !important;
}
.ark-product-extras {
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb; /* Light separator line */
}

/* --- Social Buttons Section --- */
.ark-social-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 25px;
}

.ark-btn-social {
  flex: 1; /* Makes both buttons equal width */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  color: #ffffff !important; /* Force white text */
  transition: all 0.2s ease;
  text-align: center;
  line-height: 1.2;
}

.ark-btn-social:hover {
  transform: translateY(-2px); /* Slight lift effect */
  opacity: 0.9;
  color: #ffffff;
}

/* Brand Colors */
.ark-btn-messenger {
  background-color: #0084ff; /* Messenger Blue */
}

.ark-btn-wa {
  background-color: #25d366; /* WhatsApp Green */
}

/* --- Shipping Rate List --- */
.ark-shipping-list {
  background-color: #f9fafb; /* Light Grey Background */
  border: 1px solid #f3f4f6;
  border-radius: 8px;
  padding: 20px;
}

.ark-shipping-list h4 {
  margin: 0 0 15px 0;
  font-size: 16px;
  font-weight: 700;
  color: #1f2937;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Add Truck Icon before title */
.ark-shipping-list h4::before {
  content: "🚚";
  font-size: 18px;
}

.ark-shipping-list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.ark-shipping-list li {
  display: flex;
  justify-content: space-between; /* Pushes Name and Price to edges */
  padding: 10px 0;
  border-bottom: 1px dashed #e5e7eb; /* Receipt-style dashed line */
  font-size: 15px;
  color: #4b5563;
}

.ark-shipping-list li:last-child {
  border-bottom: none; /* Remove line from last item */
}

.ark-ship-cost {
  font-weight: 700;
  color: #111827; /* Darker black for price */
}

/* --- Mobile Responsiveness --- */
@media (max-width: 400px) {
  .ark-social-buttons {
    flex-direction: column; /* Stack buttons on very small screens */
  }

  .ark-btn-social {
    width: 100%;
  }
}

.woocommerce div.product div.images .flex-control-thumbs li {
  width: calc(25% - 10px);
  margin: 5px 5px;
}

/* Scope to Single Product Page */

.single-product .product_meta {
  margin-top: 20px;
}
.single-product .product_meta > span {
  display: inline-block;
  width: 100%;
  font-size: 0; /* This hides the Commas and the original "Tags:" text */
  margin-bottom: 10px;
}

/* Re-add the labels "Category" and "Tags" using CSS so they don't have commas */
.single-product .product_meta .posted_in::before {
  content: "Category:";
  font-size: 14px; /* Visible size */
  font-weight: 700;
  color: #333;
  margin-right: 8px;
}

.single-product .product_meta .tagged_as::before {
  content: "Tags:";
  font-size: 14px; /* Visible size */
  font-weight: 700;
  color: #333;
  margin-right: 8px;
}

/* Style the Link Buttons (The Pills) */
.single-product .product_meta span a {
  font-size: 13px; /* Restore font size for the links */
  display: inline-block;
  background-color: #f1f1f1;
  color: #333;
  padding: 5px 12px;
  border-radius: 20px;
  margin-right: 5px; /* Space between buttons */
  margin-bottom: 5px;
  text-decoration: none;
  transition: 0.3s;
}

/* Hover Effect */
.single-product .product_meta span a:hover {
  background-color: #333;
  color: #fff;
}

.single-product table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 16px;
}

.single-product th,
.single-product td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid var(--ark-border);
}

.single-product th {
  background-color: #f4f4f4;
  font-weight: bold;
  color: #333;
}

/* Zebra striping for rows */
.single-product tr:nth-child(even) {
  background-color: #fafafa;
}

/* Hover effect */
.single-product tr:hover {
  background-color: #f1f1f1;
}

.woocommerce-product-gallery {
  opacity: 1 !important;
  display: block !important;
}

.woocommerce-product-gallery__wrapper {
  display: block !important;
  column-count: 2 !important;
  column-gap: 15px !important;
  margin: 0 !important;
  width: 100% !important;
  height: auto !important;
}

/* ৩. ইমেজ আইটেম ফিক্স */
.woocommerce
  div.product
  div.images
  .woocommerce-product-gallery__image:nth-child(1) {
  column-span: all !important; /* এটি সব কলাম জুড়ে থাকবে */
  display: block !important;
  width: 100% !important;
  margin-bottom: 20px !important;
}
.woocommerce-product-gallery__image {
  display: inline-block !important;
  width: 100% !important;
  margin-bottom: 15px !important;
  padding: 0 !important;
}
.woocommerce
  div.product
  div.images
  .woocommerce-product-gallery__wrapper
  .zoomImg {
  object-fit: cover !important;
}

/* ৫. মোবাইল ফিক্স */
@media (max-width: 767px) {
  .woocommerce-product-gallery__wrapper {
    column-count: 1 !important;
  }
  .ark-grid--products .woocommerce-loop-product__title {
    font-size: 16px !important;
  }
}

/* 1. Reset Table Styles */
table.variations {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}
.woocommerce div.product form.cart .variations td,
.woocommerce div.product form.cart .variations th {
  background-color: transparent !important;
  line-height: 1;
  padding-bottom: 0;
}
.woocommerce div.product form.cart .variations {
  /* background-color: var(--ark-accent); */
}
table.variations tbody,
table.variations td,
table.variations th {
  border: none;
  padding: 10px 0;
  vertical-align: middle;
  display: block; /* Stacks label on top of mobile, side-by-side on desktop if needed */
}
table.variations tr {
  background-color: transparent !important;
}
/* Desktop: Keep label side-by-side if you prefer */
@media (min-width: 768px) {
  table.variations tr {
    display: block;
    align-items: center;
  }
  table.variations th.label {
    width: 150px; /* Fixed width for label */
    padding-right: 15px;
  }
  table.variations td.value {
    flex: 1;
    position: relative;
  }
  .single-product div.product .product_title {
    font-size: 28px;
  }
}

/* 2. Style the Label */
table.variations th.label label {
  font-size: 15px;
  font-weight: 600;
  color: #333;
  margin: 0;
}

/* 3. Style the Select Dropdown (The Main Part) */
table.variations select {
  width: 100%;
  max-width: 300px; /* Don't let it get too wide */
  padding: 12px 40px 12px 15px; /* Right padding for the arrow */
  font-size: 15px;
  color: #333;
  background-color: #fff;
  border: 1px solid var(--ark-border);
  border-radius: 8px; /* Soft rounded corners */
  cursor: pointer;
  outline: none;

  /* Hide Default Browser Arrow */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* Add Custom Arrow SVG */
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 16px;
  transition: all 0.3s ease;
}

/* Hover & Focus Effects */
table.variations select:hover {
  border-color: #999;
}

table.variations select:focus {
  border-color: #000; /* Or your brand color */
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

/* 4. Style the 'Clear' button */
a.reset_variations {
  display: inline-block;
  margin-left: 10px;
  font-size: 12px;
  color: #999;
  text-decoration: none;
  transition: color 0.2s;
}

a.reset_variations:hover {
  color: #e02b27; /* Red on hover */
  text-decoration: underline;
}

/* স্কয়ার থাম্বনেল */
.ark-product-card .ark-square {
  aspect-ratio: 1 / 1 !important;
  object-fit: cover !important;
}

/* খাড়া/পোর্ট্রেট থাম্বনেল */
.ark-product-card .ark-portrait {
  aspect-ratio: 2 / 3 !important; /* ৪:৫ বা ২:৩ আপনার পছন্দমতো দিতে পারেন */
  object-fit: cover !important;
}

/* মারকিউ স্লাইডার ডিজাইন */
.ark-notice-slider {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  align-content: center;
  font-weight: 600;
  display: flex;
  align-items: center;
}

/* My Account Page - Login & Register 2 Column Layout */
@media (min-width: 768px) {
  .u-columns.col2-set {
    display: flex !important;
    gap: 40px;
    margin-top: 30px;
  }

  .u-column1,
  .u-column2 {
    flex: 1;
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
  }
}

/* ফর্ম হেডিং স্টাইল */
.woocommerce h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #333;
  text-align: center;
}
.woocommerce-checkout .checkout-header {
  display: none;
}

/* ইনপুট ফিল্ড ডিজাইন */
.woocommerce-form-row input.input-text {
  border-radius: 8px !important;
  padding: 12px !important;
  border: 1px solid var(--ark-border) !important;
  transition: all 0.3s ease;
}

.woocommerce-form-row input.input-text:focus {
  border-color: #d63031 !important; /* আপনার লোগোর কালারের সাথে মিল রেখে */
  box-shadow: 0 0 0 3px rgba(214, 48, 49, 0.1) !important;
  outline: none;
}

/* বাটন ডিজাইন */
button.woocommerce-button.button.woocommerce-form-login__submit,
button.woocommerce-button.button.woocommerce-form-register__submit {
  width: 100%;
  padding: 12px !important;
  border-radius: 8px !important;
  background-color: #d63031 !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background 0.3s ease;
}

button.woocommerce-button.button:hover {
  background-color: #b32424 !important;
}

/* পাসওয়ার্ড রিসেট লিঙ্ক */
.woocommerce-LostPassword {
  text-align: center;
  margin-top: 15px;
}

.woocommerce-LostPassword a {
  color: #d63031;
  font-weight: 500;
  text-decoration: none;
}

/* মোবাইল রেসপন্সিভনেস */
@media (max-width: 767px) {
  .u-columns.col2-set {
    display: block !important;
  }
  .u-column1 {
    margin-bottom: 30px;
  }
}

/* ১. প্রোডাক্ট রেটিং স্টার কালার (Single Product Page) */
.woocommerce div.product .woocommerce-product-rating {
  margin-bottom: 0px;
}
.woocommerce .star-rating span {
  color: #f39c12 !important; /* গোল্ডেন কালার */
}

/* ২. কাস্টমার রিভিউ লিস্ট স্টাইল */
ol.commentlist {
  padding: 0 !important;
  list-style: none;
}

ol.commentlist li.review {
  background: #fdfdfd;
  border: 1px solid #eee;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* ৩. রিভিউয়ারের প্রোফাইল পিকচার (Avatar) */
ol.commentlist li img.avatar {
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* ৪. রিভিউ ফর্মের ইনপুট বক্স */
#review_form_wrapper #respond input[type="text"],
#review_form_wrapper #respond input[type="email"],
#review_form_wrapper #respond textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--ark-border);
  border-radius: 8px;
  background: #fff;
  margin-bottom: 10px;
}

/* ৫. রিভিউ সাবমিট বাটন */
#review_form_wrapper #respond #submit {
  background-color: #d63031 !important; /* আপনার থিম কালার */
  color: #fff;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: 600;
  transition: 0.3s;
  border: none;
  cursor: pointer;
}

#review_form_wrapper #respond #submit:hover {
  background-color: #b32424 !important;
}

/* ৬. স্টার রেটিং সিলেক্টর (লিখে রিভিউ দেওয়ার সময়) */
p.stars a {
  color: #f39c12 !important;
}

/* ৭. রিভিউ টাইটেল বা হেডিং */
.woocommerce-Reviews-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 25px;
  color: #333;
}

.arkbae-review-slider {
  padding: 40px 0;
}
.review-card {
  background: #fff;
  border-radius: 15px;
  padding: 20px;
  border: 1px solid #eee;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: auto;
}
.product-info {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  border-bottom: 1px solid #f9f9f9;
  padding-bottom: 10px;
}
.product-info img {
  width: 50px;
  height: 50px;
  border-radius: 5px;
  object-fit: cover;
}
.product-info h4 {
  font-size: 14px;
  margin: 0;
  color: #333;
}
.review-content p {
  font-style: italic;
  color: #555;
  margin: 10px 0;
}
.review-screenshot img {
  width: 100%;
  margin-top: 15px;
  border-radius: 8px;
  border: 1px dashed #ccc;
  cursor: zoom-in;
}
.stars .star-rating {
  font-size: 12px;
  color: #f39c12;
}

@media (max-width: 1350px) {
  .ark-shoplayout {
    grid-template-columns: 220px 1fr;
  }
  .woocommerce .widget_price_filter .price_slider_amount .button {
    float: none;
  }
  .woocommerce .widget_price_filter .price_slider_amount {
    text-align: left;
  }
}
@media (max-width: 980px) {
  .ark-grid--posts,
  .ark-grid--products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  .ark-shoplayout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .ark-grid--posts,
  .ark-grid--products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  .ark-treding-products .ark-container--wide {
    padding: 30px 10px;
    border-radius: 18px;
  }
}

@media (max-width: 480px) {
  .ark-product-card__body {
    padding: 0 5px;
  }
  .ark-grid--products .woocommerce-loop-product__title {
    font-size: 13px !important;
  }
  .ark-product-card__footer {
    padding: 5px;
  }
  .ark-header__toggle,
  .ark-action {
    width: 30px;
    height: 30px;
  }
  .ark-action svg {
    width: 14px;
    gap: 3;
  }
  .ark-container {
    width: calc(100% - 20px);
    margin-inline-start: 10px;
    margin-inline-end: 10px;
  }
  .ark-grid--posts,
  .ark-grid--products {
    gap: 5px;
    grid-template-columns: repeat(2, 1fr);
  }
  .woocommerce ul.products[class*="columns-"] li.product,
  .woocommerce-page ul.products[class*="columns-"] li.product {
    width: 100%;
    margin: 0 !important;
  }
  .ark-product-card {
    display: block;
  }
  .wp-block-button__link,
  .woocommerce ul.products li.product .button:not(.direct-buy-btn),
  .product .add_to_cart_button {
    font-size: 14px !important;
  }
}
@media (max-width: 1100px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
  }
}
@media (max-width: 820px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .wp-block-button__link,
  .woocommerce ul.products li.product .button:not(.direct-buy-btn),
  .product .add_to_cart_button {
    font-size: 14px !important;
  }
}
@media (max-width: 520px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 375px) {
  .woocommerce ul.products,
  .ark-grid--posts,
  .ark-grid--products {
    grid-template-columns: repeat(1, minmax(0, 1fr)) !important;
  }
}


/* Mobile-friendly WooCommerce My Account layout */
@media (max-width: 767px) {

  .ark-account-layout {
    display: flex;
    flex-direction: column;
    gap: 16px;
  }

  .ark-account-sidebar,
  .ark-account-body {
    width: 100%;
  }

  .ark-account-sidebar {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    padding: 16px;
  }

  .ark-account-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #eee;
  }

  .ark-account-user img.avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    flex: 0 0 52px;
  }

  .ark-user-name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
  }

  .woocommerce-MyAccount-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .woocommerce-MyAccount-navigation li {
    margin: 0;
  }

  .woocommerce-MyAccount-navigation a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 12px;
    text-align: center;
    text-decoration: none;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: #222;
    background: #f7f7f7;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    transition: all 0.2s ease;
  }

  .woocommerce-MyAccount-navigation li.is-active a,
  .woocommerce-MyAccount-navigation a:hover,
  .woocommerce-MyAccount-navigation a:focus {
    background: #111;
    color: #fff;
    border-color: #111;
  }

  .ark-account-body {
    background: #fff;
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    padding: 16px;
  }

  .ark-account-body p {
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.7;
    word-break: break-word;
  }

  .ark-account-body p:last-child {
    margin-bottom: 0;
  }

  .ark-account-body a {
    word-break: break-word;
  }
}

/* Extra small phones */
@media (max-width: 480px) {
  .woocommerce-MyAccount-navigation ul {
    grid-template-columns: 1fr;
  }

  .ark-account-sidebar,
  .ark-account-body {
    padding: 14px;
    border-radius: 12px;
  }

  .ark-account-user {
    gap: 10px;
  }

  .ark-user-name {
    font-size: 15px;
  }

  .woocommerce-MyAccount-navigation a {
    font-size: 14px;
    min-height: 42px;
    padding: 10px;
  }

  .ark-account-body p {
    font-size: 14px;
    line-height: 1.65;
  }
}