/*
Theme Name: Most (Child Theme)
Theme URI: http://madsparrow.us/
Author: Mad Sparrow
Author URI: https://themeforest.net/user/madsparrow
Description: Most Creative Agency and Portfolio Theme – The theme is built to take advantage of the Full Site Editing features introduced in WordPress and Elementor plugin, which means that colors, typography, and the layout of every single page on your site can be customized to suit your vision. Whether you want to build a complex or incredibly simple website, you can do it quickly and intuitively through the bundled styles or dive into creation and full customization yourself.
Tags: one-column, two-columns, right-sidebar, custom-menu, post-formats, sticky-post, translation-ready, page transition
Version: 1.2
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: most
Tags: one-column, two-columns, right-sidebar, flexible-header, accessibility-ready, custom-colors, custom-header, custom-menu, custom-logo, editor-style, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready
Template: most
*/

:root {
  --ici-bg: #f8f5ef;
  --ici-surface: #ffffff;
  --ici-surface-alt: #fbf8f3;
  --ici-text: #161616;
  --ici-muted: #6e675f;
  --ici-border: #e6ddd1;
  --ici-accent: #c08a2b;
  --ici-accent-strong: #9f6f1f;
  --ici-accent-soft: #f4e2ba;
  --ici-danger: #c94b4b;
  --ici-shadow: 0 14px 40px rgba(18, 18, 18, 0.08);
  --ici-radius: 16px;
  --ici-radius-sm: 12px;
}

html {
  background: var(--ici-bg);
}

body {
  background: var(--ici-bg);
  color: var(--ici-text);
}

a {
  color: var(--ici-accent-strong);
}

a:hover,
a:focus {
  color: var(--ici-accent);
}

img {
  max-width: 100%;
  height: auto;
}

button,
input,
select,
textarea {
  font: inherit;
}

.site,
.site-content,
.content-area {
  background: transparent;
}

.entry-content,
.woocommerce,
.woocommerce-page {
  color: var(--ici-text);
}

.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce a.button,
.woocommerce #respond input#submit,
.woocommerce button[name='woocommerce_checkout_place_order'],
.woocommerce .checkout-button,
.woocommerce a.checkout-button {
  min-height: 48px;
  padding: 0.9rem 1.2rem;
  border: 0;
  border-radius: var(--ici-radius-sm);
  background: var(--ici-accent);
  color: #1d160b !important;
  font-weight: 800;
  text-transform: none;
  box-shadow: 0 10px 24px rgba(192, 138, 43, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.woocommerce a.button:hover,
.woocommerce #respond input#submit:hover,
.woocommerce button[name='woocommerce_checkout_place_order']:hover,
.woocommerce .checkout-button:hover,
.woocommerce a.checkout-button:hover {
  background: #d39b36;
  color: #1d160b !important;
  transform: translateY(-1px);
  box-shadow: 0 14px 30px rgba(192, 138, 43, 0.28);
}

.woocommerce .button:disabled,
.woocommerce .button.disabled,
.woocommerce button:disabled,
.woocommerce input:disabled {
  opacity: 0.58;
  box-shadow: none;
  transform: none;
}

.woocommerce input[type='text'],
.woocommerce input[type='email'],
.woocommerce input[type='tel'],
.woocommerce input[type='password'],
.woocommerce input[type='number'],
.woocommerce input[type='search'],
.woocommerce textarea,
.woocommerce select,
.select2-container .select2-selection--single {
  min-height: 48px;
  border: 1px solid var(--ici-border);
  border-radius: var(--ici-radius-sm);
  background: var(--ici-surface);
  color: var(--ici-text);
  box-shadow: none;
}

.woocommerce input[type='text']:focus,
.woocommerce input[type='email']:focus,
.woocommerce input[type='tel']:focus,
.woocommerce input[type='password']:focus,
.woocommerce input[type='number']:focus,
.woocommerce input[type='search']:focus,
.woocommerce textarea:focus,
.woocommerce select:focus {
  border-color: var(--ici-accent);
  outline: none;
  box-shadow: 0 0 0 3px rgba(192, 138, 43, 0.16);
}

.woocommerce .woocommerce-info,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-notice {
  border-radius: var(--ici-radius-sm);
  box-shadow: var(--ici-shadow);
}

.woocommerce ul.products {
  display: grid;
  gap: 18px;
}

.woocommerce ul.products li.product {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  border: 1px solid var(--ici-border);
  border-radius: var(--ici-radius);
  background: var(--ici-surface);
  box-shadow: var(--ici-shadow);
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: var(--ici-text);
  font-size: 1rem;
  line-height: 1.35;
}

.woocommerce ul.products li.product .price {
  color: var(--ici-accent-strong);
  font-weight: 900;
}

.woocommerce ul.products li.product .button {
  margin-top: auto;
  width: 100%;
}

.woocommerce div.product {
  background: transparent;
}

.woocommerce div.product .summary,
.woocommerce div.product .woocommerce-product-gallery,
.woocommerce .woocommerce-cart-form,
.woocommerce .cart-collaterals,
.woocommerce .woocommerce-billing-fields,
.woocommerce .woocommerce-shipping-fields,
.woocommerce .woocommerce-additional-fields,
.woocommerce #order_review,
.woocommerce #customer_details {
  border-radius: var(--ici-radius);
}

.woocommerce div.product .summary {
  padding: 22px;
  background: var(--ici-surface);
  box-shadow: var(--ici-shadow);
}

.woocommerce div.product .price,
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  color: var(--ici-accent-strong);
  font-size: 1.35rem;
  font-weight: 900;
}

.woocommerce div.product form.cart .button {
  width: 100%;
  min-height: 54px;
  font-size: 1rem;
}

.woocommerce-cart .cart_totals,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout .woocommerce-checkout-payment {
  padding: 22px;
  border: 1px solid var(--ici-border);
  background: var(--ici-surface);
  box-shadow: var(--ici-shadow);
}

.woocommerce-cart .cart_totals {
  position: sticky;
  top: 24px;
}

.woocommerce-cart .actions .button,
.woocommerce-cart .actions .checkout-button {
  min-height: 52px;
}

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

.woocommerce-checkout #order_review_heading,
.woocommerce-checkout #order_review {
  margin-top: 0;
}

.woocommerce-checkout .woocommerce-checkout-payment {
  padding-bottom: 96px;
}

.woocommerce-checkout button#place_order,
.woocommerce-checkout #place_order,
.woocommerce-checkout button[name='woocommerce_checkout_place_order'] {
  width: 100%;
  min-height: 58px;
  font-size: 1rem;
  position: sticky;
  bottom: 14px;
  z-index: 2;
}

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

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

.woocommerce form .form-row label {
  font-weight: 700;
}

.woocommerce table.shop_table {
  border-radius: var(--ici-radius);
  overflow: hidden;
}

.woocommerce table.shop_table th {
  background: var(--ici-surface-alt);
}

.woocommerce .woocommerce-checkout-review-order-table,
.woocommerce .woocommerce-table--order-details {
  background: var(--ici-surface);
}

.woocommerce .woocommerce-checkout-review-order-table td,
.woocommerce .woocommerce-checkout-review-order-table th,
.woocommerce .woocommerce-table--order-details td,
.woocommerce .woocommerce-table--order-details th {
  border-color: var(--ici-border);
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--ici-accent);
  color: #1d160b;
}

.woocommerce .star-rating span::before {
  color: var(--ici-accent);
}

.woocommerce .quantity .qty {
  min-height: 48px;
  width: 86px;
}

.woocommerce .coupon {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.woocommerce .coupon .input-text {
  flex: 1 1 220px;
}

@media (min-width: 992px) {
  .woocommerce-checkout #customer_details {
    float: left;
    width: 58%;
  }

  .woocommerce-checkout #order_review_heading,
  .woocommerce-checkout #order_review {
    float: right;
    clear: right;
    width: 38%;
  }

  .woocommerce-checkout .woocommerce-checkout-payment {
    margin-top: 18px;
  }
}

@media (max-width: 991px) {
  .woocommerce-cart .cart_totals {
    position: static;
  }

  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout .woocommerce-checkout-payment {
    width: 100%;
    float: none;
  }
}

@media (max-width: 767px) {
  body {
    background: var(--ici-bg);
  }

  .woocommerce ul.products li.product {
    padding: 14px;
  }

  .woocommerce div.product .summary,
  .woocommerce .woocommerce-cart-form,
  .woocommerce .cart_totals,
  .woocommerce-checkout #customer_details,
  .woocommerce-checkout #order_review,
  .woocommerce-checkout .woocommerce-checkout-payment {
    padding: 16px;
    border-radius: 14px;
  }

  .woocommerce-checkout button#place_order,
  .woocommerce-checkout #place_order,
  .woocommerce-checkout button[name='woocommerce_checkout_place_order'] {
    position: static;
    min-height: 56px;
  }

  .woocommerce .button,
  .woocommerce button.button,
  .woocommerce input.button,
  .woocommerce a.button,
  .woocommerce #respond input#submit {
    width: 100%;
  }
}
