/*--------------------------------------------------------------
  Wyld Grey — WooCommerce + WordPress layer on top of the Glowify base.

  TABLE OF CONTENTS
  1.  WordPress core classes
  2.  Page heading / breadcrumb
  3.  Brancy product card
  4.  Shop archive (toolbar, grid, pagination)
  5.  Shop sidebar & widgets
  6.  Single product
  7.  Quick view modal
  8.  Cart page
  9.  Checkout
  10. My account
  11. Notices, forms & buttons
  12. Blog, comments, 404
  13. Newsletter / footer spacing
  14. Responsive
--------------------------------------------------------------*/

/*--------------------------------------------------------------
  1. WordPress core classes
--------------------------------------------------------------*/
.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;
}

.skip-link:focus {
  background: var(--white);
  color: var(--primary);
  clip: auto;
  clip-path: none;
  display: block;
  height: auto;
  left: 20px;
  padding: 12px 20px;
  top: 20px;
  width: auto;
  z-index: 100000;
}

.alignleft {
  float: left;
  margin: 0 25px 15px 0;
}

.alignright {
  float: right;
  margin: 0 0 15px 25px;
}

.aligncenter {
  display: block;
  margin: 0 auto 20px auto;
}

.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 14px;
  color: var(--secondary);
  margin-top: 8px;
}

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

.cs_site_title {
  white-space: nowrap;
}

.cs_footer_branding_link .cs_site_title {
  font-size: 30px;
}

/*--------------------------------------------------------------
  2. Page heading / breadcrumb
--------------------------------------------------------------*/
.cs_page_heading.cs_style_1 {
  padding: 70px 0;
  background-color: var(--accent-light);
}

.cs_page_heading .cs_page_title {
  margin-bottom: 0;
}

.cs_page_heading .cs_page_subtitle {
  margin-top: 12px;
}

.cs_breadcrumb {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  list-style: none;
  margin: 18px 0 0 0;
  padding: 0;
  font-size: 15px;
}

.cs_breadcrumb li {
  position: relative;
  color: var(--secondary);
}

.cs_breadcrumb li + li::before {
  content: "/";
  position: absolute;
  left: -12px;
  color: var(--ternary);
}

.cs_breadcrumb a {
  color: var(--secondary);
}

.cs_breadcrumb a:hover {
  color: var(--accent);
}

/*--------------------------------------------------------------
  3. Brancy product card
--------------------------------------------------------------*/
:root {
  --shop-font: "Inter", sans-serif;
  --card-ink: #364958;
  --card-coral: #ff6565;
  --card-muted: #898989;
}

.wg-product-item {
  container-type: inline-size;
  font-family: var(--shop-font);
  position: relative;
}

.wg-product-item .product-thumb {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: var(--gray);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 12%;
  position: relative;
}

.wg-product-item .product-thumb > a {
  align-items: center;
  display: flex;
  height: 100%;
  justify-content: center;
  width: 100%;
}

/* The few products with no image at source fall back to WooCommerce's
   placeholder; keep it quiet rather than letting it read as a broken image. */
.wg-product-item .product-thumb img.woocommerce-placeholder,
.cs_single_product_thumb_item img.woocommerce-placeholder {
  filter: grayscale(1);
  max-width: 46%;
  opacity: 0.28;
}

/* Two cases, and they need opposite treatment.

   Cut-outs (PNG/WebP with an alpha channel) float on the tinted tile, so they
   are contained with breathing room around them.

   Photographs (JPEG) already contain their own background. Containing one on
   a tinted tile frames a picture inside a picture, so they fill the tile
   instead and the tint never shows. */
.wg-product-item .product-thumb.is-cutout img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.5s ease 0s;
  width: auto;
}

.wg-product-item .product-thumb.is-photo {
  padding: 0;
}

.wg-product-item .product-thumb.is-photo img {
  display: block;
  height: 100%;
  max-height: none;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s ease 0s;
  width: 100%;
}

/* Fallback for any card rendered without the modifier class. */
.wg-product-item .product-thumb:not(.is-cutout):not(.is-photo) img {
  display: block;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.wg-product-item:hover .product-thumb img {
  transform: scale(1.05);
}

.wg-product-item .flag-new {
  background-color: var(--card-coral);
  border-radius: 50px;
  color: #fff;
  display: inline-block;
  font-family: var(--shop-font);
  font-size: 15px;
  font-weight: 400;
  line-height: 1;
  padding: 8px 20px 10px;
  position: absolute;
  right: 20px;
  text-align: center;
  text-transform: lowercase;
  top: 20px;
  z-index: 2;
}

.wg-product-item .product-action {
  bottom: 20px;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  left: 0;
  padding: 0 8px;
  position: absolute;
  width: 100%;
  z-index: 3;
}

.wg-product-item .product-action .product-action-btn {
  background-color: var(--white);
  border: 2px solid var(--accent);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.4s ease 0s;
  transition-delay: 0.1s;
  cursor: pointer;
}

.wg-product-item .product-action .action-btn-cart {
  border-radius: 50px;
  flex: 0 1 auto;
  font-size: 11px;
  font-weight: 500;
  height: 40px;
  letter-spacing: 0.06em;
  margin: 0 6px;
  min-width: 0;
  overflow: hidden;
  padding: 5px 14px;
  text-transform: uppercase;
  transition-delay: 0.15s;
  white-space: nowrap;
}

.wg-product-item .product-action .action-btn-quick-view,
.wg-product-item .product-action .action-btn-wishlist {
  border-radius: 50%;
  flex: 0 0 auto;
  font-size: 14px;
  height: 40px;
  width: 40px;
}

/* Roomier hover controls once the card itself has the width for them. */
@container (min-width: 300px) {
  .wg-product-item .product-action .action-btn-cart {
    font-size: 12px;
    height: 46px;
    letter-spacing: 0.12em;
    margin: 0 12px;
    padding: 5px 24px;
  }

  .wg-product-item .product-action .action-btn-quick-view,
  .wg-product-item .product-action .action-btn-wishlist {
    font-size: 16px;
    height: 46px;
    width: 46px;
  }
}

.wg-product-item .product-action .action-btn-wishlist {
  transition-delay: 0.2s;
}

.wg-product-item:hover .product-action .product-action-btn {
  opacity: 1;
  visibility: visible;
  transform: translate(0);
}

.wg-product-item .product-action .product-action-btn:hover {
  background-color: var(--accent);
  color: var(--white);
}

.wg-product-item .product-info {
  padding-top: 18px;
}

/* Stars on the left, review count on the right, one row. */
.wg-product-item .product-info .product-rating {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 14px;
}

.wg-product-item .product-rating .rating {
  color: var(--card-coral);
  display: flex;
  font-size: 16px;
  gap: 5px;
}

.wg-product-item .product-rating .reviews {
  color: var(--card-muted);
  font-size: 14px;
  font-style: italic;
  font-weight: 400;
  margin-top: 0;
  white-space: nowrap;
}

.wg-product-item .product-info .title {
  font-family: var(--shop-font);
  font-size: 21px;
  font-weight: 400;
  line-height: 1.35em;
  margin-bottom: 12px;
}

.wg-product-item .product-info .title a {
  color: var(--card-ink);
}

.wg-product-item .product-info .title a:hover {
  color: var(--card-coral);
}

/* Current price first, struck-through compare-at price after it. */
.wg-product-item .prices {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wg-product-item .prices,
.wg-product-item .prices .price,
.wg-product-item .prices ins {
  color: var(--card-ink);
  font-family: var(--shop-font);
  font-size: 21px;
  font-weight: 500;
  text-decoration: none;
}

.wg-product-item .prices .price {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.wg-product-item .prices ins {
  order: 1;
}

.wg-product-item .prices del {
  color: var(--card-ink);
  font-size: 13px;
  font-weight: 300;
  margin-left: 0;
  opacity: 0.75;
  order: 2;
  text-decoration-line: line-through;
}

.wg-product-item .product-action-bottom {
  display: none;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 12px;
}

.wg-product-item .product-action-bottom .product-action-btn {
  background-color: var(--gray);
  border: 1px solid var(--border);
  color: var(--primary);
  width: calc(50% - 2px);
  font-size: 14px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
}

.wg-product-item .product-action-bottom .action-btn-cart {
  font-size: 12px;
  width: 100%;
  font-weight: 500;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.wg-product-item .added_to_cart {
  display: none;
}

/* Equal-height slides so the carousel rows line up. */
.cs_slider_wrapper .slick-track {
  display: flex;
}

.cs_slider_wrapper .slick-slide {
  height: auto;
}

.cs_slider_wrapper .slick-slide > div,
.cs_slider_wrapper .slick-slide > div > .cs_slider {
  height: 100%;
}

.wg-product-item .add_to_cart_button.loading {
  opacity: 0.6;
  pointer-events: none;
}

.wg-product-item .add_to_cart_button.added::after {
  content: "\f00c";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  margin-left: 8px;
}

/*--------------------------------------------------------------
  4. Shop archive
--------------------------------------------------------------*/
.cs_shop_main .woocommerce-notices-wrapper:empty {
  display: none;
}

.wg-shop-toolbar,
.cs_shop_main .woocommerce-result-count,
.cs_shop_main .woocommerce-ordering {
  margin-bottom: 0;
}

.cs_shop_main > .woocommerce-result-count,
.cs_shop_main > .woocommerce-ordering {
  display: inline-block;
  vertical-align: middle;
}

.cs_shop_main > .woocommerce-result-count {
  color: var(--secondary);
  float: left;
  margin-bottom: 24px;
}

.cs_shop_main > .woocommerce-ordering {
  float: right;
  margin-bottom: 24px;
}

/* `ul.products` is a flex container, so it establishes a block formatting
   context and would otherwise shrink to sit beside the floated toolbar. */
ul.products {
  clear: both;
}

/* --- Shop toolbar --------------------------------------------------- */
.cs_filter_heading.cs_style_1 {
  align-items: center;
  border-bottom: 1px solid var(--border);
  clear: both;
  display: flex;
  flex-wrap: wrap;
  gap: 16px 24px;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
}

.cs_filter_heading_left {
  align-items: center;
  display: flex;
  gap: 14px;
}

.cs_filter_heading_left h3 {
  font-size: 16px;
  margin: 0;
  white-space: nowrap;
}

.cs_filter_heading_left form.woocommerce-ordering {
  margin: 0;
}

.cs_view_box {
  align-items: center;
  display: flex;
  gap: 20px;
}

.cs_view_box .woocommerce-result-count {
  float: none;
  margin: 0;
}

.cs_view_box_in {
  display: flex;
  gap: 8px;
}

.cs_view_box_in button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--secondary);
  cursor: pointer;
  display: inline-flex;
  height: 38px;
  justify-content: center;
  transition: all 0.3s ease;
  width: 38px;
}

.cs_view_box_in button.active,
.cs_view_box_in button:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* --- List view ------------------------------------------------------ */
ul.products.wg-list-mode {
  display: block;
  margin: 0;
}

ul.products.wg-list-mode li.product {
  padding: 0;
  width: 100% !important;
}

ul.products.wg-list-mode .wg-product-item {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 8px 30px;
  grid-template-areas:
    "thumb info"
    "thumb actions";
  grid-template-columns: 260px minmax(0, 1fr);
  grid-template-rows: auto auto;
  padding-bottom: 30px;
}

ul.products.wg-list-mode .product-thumb {
  grid-area: thumb;
}

ul.products.wg-list-mode .product-info {
  align-self: end;
  grid-area: info;
}

ul.products.wg-list-mode .product-action-bottom {
  align-self: start;
  grid-area: actions;
}

ul.products.wg-list-mode .product-thumb {
  aspect-ratio: 1 / 1;
}

ul.products.wg-list-mode .product-info {
  padding-top: 0;
}

ul.products.wg-list-mode .product-info .title {
  font-size: 24px;
}

ul.products.wg-list-mode .wg-list-excerpt {
  color: var(--secondary);
  display: block;
  margin: 12px 0 18px;
}

ul.products.wg-list-mode .product-action {
  display: none;
}

ul.products.wg-list-mode .product-action-bottom {
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  max-width: 380px;
}

ul.products.wg-list-mode .product-action-bottom .product-action-btn {
  width: auto;
  min-width: 44px;
  padding: 4px 14px;
}

ul.products.wg-list-mode .product-action-bottom .action-btn-cart {
  margin-top: 0;
  width: auto;
  padding: 6px 28px;
}

/* The list-only blurb stays hidden in grid mode. */
.wg-list-excerpt {
  display: none;
}

.cs_shop_main select,
.cs_shop_sidebar select {
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 16px;
  background-color: var(--white);
  color: var(--primary);
  min-width: 220px;
  font-family: var(--secondary-font);
}

ul.products {
  list-style: none;
  margin: 0 -12px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
}

ul.products::after {
  content: "";
  display: block;
  clear: both;
}

ul.products li.product {
  padding: 0 12px;
  margin-bottom: 40px;
  width: 25%;
  float: none;
  clear: none;
  list-style: none;
}

ul.products.columns-2 li.product {
  width: 50%;
}

ul.products.columns-3 li.product {
  width: 33.3333%;
}

ul.products.columns-4 li.product {
  width: 25%;
}

ul.products.columns-5 li.product {
  width: 20%;
}

.woocommerce-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 20px 0 0 0;
  padding: 0;
  justify-content: center;
}

.woocommerce-pagination ul li a,
.woocommerce-pagination ul li span,
.cs_pagination ul li a,
.cs_pagination ul li span {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--primary);
  display: inline-flex;
  height: 44px;
  justify-content: center;
  min-width: 44px;
  padding: 0 12px;
  transition: all 0.3s ease;
}

.woocommerce-pagination ul li a:hover,
.woocommerce-pagination ul li span.current,
.cs_pagination ul li a:hover,
.cs_pagination ul li span.current {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.cs_pagination ul {
  display: flex;
  gap: 10px;
  justify-content: center;
  list-style: none;
  margin: 0;
  padding: 0;
}

/*--------------------------------------------------------------
  5. Shop sidebar & widgets
--------------------------------------------------------------*/
.cs_sidebar_widget {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  margin-bottom: 30px;
  padding: 28px 26px;
}

.cs_sidebar_widget .cs_widget_title {
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

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

.cs_sidebar_widget ul li {
  padding: 8px 0;
}

.cs_sidebar_widget ul li a {
  color: var(--secondary);
}

.cs_sidebar_widget ul li a:hover {
  color: var(--accent);
}

.cs_sidebar_widget .product_list_widget li {
  display: flex;
  gap: 14px;
  align-items: center;
}

.cs_sidebar_widget .product_list_widget img {
  width: 64px;
  border-radius: 8px;
}

/* Core block widgets used in the sidebars. */
.cs_sidebar_widget .wp-block-search__inside-wrapper {
  display: flex;
  gap: 10px;
}

.cs_sidebar_widget .wp-block-search__input {
  border: 1px solid var(--border);
  border-radius: 8px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 12px 16px;
}

.cs_sidebar_widget .wp-block-search__button {
  background-color: var(--accent);
  border: none;
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  flex: 0 0 auto;
  padding: 12px 22px;
}

.cs_sidebar_widget .wp-block-search__button:hover {
  background-color: var(--accent-strong);
}

.cs_sidebar_widget .wp-block-heading {
  border-bottom: 1px solid var(--border);
  font-family: var(--primary-font);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.cs_sidebar_widget .wp-block-latest-posts,
.cs_sidebar_widget .wp-block-categories,
.cs_sidebar_widget .wp-block-archives,
.cs_sidebar_widget .wp-block-latest-comments {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_sidebar_widget .wp-block-latest-comments__comment {
  margin-bottom: 14px;
}

.widget_price_filter .price_slider_wrapper .ui-slider {
  background-color: var(--gray);
  border-radius: 4px;
  height: 6px;
  margin: 20px 0;
  position: relative;
}

.widget_price_filter .ui-slider .ui-slider-range {
  background-color: var(--accent);
  border-radius: 4px;
  height: 6px;
  position: absolute;
}

.widget_price_filter .ui-slider .ui-slider-handle {
  background-color: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  height: 16px;
  margin-left: -8px;
  position: absolute;
  top: -5px;
  width: 16px;
}

.widget_price_filter .price_slider_amount .button {
  background-color: var(--accent);
  border: none;
  border-radius: 6px;
  color: var(--white);
  float: right;
  padding: 8px 22px;
}

/*--------------------------------------------------------------
  6. Single product
--------------------------------------------------------------*/
.wg-product-gallery .woocommerce-product-gallery__image {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: var(--gray);
  border-radius: 16px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 40px;
}

.wg-product-gallery .woocommerce-product-gallery__image img {
  border-radius: 0;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.wg-quick-view-thumb {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: var(--gray);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 30px;
}

.wg-product-gallery .flex-control-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  list-style: none;
  margin: 16px 0 0 0;
  padding: 0;
}

.wg-product-gallery .flex-control-thumbs li {
  width: calc(25% - 9px);
}

.wg-product-gallery .flex-control-thumbs img {
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  opacity: 0.7;
}

.wg-product-gallery .flex-control-thumbs img.flex-active,
.wg-product-gallery .flex-control-thumbs img:hover {
  border-color: var(--accent);
  opacity: 1;
}

.wg-product-summary .product_title {
  font-size: 36px;
  margin-bottom: 14px;
}

.wg-product-summary .woocommerce-product-rating {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.wg-product-summary .price {
  color: var(--accent);
  font-family: var(--primary-font);
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 20px;
  display: block;
}

.wg-product-summary .price del {
  color: var(--ternary);
  font-size: 20px;
  font-weight: 400;
  margin-left: 10px;
}

.wg-product-summary .price ins {
  text-decoration: none;
}

.wg-product-summary .woocommerce-product-details__short-description {
  border-bottom: 1px solid var(--border);
  margin-bottom: 26px;
  padding-bottom: 26px;
}

.wg-product-summary form.cart {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 26px;
}

.wg-product-summary form.cart .quantity {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50px;
  display: inline-flex;
  overflow: hidden;
}

.wg-product-summary form.cart .quantity input[type="number"] {
  border: none;
  height: 52px;
  text-align: center;
  width: 80px;
  background: transparent;
  color: var(--primary);
  font-weight: 500;
}

.wg-product-summary form.cart .single_add_to_cart_button {
  background-color: var(--accent);
  border: none;
  border-radius: 50px;
  color: var(--white);
  font-weight: 500;
  height: 54px;
  letter-spacing: 0.08em;
  padding: 0 40px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  cursor: pointer;
}

.wg-product-summary form.cart .single_add_to_cart_button:hover {
  background-color: var(--accent-strong);
}

.wg-product-summary .variations {
  margin-bottom: 20px;
  width: 100%;
}

.wg-product-summary .variations th,
.wg-product-summary .variations td {
  padding: 8px 0;
  text-align: left;
  vertical-align: middle;
}

.wg-product-summary .variations select {
  border: 1px solid var(--border);
  border-radius: 6px;
  min-width: 220px;
  padding: 10px 14px;
}

.wg-product-summary .product_meta {
  color: var(--secondary);
  font-size: 15px;
}

.wg-product-summary .product_meta > span {
  display: block;
  margin-bottom: 6px;
}

/*--------------------------------------------------------------
  Single product — gallery, summary, vouchers, reviews
--------------------------------------------------------------*/

/* --- Gallery --- */
.cs_single_product_thumb_item {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: var(--gray);
  border-radius: 16px;
  display: flex !important;
  justify-content: center;
  overflow: hidden;
  padding: 6%;
}

.cs_single_product_thumb_item img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.cs_single_product_nav_wrap {
  align-items: center;
  display: flex;
  gap: 12px;
  margin-top: 18px;
}

.cs_single_product_nav {
  flex: 1 1 auto;
  min-width: 0;
}

.cs_single_product_nav .slick-slide {
  padding: 0 6px;
}

.cs_single_product_nav_item {
  align-items: center;
  aspect-ratio: 1 / 1;
  background-color: var(--gray);
  border: 2px solid transparent;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: 10%;
  transition: border-color 0.3s ease;
}

.cs_single_product_nav .slick-current .cs_single_product_nav_item,
.cs_single_product_nav_item:hover {
  border-color: var(--accent);
}

.cs_single_product_nav_item img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.cs_single_left_arrow,
.cs_single_right_arrow {
  align-items: center;
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 20px;
  height: 40px;
  justify-content: center;
  width: 26px;
}

.cs_single_left_arrow:hover,
.cs_single_right_arrow:hover {
  color: var(--accent);
}

/* --- Share --- */
.cs_share_wrap {
  margin-top: 30px;
}

.cs_share_label {
  color: var(--secondary);
  display: block;
  font-size: 15px;
  margin-bottom: 12px;
}

.cs_share_links {
  display: flex;
  gap: 12px;
}

.cs_share_links a {
  align-items: center;
  background-color: var(--primary);
  border-radius: 50%;
  color: var(--white);
  display: inline-flex;
  height: 40px;
  justify-content: center;
  transition: background-color 0.3s ease;
  width: 40px;
}

.cs_share_links a:hover {
  background-color: var(--accent);
  color: var(--white);
}

/* --- Summary meta row --- */
.wg-product-summary .cs_product_meta_row {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-bottom: 18px;
}

.cs_rating_inline {
  align-items: center;
  display: flex;
  gap: 8px;
}

.cs_rating_inline .rating {
  color: var(--accent);
  display: flex;
  font-size: 15px;
  gap: 3px;
}

.cs_rating_value,
.cs_meta_item {
  color: var(--secondary);
  font-size: 15px;
}

a.cs_meta_item:hover {
  color: var(--accent);
}

.wg-product-summary .cs_product_meta_row + .price {
  margin-bottom: 8px;
}

/* --- Spec rows --- */
.cs_spec_rows {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 26px;
}

.cs_spec_row {
  display: grid;
  gap: 20px;
  grid-template-columns: 150px minmax(0, 1fr);
  padding: 9px 0;
}

.cs_spec_label {
  color: var(--primary);
  font-weight: 500;
}

.cs_spec_value {
  color: var(--secondary);
}

.cs_spec_value p:last-child {
  margin-bottom: 0;
}

/* --- Voucher promo --- */
.cs_voucher_wrap {
  border-top: 1px solid var(--border);
  margin-top: 26px;
  padding-top: 26px;
}

.cs_voucher_heading_1 {
  align-items: center;
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
}

.cs_voucher_heading_icon {
  align-items: center;
  background-color: var(--gray);
  border-radius: 50%;
  color: var(--accent);
  display: inline-flex;
  flex: 0 0 auto;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.cs_voucher_cards {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.cs_voucher_card_1 {
  background-color: var(--accent-light);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.cs_voucher_text {
  padding: 18px 20px 14px;
}

.cs_cupon_code_wrap {
  align-items: center;
  background-color: var(--white);
  display: flex;
  gap: 10px;
  justify-content: space-between;
  padding: 12px 20px;
}

.cs_voucher_code {
  letter-spacing: 0.06em;
}

.cs_voucher_btn {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 16px;
  padding: 4px;
}

.cs_voucher_btn.is-copied {
  color: #2e7d32;
}

/* --- Add to cart row --- */
.wg-product-summary form.cart .wg-buy-now {
  background-color: var(--accent);
  border: none;
  border-radius: 50px;
  color: var(--white);
  cursor: pointer;
  font-weight: 500;
  height: 54px;
  letter-spacing: 0.06em;
  padding: 0 40px;
  text-transform: uppercase;
}

.wg-product-summary form.cart .wg-buy-now:hover {
  background-color: var(--accent-strong);
}

.wg-product-summary form.cart .single_add_to_cart_button {
  background-color: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.wg-product-summary form.cart .single_add_to_cart_button:hover {
  background-color: var(--accent);
  color: var(--white);
}

.wg-single-wishlist {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--accent);
  display: inline-flex;
  height: 54px;
  justify-content: center;
  width: 54px;
}

.wg-single-wishlist:hover {
  background-color: var(--accent-light);
  color: var(--accent);
}

/* --- Reviews --- */
.cs_reviews_heading {
  margin-bottom: 24px;
}

.cs_review_summary {
  align-items: center;
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 40px;
  grid-template-columns: 200px minmax(0, 1fr);
  margin-bottom: 30px;
  padding-bottom: 30px;
}

.cs_review_average {
  font-size: 46px;
  line-height: 1;
  margin-bottom: 12px;
}

.cs_review_score .rating {
  color: var(--accent);
  display: flex;
  font-size: 18px;
  gap: 4px;
  margin-bottom: 8px;
}

.cs_review_total {
  color: var(--primary);
  font-weight: 500;
}

.cs_review_total span {
  color: var(--secondary);
  font-weight: 400;
}

.cs_review_bar_row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: 42px minmax(0, 1fr) 44px;
  padding: 4px 0;
}

.cs_review_bar_label {
  align-items: center;
  color: var(--secondary);
  display: inline-flex;
  gap: 5px;
  font-size: 14px;
}

.cs_review_bar_label i {
  color: var(--accent);
}

.cs_review_bar_track {
  background-color: var(--gray);
  border-radius: 50px;
  display: block;
  height: 8px;
  overflow: hidden;
}

.cs_review_bar_fill {
  background-color: var(--accent);
  border-radius: 50px;
  display: block;
  height: 100%;
}

.cs_review_bar_count {
  color: var(--secondary);
  font-size: 14px;
  text-align: right;
}

.cs_reviews .commentlist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_review_form_wrap {
  border-top: 1px solid var(--border);
  margin-top: 30px;
  padding-top: 30px;
}

@media (max-width: 767px) {
  .cs_review_summary {
    gap: 24px;
    grid-template-columns: minmax(0, 1fr);
  }

  .cs_spec_row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
}

/* Category eyebrow, discount badge and fact list in the summary. */
.wg-product-summary .cs_product_category {
  letter-spacing: 0.12em;
  margin-bottom: 10px;
}

.wg-product-summary .cs_product_category a {
  color: var(--secondary);
}

.wg-product-summary .cs_product_category a:hover {
  color: var(--accent);
}

.wg-product-summary .cs_discount {
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 20px;
  padding: 5px 16px;
}

.wg-product-summary .cs_details_list_2 {
  list-style: none;
  margin: 24px 0 0 0;
  padding: 0;
}

.wg-product-summary .cs_details_list_2 li {
  padding: 5px 0;
}

/* Tab bar. */
.cs_tab_links.cs_style_1 {
  border-radius: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  list-style: none;
  margin: 0 0 34px 0;
  overflow: hidden;
  padding: 6px;
}

.cs_tab_links.cs_style_1 li a {
  border-radius: 8px;
  color: var(--secondary);
  display: block;
  font-size: 17px;
  padding: 14px 28px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.cs_tab_links.cs_style_1 li.active a,
.cs_tab_links.cs_style_1 li a:hover {
  background-color: var(--white);
  color: var(--primary);
}

.cs_tab_links.cs_style_1 li.active a {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.woocommerce-tabs ul.tabs:not(.cs_tab_links) {
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 34px;
  list-style: none;
  margin: 0 0 34px 0;
  padding: 0;
}

.woocommerce-tabs ul.tabs li a {
  color: var(--secondary);
  display: inline-block;
  font-family: var(--primary-font);
  font-size: 18px;
  font-weight: 600;
  padding-bottom: 14px;
  position: relative;
}

.woocommerce-tabs ul.tabs li.active a {
  color: var(--primary);
}

.woocommerce-tabs ul.tabs li.active a::after {
  background-color: var(--accent);
  bottom: -1px;
  content: "";
  height: 2px;
  left: 0;
  position: absolute;
  width: 100%;
}

.woocommerce-tabs .panel > h2:first-child {
  display: none;
}

/* Additional information table. */
.woocommerce-product-attributes {
  border: 1px solid var(--border);
  border-collapse: collapse;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
}

.woocommerce-product-attributes tr:nth-child(even) {
  background-color: var(--gray);
}

.woocommerce-product-attributes th,
.woocommerce-product-attributes td {
  padding: 14px 20px;
  text-align: left;
  vertical-align: top;
}

.woocommerce-product-attributes th {
  color: var(--primary);
  font-weight: 500;
  white-space: nowrap;
  width: 220px;
}

.woocommerce-product-attributes td {
  color: var(--secondary);
}

.woocommerce-product-attributes td p {
  margin: 0;
}

@media (max-width: 575px) {
  .woocommerce-product-attributes th {
    width: auto;
    white-space: normal;
  }

  .woocommerce-product-attributes th,
  .woocommerce-product-attributes td {
    padding: 10px 14px;
  }
}

#reviews .commentlist {
  list-style: none;
  margin: 0 0 30px 0;
  padding: 0;
}

#reviews .commentlist li {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

#reviews .comment_container {
  display: flex;
  gap: 18px;
}

#reviews .comment_container img {
  border-radius: 50%;
  height: 64px;
  width: 64px;
}

#reviews .comment-form-rating .stars {
  display: inline-flex;
  gap: 6px;
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

/* WooCommerce's own stylesheet is dequeued, so the star picker its script
   injects in place of the rating select carries no rules of its own. */
#reviews .comment-form-rating p.stars span {
  display: inline-flex;
  gap: 6px;
}

#reviews .comment-form-rating p.stars a {
  color: rgba(99, 99, 99, 0.5);
  font-size: 0;
  line-height: 1;
  text-decoration: none;
}

#reviews .comment-form-rating p.stars a::before {
  content: "\f005";
  font-family: "font awesome 6 free";
  font-size: 18px;
  font-weight: 900;
}

#reviews .comment-form-rating p.stars:hover a::before,
#reviews .comment-form-rating p.stars.selected a:not(.active)::before,
#reviews .comment-form-rating p.stars.selected a.active::before {
  color: var(--accent);
}

/* Stars past the hovered or chosen one fall back to the empty colour. */
#reviews .comment-form-rating p.stars a:hover ~ a::before,
#reviews .comment-form-rating p.stars.selected a.active ~ a::before {
  color: rgba(99, 99, 99, 0.5);
}

#reviews .comment-form-rating p.stars ~ select {
  display: none;
}

/* Ratings already left on a review use WooCommerce's own star markup. */
.star-rating {
  color: rgba(99, 99, 99, 0.5);
  display: block;
  font-size: 0;
  height: 16px;
  letter-spacing: 2px;
  line-height: 1em;
  overflow: hidden;
  position: relative;
  width: 93px;
}

.star-rating::before,
.star-rating span::before {
  content: "\f005\f005\f005\f005\f005";
  font-family: "font awesome 6 free";
  font-size: 15px;
  font-weight: 900;
  left: 0;
  position: absolute;
  top: 0;
}

.star-rating span {
  display: block;
  height: 100%;
  left: 0;
  overflow: hidden;
  position: absolute;
  top: 0;
}

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

.related.products > h2,
.upsells.products > h2 {
  font-size: 34px;
  margin-bottom: 34px;
}

/*--------------------------------------------------------------
  7. Quick view modal
--------------------------------------------------------------*/
.wg-modal {
  align-items: center;
  background-color: rgba(0, 0, 0, 0.6);
  display: none;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 10000;
}

.wg-modal.active {
  display: flex;
}

.wg-modal_dialog {
  background-color: var(--white);
  border-radius: 16px;
  max-height: 90vh;
  max-width: 960px;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  width: 100%;
}

.wg-modal_close {
  background: transparent;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 22px;
  position: absolute;
  right: 20px;
  top: 16px;
}

.wg-quick-view-thumb img {
  height: auto;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.wg-quick-view-more {
  display: inline-block;
  margin-top: 18px;
}

/*--------------------------------------------------------------
  8. Cart page
--------------------------------------------------------------*/
.woocommerce-cart-form table.shop_table,
.woocommerce table.shop_table {
  border: 1px solid var(--border);
  border-collapse: collapse;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}

.woocommerce table.shop_table th {
  background-color: var(--gray);
  color: var(--primary);
  font-family: var(--primary-font);
  font-weight: 600;
  padding: 18px;
  text-align: left;
}

.woocommerce table.shop_table td {
  border-top: 1px solid var(--border);
  padding: 18px;
  vertical-align: middle;
}

.woocommerce table.shop_table .product-thumbnail img {
  border-radius: 8px;
  width: 80px;
}

.woocommerce table.shop_table .product-remove a {
  color: var(--secondary);
  font-size: 20px;
}

.woocommerce table.shop_table .product-remove a:hover {
  color: var(--accent);
}

.woocommerce .quantity input[type="number"] {
  border: 1px solid var(--border);
  border-radius: 50px;
  height: 46px;
  text-align: center;
  width: 86px;
}

.woocommerce .cart-collaterals::after {
  clear: both;
  content: "";
  display: block;
}

.woocommerce .actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 20px 0;
}

.woocommerce .coupon {
  display: flex;
  flex: 1 1 320px;
  gap: 10px;
  max-width: 460px;
}

.woocommerce .coupon input[type="text"] {
  border: 1px solid var(--border);
  border-radius: 50px;
  flex: 1 1 auto;
  height: 48px;
  min-width: 0;
  padding: 0 20px;
}

.woocommerce .coupon .button,
.woocommerce .actions > .button {
  flex: 0 0 auto;
  padding: 14px 28px;
  white-space: nowrap;
}

.cart_totals {
  background-color: var(--gray);
  border-radius: 12px;
  margin-left: auto;
  max-width: 520px;
  padding: 30px;
}

.cart_totals h2 {
  font-size: 24px;
}

.cart_totals table {
  width: 100%;
}

.cart_totals th,
.cart_totals td {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  text-align: left;
}

.wc-proceed-to-checkout {
  margin-top: 20px;
}

/*--------------------------------------------------------------
  9. Checkout
--------------------------------------------------------------*/
.woocommerce-checkout h3 {
  font-size: 24px;
  margin-bottom: 22px;
}

/* Billing/shipping on the left, order review on the right. */
.woocommerce-checkout form.checkout {
  align-items: start;
  display: grid;
  gap: 40px;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
}

.woocommerce-checkout form.checkout > #customer_details {
  grid-column: 1;
  grid-row: 1;
}

.woocommerce-checkout form.checkout > #order_review_heading {
  grid-column: 2;
  grid-row: 1;
  margin-bottom: 18px;
}

.woocommerce-checkout form.checkout > #order_review {
  grid-column: 2;
  grid-row: 1;
  margin-top: 52px;
}

.woocommerce-checkout .col2-set {
  display: grid;
  gap: 0 30px;
  grid-template-columns: minmax(0, 1fr);
}

/* WooCommerce's `.col-1` / `.col-2` collide with Bootstrap's grid columns
   (which would size them to 8% / 16% of the row). Reset them here. */
.col2-set > .col-1,
.col2-set > .col-2 {
  flex: none;
  max-width: none;
  padding: 0;
  width: 100%;
}

.woocommerce-checkout .col2-set .col-2:not(:empty) {
  margin-top: 30px;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
  display: grid;
  gap: 0 20px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.woocommerce-checkout .form-row {
  margin-bottom: 18px;
  min-width: 0;
}

.woocommerce-checkout .form-row-wide,
.woocommerce-checkout .form-row.notes,
.woocommerce-checkout .form-row.create-account,
.woocommerce-checkout .form-row.validate-required.woocommerce-invalid ~ .form-row-wide {
  grid-column: 1 / -1;
}

.woocommerce-checkout .form-row .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

.woocommerce-checkout .select2-container {
  width: 100% !important;
}

/* Login / coupon toggles above the form. */
.woocommerce-form-login-toggle,
.woocommerce-form-coupon-toggle {
  grid-column: 1 / -1;
}

.woocommerce-checkout label,
.woocommerce-form label {
  color: var(--primary);
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
}

#order_review,
.woocommerce-checkout-review-order {
  background-color: var(--gray);
  border-radius: 12px;
  padding: 30px;
}

#payment ul.payment_methods {
  list-style: none;
  margin: 0 0 20px 0;
  padding: 0;
}

#payment ul.payment_methods li {
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}

#payment .place-order {
  margin-top: 10px;
}

#place_order,
.checkout-button,
.woocommerce .button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: var(--accent);
  border: none;
  border-radius: 50px;
  color: var(--white);
  cursor: pointer;
  display: inline-block;
  font-weight: 500;
  letter-spacing: 0.06em;
  padding: 15px 34px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease;
}

#place_order:hover,
.checkout-button:hover,
.woocommerce .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: var(--accent-strong);
  color: var(--white);
}

/*--------------------------------------------------------------
  10. My account
--------------------------------------------------------------*/
.woocommerce-account .woocommerce-MyAccount-navigation ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li {
  border-bottom: 1px solid var(--border);
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
  color: var(--secondary);
  display: block;
  padding: 14px 0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
  color: var(--accent);
}

.woocommerce-account .woocommerce-MyAccount-content {
  padding-left: 30px;
}

.woocommerce-form-login,
.woocommerce-form-register,
.woocommerce-ResetPassword {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 34px;
}

.woocommerce-form__label-for-checkbox {
  align-items: center;
  display: flex;
  gap: 8px;
  font-weight: 400;
}

.woocommerce-form__label-for-checkbox input {
  width: auto;
}

/* Password visibility toggle inside password fields. */
.woocommerce-password-hint {
  color: var(--secondary);
  display: block;
  font-size: 13px;
  margin-top: 8px;
}

.woocommerce form .password-input,
.woocommerce-page form .password-input {
  display: block;
  position: relative;
}

.woocommerce form .show-password-input,
.woocommerce-page form .show-password-input {
  background: transparent;
  border: none;
  color: var(--secondary);
  cursor: pointer;
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
}

.woocommerce form .show-password-input::after,
.woocommerce-page form .show-password-input::after {
  content: "\f06e";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
}

.woocommerce form .show-password-input.display-password::after,
.woocommerce-page form .show-password-input.display-password::after {
  content: "\f070";
}

/*--------------------------------------------------------------
  11. Notices, forms & buttons
--------------------------------------------------------------*/
.woocommerce-message,
.woocommerce-info,
.woocommerce-error,
.woocommerce-noreviews,
p.no-comments {
  background-color: var(--accent-light);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  list-style: none;
  margin-bottom: 26px;
  padding: 16px 22px;
}

.woocommerce-error {
  background-color: #fdecec;
  border-left-color: #d63638;
}

.woocommerce-message .button,
.woocommerce-info .button {
  float: right;
  padding: 8px 20px;
  font-size: 13px;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--primary);
  font-family: var(--secondary-font);
  padding: 12px 18px;
  width: 100%;
}

.woocommerce-checkout .form-row input,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .form-row select {
  height: 50px;
}

.woocommerce-checkout .form-row textarea {
  height: auto;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent);
  outline: none;
}

.select2-container--default .select2-selection--single {
  border: 1px solid var(--border);
  border-radius: 8px;
  height: 50px;
}

.select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
  padding-left: 16px;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
}

/*--------------------------------------------------------------
  12. Blog, comments, 404
--------------------------------------------------------------*/
.cs_post_details_content {
  margin-top: 24px;
}

.cs_post_details_content p {
  margin-bottom: 20px;
}

.cs_post_details_content h2,
.cs_post_details_content h3,
.cs_post_details_content h4 {
  margin-top: 32px;
}

.cs_post_tags {
  margin-top: 26px;
}

.cs_post_tags a {
  background-color: var(--gray);
  border-radius: 50px;
  color: var(--secondary);
  display: inline-block;
  font-size: 14px;
  margin: 4px 6px 4px 0;
  padding: 6px 18px;
}

.cs_post_tags a:hover {
  background-color: var(--accent);
  color: var(--white);
}

.cs_post_nav .nav-links {
  display: flex;
  gap: 24px;
  justify-content: space-between;
}

.cs_post_nav_label {
  color: var(--accent);
  display: block;
  font-size: 14px;
  text-transform: uppercase;
}

.cs_comment_list {
  list-style: none;
  margin: 26px 0;
  padding: 0;
}

.cs_comment_list .children {
  list-style: none;
  margin-left: 40px;
  padding: 0;
}

.cs_comment_list .comment-body {
  border-bottom: 1px solid var(--border);
  padding: 22px 0;
}

.cs_comment_list .avatar {
  border-radius: 50%;
  float: left;
  margin-right: 18px;
}

.comment-form .comment-form-comment textarea {
  min-height: 160px;
}

.comment-form input[type="submit"] {
  background-color: var(--accent);
  border: none;
  border-radius: 50px;
  color: var(--white);
  cursor: pointer;
  padding: 14px 36px;
  width: auto;
}

.cs_error_title {
  font-size: 150px;
  line-height: 1;
}

.cs_no_results {
  padding: 60px 0;
}

/*--------------------------------------------------------------
  13. Newsletter / footer spacing
--------------------------------------------------------------*/
.wg_newsletter_wrap {
  padding-top: 150px;
}

.cs_sibling_newsletter + .wg_newsletter_wrap {
  padding-top: 0;
}

.wg_newsletter_wrap:empty {
  display: none;
  padding: 0;
}

.cs_footer_social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.cs_footer_social a {
  align-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--primary);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.cs_footer_social a:hover {
  background-color: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

.cs_footer_links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cs_bottom_footer {
  border-top: 1px solid var(--border);
  gap: 16px;
  margin-top: 40px;
  padding-top: 26px;
}

/*--------------------------------------------------------------
  14. Responsive
--------------------------------------------------------------*/
@media (max-width: 991px) {
  .cs_page_heading.cs_style_1 {
    padding: 46px 0;
  }

  ul.products li.product,
  ul.products.columns-4 li.product,
  ul.products.columns-5 li.product {
    width: 33.3333%;
  }

  .woocommerce-account .woocommerce-MyAccount-content {
    padding-left: 0;
    padding-top: 30px;
  }

  .woocommerce-checkout form.checkout {
    grid-template-columns: minmax(0, 1fr);
  }

  .woocommerce-checkout form.checkout > #customer_details,
  .woocommerce-checkout form.checkout > #order_review_heading,
  .woocommerce-checkout form.checkout > #order_review {
    grid-column: 1;
    grid-row: auto;
    margin-top: 0;
  }

  .wg_newsletter_wrap {
    padding-top: 80px;
  }

  .wg-product-item .product-action {
    display: none;
  }

  .wg-product-item .product-action-bottom {
    display: flex;
  }
}

@media (max-width: 767px) {
  ul.products li.product,
  ul.products.columns-3 li.product,
  ul.products.columns-4 li.product,
  ul.products.columns-5 li.product {
    width: 50%;
  }

  .cs_shop_main > .woocommerce-ordering {
    float: none;
    display: block;
  }

  .wg-modal_dialog {
    padding: 26px 18px;
  }

  .woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
  .woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: minmax(0, 1fr);
  }

  .cs_post_nav .nav-links {
    flex-direction: column;
  }
}

@media (max-width: 575px) {
  .wg-product-item .product-info .title {
    font-size: 16px;
  }

  .wg-product-item .prices,
  .wg-product-item .prices .price {
    font-size: 17px;
  }
}
