/*
Theme Name: Astra Child
Template: astra
Version: 2.0.0
Description: Modern e-commerce child theme with TailwindCSS
*/

/* =========================================
   WooCommerce Core Styling
   Higher specificity with body prefix
   ========================================= */


body {
  scroll-behavior: smooth;
}

/* Product Grid */
body.woocommerce ul.products,
body .woocommerce ul.products,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 1rem !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
}

@media (min-width: 768px) {
  body.woocommerce ul.products,
  body .woocommerce ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
  }
}

@media (min-width: 1024px) {
  body.woocommerce ul.products,
  body .woocommerce ul.products,
  .woocommerce ul.products {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

body.woocommerce ul.products li.product,
body .woocommerce ul.products li.product,
.woocommerce ul.products li.product {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
}

/* =========================================
   Buttons - High Specificity
   ========================================= */
body.woocommerce a.button,
body.woocommerce button.button,
body.woocommerce input.button,
body.woocommerce input[type="submit"],
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce input.button,
body .woocommerce input[type="submit"],
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce-page a.button,
.woocommerce-page button.button,
.woocommerce-page input.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: linear-gradient(135deg, #9333ea 0%, #0284c7 100%) !important;
  border: none !important;
  border-radius: 0.75rem !important;
  cursor: pointer !important;
  transition: all 0.3s !important;
  text-decoration: none !important;
  line-height: 1.5 !important;
}

body.woocommerce a.button:hover,
body.woocommerce button.button:hover,
body.woocommerce input.button:hover,
body .woocommerce a.button:hover,
body .woocommerce button.button:hover,
body .woocommerce input.button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce #respond input#submit:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 25px -5px rgba(147, 51, 234, 0.4) !important;
  color: #fff !important;
}

body.woocommerce a.button.alt,
body.woocommerce button.button.alt,
body.woocommerce input.button.alt,
body .woocommerce a.button.alt,
body .woocommerce button.button.alt,
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background: linear-gradient(135deg, #9333ea 0%, #0284c7 100%) !important;
}

/* Disabled buttons */
body.woocommerce a.button.disabled,
body.woocommerce button.button.disabled,
body .woocommerce a.button.disabled,
.woocommerce a.button.disabled,
.woocommerce button.button:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
}

/* Outline/Secondary Buttons */
body.woocommerce a.button.wc-backward,
body .woocommerce a.button.wc-backward,
.woocommerce a.button.wc-backward,
.woocommerce .woocommerce-Button--previous {
  background: #f1f5f9 !important;
  color: #334155 !important;
}

body.woocommerce a.button.wc-backward:hover,
body .woocommerce a.button.wc-backward:hover,
.woocommerce a.button.wc-backward:hover {
  background: #e2e8f0 !important;
  color: #1e293b !important;
}

/* =========================================
   Form Inputs - High Specificity
   ========================================= */
body.woocommerce form .form-row input.input-text,
body.woocommerce form .form-row textarea,
body.woocommerce form .form-row select,
body .woocommerce form .form-row input.input-text,
body .woocommerce form .form-row textarea,
body .woocommerce form .form-row select,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea,
.woocommerce form .form-row select,
.woocommerce-page form .form-row input.input-text,
.woocommerce-page form .form-row textarea,
.woocommerce-page form .form-row select,
body.woocommerce input[type="text"],
body.woocommerce input[type="email"],
body.woocommerce input[type="tel"],
body.woocommerce input[type="password"],
body.woocommerce input[type="number"],
body.woocommerce select,
body.woocommerce textarea,
body .woocommerce input[type="text"],
body .woocommerce input[type="email"],
body .woocommerce input[type="tel"],
body .woocommerce input[type="password"],
body .woocommerce input[type="number"],
body .woocommerce select,
body .woocommerce textarea,
.woocommerce input[type="text"],
.woocommerce input[type="email"],
.woocommerce input[type="tel"],
.woocommerce input[type="password"],
.woocommerce input[type="number"],
.woocommerce select,
.woocommerce textarea {
  width: 100% !important;
  padding: 0.875rem 1rem !important;
  font-size: 0.9375rem !important;
  font-family: inherit !important;
  color: #1e293b !important;
  background: #fff !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.75rem !important;
  transition: all 0.2s !important;
  outline: none !important;
  box-sizing: border-box !important;
}

body.woocommerce form .form-row input.input-text:focus,
body.woocommerce form .form-row textarea:focus,
body.woocommerce form .form-row select:focus,
body .woocommerce input:focus,
body .woocommerce select:focus,
body .woocommerce textarea:focus,
.woocommerce input:focus,
.woocommerce select:focus,
.woocommerce textarea:focus {
  border-color: #9333ea !important;
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1) !important;
}

body.woocommerce form .form-row label,
body .woocommerce form .form-row label,
.woocommerce form .form-row label {
  display: block !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #374151 !important;
}

body.woocommerce form .form-row,
body .woocommerce form .form-row,
.woocommerce form .form-row {
  margin-bottom: 1.25rem !important;
  padding: 0 !important;
}

/* =========================================
   Tables - High Specificity
   ========================================= */
body.woocommerce table.shop_table,
body .woocommerce table.shop_table,
.woocommerce table.shop_table,
.woocommerce-page table.shop_table {
  border: none !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: #fff !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
  width: 100% !important;
}

body.woocommerce table.shop_table thead th,
body .woocommerce table.shop_table thead th,
.woocommerce table.shop_table thead th {
  background: #f8fafc !important;
  padding: 1rem 1.25rem !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em !important;
  color: #64748b !important;
  border: none !important;
  text-align: left !important;
}

body.woocommerce table.shop_table td,
body .woocommerce table.shop_table td,
.woocommerce table.shop_table td {
  padding: 1.25rem !important;
  border: none !important;
  border-bottom: 1px solid #f1f5f9 !important;
  vertical-align: middle !important;
}

body.woocommerce table.shop_table tbody tr:last-child td,
body .woocommerce table.shop_table tbody tr:last-child td,
.woocommerce table.shop_table tbody tr:last-child td {
  border-bottom: none !important;
}

/* =========================================
   Cart Page - High Specificity
   ========================================= */
body.woocommerce-cart .woocommerce,
.woocommerce-cart .woocommerce {
  max-width: 100% !important;
}

body.woocommerce-cart .shop_table.cart,
.woocommerce-cart .shop_table.cart {
  margin-bottom: 2rem !important;
}

body.woocommerce-cart .product-thumbnail img,
.woocommerce-cart .product-thumbnail img {
  width: 80px !important;
  height: 80px !important;
  object-fit: cover !important;
  border-radius: 0.75rem !important;
}

body.woocommerce-cart .product-name a,
.woocommerce-cart .product-name a {
  font-weight: 500 !important;
  color: #1e293b !important;
  text-decoration: none !important;
}

body.woocommerce-cart .product-name a:hover,
.woocommerce-cart .product-name a:hover {
  color: #9333ea !important;
}

body.woocommerce-cart .product-remove a,
.woocommerce-cart .product-remove a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 2rem !important;
  height: 2rem !important;
  font-size: 1.25rem !important;
  color: #94a3b8 !important;
  background: #f1f5f9 !important;
  border-radius: 0.5rem !important;
  text-decoration: none !important;
}

body.woocommerce-cart .product-remove a:hover,
.woocommerce-cart .product-remove a:hover {
  color: #ef4444 !important;
  background: #fef2f2 !important;
}

body.woocommerce-cart .quantity .qty,
.woocommerce-cart .quantity .qty {
  width: 4rem !important;
  padding: 0.5rem !important;
  text-align: center !important;
}

body.woocommerce-cart .actions,
.woocommerce-cart .actions {
  padding: 1.5rem !important;
  background: #f8fafc !important;
  border-radius: 0 0 1rem 1rem !important;
}

body.woocommerce-cart .actions .coupon,
.woocommerce-cart .actions .coupon {
  display: flex !important;
  gap: 0.75rem !important;
  flex-wrap: wrap !important;
}

body.woocommerce-cart .actions .coupon input,
.woocommerce-cart .actions .coupon input {
  max-width: 200px !important;
}

body.woocommerce .cart_totals,
body .woocommerce .cart_totals,
.woocommerce .cart_totals {
  background: #fff !important;
  padding: 1.5rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

body.woocommerce .cart_totals h2,
body .woocommerce .cart_totals h2,
.woocommerce .cart_totals h2 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  margin-bottom: 1.5rem !important;
  color: #1e293b !important;
}

body.woocommerce .cart_totals table,
.woocommerce .cart_totals table {
  box-shadow: none !important;
}

body.woocommerce .wc-proceed-to-checkout,
.woocommerce .wc-proceed-to-checkout {
  padding-top: 1.5rem !important;
}

body.woocommerce .wc-proceed-to-checkout a.checkout-button,
.woocommerce .wc-proceed-to-checkout a.checkout-button {
  display: block !important;
  width: 100% !important;
  padding: 1rem !important;
  font-size: 1rem !important;
}

/* =========================================
   Checkout Page - High Specificity
   ========================================= */
body.woocommerce-checkout .woocommerce,
.woocommerce-checkout .woocommerce {
  max-width: 100% !important;
}

body.woocommerce-checkout .col2-set,
.woocommerce-checkout .col2-set {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media (min-width: 768px) {
  body.woocommerce-checkout .col2-set,
  .woocommerce-checkout .col2-set {
    grid-template-columns: 1fr 1fr !important;
  }
}

body.woocommerce-checkout .col2-set .col-1,
body.woocommerce-checkout .col2-set .col-2,
.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

body.woocommerce-checkout h3,
.woocommerce-checkout h3 {
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 2px solid #f1f5f9 !important;
}

body.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review_heading {
  margin-top: 2rem !important;
}

body.woocommerce-checkout #order_review,
.woocommerce-checkout #order_review {
  background: #fff !important;
  padding: 1.5rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

body.woocommerce-checkout #payment,
.woocommerce-checkout #payment {
  background: #f8fafc !important;
  padding: 1.5rem !important;
  border-radius: 1rem !important;
  margin-top: 1.5rem !important;
}

body.woocommerce-checkout #payment ul.payment_methods,
.woocommerce-checkout #payment ul.payment_methods {
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  list-style: none !important;
  border: none !important;
}

body.woocommerce-checkout #payment ul.payment_methods li,
.woocommerce-checkout #payment ul.payment_methods li {
  padding: 1rem !important;
  margin-bottom: 0.5rem !important;
  background: #fff !important;
  border-radius: 0.75rem !important;
  border: 1px solid #e2e8f0 !important;
}

body.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label,
.woocommerce-checkout #payment ul.payment_methods li.wc_payment_method > label {
  display: flex !important;
  align-items: center !important;
  gap: 0.75rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
}

body.woocommerce-checkout #payment .place-order,
.woocommerce-checkout #payment .place-order {
  padding-top: 1.5rem !important;
}

body.woocommerce-checkout #payment #place_order,
.woocommerce-checkout #payment #place_order {
  width: 100% !important;
  padding: 1rem !important;
  font-size: 1.125rem !important;
}

/* =========================================
   My Account Page - High Specificity
   ========================================= */
body.woocommerce-account .woocommerce,
.woocommerce-account .woocommerce {
  max-width: 100% !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation,
.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100% !important;
  float: none !important;
  margin-bottom: 2rem !important;
}

@media (min-width: 768px) {
  body.woocommerce-account .woocommerce-MyAccount-navigation,
  .woocommerce-account .woocommerce-MyAccount-navigation {
    width: 25% !important;
    float: left !important;
    margin-bottom: 0 !important;
    padding-right: 2rem !important;
  }
  
  body.woocommerce-account .woocommerce-MyAccount-content,
  .woocommerce-account .woocommerce-MyAccount-content {
    width: 75% !important;
    float: left !important;
  }
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul,
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  background: #fff !important;
  border-radius: 1rem !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li,
.woocommerce-account .woocommerce-MyAccount-navigation ul li {
  margin: 0 !important;
  border-bottom: 1px solid #f1f5f9 !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child,
.woocommerce-account .woocommerce-MyAccount-navigation ul li:last-child {
  border-bottom: none !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {
  display: flex !important;
  align-items: center !important;
  padding: 1rem 1.25rem !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  color: #475569 !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {
  background: #f8fafc !important;
  color: #9333ea !important;
}

body.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a {
  background: linear-gradient(135deg, #9333ea 0%, #0284c7 100%) !important;
  color: #fff !important;
}

body.woocommerce-account .woocommerce-MyAccount-content,
.woocommerce-account .woocommerce-MyAccount-content {
  background: #fff !important;
  padding: 1.5rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

/* Login/Register Forms */
body.woocommerce-account .u-columns,
.woocommerce-account .u-columns {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 2rem !important;
}

@media (min-width: 768px) {
  body.woocommerce-account .u-columns,
  .woocommerce-account .u-columns {
    grid-template-columns: 1fr 1fr !important;
  }
}

body.woocommerce-account .u-columns .u-column1,
body.woocommerce-account .u-columns .u-column2,
.woocommerce-account .u-columns .u-column1,
.woocommerce-account .u-columns .u-column2 {
  width: 100% !important;
  float: none !important;
  padding: 0 !important;
}

body.woocommerce-account .woocommerce-form-login,
body.woocommerce-account .woocommerce-form-register,
.woocommerce-account .woocommerce-form-login,
.woocommerce-account .woocommerce-form-register {
  background: #fff !important;
  padding: 2rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

body.woocommerce-account .woocommerce-form-login h2,
body.woocommerce-account .woocommerce-form-register h2,
.woocommerce-account .woocommerce-form-login h2,
.woocommerce-account .woocommerce-form-register h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #1e293b !important;
  margin-bottom: 1.5rem !important;
}

/* =========================================
   Notices & Messages - High Specificity
   ========================================= */
body.woocommerce .woocommerce-message,
body.woocommerce .woocommerce-info,
body.woocommerce .woocommerce-error,
body .woocommerce .woocommerce-message,
body .woocommerce .woocommerce-info,
body .woocommerce .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info,
.woocommerce .woocommerce-error,
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
.wc-block-components-notice-banner {
  padding: 1rem 1.25rem !important;
  margin-bottom: 1.5rem !important;
  border-radius: 0.75rem !important;
  border: none !important;
  font-size: 0.9375rem !important;
  line-height: 1.5 !important;
}

.woocommerce-message::before,
.woocommerce-info::before,
.woocommerce-error::before {
  display: none !important;
}

body.woocommerce .woocommerce-message,
body .woocommerce .woocommerce-message,
.woocommerce .woocommerce-message,
.woocommerce-message {
  background: #ecfdf5 !important;
  color: #065f46 !important;
}

body.woocommerce .woocommerce-info,
body .woocommerce .woocommerce-info,
.woocommerce .woocommerce-info,
.woocommerce-info {
  background: #eff6ff !important;
  color: #1e40af !important;
}

body.woocommerce .woocommerce-error,
body .woocommerce .woocommerce-error,
.woocommerce .woocommerce-error,
.woocommerce-error {
  background: #fef2f2 !important;
  color: #991b1b !important;
}

.woocommerce-error li {
  list-style: none !important;
}

/* =========================================
   Single Product - High Specificity
   ========================================= */
body.single-product div.product div.images,
body.single-product div.product div.summary,
body .woocommerce div.product div.images,
body .woocommerce div.product div.summary,
.woocommerce div.product div.images,
.woocommerce div.product div.summary {
  float: none !important;
  width: 100% !important;
}

body.single-product div.product div.images img,
.woocommerce div.product div.images img {
  border-radius: 1rem !important;
}

body.single-product div.product form.cart,
.woocommerce div.product form.cart {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 1rem !important;
  align-items: center !important;
  margin-top: 1.5rem !important;
  margin-bottom: 1.5rem !important;
}

body.single-product div.product form.cart .quantity,
.woocommerce div.product form.cart .quantity {
  margin: 0 !important;
}

body.single-product div.product form.cart .quantity .qty,
.woocommerce div.product form.cart .quantity .qty {
  width: 5rem !important;
  padding: 0.875rem !important;
  text-align: center !important;
}

body.single-product div.product form.cart .single_add_to_cart_button,
.woocommerce div.product form.cart .single_add_to_cart_button {
  flex: 1 !important;
  min-width: 200px !important;
  padding: 1rem 2rem !important;
  font-size: 1rem !important;
}

/* Product Tabs */
body.single-product div.product .woocommerce-tabs,
.woocommerce div.product .woocommerce-tabs {
  margin-top: 3rem !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs,
.woocommerce div.product .woocommerce-tabs ul.tabs {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 0.5rem !important;
  padding: 0 !important;
  margin: 0 0 1.5rem 0 !important;
  border: none !important;
  list-style: none !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs::before,
.woocommerce div.product .woocommerce-tabs ul.tabs::before {
  display: none !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li,
.woocommerce div.product .woocommerce-tabs ul.tabs li {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li::before,
body.single-product div.product .woocommerce-tabs ul.tabs li::after,
.woocommerce div.product .woocommerce-tabs ul.tabs li::before,
.woocommerce div.product .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a {
  display: block !important;
  padding: 0.75rem 1.5rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  border-radius: 9999px !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

body.single-product div.product .woocommerce-tabs ul.tabs li.active a,
body.single-product div.product .woocommerce-tabs ul.tabs li a:hover,
.woocommerce div.product .woocommerce-tabs ul.tabs li.active a,
.woocommerce div.product .woocommerce-tabs ul.tabs li a:hover {
  color: #fff !important;
  background: #0f172a !important;
}

body.single-product div.product .woocommerce-tabs .panel,
.woocommerce div.product .woocommerce-tabs .panel {
  background: #fff !important;
  padding: 1.5rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

/* Related Products */
body.single-product .related.products,
body.single-product .upsells.products,
.woocommerce .related.products,
.woocommerce .upsells.products {
  margin-top: 4rem !important;
}

body.single-product .related.products > h2,
body.single-product .upsells.products > h2,
.woocommerce .related.products > h2,
.woocommerce .upsells.products > h2 {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  margin-bottom: 1.5rem !important;
}

/* =========================================
   Pagination - High Specificity
   ========================================= */
body.woocommerce nav.woocommerce-pagination,
.woocommerce nav.woocommerce-pagination {
  margin-top: 3rem !important;
}

body.woocommerce nav.woocommerce-pagination ul,
.woocommerce nav.woocommerce-pagination ul {
  display: flex !important;
  justify-content: center !important;
  gap: 0.5rem !important;
  border: none !important;
}

body.woocommerce nav.woocommerce-pagination ul li,
.woocommerce nav.woocommerce-pagination ul li {
  border: none !important;
}

body.woocommerce nav.woocommerce-pagination ul li a,
body.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 2.5rem !important;
  height: 2.5rem !important;
  padding: 0 0.75rem !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
  color: #64748b !important;
  background: #f1f5f9 !important;
  border-radius: 0.5rem !important;
  text-decoration: none !important;
  transition: all 0.2s !important;
}

body.woocommerce nav.woocommerce-pagination ul li a:hover,
body.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover,
.woocommerce nav.woocommerce-pagination ul li span.current {
  color: #fff !important;
  background: #9333ea !important;
}

/* =========================================
   Star Rating
   ========================================= */
body.woocommerce .star-rating,
.woocommerce .star-rating {
  color: #fbbf24 !important;
}

body.woocommerce .star-rating span::before,
.woocommerce .star-rating span::before {
  color: #fbbf24 !important;
}

/* =========================================
   Sale Badge
   ========================================= */
body.woocommerce span.onsale,
body .woocommerce span.onsale,
.woocommerce span.onsale {
  position: absolute !important;
  top: 0.75rem !important;
  left: 0.75rem !important;
  min-width: auto !important;
  min-height: auto !important;
  padding: 0.375rem 0.875rem !important;
  font-size: 0.75rem !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.025em !important;
  color: #fff !important;
  background: linear-gradient(135deg, #ef4444 0%, #ec4899 100%) !important;
  border-radius: 9999px !important;
  line-height: 1.25 !important;
  z-index: 10 !important;
}

/* =========================================
   Ordering & Result Count
   ========================================= */
body.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-result-count {
  font-size: 0.875rem !important;
  color: #64748b !important;
  margin: 0 !important;
}

body.woocommerce .woocommerce-ordering,
.woocommerce .woocommerce-ordering {
  margin: 0 !important;
}

body.woocommerce .woocommerce-ordering select,
.woocommerce .woocommerce-ordering select {
  padding: 0.625rem 2.5rem 0.625rem 1rem !important;
  font-size: 0.875rem !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.5rem !important;
  background-color: #fff !important;
  cursor: pointer !important;
}

/* =========================================
   Breadcrumbs
   ========================================= */
body.woocommerce .woocommerce-breadcrumb,
.woocommerce .woocommerce-breadcrumb {
  font-size: 0.875rem !important;
  color: #64748b !important;
  margin-bottom: 1.5rem !important;
}

body.woocommerce .woocommerce-breadcrumb a,
.woocommerce .woocommerce-breadcrumb a {
  color: #9333ea !important;
  text-decoration: none !important;
}

body.woocommerce .woocommerce-breadcrumb a:hover,
.woocommerce .woocommerce-breadcrumb a:hover {
  text-decoration: underline !important;
}

/* =========================================
   Price
   ========================================= */
body.single-product div.product p.price,
body.single-product div.product span.price,
body .woocommerce div.product p.price,
body .woocommerce div.product span.price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
}

body.single-product div.product p.price del,
body.single-product div.product span.price del,
.woocommerce div.product p.price del,
.woocommerce div.product span.price del {
  color: #94a3b8 !important;
  font-size: 1.125rem !important;
}

body.single-product div.product p.price ins,
body.single-product div.product span.price ins,
.woocommerce div.product p.price ins,
.woocommerce div.product span.price ins {
  text-decoration: none !important;
  color: #9333ea !important;
}

/* =========================================
   Empty Cart
   ========================================= */
body.woocommerce-cart .cart-empty,
.woocommerce-cart .cart-empty {
  text-align: center !important;
  padding: 4rem 2rem !important;
}

body.woocommerce-cart .cart-empty::before,
.woocommerce-cart .cart-empty::before {
  content: "🛒" !important;
  display: block !important;
  font-size: 4rem !important;
  margin-bottom: 1rem !important;
}

body.woocommerce-cart .return-to-shop,
.woocommerce-cart .return-to-shop {
  text-align: center !important;
  margin-top: 1.5rem !important;
}

/* =========================================
   Order Received / Thank You
   ========================================= */
body.woocommerce-order-received .woocommerce-order,
.woocommerce-order-received .woocommerce-order {
  background: #fff !important;
  padding: 2rem !important;
  border-radius: 1rem !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.1) !important;
}

body.woocommerce-order-received .woocommerce-thankyou-order-received,
.woocommerce-order-received .woocommerce-thankyou-order-received {
  font-size: 1.25rem !important;
  font-weight: 600 !important;
  color: #059669 !important;
  margin-bottom: 1.5rem !important;
}

/* =========================================
   Quantity input styling
   ========================================= */
body.woocommerce .quantity,
.woocommerce .quantity {
  display: inline-flex !important;
  align-items: center !important;
}

body.woocommerce .quantity input.qty,
.woocommerce .quantity input.qty {
  width: 4rem !important;
  padding: 0.75rem !important;
  text-align: center !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 0.5rem !important;
}

/* =========================================
   Add to Cart button in loop
   ========================================= */
body.woocommerce ul.products li.product .button.add_to_cart_button,
body .woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product .button.add_to_cart_button,
.woocommerce ul.products li.product a.button {
  width: 100% !important;
  margin-top: 0.5rem !important;
}

/* =========================================
   Fixes & Overrides
   ========================================= */
#wp-admin-bar-search {
  display: none !important;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.ast-scroll-top-icon {
  border-radius: 99px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

