/*
Theme Name: Huda Woo Basic
Theme URI: https://example.com/huda-woo-basic
Author: Huda Themes
Author URI: https://example.com
Description: Basic WooCommerce-ready theme with custom cart and checkout templates.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
Text Domain: huda-woo-basic
*/

:root {
  --huda-bg: #ffffff;
  --huda-text: #1f2937;
  --huda-card: #ffffff;
  --huda-primary: #3b82f6;
  --huda-primary-dark: #1d4ed8;
  --huda-border: #dbe2ec;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: var(--huda-bg);
  color: var(--huda-text);
}

a {
  color: var(--huda-primary-dark);
  text-decoration: none;
}

.site-header {
  background: #0f172a;
  color: #fff;
}

.site-header a {
  color: #fff;
}

.huda-wrap {
  max-width: 1300px;
  margin: 0 auto;
}

.site-branding {
  font-weight: 700;
  font-size: 24px;
}

.site-nav {
  display: flex;
  gap: 16px;
  margin-top: 8px;
}

.huda-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}

.huda-card {
  background: var(--huda-card);
  padding: 18px 0;
}

.button,
button,
input[type="submit"] {
  background: var(--huda-primary);
  color: #fff;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  cursor: pointer;
}

.button:hover,
button:hover,
input[type="submit"]:hover {
  background: var(--huda-primary-dark);
  color: #fff;
}

.woocommerce ul.products li.product {
  background: var(--huda-card);
  border: 1px solid var(--huda-border);
  border-radius: 12px;
  padding: 14px;
}

.huda-cart-layout,
.huda-checkout-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.huda-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--huda-card);
  border-radius: 12px;
  overflow: hidden;
}

.huda-table th,
.huda-table td {
  border-bottom: 1px solid var(--huda-border);
  padding: 12px;
  text-align: left;
}

.huda-panel {
  background: var(--huda-card);
  border: 1px solid var(--huda-border);
  border-radius: 12px;
  padding: 16px;
}

@media (max-width: 900px) {
  .huda-cart-layout,
  .huda-checkout-layout {
    grid-template-columns: 1fr;
  }
}

/* Cart page styles */
.woocommerce-cart .huda-panel h3,
.woocommerce-checkout .huda-panel h3 {
  margin-top: 0;
  margin-bottom: 16px;
  font-size: 22px;
}

.woocommerce-cart .huda-table th {
  background: #eef3fb;
  color: #0f172a;
  font-size: 14px;
  font-weight: 700;
}

.woocommerce-cart .huda-table td {
  vertical-align: middle;
}

.woocommerce-cart .product-remove .remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #dc2626;
  font-size: 18px;
  line-height: 1;
}

.woocommerce-cart .product-remove .remove:hover {
  background: #dc2626;
  color: #fff;
}

.woocommerce-cart .product-name a {
  font-weight: 600;
  color: #111827;
}

.woocommerce-cart .product-subtotal,
.woocommerce-cart .product-price {
  font-weight: 600;
}

.woocommerce-cart .quantity .qty {
  width: 90px;
  padding: 8px 10px;
  border: 1px solid var(--huda-border);
  border-radius: 8px;
}

.woocommerce-cart .actions {
  text-align: right;
  background: #f8fafc;
}

.woocommerce-cart .cart-collaterals .cart_totals table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 14px;
}

.woocommerce-cart .cart-collaterals .cart_totals th,
.woocommerce-cart .cart-collaterals .cart_totals td {
  border-bottom: 1px solid var(--huda-border);
  padding: 10px 0;
  text-align: left;
}

.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 14px;
}

.woocommerce-cart .wc-proceed-to-checkout .button {
  width: 100%;
  text-align: center;
  display: block;
  font-weight: 700;
}

/* Checkout page styles */
.woocommerce-checkout form.checkout {
  margin-top: 20px;
}

.woocommerce-checkout #customer_details .col-1,
.woocommerce-checkout #customer_details .col-2 {
  width: 100%;
  float: none;
}

.woocommerce-checkout .form-row {
  margin-bottom: 14px;
}

.woocommerce-checkout .form-row label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  color: #1f2937;
}

.woocommerce-checkout .input-text,
.woocommerce-checkout select,
.woocommerce-checkout textarea {
  width: 100%;
  border: 1px solid var(--huda-border);
  border-radius: 8px;
  padding: 11px 12px;
  background: #fff;
  color: #1f2937;
}

.woocommerce-checkout .input-text:focus,
.woocommerce-checkout select:focus,
.woocommerce-checkout textarea:focus {
  border-color: #93c5fd;
  outline: none;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.16);
}

.woocommerce-checkout #order_review {
  background: #f8fbff;
  border: 1px solid #d9e8ff;
  border-radius: 10px;
  padding: 14px;
}

.woocommerce-checkout table.shop_table {
  width: 100%;
  border-collapse: separate;
  padding: 10px;
}

.woocommerce-checkout table.shop_table th,
.woocommerce-checkout table.shop_table td {
  border-bottom: 1px solid var(--huda-border);
  padding: 10px 0;
}

.woocommerce-checkout #payment {
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--huda-border);
}

.woocommerce-checkout #payment ul.payment_methods {
  list-style: none;
  margin: 0 0 12px;
}

.woocommerce-checkout #payment .payment_box {
  background: #fff;
  border: 1px solid var(--huda-border);
  border-radius: 8px;
  padding: 10px;
  margin: 8px 0 12px;
}

.woocommerce-checkout .place-order .button,
.woocommerce-checkout #place_order {
  width: 100%;
  font-weight: 700;
  padding: 12px 14px;
}

/* Woo notices */
.woocommerce-notices-wrapper .woocommerce-message,
.woocommerce-notices-wrapper .woocommerce-error,
.woocommerce-notices-wrapper .woocommerce-info {
  border-radius: 10px;
  border: 1px solid var(--huda-border);
  padding: 12px 14px;
  margin-bottom: 14px;
  background: #fff;
}

.woocommerce-notices-wrapper .woocommerce-error {
  border-color: #fecaca;
  background: #fff1f2;
}

@media (max-width: 768px) {
  .woocommerce-cart .huda-table thead {
    display: none;
  }

  .woocommerce-cart .huda-table,
  .woocommerce-cart .huda-table tbody,
  .woocommerce-cart .huda-table tr,
  .woocommerce-cart .huda-table td {
    display: block;
    width: 100%;
  }

  .woocommerce-cart .huda-table tr {
    margin-bottom: 14px;
    border: 1px solid var(--huda-border);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  .woocommerce-cart .huda-table td {
    border-bottom: 1px solid var(--huda-border);
    padding: 10px 12px;
  }

  .woocommerce-cart .huda-table td:last-child {
    border-bottom: 0;
  }

  .woocommerce-cart .actions {
    text-align: left;
  }
}

/* Reference-style cart redesign */
.woocommerce-cart .huda-card {
  margin: 42px 0;
}

.woocommerce-cart .huda-cart-shell {
  max-width: 100%;
  margin: 0 auto;
}

.woocommerce-cart .huda-cart-title {
  font-size: 34px;
  line-height: 1.2;
  margin: 0 0 26px;
  font-weight: 400;
  color: #202020;
}

.woocommerce-cart .huda-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(320px, 1fr);
  gap: 44px;
  align-items: start;
}

.woocommerce-cart .huda-cart-right {
  border-left: 1px solid #ececec;
  padding-left: 44px;
}

.woocommerce-cart .huda-table {
  border: 0;
  border-radius: 0;
  background: #fff;
}

.woocommerce-cart .huda-table th,
.woocommerce-cart .huda-table td {
  border-bottom: 1px solid #efefef;
  color: #333;
  padding: 18px 8px;
  font-size: 14px;
  font-weight: 400;
}

.woocommerce-cart .huda-table thead th {
  background: transparent;
  color: #666;
  font-size: 13px;
  font-weight: 400;
  text-transform: none;
  padding-top: 8px;
  padding-bottom: 16px;
}

.woocommerce-cart .huda-table td.product-remove {
  width: 34px;
}

.woocommerce-cart .huda-table td.product-thumbnail {
  width: 130px;
}

.woocommerce-cart .product-thumbnail img {
  width: 96px;
  height: auto;
  display: block;
}

.woocommerce-cart .product-remove .remove {
  border: 0;
  background: transparent;
  width: auto;
  height: auto;
  color: #222;
  font-size: 20px;
}

.woocommerce-cart .product-name a {
  color: #202020;
  font-weight: 400;
}

.woocommerce-cart .product-price,
.woocommerce-cart .product-subtotal {
  color: #333;
  white-space: nowrap;
}

.woocommerce-cart .quantity .qty {
  width: 42px;
  min-height: 34px;
  text-align: center;
  border: 1px solid #e6e6e6;
  border-radius: 0;
  padding: 0 4px;
  background: #fff;
}

.woocommerce-cart .actions {
  background: #fff;
  padding-top: 20px;
  padding-bottom: 0;
}

.woocommerce-cart .actions .coupon {
  float: left;
  display: flex;
  gap: 10px;
}

.woocommerce-cart .actions .coupon .input-text {
  min-width: 150px;
  border: 1px solid #ededed;
  height: 40px;
  padding: 0 12px;
}

.woocommerce-cart .actions .button {
  min-width: 120px;
  height: 40px;
  border-radius: 0;
  border: 1px solid #e9e9e9;
  background: #f8f8f8;
  color: #777;
  font-size: 12px;
  font-weight: 500;
  text-transform: none;
}

.woocommerce-cart .actions > .button {
  float: right;
}

.woocommerce-cart .cart-collaterals,
.woocommerce-cart .cart-collaterals .cart_totals {
  width: 100%;
}

.woocommerce-cart .cart-collaterals .cart_totals h2 {
  display: block;
  margin: 0 0 24px;
  font-size: 34px;
  font-weight: 400;
  color: #202020;
}

.woocommerce-cart .cart-collaterals .cart_totals table {
  margin: 0;
}

.woocommerce-cart .cart-collaterals .cart_totals th,
.woocommerce-cart .cart-collaterals .cart_totals td {
  padding: 18px 0;
  border-bottom: 1px solid #efefef;
  font-size: 14px;
  font-weight: 400;
}

.woocommerce-cart .cart-collaterals .cart_totals .order-total th,
.woocommerce-cart .cart-collaterals .cart_totals .order-total td {
  font-size: 30px;
  color: #222;
  font-weight: 400;
}

.woocommerce-cart .wc-proceed-to-checkout {
  margin-top: 34px;
}

.woocommerce-cart .wc-proceed-to-checkout .button {
  width: 100%;
  height: 60px;
  border: 0;
  border-radius: 0;
  background: #2a2a2a;
  color: #fff;
  font-size: 15px;
  font-weight: 400;
}

.woocommerce-cart .wc-proceed-to-checkout .button:hover {
  background: #000;
}

@media (max-width: 991px) {
  .woocommerce-cart .huda-cart-layout {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .woocommerce-cart .huda-cart-right {
    border-left: 0;
    padding-left: 0;
  }
}

/* Cart style v2 - match latest reference */

.woocommerce-message::before {
  position:  relative !important;
  top: 0;
  left: 0;
}
.woocommerce-checkout .woocommerce-checkout-review-order .shop_table .order-total th, .woocommerce-checkout .woocommerce-checkout-review-order .shop_table .order-total td {
  font-size: 14px !important;
  transform: none !important;
}
.huda-cart-v2 {
  max-width: 100%;
  margin: 0 auto;
  padding: 6px 0 40px;
}

.huda-cart-v2-breadcrumb {
  background: #f1de00;
  height: 30px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 32px;
  font-size: 12px;
  font-weight: 600;
}

.huda-cart-v2-breadcrumb a {
  color: #111;
}

.huda-cart-v2-layout {
  display: grid;
  grid-template-columns: minmax(0, 2.2fr) minmax(260px, 0.9fr);
  gap: 22px;
  padding: 34px 0;
}

.huda-cart-v2-item {
  background: #f7f7f7;
  border: 1px solid #ededed;
  padding: 26px 24px;
  display: grid;
  grid-template-columns: 148px 1fr 160px;
  gap: 20px;
  align-items: center;
  margin-bottom: 16px;
}

.huda-cart-v2-image img {
  width: 148px;
  height: 148px;
  object-fit: cover;
  border: 1px solid #e5e5e5;
  background: #fff;
}

.huda-cart-v2-name {
  margin: 0 0 8px;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
}

.huda-cart-v2-name a {
  color: #1a226a;
}

.huda-cart-v2-price {
  color: #4f46e5;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 20px;
}

.huda-cart-v2-qty-label {
  color: #5a5a5a;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 10px;
}

.huda-cart-v2-qty-wrap .quantity .qty {
  width: 44px;
  min-height: 34px;
  border: 0;
  background: #ececf1;
  color: #222;
  font-weight: 700;
  border-radius: 0;
  text-align: center;
  padding: 0;
}

.huda-cart-v2-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.huda-cart-v2-actions .huda-cart-v2-update {
  min-width: 102px;
  height: 42px;
  background: #ee9bb0;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.huda-cart-v2-actions .huda-cart-v2-remove {
  color: #777;
  font-size: 12px;
}

.huda-cart-v2-right .cart_totals h2 {
  margin: 0 0 10px;
  color: #4f46e5;
  text-transform: uppercase;
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.huda-cart-v2-right .shop_table {
  border: 1px solid #dddddd;
  border-collapse: collapse;
  width: 100%;
  background: #f7f7f7;
}

.huda-cart-v2-right .shop_table th,
.huda-cart-v2-right .shop_table td {
  border: 1px solid #e3e3e3;
  padding: 11px 12px;
  font-size: 11px;
  background: #f7f7f7;
}

.huda-cart-v2-right .wc-proceed-to-checkout {
  margin-top: 10px;
}

.huda-cart-v2-right .wc-proceed-to-checkout .button {
  width: 100%;
  height: 34px;
  background: #4f46e5 !important;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 16px !important;
  font-weight: 700;
  line-height: 34px;
  padding: 0 10px !important;
  margin: 20px 0 !important;
}

.huda-cart-v2-coupon-block {
  margin-top: 16px;
}

.huda-cart-v2-coupon-block h3 {
  margin: 0 0 8px;
  color: #4f46e5;
  text-transform: uppercase;
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.huda-cart-v2-coupon-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.huda-cart-v2-coupon-form .input-text {
  width: 100%;
  height: 30px;
  border: 1px solid #e2e2e2;
  background: #efefef;
  color: #777;
  padding: 0 10px;
}

.huda-cart-v2-coupon-form .button {
  background: #4f46e5 !important;
  border: 0;
  border-radius: 0;
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  padding: 0 10px;
}

@media (max-width: 991px) {
  .huda-cart-v2-layout {
    grid-template-columns: 1fr;
  }

  .huda-cart-v2-item {
    grid-template-columns: 1fr;
  }

  .huda-cart-v2-actions {
    align-items: flex-start;
  }
}

/* Checkout style v2 - reference layout */
.woocommerce-checkout .huda-card {
  border: 0;
  border-radius: 0;
  padding: 3em 0;
}

.woocommerce-checkout form.checkout {
  margin-top: 0;
}

.huda-checkout-v2 {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  min-height: 100vh;
  background: #fff;
}

.huda-checkout-v2-left {
  padding: 36px 28px 40px;
  border-right: 1px solid #ececec;
}

.huda-checkout-v2-right {
  padding: 24px 22px 24px;
  background: #f8f8f8;
}

.huda-checkout-v2-logo {
  font-size: 40px;
  font-weight: 700;
  color: #2a2a2a;
  margin-bottom: 24px;
}

.huda-checkout-v2-steps {
  display: flex;
  gap: 14px;
  font-size: 14px;
  margin-bottom: 18px;
}

.huda-checkout-v2-steps span {
  color: #8891a5;
  position: relative;
}

.huda-checkout-v2-steps span:not(:last-child)::after {
  content: ">";
  margin-left: 10px;
  color: #c0c6d3;
}

.huda-checkout-v2-steps .is-active {
  color: #4b5fcc;
  font-weight: 600;
}

.huda-express-checkout {
  border: 1px solid #e8e8e8;
  border-radius: 6px;
  padding: 14px;
  margin-bottom: 22px;
  background: #fff;
}

.huda-express-title {
  font-size: 18px;
  margin-bottom: 10px;
}

.huda-express-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.huda-pay-btn {
  height: 48px;
  border: 0;
  border-radius: 6px;
  font-size: 18px;
  font-weight: 700;
}

.huda-gpay {
  background: #0f1116;
  color: #fff;
}

.huda-paypal {
  background: #f4c84e;
  color: #1d3f91;
}

.huda-express-or {
  text-align: center;
  margin-top: 12px;
  color: #777;
  position: relative;
}

.huda-express-or::before,
.huda-express-or::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 43%;
  height: 1px;
  background: #e8e8e8;
}

.huda-express-or::before {
  left: 0;
}

.huda-express-or::after {
  right: 0;
}

.woocommerce-checkout .huda-checkout-v2-left #customer_details .col-1,
.woocommerce-checkout .huda-checkout-v2-left #customer_details .col-2 {
  width: 100%;
  float: none;
}

.woocommerce-checkout .huda-checkout-v2-left h3 {
  margin: 18px 0 12px;
  color: #2d2d2d;
  font-size: 34px;
  font-weight: 700;
  transform: scale(0.44);
  transform-origin: left top;
  height: 18px;
}

.woocommerce-checkout .huda-checkout-v2-left .form-row {
  margin-bottom: 12px;
}

.woocommerce-checkout .huda-checkout-v2-left .form-row label {
  font-size: 14px;
  color: #222;
  font-weight: 600;
}

.woocommerce-checkout .huda-checkout-v2-left .input-text,
.woocommerce-checkout .huda-checkout-v2-left select,
.woocommerce-checkout .huda-checkout-v2-left textarea {
  border: 1px solid #e4e4e4;
  border-radius: 4px;
  padding: 12px 12px;
  min-height: 46px;
  box-shadow: none;
}

.huda-checkout-v2-summary {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
}

.woocommerce-checkout-review-order-table {
  background: transparent;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  border-bottom: 1px solid #e4e4e4;
  padding: 10px 0;
  font-size: 14px;
}

.woocommerce-checkout .woocommerce-checkout-review-order .shop_table .order-total th,
.woocommerce-checkout .woocommerce-checkout-review-order .shop_table .order-total td {
  font-size: 36px;
  line-height: 1;
  transform: scale(0.45);
  transform-origin: right center;
}

.woocommerce-checkout #payment {
  border-top: 0;
  margin-top: 8px;
  padding-top: 6px;
}

.woocommerce-checkout #payment ul.payment_methods {
  margin-bottom: 10px;
}

.woocommerce-checkout #payment .place-order #place_order,
.woocommerce-checkout #payment .place-order .button {
  background: #000;
  color: #fff;
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.huda-checkout-v2-trust {
  border: 4px solid #f04b24;
  background: #fff;
  padding: 16px 18px 8px;
  margin-top: 18px;
}

.huda-checkout-v2-trust h3 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.2;
  color: #252525;
}

.huda-trust-item {
  margin-bottom: 12px;
}

.huda-trust-item strong {
  display: block;
  margin-bottom: 4px;
  color: #1f1f1f;
}

.huda-trust-item p {
  margin: 0;
  color: #4c4c4c;
  font-size: 14px;
}

@media (max-width: 991px) {
  .huda-checkout-v2 {
    grid-template-columns: 1fr;
  }

  .huda-checkout-v2-left {
    border-right: 0;
    border-bottom: 1px solid #ececec;
  }
}

/* Checkout style v3 - simplified screenshot match */

.huda-checkout-v3 {
  max-width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.92fr);
  gap: 34px;
}

.huda-checkout-v3-heading {
  font-size: 44px;
  line-height: 1;
  margin: 0 0 14px;
  color: #2b2f35;
  font-weight: 700;
  transform: scale(0.58);
  transform-origin: left top;
  height: 26px;
}

.huda-checkout-v3-left #customer_details .col-1,
.huda-checkout-v3-left #customer_details .col-2 {
  width: 100%;
  float: none;
}

.huda-checkout-v3-left #customer_details > .col-1 > h3,
.huda-checkout-v3-left #customer_details > .col-2 > h3,
#ship-to-different-address {
  display: none;
}

.huda-checkout-v3-left .woocommerce-billing-fields__field-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 16px;
}

.huda-checkout-v3-left .form-row {
  margin: 0;
  width: 100% !important;
}

.huda-checkout-v3-left .form-row#billing_address_1_field,
.huda-checkout-v3-left .form-row#billing_address_2_field,
.huda-checkout-v3-left .form-row#billing_country_field,
.huda-checkout-v3-left .form-row#billing_phone_field,
.huda-checkout-v3-left .form-row#account_password_field {
  grid-column: 1 / -1;
}

.huda-checkout-v3-left .form-row label {
  font-size: 14px;
  color: #4a4a4a;
  margin-bottom: 4px;
  font-weight: 500;
}

.huda-checkout-v3-left .input-text,
.huda-checkout-v3-left select,
.huda-checkout-v3-left textarea {
  background: #ebebeb;
  border: 1px solid #e4e4e4;
  border-radius: 0;
  min-height: 44px;
  padding: 10px 12px;
}

.huda-checkout-v3-newsletter {
  margin-top: 20px;
}

.huda-checkout-v3-newsletter h3 {
  font-size: 44px;
  line-height: 1;
  margin: 0 0 10px;
  color: #2b2f35;
  font-weight: 700;
  transform: scale(0.58);
  transform-origin: left top;
  height: 26px;
}

.huda-checkout-v3-newsletter label {
  display: block;
  color: #555;
  margin-bottom: 10px;
  font-size: 15px;
}

.huda-checkout-v3-newsletter input[type="checkbox"] {
  margin-right: 10px;
}

.huda-checkout-v3-summary {
  background: transparent;
  border: 0;
  padding: 0;
}

.huda-checkout-v3-right .shop_table {
  border: 1px solid #dadada;
  background: #fff;
}

.huda-checkout-v3-right .shop_table th,
.huda-checkout-v3-right .shop_table td {
  border-bottom: 1px solid #e3e3e3;
  padding: 10px 14px;
  font-size: 13px;
}

.huda-checkout-v3-right .huda-checkout-product-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.huda-checkout-v3-right .huda-checkout-product-thumb img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border: 1px solid #ddd;
  background: #fff;
}

.huda-checkout-v3-right .huda-checkout-product-meta {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.huda-checkout-v3-right .huda-checkout-product-title {
  color: #222;
  font-weight: 600;
}

.huda-checkout-v3-right .shop_table .order-total th,
.huda-checkout-v3-right .shop_table .order-total td {
  font-weight: 700;
}

.huda-checkout-v3-right #payment {
  margin-top: 16px;
  border-top: 0;
  padding-top: 0;
}

.huda-checkout-v3-right #payment .payment_methods > li {
  margin-bottom: 10px;
}

.huda-checkout-v3-right #payment div.payment_box {
  border: 1px solid #d8d8d8;
  background: #ebebeb;
  border-radius: 0;
}

.huda-checkout-v3-right #payment .place-order {
  padding-top: 12px;
}

@media (max-width: 991px) {
  .huda-checkout-v3 {
    grid-template-columns: 1fr;
  }

  .huda-checkout-v3-left .woocommerce-billing-fields__field-wrapper {
    grid-template-columns: 1fr;
  }
}

/* Home modular sections */
.huda-home {
  display: grid;
  gap: 18px;
}

.huda-home-section {
  margin: 0;
}

/* Header + Hero reference styling */
.site-header {
  background: #fff;
  color: #101828;
  border-bottom: 1px solid #eceef4;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px;
  box-shadow: rgba(14, 63, 126, 0.06) 0px 0px 0px 1px, rgba(42, 51, 70, 0.03) 0px 1px 1px -0.5px, rgba(42, 51, 70, 0.04) 0px 2px 2px -1px, rgba(42, 51, 70, 0.04) 0px 3px 3px -1.5px, rgba(42, 51, 70, 0.03) 0px 5px 5px -2.5px, rgba(42, 51, 70, 0.03) 0px 10px 10px -5px, rgba(42, 51, 70, 0.03) 0px 24px 24px -8px;
}

.site-header a {
  color: #111827;
}

.huda-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.huda-logo .huda-logo-link,
.huda-logo .custom-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.huda-logo .custom-logo-link img {
  display: block;
  width: auto;
  max-width: min(280px, 42vw);
  height: auto;
  max-height: 52px;
  object-fit: contain;
}

.huda-logo-text {
  font-size: 34px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 0;
}

.site-nav a {
  font-size: 16px;
  color: #273041;
}

.site-nav .huda-primary-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-nav .huda-primary-menu li {
  margin: 0;
  position: relative;
}

.site-nav .huda-primary-menu .menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 20px 0;
}

.site-nav .huda-primary-menu .menu-item-has-children > a::after {
  content: "";
  width: 6px;
  height: 6px;
  border-right: 1.8px solid currentColor;
  border-bottom: 1.8px solid currentColor;
  transform: rotate(45deg) translateY(-1px);
  transition: transform 0.2s ease;
}

.site-nav .huda-primary-menu .sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px;
  position: absolute;
  left: 0;
  min-width: 290px;
  border: 1px solid #e6eaf5;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.08);
  display: none;
  z-index: 30;
}

.site-nav .huda-primary-menu .sub-menu li a {
  display: block;
  padding: 8px 10px;
  border-radius: 7px;
  font-size: 14px;
  color: #2f3a51;
}

.site-nav .huda-primary-menu .sub-menu li a:hover {
  background: #f3f5fc;
}

.site-nav .huda-primary-menu .menu-item-has-children:hover > .sub-menu,
.site-nav .huda-primary-menu .menu-item-has-children:focus-within > .sub-menu {
  display: block;
}

.site-nav .huda-primary-menu .menu-item-has-children:hover > a::after,
.site-nav .huda-primary-menu .menu-item-has-children:focus-within > a::after {
  transform: rotate(225deg) translateY(-1px);
}

.huda-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.huda-menu-toggle {
  display: none;
}

.huda-header-actions .huda-menu-toggle {
  display: none;
}

.huda-menu-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.huda-menu-toggle span + span {
  margin-top: 3px;
}

.huda-header-icon {
  width: 34px;
  height: 34px;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  background: #fff;
  cursor: pointer;
  position: relative;
  color: #273041;
  padding: 0;
  line-height: 1;
  appearance: none;
}

.huda-header-icon svg {
  display: block;
}

.huda-cart-count {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #4f46e5;
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
  padding: 0 4px;
}

.huda-search-panel {
  border-top: 1px solid #eceef4;
  background: #fff;
  width: 50%;
  margin: 0 auto;
}

.huda-search-panel-inner {
  padding-top: 12px;
  padding-bottom: 14px;
}

.huda-search-input {
  width: 100%;
  border: 1px solid #dfe3f0;
  border-radius: 10px;
  padding: 11px 12px;
  font-size: 14px;
}

.huda-search-suggestions {
  margin-top: 8px;
  border: 1px solid #e7ebf5;
  border-radius: 10px;
  background: #fff;
  display: none;
}

.huda-search-suggestions.is-visible {
  display: block;
}

.huda-search-suggestions a,
.huda-search-suggestions .huda-search-empty {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-bottom: 1px solid #eef2fb;
  font-size: 13px;
}

.huda-search-suggestions a:last-child,
.huda-search-suggestions .huda-search-empty:last-child {
  border-bottom: 0;
}

.huda-search-suggestions small {
  color: #7a8397;
}

.huda-search-item-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.huda-search-item-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #e8ecf5;
  background: #f3f5fb;
  flex-shrink: 0;
}

.huda-search-item-thumb img,
.huda-search-thumb-fallback {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.huda-search-item-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
}

.huda-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 16, 35, 0.48);
  z-index: 40;
}

.huda-mobile-nav-overlay {
  z-index: 19;
}

.huda-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(420px, 92vw);
  height: 100vh;
  background: #fff;
  z-index: 45;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  display: flex;
  flex-direction: column;
}

.huda-cart-drawer.is-open {
  transform: translateX(0);
}

.huda-cart-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-bottom: 1px solid #e8ecf5;
}

.huda-cart-drawer-head h3 {
  margin: 0;
  font-size: 18px;
}

.huda-cart-close {
  border: 0;
  background: none;
  font-size: 28px;
  line-height: 1;
  color: #3b4455;
  cursor: pointer;
  padding: 0;
}

.huda-cart-drawer-items {
  padding: 12px 16px;
  overflow: auto;
  flex: 1;
}

.huda-cart-drawer-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.huda-cart-drawer-list li {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #eef2fb;
}

.huda-cart-drawer-thumb img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 8px;
}

.huda-cart-drawer-meta strong a {
  color: #1f2a44;
  font-size: 14px;
}

.huda-cart-drawer-meta small {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  color: #667187;
  margin-top: 5px;
  font-size: 12px;
}

.huda-cart-drawer-remove {
  font-size: 20px;
  color: #7f889a;
  line-height: 1;
}

.huda-cart-empty {
  margin: 12px 0;
  color: #6b7488;
}

.huda-cart-drawer-actions {
  border-top: 1px solid #e8ecf5;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.huda-cart-drawer-actions .button {
  text-align: center;
  padding: 10px;
  border-radius: 8px;
}

.huda-drawer-cart-link {
  background: #edf1ff;
  color: #39466a !important;
}

.huda-account-btn {
  background: #4f46e5;
  color: #fff !important;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 600;
  font-size: 14px;
}

.huda-home-hero {
  padding: 7em 0 2em;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: center;
}

.huda-home-pill {
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 13px;
  background: #eef0ff;
  color: #4d5675;
  margin-bottom: 14px;
  font-weight: 600;
}

.huda-home-hero h1 {
  margin: 0 0 12px;
  color: #111827;
  font-size: clamp(42px, 5.4vw, 65px);
  letter-spacing: -1.6px;
  background: -webkit-linear-gradient(#000000, #4f46e5);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.huda-home-hero p {
  margin: 0 0 18px;
  font-size: 16px;
  line-height: 1.45;
  transform-origin: left top;
  color: #5b6474;
}

.huda-home-hero-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 30px;
}

.huda-home-hero-actions .button {
  text-align: center;
  font-weight: 600;
  border-radius: 10px;
  padding: 10px 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 16px;
}

.huda-hero-btn-primary {
  background: linear-gradient(90deg, #4f46e5, #3f5bff);
  color: #fff;
  border: 1px solid transparent;
}

.huda-hero-btn-outline {
  background: #fff;
  color: #384152;
  border: 1px solid #bfc5ff;
}

.huda-home-hero-actions .button span {
  font-size: 20px;
  line-height: 1;
}

.huda-home-badges {
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.huda-home-badges li {
  background: #fff;
  border: 1px solid #ebedf4;
  border-radius: 12px;
  padding: 8px 10px;
  color: #44506a;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  min-width: 148px;
}

.huda-badge-icon {
  color: #6158ff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  flex-shrink: 0;
}

.huda-badge-icon svg {
  display: block;
}

.huda-badge-copy {
  display: inline-flex;
  flex-direction: column;
  line-height: 1.5;
}

.huda-badge-copy strong {
  font-size: 12px;
  color: #2f3a51;
  font-weight: 700;
}

.huda-badge-copy small {
  font-size: 10px;
  color: #8a95aa;
}

.huda-home-trust {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1px solid #ebeef6;
  border-radius: 999px;
  padding: 8px 20px;
}

.huda-home-avatars {
  display: inline-flex;
  align-items: center;
}

.huda-home-avatars span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 2px solid #fff;
  margin-left: -8px;
  background: linear-gradient(140deg, #ffd89a, #f39a66);
}

.huda-home-avatars span:first-child {
  margin-left: 0;
}

.huda-home-avatars b {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  margin-left: -6px;
  background: #4f46e5;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.huda-home-trust-meta {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
}

.huda-home-trust span {
  font-weight: 700;
  color: #1f2937;
  font-size: 14px;
}

.huda-home-trust small {
  color: #8a93a5;
  font-size: 12px;
}

.huda-home-hero-right {
  position: relative;
  min-height: 500px;
}

.huda-hero-card {
  position: absolute;
  overflow: hidden;
}

.huda-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.huda-hero-card-1 {
  width: 58%;
  height: 46%;
  top: 2%;
  left: 20%;
  z-index: 3;
}

.huda-hero-card-2 {
  width: 35%;
  height: 38%;
  top: 14%;
  left: 0;
  z-index: 2;
}

.huda-hero-card-3 {
  width: 34%;
  height: 36%;
  top: 18%;
  right: 0;
  z-index: 2;
}

.huda-hero-card-4 {
  width: 70%;
  height: 44%;
  left: 14%;
  bottom: 6%;
  z-index: 4;
}

.huda-hero-card-single {
  top: 10%;
  z-index: 4;
}

@media (max-width: 991px) {
  .site-header {
    padding: 20px 0;
  }
  .huda-search-panel {
    width: 100%;
}
  .huda-header-row {
    flex-wrap: nowrap;
    gap: 10px;
    padding: 0 14px;
  }

  .huda-wrap {
    padding: 0 14px;
  }

  .huda-logo {
    margin-right: auto;
  }

  .huda-logo-text {
    font-size: 28px;
  }

  .huda-logo .custom-logo-link img {
    max-height: 40px;
    max-width: min(220px, 50vw);
  }

  .huda-header-actions {
    gap: 8px;
  }

  .huda-account-btn-desktop {
    display: none;
  }

  .huda-header-actions .huda-menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid #e7ebf5;
    box-shadow: 0 16px 32px rgba(17, 24, 39, 0.1);
    padding: 10px 20px 16px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
  }

  .site-nav > a,
  .site-nav .huda-primary-menu > li > a {
    display: block;
    padding: 10px 2px;
    font-size: 15px;
    border-bottom: 1px solid #eef2fb;
  }

  .site-nav .huda-primary-menu {
    width: 100%;
    display: block;
  }

  .site-nav .huda-primary-menu li {
    margin: 0;
  }

  .site-nav .huda-primary-menu .menu-item-has-children > a::after {
    margin-left: auto;
    transform: rotate(45deg);
  }

  .site-nav .huda-primary-menu .sub-menu {
    position: static;
    display: block;
    min-width: 0;
    margin: 2px 0 8px;
    padding: 4px 0 0 14px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
  }

  .site-nav .huda-primary-menu .sub-menu li a {
    padding: 7px 2px;
    font-size: 14px;
    border-radius: 0;
    color: #5c667d;
    border-bottom: 1px dashed #edf1f8;
  }

  .site-header.is-mobile-nav-open .site-nav {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .site-header.is-mobile-nav-open .huda-menu-toggle span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .site-header.is-mobile-nav-open .huda-menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-mobile-nav-open .huda-menu-toggle span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .huda-home-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .huda-home-hero-right {
    min-height: 310px;
  }
}

/* Demo categories section */
.huda-demo-cats {
  padding: 40px 0;
}

.huda-demo-cats-head {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 18px;
}

.huda-demo-cats-pill {
  display: inline-block;
  background: #efedff;
  color: #6a58ff;
  border: 1px solid #e0dcff;
  border-radius: 999px;
  font-size: 13px;
  padding: 6px 12px;
  margin-bottom: 10px;
  font-weight: 600;
}

.huda-demo-cats-head h2 {
  margin: 0 0 20px;
  color: #121829;
  font-size: clamp(32px, 4.8vw, 58px);
  line-height: 1;
}

.huda-demo-cats-head h2 span {
  color: #5046e5;
}

.huda-demo-cats-head p {
  margin: 0 0 40px;
  color: #5d6678;
  font-size: 16px;
}

.huda-demo-cats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.huda-demo-niche-card {
  background: #fff;
  border: 1px solid #eceff7;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 14px rgba(25, 35, 54, 0.04);
}

.huda-demo-niche-top {
  margin-bottom: 10px;
}

.huda-demo-niche-top h3 {
  margin: 0;
  font-size: 17px;
  color: #172036;
}

.huda-demo-niche-image {
  height: 200px;
  border-radius: 10px;
  border: 1px solid #e8ebf3;
  background-size: cover;
  background-position: top center;
}

.huda-demo-niche-btn {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  min-height: 34px;
  border-radius: 999px;
  background: #f4f6fb;
  color: #415076;
  font-size: 13px;
  font-weight: 600;
}

@media (max-width: 1200px) {
  .huda-demo-cats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-demo-cats-grid {
    grid-template-columns: 1fr;
  }
}

/* Trending themes section */
.huda-trending-wrap {
  padding: 40px 0;
}

.huda-trending-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 14px;
}

.huda-trending-pill {
  display: inline-block;
  background: #efedff;
  color: #6a58ff;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  margin-bottom: 8px;
}

.huda-trending-head h2 {
  margin: 0 0 22px;
  font-size: clamp(30px, 4.5vw, 56px);
  line-height: 1;
  color: #111827;
}

.huda-trending-head h2 span {
  color: #4f46e5;
}

.huda-trending-head p {
  margin: 0 0 40px;
  color: #667085;
  font-size: 16px;
}

.huda-trending-viewall {
  border: 1px solid #cfd3f9;
  border-radius: 10px;
  padding: 12px 16px;
  color: #4f46e5;
  font-weight: 600;
  white-space: nowrap;
}

.huda-trending-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.huda-trend-card {
  background: #fff;
  border: 1px solid #e9ecf4;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 7px 16px rgba(16, 24, 40, 0.05);
}

.huda-trend-image {
  display: block;
  height: 220px;
  background-size: cover;
  background-position: top center;
  position: relative;
}


.huda-trend-body {
  padding: 10px;
}

.huda-trend-body h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.huda-trend-body p {
  margin: 2px 0 8px;
  color: #8b94a8;
  font-size: 12px;
}

.huda-trend-footer {
  display: flex;
  align-items: center;
  gap: 6px;
}

.huda-trend-footer strong {
  margin-right: auto;
  color: #111827;
}

.huda-trend-btn {
  background: #edf1ff;
  color: #4f46e5;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  padding: 6px 8px;
}

.huda-trend-btn-buy {
  background: #4f46e5;
  color: #fff;
}

.huda-trending-features {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.huda-trend-feature {
  background: #fff;
  border: 1px solid #e8ebf3;
  border-radius: 999px;
  padding: 10px 12px;
  display: flex;
  flex-direction: row;
  gap: 10px;
  align-items: center;
}

.huda-trend-feature span {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ece9ff;
  color: #554ae8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.huda-trend-feature span svg {
  display: block;
}

.huda-trend-feature b {
  color: #273046;
  font-size: 13px;
}

.huda-trend-feature small {
  color: #7c869a;
  font-size: 11px;
}

@media (max-width: 1200px) {
  .huda-trending-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .huda-trending-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-trending-head {
    flex-direction: column;
  }

  .huda-trending-grid,
  .huda-trending-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Why choose section */
.huda-why-wrap {
  padding: 40px 0;
  overflow: hidden;
}

.huda-why-head {
  text-align: center;
  max-width: 920px;
  margin: 0 auto 40px;
}

.huda-why-pill {
  display: inline-block;
  background: #eeebff;
  color: #6758f7;
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 700;
}

.huda-why-head h2 {
  margin: 10px 0 22px;
  color: #111827;
  font-size: clamp(34px, 5vw, 60px);
  line-height: 1;
}

.huda-why-head h2 span {
  color: #4f46e5;
}

.huda-why-head p {
  margin: 0;
  color: #667085;
}

.huda-why-cards {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.huda-why-card {
  background: #fff;
  border: 1px solid #ebeef6;
  border-radius: 16px;
  text-align: center;
  padding: 14px 12px;
}

.huda-why-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5f57ea;
  background: linear-gradient(140deg, #e4defe, #f0f5ff);
}

.huda-why-icon svg {
  display: block;
}

.huda-why-card h3 {
  margin: 0;
  font-size: 15px;
  color: #1f2937;
}

.huda-why-line {
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: #6658f4;
  margin: 8px auto;
}

.huda-why-card p {
  margin: 0;
  color: #6b7488;
  font-size: 13px;
  line-height: 1.45;
}

.huda-why-stats {
  margin: 16px 0;
  background: #fff;
  border: 1px solid #e8ebf5;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.huda-why-stat {
  padding: 14px 12px;
  display: flex;
  gap: 10px;
  align-items: center;
  border-right: 1px solid #eceff7;
}

.huda-why-stat:last-child {
  border-right: 0;
}

.huda-why-stat-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #ece9ff;
  flex-shrink: 0;
  color: #5a52e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.huda-why-stat-icon svg {
  display: block;
}

.huda-why-stat strong {
  display: block;
  color: #3f46d8;
  font-size: 32px;
  line-height: 1;
  transform: scale(0.5);
  transform-origin: left center;
  height: 14px;
}

.huda-why-stat small {
  color: #606b81;
  font-size: 12px;
}


@media (max-width: 1200px) {
  .huda-why-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .huda-why-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-why-cards,
  .huda-why-stats {
    grid-template-columns: 1fr;
  }

  .huda-why-stat {
    border-right: 0;
    border-bottom: 1px solid #eceff7;
  }

  .huda-why-stat:last-child {
    border-bottom: 0;
  }
}

/* Custom coded vs builder comparison */
.huda-ccmp-wrap {
  --huda-ccmp-accent: #5b4fe8;
  --huda-ccmp-win: #16a34a;
  --huda-ccmp-lose: #dc2626;
  padding: 48px 0 56px;
}

.huda-ccmp-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 36px;
}

.huda-ccmp-pill {
  display: inline-block;
  background: #eeebff;
  color: #5b4fe8;
  border-radius: 999px;
  padding: 7px 16px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.huda-ccmp-head h2 {
  margin: 12px 0 14px;
  color: #111827;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.15;
  font-weight: 800;
}

.huda-ccmp-vs {
  color: #94a3b8;
  font-weight: 700;
  margin: 0 0.2em;
}

.huda-ccmp-head p {
  margin: 0;
  color: #64748b;
  font-size: 15px;
  line-height: 1.6;
}

.huda-ccmp-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr) minmax(0, 1.12fr);
  gap: 20px;
  align-items: start;
}

.huda-ccmp-col-head {
  min-height: 52px;
  display: flex;
  align-items: flex-end;
  margin-bottom: 8px;
}

.huda-ccmp-col-head h3 {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.huda-ccmp-col-winner .huda-ccmp-col-head h3 {
  color: var(--huda-ccmp-win);
}

.huda-ccmp-col-competitor .huda-ccmp-col-head h3 {
  color: #1e293b;
}

.huda-ccmp-winner-box {
  position: relative;
  border: 2px solid var(--huda-ccmp-accent);
  border-radius: 18px;
  padding: 28px 18px 16px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(91, 79, 232, 0.08);
}

.huda-ccmp-winner-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--huda-ccmp-accent);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 5px 14px;
  border-radius: 999px;
  white-space: nowrap;
}

.huda-ccmp-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 4px;
  min-height: 88px;
}

.huda-ccmp-item-feature {
  align-items: center;
  min-height: 88px;
}

.huda-ccmp-feat-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #eeebff;
  color: var(--huda-ccmp-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.huda-ccmp-item-feature strong {
  color: #334155;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.huda-ccmp-status {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
}

.huda-ccmp-status-yes {
  background: var(--huda-ccmp-win);
}

.huda-ccmp-status-yes::after {
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.huda-ccmp-status-no {
  background: var(--huda-ccmp-lose);
}

.huda-ccmp-status-no::before,
.huda-ccmp-status-no::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 6px;
  width: 2px;
  height: 12px;
  background: #fff;
  border-radius: 1px;
}

.huda-ccmp-status-no::before {
  transform: rotate(45deg);
}

.huda-ccmp-status-no::after {
  transform: rotate(-45deg);
}

.huda-ccmp-item-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 4px;
}

.huda-ccmp-item-winner .huda-ccmp-item-copy strong {
  color: var(--huda-ccmp-win);
}

.huda-ccmp-item-competitor .huda-ccmp-item-copy strong {
  color: #1e293b;
}

.huda-ccmp-item-copy p {
  margin: 0;
  color: #64748b;
  font-size: 13px;
  line-height: 1.5;
}

.huda-ccmp-cta {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 20px 28px;
  align-items: center;
  padding: 24px 28px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f5f3ff 0%, #ede9fe 100%);
  border: 1px solid #e4deff;
}

.huda-ccmp-cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--huda-ccmp-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 12px;
  box-shadow: 0 8px 20px rgba(91, 79, 232, 0.25);
}

.huda-ccmp-cta-icon img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.huda-ccmp-cta-copy h3 {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 800;
  color: var(--huda-ccmp-accent);
  line-height: 1.25;
}

.huda-ccmp-cta-copy p {
  margin: 0;
  color: #64748b;
  font-size: 14px;
  line-height: 1.55;
  max-width: 560px;
}

.huda-ccmp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 10px;
  background: #4f46e5;
  color: #fff !important;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}

.huda-ccmp-cta-btn:hover {
  filter: brightness(1.06);
  color: #fff !important;
}

@media (max-width: 1100px) {
  .huda-ccmp-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .huda-ccmp-col-features .huda-ccmp-item {
    min-height: 0;
    padding: 10px 0;
  }

  .huda-ccmp-winner-box {
    padding-top: 32px;
  }
}

@media (max-width: 767px) {
  .huda-ccmp-cta {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .huda-ccmp-cta-copy p {
    max-width: none;
  }
}

/* Happy customers section */
.huda-happy-wrap {
  padding: 40px 0;
}

.huda-happy-head {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 40px;
}

.huda-happy-pill {
  display: inline-block;
  background: #efedff;
  color: #6254ef;
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
}

.huda-happy-head h2 {
  margin: 10px 0 22px;
  color: #0f172a;
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1;
}

.huda-happy-head h2 span {
  color: #4f46e5;
}

.huda-happy-head p {
  margin: 0;
  color: #697387;
}

.huda-happy-line {
  width: 56px;
  height: 3px;
  border-radius: 3px;
  background: #6b62f1;
  margin: 12px auto 0;
}

.huda-happy-slider-shell {
  display: block;
  padding-bottom: 18px;
}

.huda-happy-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.huda-happy-card {
  background: #fff;
  border: 1px solid #eceff7;
  border-radius: 14px;
  padding: 14px;
}

.huda-happy-stars {
  color: #f59e0b;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.huda-happy-card p {
  margin: 0 0 10px;
  color: #303a4d;
  font-size: 14px;
  line-height: 1.55;
}

.huda-happy-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

.huda-happy-user span {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(140deg, #ffd6b3, #f6a272);
}

.huda-happy-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.huda-happy-user strong {
  display: block;
  color: #1e273b;
  font-size: 14px;
}

.huda-happy-user small {
  color: #798399;
  font-size: 12px;
}

.huda-happy-stats {
  background: #fff;
  border: 1px solid #e9ecf5;
  border-radius: 16px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.huda-happy-stats > div {
  padding: 14px 12px;
  border-right: 1px solid #eceff7;
  display: flex;
  align-items: center;
  gap: 10px;
}

.huda-happy-stats > div:last-child {
  border-right: 0;
}

.huda-happy-stats span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ece9ff;
  flex-shrink: 0;
  color: #5a52e8;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.huda-happy-stats span svg {
  display: block;
}

.huda-happy-stats strong {
  display: block;
  color: #252f43;
}

.huda-happy-stats small {
  color: #78839a;
}

@media (max-width: 1200px) {
  .huda-happy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-happy-grid,
  .huda-happy-stats {
    grid-template-columns: 1fr;
  }

  .huda-happy-stats > div {
    border-right: 0;
    border-bottom: 1px solid #eceff7;
  }

  .huda-happy-stats > div:last-child {
    border-bottom: 0;
  }
}

.huda-resources-wrap {
  padding: 40px 0;
}

.huda-resources-head {
  text-align: center;
  max-width: 840px;
  margin: 0 auto 30px;
}

.huda-resources-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #f0ebff;
  color: #6a53e8;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
}

.huda-resources-head h2 {
  margin: 18px 0 22px;
  color: #141b33;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1;
}

.huda-resources-head h2 span {
  color: #5648e8;
}

.huda-resources-head p {
  margin: 0 auto;
  max-width: 690px;
  color: #6f7892;
  font-size: 16px;
  line-height: 1.6;
}

.huda-resources-line {
  width: 62px;
  height: 4px;
  background: #6758e9;
  border-radius: 20px;
  margin: 20px auto 0;
}

.huda-resources-top-link {
  display: flex;
  justify-content: flex-end;
  margin: 14px 2px 14px;
}

.huda-resources-top-link a {
  color: #5349da;
  font-size: 16px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.huda-resources-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.huda-resource-card {
  background: #fff;
  border: 1px solid #e8ecf7;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(36, 52, 96, 0.06);
}

.huda-resource-thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: #dbe2f5;
}

.huda-resource-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.huda-resource-thumb-fallback {
  width: 100%;
  height: 100%;
  display: block;
  background: linear-gradient(130deg, #1c2650 0%, #6654eb 100%);
}

.huda-resource-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: inline-flex;
  background: #4f43da;
  color: #fff;
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.huda-resource-body {
  padding: 14px 16px 16px;
}

.huda-resource-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #7a839b;
  font-size: 13px;
}

.huda-resource-body h3 {
  margin: 10px 0 8px;
  color: #161d36;
  font-size: 17px;
  line-height: 1.28;
}

.huda-resource-body h3 a {
  color: inherit;
}

.huda-resource-body p {
  margin: 0;
  color: #6c7590;
  line-height: 1.6;
  font-size: 14px;
}

.huda-resource-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid #edf0f8;
}

.huda-resource-author {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5148d6;
  font-size: 13px;
  font-weight: 600;
}

.huda-resource-author img {
  border-radius: 50%;
  width: 26px;
  height: 26px;
}

.huda-resource-foot small {
  color: #73809a;
  font-size: 13px;
}

@media (max-width: 1200px) {
  .huda-resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-resources-head p {
    font-size: 15px;
  }

  .huda-resources-grid {
    grid-template-columns: 1fr;
  }

  .huda-resources-top-link {
    justify-content: flex-start;
  }
}

.huda-cta-wrap {
  margin-top: 26px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
  padding: 40px 0;
}

.huda-cta-shell {
  background: radial-gradient(120% 130% at 0% 0%, #2228a1 0%, #0f1262 46%, #0b0d4a 100%);
  border: 1px solid #2a2d85;
  border-radius: 20px;
  padding: 28px 28px 18px;
  box-shadow: 0 24px 55px rgba(9, 16, 72, 0.26);
  overflow: hidden;
}

.huda-cta-main {
  display: grid;
  grid-template-columns: 1.12fr 1fr;
  gap: 22px;
}

.huda-cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.huda-cta-left h2 {
  margin: 18px 0 14px;
  color: #fff;
  font-size: clamp(30px, 4vw, 45px);
  line-height: 1.06;
  max-width: 700px;
}

.huda-cta-left h2 .accent,
.huda-cta-left h2 strong {
  color: #746aff;
}

.huda-cta-left p {
  margin: 0;
  color: rgba(240, 245, 255, 0.9);
  font-size: 18px;
  line-height: 1.55;
  max-width: 650px;
}

.huda-cta-actions {
  margin-top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.huda-cta-btn {
  border-radius: 12px;
  padding: 14px 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  border: 1px solid transparent;
}

.huda-cta-btn-primary {
  background: linear-gradient(120deg, #5d58f2 0%, #3d72ff 100%);
}

.huda-cta-btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.42);
}

.huda-cta-features {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.huda-cta-features span {
  color: #e7ebff;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.huda-cta-features i {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #635bff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.huda-cta-features i::after {
  content: "";
  width: 6px;
  height: 3px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
  margin-bottom: 1px;
}

.huda-cta-right {
  position: relative;
  min-height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.huda-cta-image-wrap {
  width: min(92%, 500px);
  overflow: hidden;
}

.huda-cta-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .huda-cta-main {
    grid-template-columns: 1fr;
  }

  .huda-cta-right {
    min-height: 360px;
    margin-top: 10px;
  }
}

@media (max-width: 767px) {
  .huda-cta-shell {
    padding: 18px 14px 14px;
  }

  .huda-cta-left h2 {
    font-size: 40px;
  }

  .huda-cta-left p {
    font-size: 16px;
  }

  .huda-cta-btn {
    font-size: 18px;
    width: 100%;
    justify-content: center;
  }

  .huda-cta-right {
    min-height: 300px;
  }

  .huda-cta-image-wrap {
    width: 100%;
  }
}

/* -------------------------------------------------------------------------
   Footer — 4 columns = widgets; rest = Customizer (Footer panel)
   ------------------------------------------------------------------------- */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.site-footer.huda-footer {
  background: transparent;
  color: #e4e9f4;
  margin-top: 0;
  padding: 0;
}

.huda-footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.huda-footer a {
  color: #e8ecf4;
  text-decoration: none;
}

.huda-footer a:hover {
  color: #7aa7ff;
}

.huda-footer .widget {
  margin: 0 0 1.25rem;
}

.huda-footer .widget:last-child {
  margin-bottom: 0;
}

.huda-footer .widget-title {
  margin: 0 0 1rem;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8b9cb8;
}

.huda-footer-features {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 26px 0;
}

.huda-footer-features-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 28px;
  align-items: start;
}

.huda-footer-feature-col {
  min-width: 0;
}

.huda-footer-feature-col .widget {
  margin-bottom: 0;
}

.huda-footer-feature-col p,
.huda-footer-feature-col .wp-block-paragraph,
.huda-footer-custom-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #b8c4dc;
}

.huda-footer-feature-col strong,
.huda-footer-custom-feature strong {
  display: block;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}

.huda-footer-main {
  padding: 44px 0 36px;
}

.huda-footer-main-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 28px 36px;
  align-items: start;
}

.huda-footer-main-col {
  min-width: 0;
}

.huda-footer-main-col p,
.huda-footer-main-col .wp-block-paragraph {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.65;
  color: #9aa8c4;
}

.huda-footer-main-col .widget_nav_menu ul,
.huda-footer-main-col .widget_meta ul,
.huda-footer-main-col .widget_pages ul,
.huda-footer-main-col .widget_archive ul,
.huda-footer-main-col .widget_categories ul,
.huda-footer-main-col .widget_recent_entries ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.huda-footer-main-col .widget_nav_menu ul ul,
.huda-footer-main-col .widget_pages ul ul {
  margin-top: 8px;
  padding-left: 0;
}

.huda-footer-main-col .widget_nav_menu li,
.huda-footer-main-col .widget_meta li,
.huda-footer-main-col .widget_pages li,
.huda-footer-main-col .widget_archive li,
.huda-footer-main-col .widget_categories li,
.huda-footer-main-col .widget_recent_entries li {
  margin: 0 0 10px;
}

.huda-footer-main-col .widget_nav_menu li a,
.huda-footer-main-col .widget_meta li a,
.huda-footer-main-col .widget_pages li a,
.huda-footer-main-col .widget_archive li a,
.huda-footer-main-col .widget_categories li a,
.huda-footer-main-col .widget_recent_entries li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #dce3f0;
  font-weight: 500;
}

.huda-footer-main-col .widget_nav_menu li a::before,
.huda-footer-main-col .widget_pages li a::before {
  content: "›";
  color: #e8ecf4;
  font-weight: 700;
  font-size: 14px;
  line-height: 1;
}

.huda-footer-main-col .wp-block-social-links {
  margin-top: 16px;
}

.huda-footer-main-col .wp-block-social-links.is-style-logos-only .wp-block-social-link,
.huda-footer-main-col .wp-block-social-links .wp-block-social-link {
  background: rgba(255, 255, 255, 0.08) !important;
  border-radius: 50%;
}

.huda-footer-main-col .wp-block-social-links a {
  color: #fff !important;
}

.huda-footer-main-col form,
.huda-footer-main-col .wp-block-search {
  margin-top: 12px;
}

.huda-footer-main-col input[type="email"],
.huda-footer-main-col input[type="text"],
.huda-footer-main-col .wp-block-search__input {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 12px 14px;
  color: #fff;
  font-size: 14px;
  margin-bottom: 10px;
}

.huda-footer-main-col input[type="email"]::placeholder,
.huda-footer-main-col input[type="text"]::placeholder {
  color: #6b7a95;
}

.huda-footer-main-col button,
.huda-footer-main-col input[type="submit"],
.huda-footer-main-col .wp-block-button__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(120deg, #3d6dff, #5b4dff);
  color: #fff !important;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}

.huda-footer-main-col .wp-block-search__inside-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.huda-footer-payments {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
}

.huda-footer-payments-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 2fr) minmax(0, 1.1fr);
  gap: 20px 28px;
  align-items: center;
}

.huda-footer-payment-cell {
  min-width: 0;
}

.huda-footer-payment-left strong,
.huda-footer-payment-right strong {
  display: block;
  color: #fff;
  font-size: 14px;
  margin-bottom: 4px;
}

.huda-footer-payment-left p,
.huda-footer-payment-right p {
  margin: 0;
  font-size: 13px;
  line-height: 1.55;
  color: #9aa8c4;
}

.huda-footer-payment-center {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.huda-footer-payment-center .widget,
.huda-footer-payment-center .wp-block-group,
.huda-footer-payment-center .wp-block-image {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.huda-footer-payment-center img {
  max-height: 40px;
  width: auto;
}

.huda-footer-payment-right {
  text-align: right;
}

.huda-footer-bottom {
  padding: 18px 0 28px;
}

.huda-footer-bottom-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 16px 24px;
  align-items: center;
  font-size: 13px;
  color: #7d8aa3;
}

.huda-footer-bottom-cell .widget {
  margin-bottom: 0;
}

.huda-footer-bottom-cell p,
.huda-footer-bottom-cell .wp-block-paragraph {
  margin: 0;
}

.huda-footer-bottom-center {
  text-align: center;
}

.huda-footer-bottom-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 14px;
}

.huda-footer-bottom-links a {
  color: #9eb6e0;
  font-size: 13px;
}

.huda-footer-bottom-links a:hover {
  color: #c5d8ff;
}

.huda-footer-bottom-end {
  text-align: right;
}

@media (max-width: 1199px) {
  .huda-footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .huda-footer-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-footer-main-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-footer-payments-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .huda-footer-payment-right {
    text-align: center;
  }

  .huda-footer-bottom-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .huda-footer-bottom-end {
    text-align: center;
  }
}

@media (max-width: 600px) {
  .huda-footer-features-grid {
    grid-template-columns: 1fr;
  }

  .huda-footer-main-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------------------------------------------------------
   Homepage responsive polish (all active sections)
   ------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .huda-home {
    gap: 16px;
  }

  .huda-demo-cats-grid,
  .huda-trending-grid,
  .huda-why-cards,
  .huda-happy-grid,
  .huda-resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-why-stats,
  .huda-happy-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .huda-trending-head,
  .huda-resources-top-link {
    align-items: flex-start;
  }

  .huda-resources-head p {
    font-size: 16px;
  }
}

@media (max-width: 991px) {
  .huda-home {
    gap: 14px;
  }

  .huda-home-hero {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 16px;
  }

  .huda-home-hero h1 {
    font-size: clamp(30px, 7vw, 46px);
    letter-spacing: -0.5px;
  }

  .huda-home-hero p {
    margin: 0 0 18px;
    font-size: 20px;
    line-height: 1.45;
    color: #5b6474;
  }

  .huda-home-hero-actions {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
  }

  .huda-home-hero-actions .button {
    width: 100%;
  }

  .huda-home-badges {
    margin-bottom: 16px;
  }

  .huda-home-badges li {
    min-width: calc(50% - 4px);
    flex: 1 1 calc(50% - 4px);
  }

  .huda-home-trust {
    width: 100%;
    justify-content: flex-start;
    border-radius: 14px;
    padding: 10px 12px;
  }

  .huda-demo-cats,
  .huda-trending-wrap,
  .huda-why-wrap,
  .huda-happy-wrap,
  .huda-resources-wrap,
  .huda-cta-wrap {
    border-radius: 14px;
  }

  .huda-trending-head {
    flex-direction: column;
    gap: 12px;
  }

  .huda-why-head p + p {
    margin-top: 6px;
  }

  .huda-why-stats,
  .huda-happy-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-why-stat:nth-child(2n),
  .huda-happy-stats > div:nth-child(2n) {
    border-right: 0;
  }

  .huda-resources-top-link {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .huda-cta-shell {
    border-radius: 16px;
  }
}

@media (max-width: 767px) {
  .huda-demo-cats-grid,
  .huda-trending-grid,
  .huda-why-cards,
  .huda-happy-grid,
  .huda-resources-grid,
  .huda-why-stats,
  .huda-happy-stats {
    grid-template-columns: 1fr;
  }

  .huda-home-badges li {
    min-width: 100%;
    flex-basis: 100%;
  }

  .huda-demo-cats,
  .huda-trending-wrap,
  .huda-why-wrap,
  .huda-happy-wrap,
  .huda-resources-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .huda-trend-footer {
    flex-wrap: wrap;
    gap: 8px;
  }

  .huda-trend-btn {
    flex: 1 1 calc(50% - 4px);
    text-align: center;
  }

  .huda-why-stat,
  .huda-happy-stats > div {
    border-right: 0;
    border-bottom: 1px solid #eceff7;
  }

  .huda-why-stat:last-child,
  .huda-happy-stats > div:last-child {
    border-bottom: 0;
  }

  .huda-resource-body {
    padding: 12px 12px 14px;
  }

  .huda-cta-left h2 {
    font-size: 34px;
  }

  .huda-cta-features {
    gap: 8px 12px;
  }

  .huda-cta-features span {
    font-size: 13px;
  }
}

/* Trending Themes: responsive refinement */
@media (max-width: 1400px) {
  .huda-trending-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 991px) {
  .huda-trending-wrap {
    padding: 16px 14px;
  }

  .huda-trending-head h2 {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.08;
  }

  .huda-trending-head p {
    font-size: 14px;
    line-height: 1.5;
  }

  .huda-trending-viewall {
    padding: 9px 12px;
    font-size: 13px;
  }

  .huda-trending-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .huda-trend-image {
    height: 180px;
  }

  .huda-trend-body h3 {
    font-size: 16px;
    margin-bottom: 6px;
  }

  .huda-trending-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .huda-trend-feature {
    border-radius: 14px;
    align-items: flex-start;
  }
}

/* -------------------------------------------------------------------------
   Single product page
   ------------------------------------------------------------------------- */
.huda-single-product {
  margin: 32px auto 60px;
}

.huda-single-breadcrumbs {
  margin-bottom: 14px;
}

.huda-single-breadcrumbs .woocommerce-breadcrumb {
  font-size: 13px;
  color: #7b8398;
}

.huda-single-product-main {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
}

.huda-single-product-media {
  border-radius: 24px;
  position: relative;
}

.huda-single-product-hero-shot {
  border-radius: 18px;
  overflow: hidden;
}

.huda-single-product-hero-shot img {
  width: 100%;
  height: auto;
  display: block;
}

.huda-single-product-thumbs {
  margin-top: 12px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.huda-single-thumb {
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 14px;
  overflow: hidden;
  flex: 0 0 90px;
  cursor: pointer;
}

.huda-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}


.huda-single-product-summary {
  background: #ffffff;
  border-radius: 18px;
  padding: 16px 18px 18px;
  box-shadow: 0 14px 30px rgba(17, 25, 49, 0.08);
  border: 1px solid #edf1fb;
  position: sticky;
  top: 5em;
  align-self: start;
}

.huda-single-badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.huda-single-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f2efff;
  color: #5e56f3;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: capitalize;
}

.huda-single-category {
  font-size: 13px;
  color: #7a8197;
}

.huda-single-title {
  margin: 0 0 12px;
  font-size: clamp(18px, 1.6vw, 24px);
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #101830;
}

.huda-single-rating-price {
  margin-bottom: 14px;
}

.huda-single-rating-sales {
  color: #6b738b;
  font-size: 28px;
}

.huda-single-price {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 22px;
  font-weight: 800;
  color: #0f1631;
  line-height: 1;
}

.huda-single-price del {
  color: #8b92a6;
  font-size: 16px;
  font-weight: 600;
}

.huda-single-price ins {
  text-decoration: none;
}

.huda-single-off-badge {
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: #27a362;
  background: #def7ea;
  border-radius: 10px;
  padding: 6px 10px;
  line-height: 1;
}

.huda-single-meta-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 6px;
  margin-bottom: 16px;
}

.huda-single-meta-list div span {
  position: relative;
  padding-left: 22px;
  font-size: 16px;
  color: #27304a;
  line-height: 1.35;
}

.huda-single-meta-list div span::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ece9ff;
  color: #6a5df5;
  font-size: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.huda-single-actions {
  border-top: 0;
  padding-top: 6px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.huda-single-primary-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.huda-single-primary-actions form.cart {
  margin-bottom: 10px !important;
}

.huda-single-primary-actions .quantity {
  display: none !important;
}

.huda-single-primary-actions .single_add_to_cart_button,
.huda-single-live-preview {
  width: 100%;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  justify-content: center;
  align-items: center;
  display: inline-flex;
  margin: 0 !important;
  text-align: center;
}

.huda-single-primary-actions .single_add_to_cart_button {
  background: linear-gradient(90deg, #5d4df6, #4f3fec) !important;
  color: #fff;
  border: 0;
  box-shadow: 0 10px 20px rgba(85, 73, 240, 0.2);
}

.huda-single-live-preview {
  background-color: #fff !important;
  color: #4f48e9 !important;
  border: 2px solid #4f48e9 !important;
}

.huda-single-guarantees {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 14px;
  margin-top: 4px;
}

.huda-single-guarantees span {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  line-height: 1.4;
  color: #5f6981;
}

.huda-single-guarantees span svg {
  width: 16px;
  height: 16px;
  margin-top: 1px;
  color: #6f67f7;
  flex-shrink: 0;
  padding: 2px;
  border-radius: 50%;
  background: #f2f1ff;
}

.huda-single-product-sections {
  margin-top: 36px;
  display: grid;
  gap: 20px;
}

.huda-single-demos h2 {
  font-size: clamp(30px, 4vw, 48px);
  margin: 0 0 8px;
  text-align: center;
}

.huda-single-demos {
  padding: 30px 0;
}

.huda-single-section-kicker {
  display: block;
  text-align: center;
  color: #5f56f3;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}

.huda-single-demos p {
  margin: 0 0 30px;
  color: #6b7390;
  text-align: center;
}

.huda-single-demo-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.huda-single-demo-card {
  background: #fff;
  border-radius: 20px;
  border: 1px solid #eaedfb;
  overflow: hidden;
}

/* .huda-single-demo-card.is-featured {
  transform: translateY(-6px);
  box-shadow: 0 20px 36px rgba(38, 45, 77, 0.15);
} */

.huda-single-demo-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

.huda-single-demo-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px;
}

.huda-single-demo-body strong {
  color: #111733;
}

.huda-single-demo-body a {
  color: #5f56f3;
  font-weight: 600;
}

.huda-single-demo-coming-soon {
  width: 100%;
  height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(160deg, #eef0ff 0%, #e8e4ff 45%, #f4f6ff 100%);
  box-sizing: border-box;
}

.huda-single-demo-coming-soon-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5f56f3;
}

.huda-single-demo-card--soon {
  opacity: 0.96;
}

.huda-single-demo-card--soon .huda-single-demo-image--soon {
  position: relative;
}

.huda-single-demo-soon-pill {
  font-size: 13px;
  font-weight: 700;
  color: #6b7390;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f0f2fa;
  border: 1px solid #e2e6f5;
}

.huda-single-why {
  background: #fff;
  border: 1px solid #eaedfb;
  border-radius: 20px;
  padding: 24px 20px;
}

.huda-single-why h3 {
  text-align: center;
  font-size: 38px;
  margin: 0 0 30px;
}

.huda-single-why-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.huda-single-why-grid div {
  text-align: center;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1px solid #edf0fc;
  background: #fdfdff;
  font-size: 13px;
  font-weight: 600;
}


.huda-single-bottom-bar {
  margin-top: 14px;
  border-radius: 16px;
  background: linear-gradient(90deg, #070b3b 0%, #0c0f48 52%, #070b3b 100%);
  color: #fff;
  padding: 24px 28px 16px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px 20px;
  align-items: center;
}

.huda-single-bottom-bar h4 {
  font-size: clamp(34px, 3.4vw, 40px);
  margin: 0 0 4px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.huda-single-bottom-bar p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  max-width: 520px;
  font-size: 16px;
  line-height: 1.4;
}

.huda-single-bottom-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.huda-single-bottom-actions .button {
  white-space: nowrap;
  min-width: 230px;
  border-radius: 8px;
  font-size: 26px;
  font-weight: 700;
  display: inline-flex;
  text-align: center;
  justify-content: center;
}

.huda-single-bottom-actions .button:not(.huda-single-live-preview) {
  background: linear-gradient(90deg, #5f4cf7, #4f3bf1);
  color: #fff;
}

.huda-single-bottom-actions .huda-single-live-preview {
  border: 2px solid rgba(198, 206, 255, 0.55);
  background: rgba(7, 11, 59, 0.35);
  color: #f5f7ff;
}

.huda-single-bottom-features {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px 14px;
  padding-top: 12px;
  margin-top: 2px;
  border-top: 1px solid rgba(195, 202, 255, 0.14);
}

.huda-single-bottom-features span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(230, 235, 255, 0.86);
  font-size: 16px;
  line-height: 1.25;
}

.huda-single-bottom-features svg {
  width: 15px;
  height: 15px;
  color: #7a87ff;
  flex-shrink: 0;
}

.huda-single-description {
  background: #fff;
  border: 1px solid #edf0fb;
  border-radius: 18px;
  padding: 18px;
}

@media (max-width: 991px) {
  .huda-single-product-main {
    grid-template-columns: 1fr;
  }

  .huda-single-product-summary {
    position: static;
    top: auto;
  }

  .huda-single-title {
    font-size: clamp(28px, 6vw, 40px);
  }

  .huda-single-price {
    font-size: 44px;
  }

  .huda-single-price del {
    font-size: 22px;
  }

  .huda-single-meta-list div span {
    font-size: 18px;
  }

  .huda-single-rating-sales,
  .huda-single-guarantees {
    font-size: 16px;
  }

  .huda-single-demo-cards,
  .huda-single-why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-single-bottom-bar {
    grid-template-columns: 1fr;
    padding: 20px 18px 14px;
  }

  .huda-single-bottom-bar h4 {
    font-size: 30px;
  }

  .huda-single-bottom-bar p {
    font-size: 16px;
  }

  .huda-single-bottom-actions {
    width: 100%;
    flex-wrap: wrap;
  }

  .huda-single-bottom-actions .button {
    min-width: 0;
    width: calc(50% - 6px);
    font-size: 14px;
    min-height: 48px;
  }

  .huda-single-bottom-features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-single-product {
    margin-top: 20px;
  }

  .huda-single-product-summary {
    padding: 18px 16px 20px;
  }

  .huda-single-rating-price {
    flex-direction: column;
    align-items: flex-start;
  }

  .huda-single-meta-list {
    grid-template-columns: 1fr;
  }

  .huda-single-title {
    font-size: 34px;
  }

  .huda-single-price {
    font-size: 36px;
  }

  .huda-single-price del {
    font-size: 18px;
  }

  .huda-single-off-badge {
    font-size: 14px;
    padding: 6px 10px;
  }

  .huda-single-meta-list div span {
    font-size: 16px;
  }

  .huda-single-guarantees {
    grid-template-columns: 1fr;
    font-size: 14px;
  }

  .huda-single-demo-cards,
  .huda-single-why-grid {
    grid-template-columns: 1fr;
  }

  .huda-single-demos h2 {
    font-size: 34px;
  }

  .huda-single-why h3 {
    font-size: 30px;
  }

  .huda-single-bottom-bar h4 {
    font-size: 26px;
  }

  .huda-single-bottom-actions .button {
    width: 100%;
  }

  .huda-single-bottom-features {
    grid-template-columns: 1fr;
  }

  .huda-single-bottom-features span {
    font-size: 14px;
  }
}

/* Blog page template */
.huda-blog-page {
  margin: 28px auto 56px;
  padding: 0 16px;
}

.huda-blog-hero {
  border-radius: 20px;
  padding: 26px 24px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fcfbff 0%, #f4f2ff 100%);
  border: 1px solid #eceffd;
}

.huda-blog-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5d52ee;
  background: #ece8ff;
}

.huda-blog-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
}

.huda-blog-hero p {
  margin: 0;
  max-width: 760px;
  color: #667089;
  font-size: 16px;
}

.huda-blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.huda-blog-card {
  background: #fff;
  border: 1px solid #e9eef8;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(20, 28, 46, 0.06);
}

.huda-blog-thumb {
  display: block;
  aspect-ratio: 16/10;
  background: #f2f4fb;
}

.huda-blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.huda-blog-card-body {
  padding: 14px;
}

.huda-blog-meta {
  display: flex;
  gap: 8px;
  font-size: 12px;
  color: #7b8399;
  margin-bottom: 8px;
}

.huda-blog-card-body h2 {
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.2;
}

.huda-blog-card-body h2 a {
  color: #111935;
}

.huda-blog-card-body p {
  margin: 0 0 10px;
  color: #68728b;
  font-size: 14px;
}

.huda-blog-readmore {
  color: #5d52ee;
  font-weight: 700;
}

@media (max-width: 991px) {
  .huda-blog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .huda-blog-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575px) {
  .huda-trending-head {
    margin-bottom: 10px;
  }

  .huda-trending-viewall {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .huda-trending-grid {
    grid-template-columns: 1fr;
  }

  .huda-trend-image {
    height: 210px;
  }

  .huda-trend-footer {
    flex-wrap: wrap;
    align-items: center;
  }

  .huda-trend-footer strong {
    width: 100%;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .huda-trend-btn {
    flex: 1 1 calc(50% - 4px);
    text-align: center;
  }

  .huda-trending-features {
    grid-template-columns: 1fr;
  }
}

/* Shop / category archive redesign */
.huda-shop-archive {
  display: grid;
  gap: 18px;
}

.huda-shop-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: 18px 26px;
  padding: 34px 0;
  overflow: hidden;
}

.huda-shop-hero-copy {
  max-width: 590px;
}

.huda-shop-hero h1 {
  margin: 0 0 16px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.02;
  letter-spacing: -0.045em;
  color: #12192f;
}

.huda-shop-hero h1 span {
  color: #5d56f3;
}

.huda-shop-hero p {
  margin: 0;
  color: #636c82;
  font-size: 16px;
  line-height: 1.72;
  max-width: 560px;
}

.huda-shop-hero-features {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
}

.huda-shop-hero-feature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.huda-shop-hero-feature-icon {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 10px 20px rgba(23, 28, 48, 0.08);
}

.huda-shop-hero-feature-star .huda-shop-hero-feature-icon {
  background: linear-gradient(135deg, #eee6ff, #f8f3ff);
  color: #7a50ff;
}

.huda-shop-hero-feature-shield .huda-shop-hero-feature-icon {
  background: linear-gradient(135deg, #e2faeb, #effff4);
  color: #16a765;
}

.huda-shop-hero-feature-box .huda-shop-hero-feature-icon {
  background: linear-gradient(135deg, #eaf1ff, #f5f8ff);
  color: #4f87ff;
}

.huda-shop-hero-feature-icon svg {
  width: 18px;
  height: 18px;
}

.huda-shop-hero-feature-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.huda-shop-hero-feature-text strong {
  color: #1b2440;
  font-size: 14px;
  line-height: 1.2;
}

.huda-shop-hero-feature-text small {
  color: #7c8599;
  font-size: 12px;
  line-height: 1.35;
}

.huda-shop-hero-previews {
  position: relative;
  min-height: 330px;
  isolation: isolate;
}

.huda-shop-preview-blur {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(6px);
  opacity: 0.75;
}

.huda-shop-preview-blur-1 {
  width: 120px;
  height: 120px;
  left: 4%;
  top: 18%;
  background: radial-gradient(circle, rgba(116, 91, 255, 0.28), rgba(116, 91, 255, 0));
}

.huda-shop-preview-blur-2 {
  width: 150px;
  height: 150px;
  left: 34%;
  bottom: 2%;
  background: radial-gradient(circle, rgba(154, 125, 255, 0.22), rgba(154, 125, 255, 0));
}

.huda-shop-preview {
  position: absolute;
  border-radius: 20px;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  box-shadow: 0 24px 40px rgba(24, 31, 54, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.huda-shop-preview-single {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.huda-shop-preview-single img {
  max-width: 100%;
  height: auto;
  border-radius: 22px;
}

.huda-shop-preview-1 {
  left: 0;
  bottom: 32px;
  width: 28%;
  height: 178px;
  transform: perspective(1000px) rotateY(20deg) rotateZ(-7deg);
}

.huda-shop-preview-2 {
  left: 24%;
  top: 2px;
  width: 50%;
  height: 264px;
  z-index: 3;
}

.huda-shop-preview-3 {
  right: 0;
  top: 38px;
  width: 29%;
  height: 178px;
  transform: perspective(1000px) rotateY(-18deg) rotateZ(6deg);
}

.huda-shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 20px;
  align-items: start;
  padding: 3em 0px;
}

.huda-shop-products {
  min-width: 0;
}

.huda-shop-products ul.products {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
}

.huda-shop-products ul.products::before,
.huda-shop-products ul.products::after {
  content: none;
}

.huda-shop-products ul.products li.product,
.huda-shop-products ul.products li.huda-shop-product-card {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  clear: none !important;
}

.huda-shop-product-card {
  background: #fff;
  border: 1px solid #e9edf5;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(18, 25, 44, 0.05);
}

.huda-shop-product-thumb {
  display: block;
  position: relative;
  aspect-ratio: 16 / 10;
  background: #eef2fb;
  overflow: hidden;
}

.huda-shop-product-thumb img {
  width: 100%;
  height: auto;
  min-height: 100%;
  display: block;
  transform: translate3d(0, 0, 0);
  transition: transform 5.5s ease;
  will-change: transform;
}

@media (hover: hover) {
  .huda-shop-product-thumb:hover img {
    transform: translate3d(0, calc(-1 * var(--huda-thumb-shift, 0px)), 0);
  }
}

.huda-shop-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 999px;
  background: #6154ec;
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.huda-shop-product-body {
  padding: 12px;
}

.huda-shop-product-body h2 {
  margin: 0 0 4px;
  font-size: 20px;
  line-height: 1.2;
}

.huda-shop-product-body h2 a {
  color: #182036;
}

.huda-shop-product-cat {
  margin: 0 0 10px;
  color: #7a8398;
  font-size: 13px;
}

.huda-shop-product-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: #7b8498;
  font-size: 13px;
}

.huda-shop-stars {
  color: #f7b500;
  letter-spacing: 1px;
}

.huda-shop-product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.huda-shop-product-footer strong {
  font-size: 28px;
  color: #131b31;
}

.huda-shop-product-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.huda-shop-mini-cart {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  border: 1px solid #e6eaf5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #6657ec;
}

.huda-shop-live-demo {
  padding: 10px 12px;
  border-radius: 10px;
  background: #efedff;
  color: #5f54e8;
  font-size: 13px;
  font-weight: 700;
}

.huda-shop-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
  position: sticky;
  top: 70px;
  z-index: 1;
  min-width: 0;
  align-self: start;
}

.huda-shop-layout-no-sidebar {
  grid-template-columns: minmax(0, 1fr);
}

.huda-shop-sidecard {
  background: #fff;
  border: 1px solid #eaedf5;
  border-radius: 16px;
  padding: 18px;
}

.huda-shop-sidecard h3 {
  margin: 0 0 12px;
  font-size: 18px;
  color: #16203a;
}

.huda-shop-sidecard p,
.huda-shop-sidecard li {
  color: #68738a;
  font-size: 14px;
  line-height: 1.6;
}

.huda-shop-sidecard ul {
  margin: 0;
  padding-left: 18px;
}

.huda-shop-sidecard-promo {
  background: linear-gradient(135deg, #5d58f2 0%, #8a3ffc 100%);
  border-color: transparent;
}

.huda-shop-sidecard-promo h3,
.huda-shop-sidecard-promo li {
  color: #fff;
}

.huda-shop-sidecard .button {
  display: inline-flex;
  margin-top: 14px;
}

.huda-shop-side-list li + li {
  margin-top: 8px;
}

.huda-shop-category-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 18px;
}

.huda-shop-category-tab {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border: 1px solid #d7def0;
  border-radius: 999px;
  background: #fff;
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  transition: all 0.2s ease;
}

.huda-shop-category-tab:hover {
  border-color: #b7c5ef;
  color: #1d4ed8;
}

.huda-shop-category-tab.is-active {
  background: #1d4ed8;
  border-color: #1d4ed8;
  color: #fff;
}

.huda-shop-benefits {
  padding: 16px 18px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.huda-shop-benefits div {
  padding: 12px 10px;
  border-radius: 12px;
  background: #fbfbfe;
  border: 1px solid #edf0f6;
  text-align: center;
  color: #2d374d;
  font-weight: 600;
  font-size: 14px;
}

.woocommerce nav.woocommerce-pagination ul {
  border: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  margin: 22px 0 0;
  padding: 0;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: 0;
}

.woocommerce nav.woocommerce-pagination ul li span,
.woocommerce nav.woocommerce-pagination ul li a {
  min-width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid #e7ebf4;
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #48536a;
  font-weight: 600;
}

.woocommerce nav.woocommerce-pagination ul li span.current {
  background: #5a4fe8;
  color: #fff;
  border-color: #5a4fe8;
}

@media (max-width: 1200px) {
  .huda-shop-hero {
    grid-template-columns: 1fr;
    padding: 28px;
  }

  .huda-shop-products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-shop-benefits {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-shop-hero-copy {
    max-width: none;
  }
}

@media (max-width: 991px) {
  .huda-shop-layout {
    grid-template-columns: 1fr;
  }

  .huda-shop-sidebar {
    position: static;
    top: auto;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .huda-shop-hero,
  .huda-shop-benefits {
    border-radius: 14px;
  }

  .huda-shop-hero {
    padding: 20px 16px;
  }

  .huda-shop-hero h1 {
    font-size: clamp(28px, 10vw, 42px);
    line-height: 1.08;
  }

  .huda-shop-hero p {
    font-size: 14px;
  }

  .huda-shop-hero-previews {
    min-height: 230px;
  }

  .huda-shop-hero-features {
    gap: 14px;
  }

  .huda-shop-hero-feature {
    width: 100%;
  }

  .huda-shop-products ul.products,
  .huda-shop-sidebar,
  .huda-shop-benefits {
    grid-template-columns: 1fr;
  }

  .huda-shop-product-footer {
    flex-wrap: wrap;
  }

  .huda-shop-product-footer strong {
    width: 100%;
    font-size: 24px;
  }

  .huda-shop-preview-1 {
    width: 33%;
    height: 126px;
    bottom: 26px;
  }

  .huda-shop-preview-2 {
    width: 50%;
    height: 188px;
  }

  .huda-shop-preview-3 {
    width: 32%;
    height: 126px;
    top: 44px;
  }
}

/* Latest Resources: responsive refinement */
@media (max-width: 1200px) {
  .huda-resources-wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .huda-resources-head h2 {
    font-size: clamp(30px, 5.5vw, 42px);
  }

  .huda-resources-head p {
    font-size: 15px;
    line-height: 1.6;
  }

  .huda-resources-grid {
    gap: 14px;
  }
}

@media (max-width: 991px) {
  .huda-resources-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-resource-thumb {
    aspect-ratio: 16 / 9;
  }

  .huda-resource-body {
    padding: 12px;
  }

  .huda-resource-body h3 {
    font-size: 16px;
    margin: 8px 0 6px;
  }

  .huda-resource-foot {
    margin-top: 10px;
    padding-top: 10px;
  }
}

@media (max-width: 767px) {
  .huda-resources-head {
    text-align: left;
  }

  .huda-resources-head h2 {
    margin: 12px 0 8px;
    font-size: clamp(26px, 9vw, 34px);
    line-height: 1.15;
  }

  .huda-resources-head p {
    max-width: none;
    font-size: 14px;
  }

  .huda-resources-line {
    margin: 14px 0 0;
  }

  .huda-resources-top-link {
    margin: 10px 0 12px;
  }

  .huda-resources-top-link a {
    font-size: 14px;
  }

  .huda-resources-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .huda-resource-meta span {
    font-size: 12px;
  }

  .huda-resource-body p {
    font-size: 13px;
  }

  .huda-resource-foot {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
  }

  .huda-resource-foot small {
    font-size: 12px;
  }
}

/* Single blog page */
.huda-blog-single-page {
  margin: 28px auto 56px;
}

.huda-blog-single-head {
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 18px;
  background: linear-gradient(180deg, #fcfbff 0%, #f4f2ff 100%);
  border: 1px solid #eceffd;
}

.huda-blog-single-head h1 {
  margin: 0 0 10px;
  font-size: clamp(32px, 4.8vw, 52px);
  line-height: 1.08;
}

.huda-blog-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 16px;
  align-items: start;
}

.huda-blog-single-content {
  background: #fff;
  border: 1px solid #e9eef8;
  border-radius: 16px;
  overflow: hidden;
}

.huda-blog-single-thumb img {
  width: 100%;
  height: auto;
  display: block;
}

.huda-blog-single-body {
  padding: 16px;
}

.huda-blog-single-sidebar {
  position: sticky;
  top: 24px;
}

.huda-blog-sidebar-card {
  background: #fff;
  border: 1px solid #e9eef8;
  border-radius: 16px;
  padding: 14px;
}

.huda-blog-sidebar-card h3 {
  margin: 0 0 8px;
}

.huda-blog-sidebar-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.huda-blog-sidebar-card li + li {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid #edf1fa;
}

.huda-blog-sidebar-card a {
  color: #1a2340;
  font-size: 14px;
}

@media (max-width: 991px) {
  .huda-blog-single-layout {
    grid-template-columns: 1fr;
  }

  .huda-blog-single-sidebar {
    position: static;
  }
}

/* Contact page template */
.huda-contact-page {
  margin: 28px auto 56px;
}

.huda-contact-shell {
  border: 1px solid #e8ecf8;
  border-radius: 20px;
  background: linear-gradient(180deg, #fcfbff 0%, #f6f4ff 100%);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
}

.huda-contact-kicker {
  display: inline-flex;
  margin-bottom: 10px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ede8ff;
  color: #5f56f3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.huda-contact-copy h1 {
  margin: 0 0 10px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.06;
}

.huda-contact-copy p {
  margin: 0 0 14px;
  color: #69728b;
}

.huda-contact-meta {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.huda-contact-meta strong {
  display: block;
  font-size: 12px;
  color: #5f56f3;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.huda-contact-meta span {
  color: #1a2240;
  font-size: 15px;
}

.huda-contact-copy-img {
  display: block;
  width: 100%;
  height: auto;
  margin: 20px auto 0;
  object-fit: contain;
}

.huda-contact-form-wrap {
  background: #fff;
  border: 1px solid #e8ecf8;
  border-radius: 16px;
  padding: 16px;
}

.huda-contact-form-wrap .wpcf7-form p {
  margin: 0 0 10px;
}

.huda-contact-form-wrap input,
.huda-contact-form-wrap textarea,
.huda-contact-form-wrap select {
  width: 100%;
  border: 1px solid #dde3f4;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
}

.huda-contact-form-wrap .wpcf7-submit {
  background: linear-gradient(90deg, #5e4df6, #4e3feb);
  color: #fff;
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .huda-contact-shell {
    grid-template-columns: 1fr;
  }
}

/* FAQ page template */
.huda-faq-page {
  margin: 28px auto 56px;
}

.huda-faq-hero {
  border-radius: 20px;
  padding: 24px;
  margin-bottom: 16px;
  background: linear-gradient(180deg, #fcfbff 0%, #f4f2ff 100%);
  border: 1px solid #eceffd;
  text-align: center;
}

.huda-faq-kicker {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #ece8ff;
  color: #5f56f3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.huda-faq-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.08;
}

.huda-faq-hero p {
  margin: 0;
  color: #667089;
  font-size: 15px;
}

.huda-faq-list {
  display: grid;
  gap: 10px;
}

.huda-faq-item {
  background: #fff;
  border: 1px solid #e9eef8;
  border-radius: 14px;
  padding: 0 14px;
}

.huda-faq-item summary {
  cursor: pointer;
  list-style: none;
  font-size: 18px;
  font-weight: 700;
  color: #16203d;
  padding: 14px 28px 14px 0;
  position: relative;
}

.huda-faq-item summary::-webkit-details-marker {
  display: none;
}

.huda-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #5b51ee;
  background: #f0ecff;
  font-size: 16px;
  font-weight: 700;
}

.huda-faq-item[open] summary::after {
  content: "-";
}

.huda-faq-answer {
  border-top: 1px solid #edf1fa;
  padding: 12px 0 14px;
  color: #5f6983;
}

/* Hosting page template */


.huda-hosting-content > *:first-child {
  margin-top: 0;
}

.huda-hosting-content > *:last-child {
  margin-bottom: 0;
}

/* Hosting — dark promo (Customizer) */
.huda-hosting-promo {
  --huda-hosting-promo-bg: #001133;
  --huda-hosting-promo-check: #22c55e;
  --huda-hosting-promo-price: #673de6;
  --huda-hosting-promo-cta-bg: #ffd141;
  --huda-hosting-promo-cta-fg: #111827;
  --huda-hosting-promo-badge: #22c55e;
  width: 100%;
  padding: 52px max(20px, env(safe-area-inset-right)) 56px max(20px, env(safe-area-inset-left));
  box-sizing: border-box;
  color: #fff;
}

.huda-hosting-promo-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 400px);
  gap: 40px 48px;
  align-items: center;
}

.huda-hosting-promo-copy {
  text-align: left;
}

.huda-hosting-promo-headline {
  margin: 0 0 14px;
  font-size: clamp(26px, 3.5vw, 40px);
  line-height: 1.18;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}

.huda-hosting-promo-desc {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  max-width: 540px;
}

.huda-hosting-promo-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.huda-hosting-promo-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.45;
  color: #fff;
}

.huda-hosting-promo-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  background: var(--huda-hosting-promo-check);
  position: relative;
}

.huda-hosting-promo-check::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
}

.huda-hosting-promo-card {
  background: #fff;
  border-radius: 20px;
  padding: 22px 22px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  color: #111827;
}

.huda-hosting-promo-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.huda-hosting-promo-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
}

.huda-hosting-promo-logo-img {
  max-height: 36px;
  width: auto;
  display: block;
}

.huda-hosting-promo-brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  background: linear-gradient(135deg, #673de6, #5025d1);
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.huda-hosting-promo-brand-text {
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: #673de6;
}

.huda-hosting-promo-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--huda-hosting-promo-badge);
  color: #fff;
}

.huda-hosting-promo-price-label {
  margin: 0 0 4px;
  font-size: 13px;
  color: #9ca3af;
}

.huda-hosting-promo-price-row {
  margin: 0 0 6px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 6px;
  line-height: 1;
}

.huda-hosting-promo-price-main {
  font-size: clamp(34px, 5vw, 42px);
  font-weight: 800;
  color: var(--huda-hosting-promo-price);
}

.huda-hosting-promo-price-suffix {
  font-size: 16px;
  font-weight: 600;
  color: #6b7280;
}

.huda-hosting-promo-bonus {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.huda-hosting-countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 18px;
}

.huda-hosting-countdown-unit {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 10px 6px 8px;
  text-align: center;
}

.huda-hosting-countdown-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #111827;
  line-height: 1.1;
}

.huda-hosting-countdown-label {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: #9ca3af;
}

.huda-hosting-promo-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  background: var(--huda-hosting-promo-cta-bg);
  color: var(--huda-hosting-promo-cta-fg);
  border: none;
  transition: transform 0.15s ease, filter 0.15s ease;
}

.huda-hosting-promo-cta:hover {
  filter: brightness(1.04);
  transform: translateY(-1px);
  color: var(--huda-hosting-promo-cta-fg);
}

.huda-hosting-promo-guarantee {
  margin: 12px 0 0;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
}

/* Hosting — light band: why + tiers */
.huda-hosting-surface {
  --huda-hosting-surface-bg: #ffffff;
  --huda-hosting-accent: #0052ea;
  --huda-hosting-accent-hover: #0046cc;
  width: 100%;
  padding: 40px max(0px, env(safe-area-inset-right)) 48px max(0px, env(safe-area-inset-left));
  box-sizing: border-box;
}

.huda-hosting-surface-inner {
  margin: 0 auto;
}

.huda-hosting-why {
  margin-bottom: 36px;
}

.huda-hosting-why-heading {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  text-align: left;
}

.huda-hosting-why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.huda-hosting-why-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px 18px 18px;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
}

.huda-hosting-why-icon-wrap {
  color: var(--huda-hosting-accent);
  margin-bottom: 12px;
}

.huda-hosting-why-icon {
  display: block;
}

.huda-hosting-why-card-title {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #222;
}

.huda-hosting-why-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #666;
}

.huda-hosting-tiers-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.huda-hosting-tiers-heading {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
}

.huda-hosting-tiers-viewall {
  font-size: 14px;
  font-weight: 600;
  color: var(--huda-hosting-accent);
  text-decoration: none;
}

.huda-hosting-tiers-viewall:hover {
  text-decoration: underline;
  color: var(--huda-hosting-accent-hover);
}

.huda-hosting-tiers-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.huda-hosting-tier-card {
  background: #fff;
  border-radius: 12px;
  padding: 22px 20px 20px;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 18px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.huda-hosting-tier-name {
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 800;
  color: #222;
}

.huda-hosting-tier-price {
  margin: 0 0 16px;
  line-height: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px 6px;
}

.huda-hosting-tier-price-main {
  font-size: 30px;
  font-weight: 800;
  color: var(--huda-hosting-accent);
}

.huda-hosting-tier-price-suf {
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
}

.huda-hosting-tier-features {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  flex: 1;
}

.huda-hosting-tier-features li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.45;
  color: #444;
}

.huda-hosting-tier-features li + li {
  margin-top: 10px;
}

.huda-hosting-tier-check {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 50%;
  border: 2px solid var(--huda-hosting-accent);
  position: relative;
}

.huda-hosting-tier-check::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 1px;
  width: 5px;
  height: 9px;
  border: solid var(--huda-hosting-accent);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.huda-hosting-tier-cta {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: var(--huda-hosting-accent);
  border: none;
  transition: background 0.15s ease, transform 0.15s ease;
}

.huda-hosting-tier-cta:hover {
  background: var(--huda-hosting-accent-hover);
  color: #fff;
  transform: translateY(-1px);
}

@media (max-width: 991px) {
  .huda-hosting-promo-inner {
    grid-template-columns: 1fr;
  }

  .huda-hosting-promo-card {
    max-width: 440px;
    margin: 0 auto;
    width: 100%;
  }

  .huda-hosting-why-grid,
  .huda-hosting-tiers-grid {
    grid-template-columns: 1fr;
  }
}

/* Resources Page template (Customizer) */
.huda-resources-page {
  --huda-res-accent: #2563eb;
  --huda-res-hero-bg: #f3f4f6;
}

.huda-resources-hero {
  padding: 48px max(16px, env(safe-area-inset-left)) 52px max(16px, env(safe-area-inset-right));
  box-sizing: border-box;
  background: var(--huda-res-hero-bg);
}

.huda-resources-hero-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 40px;
  align-items: center;
}

.huda-resources-hero-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.8vw, 42px);
  font-weight: 800;
  line-height: 1.15;
  color: #111827;
  letter-spacing: -0.02em;
}

.huda-resources-hero-desc {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 520px;
}

.huda-resources-hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.huda-resources-hero-img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: 16px;
  display: block;
}

.huda-resources-hero-placeholder {
  max-width: 320px;
  margin: 0 auto;
  opacity: 0.9;
}

.huda-resources-hero-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
}

.huda-resources-main {
  padding: 40px 0;
}

.huda-resources-block {
  margin-bottom: 44px;
}

.huda-resources-block:last-child {
  margin-bottom: 0;
}

.huda-resources-block-title {
  margin: 0 0 20px;
  font-size: 22px;
  font-weight: 800;
  color: #111827;
}

.huda-resources-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.huda-resources-tool-card {
  background: #fff;
  border-radius: 14px;
  padding: 20px 18px 18px;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.huda-resources-tool-logo {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.huda-resources-tool-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.huda-resources-logo-fallback {
  font-size: 18px;
  font-weight: 800;
  color: var(--huda-res-accent);
}

.huda-resources-tool-name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.huda-resources-tool-desc {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
  flex: 1;
}

.huda-resources-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--huda-res-accent);
  text-decoration: none;
}

.huda-resources-link:hover {
  text-decoration: underline;
  color: var(--huda-res-accent);
}

.huda-resources-free-panel {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  overflow: hidden;
}

.huda-resources-free-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid #eef0f4;
}

.huda-resources-free-row:last-child {
  border-bottom: 0;
}

.huda-resources-free-icon {
  flex-shrink: 0;
  color: #22c55e;
  display: flex;
}

.huda-resources-free-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.huda-resources-free-text strong {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}

.huda-resources-free-sub {
  font-size: 14px;
  color: #6b7280;
  line-height: 1.45;
}

.huda-resources-free-cta {
  white-space: nowrap;
}

.huda-resources-plugins-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.huda-resources-plugin-card {
  background: #fff;
  border-radius: 14px;
  padding: 18px 18px 16px;
  border: 1px solid #e8eaef;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
}

.huda-resources-plugin-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 14px;
}

.huda-resources-plugin-logo {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.huda-resources-plugin-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.huda-resources-plugin-name {
  margin: 0 0 6px;
  font-size: 16px;
  font-weight: 800;
  color: #111827;
}

.huda-resources-plugin-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #6b7280;
}

.huda-resources-page-extra {
  padding: 0 16px 48px;
}

.huda-resources-page-extra-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px;
  background: #fff;
  border: 1px solid #e8eaef;
  border-radius: 14px;
  color: #374151;
  line-height: 1.65;
}

@media (max-width: 991px) {
  .huda-resources-hero-inner {
    grid-template-columns: 1fr;
  }

  .huda-resources-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .huda-resources-plugins-grid {
    grid-template-columns: 1fr;
  }

  .huda-resources-free-row {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto auto;
  }

  .huda-resources-free-cta {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

@media (max-width: 575px) {
  .huda-resources-tools-grid {
    grid-template-columns: 1fr;
  }
}

/* ----- Themes Comparison template ----- */
.huda-tc-page {
  --huda-tc-accent: #2563eb;
  --huda-tc-win: #16a34a;
  --huda-tc-win-blue: #2563eb;
  --huda-tc-border: #e5e7eb;
  --huda-tc-hero-bg: #f9fafb;
  background: #fff;
  color: #111827;
}

.huda-tc-hero {
  padding: 28px 0 56px;
}

.huda-tc-breadcrumb {
  font-size: 13px;
  color: #9ca3af;
  margin-bottom: 28px;
}

.huda-tc-breadcrumb a {
  color: #9ca3af;
  text-decoration: none;
}

.huda-tc-breadcrumb a:hover {
  color: var(--huda-tc-accent);
}

.huda-tc-bc-sep {
  margin: 0 8px;
  opacity: 0.7;
}

.huda-tc-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.huda-tc-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: color-mix(in srgb, var(--huda-tc-accent) 12%, transparent);
  color: var(--huda-tc-accent);
  margin-bottom: 16px;
}

.huda-tc-hero-title {
  margin: 0 0 16px;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.15;
  font-weight: 800;
}

.huda-tc-hero-title-1 {
  display: block;
  color: #111827;
}

.huda-tc-hero-title-2 {
  display: block;
  color: var(--huda-tc-accent);
}

.huda-tc-hero-desc {
  margin: 0 0 28px;
  font-size: 16px;
  line-height: 1.65;
  color: #4b5563;
  max-width: 520px;
}

.huda-tc-hero-feats {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 20px 28px;
}

.huda-tc-hero-feats li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #374151;
}

.huda-tc-hero-ficon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--huda-tc-accent);
  flex-shrink: 0;
  position: relative;
}

.huda-tc-hero-ficon::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 4px;
  width: 5px;
  height: 8px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.huda-tc-hero-visual {
  display: flex;
  justify-content: center;
  min-height: 280px;
}

.huda-tc-hero-cards {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 260px;
}

.huda-tc-hero-card {
  position: absolute;
  width: 58%;
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  border: 1px solid var(--huda-tc-border);
}

.huda-tc-hero-card img {
  display: block;
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.huda-tc-hero-card--a {
  left: 0;
  top: 20px;
  transform: rotate(-6deg);
  z-index: 1;
}

.huda-tc-hero-card--b {
  right: 0;
  top: 20px;
  transform: rotate(6deg);
  z-index: 1;
}

.huda-tc-hero-card-lbl {
  display: block;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 15px;
  color: #111827;
}

.huda-tc-hero-vs {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--huda-tc-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #111827;
  z-index: 3;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.08);
}

.huda-tc-body {
  padding: 32px 0;
}

.huda-tc-empty {
  text-align: center;
  padding: 48px 20px;
  color: #6b7280;
}

.huda-tc-select-card {
  background: #fff;
  border: 1px solid var(--huda-tc-border);
  border-radius: 14px;
  padding: 24px 24px 16px;
  margin-bottom: 28px;
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04);
}

.huda-tc-select-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 20px;
  align-items: end;
}

.huda-tc-field-lbl {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}

.huda-tc-select-row > .huda-tc-field:nth-child(1) .huda-tc-field-lbl::before,
.huda-tc-select-row > .huda-tc-field:nth-child(2) .huda-tc-field-lbl::before {
  content: "1";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.huda-tc-select-row > .huda-tc-field:nth-child(2) .huda-tc-field-lbl::before {
  content: "2";
  background: #2563eb;
  color: #fff;
}

.huda-tc-field-lbl--ghost {
  visibility: hidden;
}

.huda-tc-select-wrap {
  position: relative;
}

.huda-tc-select {
  width: 100%;
  appearance: none;
  padding: 14px 40px 14px 14px;
  font-size: 15px;
  font-weight: 600;
  border: 1px solid var(--huda-tc-border);
  border-radius: 10px;
  background: #fff;
  color: #111827;
}

.huda-tc-select-wrap::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid #9ca3af;
  border-bottom: 2px solid #9ca3af;
  transform: translateY(-60%) rotate(45deg);
  pointer-events: none;
}

.huda-tc-compare-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border: none;
  border-radius: 10px;
  background: var(--huda-tc-accent);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
}

.huda-tc-compare-btn:hover {
  filter: brightness(1.05);
}

.huda-tc-suggest {
  margin: 12px 0 0;
  font-size: 13px;
  color: #6b7280;
}

.huda-tc-suggest a {
  color: var(--huda-tc-accent);
  font-weight: 600;
  text-decoration: none;
}

.huda-tc-suggest a:hover {
  text-decoration: underline;
}

.huda-tc-summary {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 24px;
}

.huda-tc-summary-card {
  background: #fff;
  border: 1px solid var(--huda-tc-border);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
}

.huda-tc-summary-thumb img {
  display: block;
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.huda-tc-summary-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.huda-tc-summary-name {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
}

.huda-tc-summary-pill {
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  background: color-mix(in srgb, var(--huda-tc-accent) 10%, transparent);
  color: var(--huda-tc-accent);
}

.huda-tc-summary-rating {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
}

.huda-tc-summary-rating .star-rating {
  float: none;
  margin: 0;
}

.huda-tc-summary-reviews {
  color: #6b7280;
}

.huda-tc-summary-desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: #4b5563;
  flex: 1;
}

.huda-tc-summary-price {
  font-size: 17px;
  font-weight: 800;
  color: #111827;
}

.huda-tc-summary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.huda-tc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--huda-tc-border);
  color: #374151;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.huda-tc-btn-outline:hover {
  border-color: var(--huda-tc-accent);
  color: var(--huda-tc-accent);
}

.huda-tc-summary-vs {
  align-self: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--huda-tc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  color: #374151;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
}

.huda-tc-scoreboard {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto minmax(0, 1.2fr);
  align-items: center;
  gap: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--huda-tc-border);
  border-radius: 14px;
  margin-bottom: 24px;
}

.huda-tc-sb-mid-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.huda-tc-sb-side {
  display: flex;
  align-items: center;
  gap: 12px;
}

.huda-tc-sb-side--right {
  justify-content: flex-end;
  text-align: right;
}

.huda-tc-sb-logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  border: 1px solid var(--huda-tc-border);
}

.huda-tc-sb-name {
  font-weight: 800;
  font-size: 16px;
}

.huda-tc-sb-win {
  display: inline-block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
}

.huda-tc-sb-win--green {
  color: var(--huda-tc-win);
}

.huda-tc-sb-win--blue {
  color: var(--huda-tc-win-blue);
}

.huda-tc-sb-score {
  text-align: center;
  min-width: 100px;
}

.huda-tc-sb-score strong {
  display: block;
  font-size: 28px;
  line-height: 1.1;
}

.huda-tc-sb-score span {
  font-size: 12px;
  color: #6b7280;
}

.huda-tc-sb-score--green strong {
  color: var(--huda-tc-win);
}

.huda-tc-sb-score--blue strong {
  color: var(--huda-tc-win-blue);
}

.huda-tc-sb-vs {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--huda-tc-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #6b7280;
  background: #f9fafb;
}

.huda-tc-table-wrap {
  border: 1px solid var(--huda-tc-border);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  margin-bottom: 28px;
}

.huda-tc-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.huda-tc-table thead th {
  padding: 16px 12px;
  text-align: center;
  font-weight: 700;
  color: #374151;
  border-bottom: 1px solid var(--huda-tc-border);
  background: #fafafa;
}

.huda-tc-table thead th:first-child {
  text-align: left;
}

.huda-tc-table tbody th,
.huda-tc-table tbody td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--huda-tc-border);
  vertical-align: middle;
}

.huda-tc-td-feat {
  text-align: left;
  font-weight: 600;
  color: #111827;
}

.huda-tc-td-ico {
  margin-right: 8px;
}

.huda-tc-td-mid {
  text-align: center;
  color: #374151;
}

.huda-tc-td-win {
  text-align: center;
}

.huda-tc-tie {
  font-size: 18px;
  font-weight: 700;
  color: #9ca3af;
}

.huda-tc-win-cell {
  font-weight: 700;
  font-size: 13px;
}

.huda-tc-win-cell--left {
  color: var(--huda-tc-win);
}

.huda-tc-win-cell--right {
  color: var(--huda-tc-win-blue);
}

.huda-tc-win-cell--lg {
  font-size: 15px;
}

.huda-tc-yes {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.huda-tc-yes-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--huda-tc-win);
  position: relative;
}

.huda-tc-yes-dot::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 4px;
  width: 5px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.huda-tc-tr-total th,
.huda-tc-tr-total td {
  background: #f9fafb;
  font-weight: 700;
}

.huda-tc-td-total--left strong {
  color: var(--huda-tc-win);
  font-size: 18px;
}

.huda-tc-td-total--right strong {
  color: var(--huda-tc-win-blue);
  font-size: 18px;
}

.huda-tc-cta {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 28px 32px;
  border-radius: 14px;
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid color-mix(in srgb, var(--huda-tc-win) 25%, transparent);
}

.huda-tc-cta-trophy-img {
  max-width: 120px;
  height: auto;
  display: block;
}

.huda-tc-cta-copy-head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.huda-tc-cta-copy-trophy {
  display: block;
  width: auto;
  max-width: 100px;
  height: auto;
  max-height: 100px;
  margin: 0;
  flex-shrink: 0;
  object-fit: contain;
}

.huda-tc-cta-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  color: var(--huda-tc-win);
  line-height: 1.25;
  flex: 1;
  min-width: 0;
}

.huda-tc-cta-copy p {
  margin: 0;
  color: #166534;
  line-height: 1.55;
  font-size: 15px;
}

.huda-tc-cta-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.huda-tc-cta-primary {
  padding: 12px 20px;
  border-radius: 10px;
  background: var(--huda-tc-win);
  color: #fff !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
}

.huda-tc-cta-primary:hover {
  filter: brightness(1.05);
}

.huda-tc-cta-secondary {
  padding: 12px 20px;
  border-radius: 10px;
  border: 2px solid var(--huda-tc-win);
  color: var(--huda-tc-win) !important;
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  background: transparent;
}

.huda-tc-cta-secondary:hover {
  background: rgba(22, 163, 74, 0.08);
}

@media (max-width: 991px) {
  .huda-tc-hero-grid {
    grid-template-columns: 1fr;
  }

  .huda-tc-hero-visual {
    order: -1;
    margin-bottom: 8px;
  }

  .huda-tc-select-row {
    grid-template-columns: 1fr;
  }

  .huda-tc-field--btn {
    justify-self: start;
  }

  .huda-tc-summary {
    grid-template-columns: 1fr;
  }

  .huda-tc-summary-vs {
    justify-self: center;
    order: 2;
  }

  .huda-tc-summary-card--b {
    order: 3;
  }

  .huda-tc-scoreboard {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

  .huda-tc-sb-mid-row {
    order: 2;
    padding: 8px 0;
  }

  .huda-tc-sb-side--left {
    order: 1;
  }

  .huda-tc-sb-side--right {
    order: 3;
    justify-content: space-between;
  }

  .huda-tc-table-wrap {
    overflow-x: auto;
  }

  .huda-tc-table {
    min-width: 640px;
  }

  .huda-tc-cta {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .huda-tc-cta-art {
    justify-self: center;
  }

  .huda-tc-cta-btns {
    justify-content: center;
  }
}
