:root {
  --aim-wine: #5b0710;
  --aim-wine-dark: #2d0005;
  --aim-gold: #d7a83c;
  --aim-cream: #fbf7f0;
  --aim-ink: #351016;
  --aim-line: #eadfce;
}

body.aim-commerce-page {
  margin: 0;
  color: var(--aim-ink);
  background: var(--aim-cream);
  font-family: Arial, "Noto Sans Bengali", sans-serif;
}

body.aim-commerce-page > .top-bar,
body.aim-commerce-page #masthead,
body.aim-commerce-page .site-header:not(.aim-commerce-header),
body.aim-commerce-page #colophon,
body.aim-commerce-page .site-footer:not(.aim-commerce-footer),
body.aim-commerce-page .footer-widgets,
body.aim-commerce-page .site-footer-widgets,
body.aim-commerce-page .entry-header,
body.aim-commerce-page .page-header {
  display: none !important;
}

.aim-commerce-shell,
.aim-commerce-shell *,
.aim-commerce-footer,
.aim-commerce-footer * {
  box-sizing: border-box;
}

.aim-commerce-container {
  width: min(1180px, calc(100% - 36px));
  margin-inline: auto;
}

.aim-commerce-topbar {
  color: #fff7e6;
  background: linear-gradient(90deg, #310006, #690a14, #310006);
  font-size: 12px;
}

.aim-commerce-topbar .aim-commerce-container {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.aim-commerce-topbar a {
  color: #f1c65c;
  font-weight: 700;
  text-decoration: none;
}

.aim-commerce-header {
  border-bottom: 1px solid var(--aim-line);
  background: #fff;
  box-shadow: 0 7px 24px rgb(49 0 6 / 7%);
}

.aim-commerce-header-inner {
  min-height: 82px;
  display: grid;
  grid-template-columns: 260px 1fr auto;
  align-items: center;
  gap: 28px;
}

.aim-commerce-brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--aim-wine);
  text-decoration: none;
}

.aim-brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid #e2bc60;
  border-radius: 50%;
  color: #f2c968;
  background: radial-gradient(circle, #790e19, #3d0006);
  font-size: 22px;
}

.aim-commerce-brand strong,
.aim-commerce-brand small {
  display: block;
}

.aim-commerce-brand strong {
  font-family: Georgia, serif;
  font-size: 20px;
  letter-spacing: .045em;
}

.aim-commerce-brand small {
  margin-top: 3px;
  color: #ae7926;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .22em;
}

.aim-commerce-nav {
  display: flex;
  justify-content: center;
  gap: 28px;
}

.aim-commerce-nav a {
  color: #3c171b;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.aim-commerce-nav a:hover {
  color: #9f1625;
}

.aim-commerce-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aim-commerce-actions a {
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 9px 15px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.aim-help-link {
  border: 1px solid #178a49;
  color: #13763f;
  background: #f1fff6;
}

.aim-home-link {
  border: 1px solid #d9b253;
  color: var(--aim-wine);
  background: #fff8e8;
}

.aim-cart-link {
  color: #fff8e8;
  background: var(--aim-wine);
}

.aim-commerce-progress {
  border-bottom: 1px solid var(--aim-line);
  background: #fffaf2;
}

.aim-commerce-progress .aim-commerce-container {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.aim-commerce-progress span {
  color: #988779;
  font-size: 12px;
  font-weight: 800;
}

.aim-commerce-progress span.current,
.aim-commerce-progress span.done {
  color: var(--aim-wine);
}

.aim-commerce-progress i {
  width: 55px;
  height: 1px;
  background: #dec89e;
}

body.aim-commerce-page #page,
body.aim-commerce-page .site,
body.aim-commerce-page .site-content {
  background: transparent;
}

body.aim-commerce-page .site-content,
body.aim-commerce-page #content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 48px 0 70px;
}

body.aim-commerce-page #primary,
body.aim-commerce-page .content-area,
body.aim-commerce-page main.site-main,
body.aim-commerce-page article,
body.aim-commerce-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
}

body.aim-commerce-page .entry-content > h1,
body.aim-commerce-page .entry-content > h2,
body.aim-commerce-page .wp-block-heading {
  color: var(--aim-wine);
}

body.aim-commerce-page .woocommerce,
body.aim-commerce-page .wc-block-cart,
body.aim-commerce-page .wc-block-checkout {
  color: #32151a;
}

body.aim-commerce-page.woocommerce-cart .entry-content > .woocommerce {
  display: grid !important;
  grid-template-columns: minmax(0, 2fr) minmax(340px, 1fr) !important;
  align-items: start;
  gap: 28px;
}

body.aim-commerce-page.woocommerce-cart .entry-content > .woocommerce > .woocommerce-message,
body.aim-commerce-page.woocommerce-cart .entry-content > .woocommerce > .woocommerce-info,
body.aim-commerce-page.woocommerce-cart .entry-content > .woocommerce > .woocommerce-error {
  grid-column: 1 / -1;
}

body.aim-commerce-page .woocommerce::after,
body.aim-commerce-page .cart-collaterals::after {
  display: table;
  clear: both;
  content: "";
}

body.aim-commerce-page .woocommerce-cart-form {
  float: none !important;
  width: 100% !important;
}

body.aim-commerce-page .cart-collaterals {
  float: none !important;
  width: 100% !important;
}

body.aim-commerce-page .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  padding: 24px;
}

body.aim-commerce-page .cart_totals h2 {
  margin: 0 0 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--aim-gold);
  color: var(--aim-wine);
  font-size: 24px;
}

body.aim-commerce-page .cart_totals table {
  width: 100% !important;
  table-layout: fixed;
}

body.aim-commerce-page .cart_totals table tr {
  width: 100% !important;
  display: grid !important;
  grid-template-columns: minmax(115px, 38%) minmax(0, 1fr);
  align-items: start;
}

body.aim-commerce-page .cart_totals table th,
body.aim-commerce-page .cart_totals table td {
  width: auto !important;
  min-width: 0 !important;
  display: block !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  white-space: normal;
}

body.aim-commerce-page .cart_totals #shipping_method {
  margin: 0;
  padding: 0;
}

body.aim-commerce-page .cart_totals #shipping_method li {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  gap: 7px;
  margin: 0 0 12px;
  padding: 0;
  line-height: 1.45;
}

body.aim-commerce-page .cart_totals #shipping_method label,
body.aim-commerce-page .cart_totals .woocommerce-shipping-destination,
body.aim-commerce-page .cart_totals .woocommerce-shipping-calculator {
  word-break: normal !important;
  overflow-wrap: normal !important;
}

body.aim-commerce-page .woocommerce-cart-form td.actions {
  width: 100% !important;
  display: table-cell !important;
  padding: 16px 12px !important;
  text-align: right !important;
  white-space: normal;
}

body.aim-commerce-page .woocommerce-cart-form td.actions .coupon {
  width: auto !important;
  float: left !important;
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 !important;
}

body.aim-commerce-page .woocommerce-cart-form td.actions .coupon #coupon_code {
  width: 128px !important;
  min-width: 128px;
  margin: 0 !important;
}

body.aim-commerce-page .woocommerce-cart-form td.actions .button {
  width: auto !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin: 0 0 0 8px !important;
  padding-inline: 14px !important;
}

body.aim-commerce-page .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 12px 16px !important;
  text-align: center;
  line-height: 1.25 !important;
  white-space: normal;
}

body.aim-commerce-page .woocommerce-message,
body.aim-commerce-page .woocommerce-info,
body.aim-commerce-page .woocommerce-error,
body.aim-commerce-page .wc-block-components-notice-banner {
  margin: 0 0 24px !important;
  padding: 16px 18px !important;
  border: 1px solid #dfc77e !important;
  border-left: 5px solid var(--aim-gold) !important;
  border-radius: 8px !important;
  color: #4b2529 !important;
  background: #fffaf0 !important;
  box-shadow: 0 8px 24px rgb(57 12 15 / 7%);
}

body.aim-commerce-page .woocommerce-cart-form,
body.aim-commerce-page .cart_totals,
body.aim-commerce-page .woocommerce-checkout-review-order,
body.aim-commerce-page .woocommerce-billing-fields,
body.aim-commerce-page .woocommerce-shipping-fields,
body.aim-commerce-page .wc-block-components-sidebar,
body.aim-commerce-page .wc-block-components-main {
  border: 1px solid var(--aim-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 36px rgb(55 11 15 / 7%);
}

body.aim-commerce-page .woocommerce-cart-form,
body.aim-commerce-page .woocommerce-billing-fields,
body.aim-commerce-page .woocommerce-shipping-fields,
body.aim-commerce-page .woocommerce-checkout-review-order,
body.aim-commerce-page .wc-block-components-sidebar,
body.aim-commerce-page .wc-block-components-main {
  padding: 24px;
}

body.aim-commerce-page table.shop_table {
  width: 100%;
  border: 0;
  border-collapse: collapse;
}

body.aim-commerce-page table.shop_table th {
  color: var(--aim-wine);
  background: #fff7e8;
}

body.aim-commerce-page table.shop_table th,
body.aim-commerce-page table.shop_table td {
  padding: 15px 12px;
  border-color: var(--aim-line);
}

body.aim-commerce-page .woocommerce-cart-form table.shop_table {
  table-layout: auto;
}

body.aim-commerce-page .woocommerce-cart-form .product-remove {
  width: 38px !important;
  padding-inline: 7px !important;
  text-align: center;
}

body.aim-commerce-page .woocommerce-cart-form .product-thumbnail {
  width: 66px !important;
  padding-inline: 8px !important;
  text-align: center;
}

body.aim-commerce-page .woocommerce-cart-form .product-thumbnail img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

body.aim-commerce-page .woocommerce-cart-form .product-name {
  width: auto !important;
  min-width: 190px;
}

body.aim-commerce-page .woocommerce-cart-form .product-price {
  width: 88px !important;
  white-space: nowrap;
}

body.aim-commerce-page .woocommerce-cart-form .product-quantity {
  width: 105px !important;
}

body.aim-commerce-page .woocommerce-cart-form .product-subtotal {
  width: 105px !important;
  white-space: nowrap;
}

body.aim-commerce-page input[type="text"],
body.aim-commerce-page input[type="email"],
body.aim-commerce-page input[type="tel"],
body.aim-commerce-page input[type="number"],
body.aim-commerce-page select,
body.aim-commerce-page textarea,
body.aim-commerce-page .wc-block-components-text-input input,
body.aim-commerce-page .wc-block-components-combobox-control input {
  min-height: 48px;
  border: 1px solid #d7c9b9 !important;
  border-radius: 6px !important;
  color: #32151a;
  background: #fff !important;
}

body.aim-commerce-page button,
body.aim-commerce-page .button,
body.aim-commerce-page .checkout-button,
body.aim-commerce-page #place_order,
body.aim-commerce-page .wc-block-cart__submit-button,
body.aim-commerce-page .wc-block-components-checkout-place-order-button {
  min-height: 48px;
  border: 0 !important;
  border-radius: 6px !important;
  color: #fff9eb !important;
  background: linear-gradient(90deg, #4a0007, #770e1a) !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

body.aim-commerce-page button:hover,
body.aim-commerce-page .button:hover,
body.aim-commerce-page .checkout-button:hover,
body.aim-commerce-page #place_order:hover {
  background: #850f1d !important;
}

body.aim-commerce-page .product-name a,
body.aim-commerce-page .wc-block-components-product-name,
body.aim-commerce-page a {
  color: var(--aim-wine);
}

.aim-commerce-footer {
  color: #f8ead0;
  background:
    radial-gradient(circle at 80% 0, rgb(177 47 54 / 28%), transparent 33%),
    linear-gradient(115deg, #220003, #5c0711 58%, #280004);
}

.aim-commerce-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(3, 1fr);
  gap: 42px;
  padding: 52px 0;
}

.aim-commerce-footer strong,
.aim-commerce-footer small {
  display: block;
}

.aim-commerce-footer strong {
  color: #fff8e8;
  font-family: Georgia, serif;
  font-size: 23px;
  letter-spacing: .04em;
}

.aim-commerce-footer small {
  margin-top: 5px;
  color: #e2b959;
  font-size: 9px;
  letter-spacing: .2em;
}

.aim-commerce-footer p {
  max-width: 320px;
  margin: 18px 0 0;
  color: #ddc8b1;
  font-size: 13px;
  line-height: 1.75;
}

.aim-commerce-footer h2 {
  margin: 0 0 18px;
  color: #e9bd5d;
  font-size: 14px;
  text-transform: uppercase;
}

.aim-commerce-footer .aim-commerce-footer-grid a,
.aim-commerce-footer .aim-commerce-footer-grid span {
  display: block;
  margin: 10px 0;
  color: #fff4df !important;
  font-size: 12px;
  text-decoration: none;
}

.aim-commerce-footer .aim-commerce-footer-grid a:hover {
  color: #f1c65c;
}

.aim-commerce-footer .aim-footer-home-brand {
  width: max-content;
  margin: 0 !important;
  color: #fff8e8 !important;
}

.aim-commerce-footer .aim-footer-home-button {
  width: max-content;
  margin-top: 20px !important;
  padding: 9px 14px;
  border: 1px solid #d9aa45;
  border-radius: 5px;
  color: #ffe7a8 !important;
  font-weight: 800;
}

.aim-commerce-copyright {
  border-top: 1px solid rgb(229 187 89 / 22%);
  background: #1a0002;
}

.aim-commerce-copyright .aim-commerce-container {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.aim-commerce-copyright span {
  margin: 0;
  color: #d8c3aa;
  font-size: 10px;
}

@media (max-width: 900px) {
  .aim-commerce-topbar .aim-commerce-container {
    gap: 16px;
  }

  .aim-commerce-topbar span:first-child {
    display: none;
  }

  .aim-commerce-header-inner {
    grid-template-columns: 230px 1fr;
  }

  .aim-commerce-nav {
    display: none;
  }

  .aim-commerce-actions {
    justify-content: flex-end;
  }

  .aim-commerce-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  body.aim-commerce-page .woocommerce-cart-form,
  body.aim-commerce-page .cart-collaterals {
    float: none !important;
    width: 100% !important;
  }

  body.aim-commerce-page.woocommerce-cart .entry-content > .woocommerce {
    display: block !important;
  }

  body.aim-commerce-page .cart-collaterals {
    margin-top: 22px;
  }
}

@media (max-width: 560px) {
  .aim-commerce-container {
    width: min(100% - 28px, 520px);
  }

  .aim-commerce-topbar .aim-commerce-container {
    min-height: 38px;
    justify-content: center;
    text-align: center;
    font-size: 10px;
  }

  .aim-commerce-topbar span {
    display: none;
  }

  .aim-commerce-header-inner {
    min-height: 68px;
    grid-template-columns: 1fr auto;
    gap: 10px;
  }

  .aim-brand-mark {
    width: 38px;
    height: 38px;
    font-size: 18px;
  }

  .aim-commerce-brand strong {
    font-size: 14px;
  }

  .aim-commerce-brand small {
    font-size: 6px;
  }

  .aim-commerce-brand {
    gap: 7px;
  }

  .aim-brand-mark {
    width: 34px;
    height: 34px;
  }

  .aim-help-link {
    display: none !important;
  }

  .aim-commerce-actions a {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 11px;
  }

  .aim-commerce-progress .aim-commerce-container {
    min-height: 46px;
    gap: 9px;
  }

  .aim-commerce-progress span {
    font-size: 10px;
  }

  .aim-commerce-progress i {
    width: 18px;
  }

  body.aim-commerce-page .site-content,
  body.aim-commerce-page #content {
    width: min(100% - 28px, 520px);
    padding: 30px 0 48px;
  }

  body.aim-commerce-page .woocommerce-cart-form,
  body.aim-commerce-page .woocommerce-billing-fields,
  body.aim-commerce-page .woocommerce-shipping-fields,
  body.aim-commerce-page .woocommerce-checkout-review-order,
  body.aim-commerce-page .wc-block-components-sidebar,
  body.aim-commerce-page .wc-block-components-main {
    padding: 16px;
  }

  body.aim-commerce-page .woocommerce-cart-form {
    overflow-x: auto;
  }

  body.aim-commerce-page .woocommerce-cart-form table {
    min-width: 0;
  }

  body.aim-commerce-page .woocommerce table.shop_table_responsive tr,
  body.aim-commerce-page .woocommerce-page table.shop_table_responsive tr {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 14px;
    padding: 12px;
    border: 1px solid var(--aim-line);
    border-radius: 8px;
    background: #fffdf9;
  }

  body.aim-commerce-page .woocommerce table.shop_table_responsive thead,
  body.aim-commerce-page .woocommerce-page table.shop_table_responsive thead {
    display: none;
  }

  body.aim-commerce-page .woocommerce table.shop_table_responsive tr td,
  body.aim-commerce-page .woocommerce-page table.shop_table_responsive tr td {
    width: 100% !important;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 4px;
    border: 0;
    border-bottom: 1px solid #efe4d5;
    text-align: right !important;
    font-size: 14px;
  }

  body.aim-commerce-page .woocommerce table.shop_table_responsive tr td:last-child,
  body.aim-commerce-page .woocommerce-page table.shop_table_responsive tr td:last-child {
    border-bottom: 0;
  }

  body.aim-commerce-page td.product-thumbnail {
    display: none !important;
  }

  body.aim-commerce-page td.product-remove {
    justify-content: flex-end !important;
  }

  body.aim-commerce-page .woocommerce-cart-form td.actions {
    display: grid !important;
    gap: 10px;
    text-align: left !important;
  }

  body.aim-commerce-page .woocommerce-cart-form td.actions .coupon {
    width: 100%;
    float: none !important;
    display: grid !important;
    grid-template-columns: 1fr auto;
    gap: 8px;
    margin: 0;
  }

  body.aim-commerce-page .woocommerce-cart-form td.actions .coupon #coupon_code,
  body.aim-commerce-page td.actions .button {
    width: 100% !important;
    min-width: 0;
    margin: 0 !important;
  }

  body.aim-commerce-page .cart_totals h2 {
    font-size: 21px;
  }

  body.aim-commerce-page .cart_totals table th,
  body.aim-commerce-page .cart_totals table td {
    width: auto !important;
    padding: 12px 8px;
    font-size: 14px;
  }

  body.aim-commerce-page .cart_totals table tr {
    grid-template-columns: minmax(105px, 38%) minmax(0, 1fr);
  }

  body.aim-commerce-page .wc-block-cart,
  body.aim-commerce-page .wc-block-checkout {
    display: block;
  }

  body.aim-commerce-page .wc-block-components-main,
  body.aim-commerce-page .wc-block-components-sidebar {
    width: 100% !important;
    max-width: none !important;
    margin: 0 0 18px !important;
  }

  .aim-commerce-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 38px 0;
    text-align: center;
  }

  .aim-commerce-footer p {
    margin-inline: auto;
  }

  .aim-commerce-footer .aim-footer-home-brand,
  .aim-commerce-footer .aim-footer-home-button {
    margin-inline: auto !important;
  }

  .aim-commerce-copyright .aim-commerce-container {
    min-height: 68px;
    flex-direction: column;
    justify-content: center;
    gap: 7px;
    text-align: center;
  }

  .aim-commerce-copyright span {
    margin: 0;
  }
}
