/* =========================================================
   TRANSFORM ELITE - PREMIUM SHOP STYLES
   Matches premium dashboard and works with UWSC side cart
========================================================= */
body {
  background: var(--tte-gradient-light);
}

.post-type-archive-product .site-content,
.tax-product_cat .site-content,
.tax-product_tag .site-content {
  padding: 100px 20px 40px 20px!important;
}

.post-type-archive-product section.ast-archive-description {
  display: none !important;
}

body.tte-shop-sidebar-open {
  overflow: hidden;
}

.tte-shop-wrapper {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 32px;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px 30px 40px;
  align-items: start;
  position: relative;
}

.tte-shop-main {
  min-width: 0;
}

/* =========================================================
   MOBILE FILTER TOGGLE
========================================================= */
.tte-mobile-filter-toggle {
  display: none;
  position: fixed;
  right: 20px;
  bottom: 100px;
  z-index: 9995;
  min-height: 50px;
  padding: 0 18px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #1992ee 0%, #0d6ad3 100%);
  color: #fff;
  box-shadow: 0 14px 28px rgba(25, 146, 238, 0.24);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

.tte-mobile-filter-toggle:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(25, 146, 238, 0.32);
}

/* =========================================================
   SIDEBAR OVERLAY
========================================================= */
.tte-sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 32, 76, 0.42);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  z-index: 9997;
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.tte-sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* =========================================================
   SIDEBAR
========================================================= */
.tte-shop-sidebar {
  position: sticky;
  top: 20px;
  max-height: calc(100vh - 40px);
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid rgba(196, 214, 238, 0.9);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78) 0%, rgba(248,250,255,0.72) 52%, rgba(220,231,249,0.76) 100%);
  box-shadow:
    0 18px 40px rgba(13, 50, 118, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tte-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 22px 20px;
  border-bottom: 1px solid rgba(196, 214, 238, 0.55);
}

.tte-sidebar-heading {
  min-width: 0;
}

.tte-sidebar-eyebrow {
  display: inline-block;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e4d99;
}

.tte-sidebar-header h3 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--tte-dark);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.tte-sidebar-header h3 i {
  color: var(--tte-primary);
}

.tte-close-sidebar {
  display: none;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border: 1px solid rgba(235, 193, 111, 0.55);
  border-radius: 16px;
  background: #f8dca7;
  color: #163c7a;
  box-shadow: 0 12px 24px rgba(226, 177, 70, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tte-close-sidebar:hover {
  transform: translateY(-2px);
  background: #fde3b3;
}

.tte-sidebar-content {
  padding: 20px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}

/* =========================================================
   FILTER CARDS
========================================================= */
.tte-filter-widget {
  border: 1px solid rgba(196, 214, 238, 0.82);
  border-radius: 22px;
  background: rgba(255,255,255,0.32);
  box-shadow: 0 8px 20px rgba(13, 50, 118, 0.05);
  overflow: hidden;
  transition: all 0.25s ease;
  margin-bottom: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.tte-filter-widget:hover {
  border-color: rgba(15, 103, 217, 0.24);
  box-shadow: 0 12px 26px rgba(13, 50, 118, 0.08);
  transform: translateY(-1px);
}

.tte-filter-title {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  padding: 16px 18px;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  color: var(--tte-dark);
  cursor: pointer;
  background: rgba(255,255,255,0.28);
  transition: all 0.2s ease;
  user-select: none;
}

.tte-filter-title:hover,
.tte-filter-title.active {
  background: rgba(15, 103, 217, 0.07);
}

.tte-filter-title i:first-child {
  color: var(--tte-primary);
  font-size: 14px;
}

.tte-filter-title span {
  flex: 1;
}

.tte-filter-title i:last-child {
  color: var(--tte-gray);
  font-size: 12px;
  transition: transform 0.22s ease;
}

.tte-filter-title.active i:last-child {
  transform: rotate(180deg);
}

.tte-filter-content {
  padding: 18px;
  border-top: 1px solid rgba(196, 214, 238, 0.45);
}

/* =========================================================
   PRICE FILTER
========================================================= */
.tte-price-slider-container {
  padding-top: 4px;
}

#tte-price-slider {
  margin: 16px 0 24px;
  height: 6px;
  border: none;
  background: rgba(15, 103, 217, 0.12);
  border-radius: 999px;
}

#tte-price-slider .ui-slider-range {
  background: linear-gradient(90deg, #0f67d9 0%, #1992ee 100%);
  border-radius: 999px;
}

#tte-price-slider .ui-slider-handle {
  width: 20px;
  height: 20px;
  top: -7px;
  border-radius: 50%;
  border: 3px solid #0f67d9;
  background: #fff;
  outline: none;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(13, 50, 118, 0.18);
  transition: transform 0.2s ease;
}

#tte-price-slider .ui-slider-handle:hover {
  transform: scale(1.08);
}

.tte-price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.tte-price-input {
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(196, 214, 238, 0.65);
  background: rgba(255,255,255,0.55);
  text-align: center;
}

.tte-price-input label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--tte-gray);
}

#tte-min-price,
#tte-max-price {
  font-size: 18px;
  font-weight: 800;
  color: var(--tte-primary);
}

.tte-apply-price-filter {
  width: 100%;
  min-height: 52px;
  border: none;
  border-radius: 18px;
  background: linear-gradient(135deg, #1992ee 0%, #0d6ad3 100%);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(25, 146, 238, 0.22);
  transition: all 0.25s ease;
}

.tte-apply-price-filter:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 32px rgba(25, 146, 238, 0.28);
}

/* =========================================================
   CATEGORY / ATTRIBUTE / RATING LISTS
========================================================= */
.tte-category-list,
.tte-attribute-list,
.tte-rating-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tte-category-list li,
.tte-rating-item {
  margin-bottom: 8px;
}

.tte-category-link,
.tte-rating-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 16px;
  color: var(--tte-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.tte-category-link:hover,
.tte-rating-link:hover {
  background: rgba(15, 103, 217, 0.06);
  color: var(--tte-primary);
  text-decoration: none;
}

.tte-category-list li.active .tte-category-link,
.tte-rating-item.active .tte-rating-link {
  background: rgba(15, 103, 217, 0.08);
  color: var(--tte-primary);
  font-weight: 700;
}

.tte-category-count,
.tte-attribute-count {
  min-width: 34px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 103, 217, 0.08);
  color: var(--tte-gray);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.tte-category-list li.active .tte-category-count,
.tte-attribute-item.active .tte-attribute-count {
  background: var(--tte-primary);
  color: #fff;
}

.tte-attribute-item {
  margin-bottom: 8px;
}

.tte-attribute-label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tte-attribute-label:hover,
.tte-attribute-item.active .tte-attribute-label {
  background: rgba(15, 103, 217, 0.06);
}

.tte-attribute-label input[type="checkbox"] {
  display: none;
}

.tte-checkbox-custom {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid rgba(15, 103, 217, 0.25);
  background: #fff;
  position: relative;
  flex: 0 0 18px;
}

.tte-attribute-item.active .tte-checkbox-custom {
  background: var(--tte-primary);
  border-color: var(--tte-primary);
}

.tte-attribute-item.active .tte-checkbox-custom::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 5px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.tte-attribute-name {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: var(--tte-dark);
}

.tte-stars {
  display: inline-flex;
  gap: 2px;
  color: #f5b301;
}

/* =========================================================
   ACTIVE FILTERS
========================================================= */
.tte-active-filters {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(196, 214, 238, 0.55);
}

.tte-active-filters h4 {
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--tte-primary);
  font-size: 15px;
  font-weight: 800;
}

.tte-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tte-filter-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(15, 103, 217, 0.08);
  color: var(--tte-primary);
  border: 1px solid rgba(15, 103, 217, 0.10);
  font-size: 13px;
  font-weight: 700;
}

.tte-filter-tag a {
  color: inherit;
  text-decoration: none;
}

.tte-clear-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(196, 214, 238, 0.7);
  color: var(--tte-gray);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
}

.tte-clear-all:hover {
  color: var(--tte-primary);
  background: rgba(15, 103, 217, 0.08);
  text-decoration: none;
}

/* =========================================================
   SHOP TOOLBAR
========================================================= */
.tte-shop-toolbar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 28px;
  margin-bottom: 28px;
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.80) 0%, rgba(248,250,255,0.72) 52%, rgba(220,231,249,0.78) 100%);
  border: 1px solid rgba(196, 214, 238, 0.9);
  box-shadow:
    0 18px 40px rgba(13, 50, 118, 0.08),
    inset 0 1px 0 rgba(255,255,255,0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.tte-toolbar-left,
.tte-toolbar-right {
  min-width: 0;
}

.tte-toolbar-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-end;
}

.tte-shop-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1e4d99;
}

.tte-shop-title {
  margin: 0 0 8px;
  font-size: clamp(34px, 3vw, 50px);
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #34425a;
}

.tte-shop-subtitle {
  margin: 0;
  max-width: 620px;
  font-size: 16px;
  line-height: 1.6;
  color: #68768f;
}

.tte-shop-toolbar-top {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tte-result-count {
  padding: 0 2px;
  font-size: 14px;
  font-weight: 600;
  color: var(--tte-gray);
}

.tte-view-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(196, 214, 238, 0.7);
  box-shadow: 0 10px 20px rgba(13, 50, 118, 0.05);
}

.tte-view-btn {
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 14px;
  background: transparent;
  color: var(--tte-gray);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tte-view-btn:hover {
  background: rgba(15, 103, 217, 0.08);
  color: var(--tte-primary);
}

.tte-view-btn.active {
  background: linear-gradient(135deg, #1992ee 0%, #0d6ad3 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(25, 146, 238, 0.22);
}

.tte-sort-by {
  width: 100%;
}

.tte-sort-by .woocommerce-ordering {
  margin: 0;
}

.tte-sort-by select {
  min-width: 230px;
  min-height: 58px;
  padding: 0 48px 0 18px;
  border-radius: 20px;
  border: 1.5px solid rgba(15, 103, 217, 0.18);
  background:
    rgba(255,255,255,0.82)
    url('data:image/svg+xml;utf8,<svg fill="%23163c7a" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>')
    no-repeat right 14px center;
  background-size: 20px;
  color: #163c7a;
  font-size: 14px;
  font-weight: 700;
  appearance: none;
  cursor: pointer;
  outline: none;
  box-shadow: 0 10px 22px rgba(15, 103, 217, 0.08);
}

.tte-sort-by select:focus {
  border-color: var(--tte-primary);
  box-shadow: 0 0 0 3px rgba(var(--tte-primary-rgb), 0.10);
}

/* =========================================================
   PRODUCTS CONTAINER
========================================================= */
.tte-products-container {
  transition: all 0.25s ease;
}

/* Grid */
.tte-products-container.grid-view ul.products {
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 26px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: 100% !important;
  clear: both !important;
}

.tte-products-container.grid-view ul.products li.product {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

/* List */
.tte-products-container.list-view ul.products {
  display: flex !important;
  flex-direction: column !important;
  gap: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.tte-products-container.list-view ul.products li.product {
  display: grid !important;
  grid-template-columns: 300px 1fr !important;
  gap: 0 !important;
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

/* =========================================================
   PRODUCT CARD
========================================================= */
.tte-products-container ul.products li.product {
  position: relative;
  display: flex !important;
  flex-direction: column !important;
  min-height: 100%;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(196, 214, 238, 0.82);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.78) 0%, rgba(248,250,255,0.72) 52%, rgba(220,231,249,0.70) 100%);
  box-shadow:
    0 18px 40px rgba(13, 50, 118, 0.06),
    inset 0 1px 0 rgba(255,255,255,0.65);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transition: all 0.25s ease;
}

.tte-products-container ul.products li.product:hover {
  transform: translateY(-8px);
  border-color: rgba(15, 103, 217, 0.24);
  box-shadow:
    0 26px 46px rgba(13, 50, 118, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.68);
}

.tte-products-container ul.products li.product .woocommerce-loop-product__link {
  display: block !important;
  position: relative;
  height: 260px;
  overflow: hidden;
  border-bottom: 1px solid rgba(196, 214, 238, 0.45);
  background: rgba(255,255,255,0.45);
}

.tte-products-container.list-view ul.products li.product .woocommerce-loop-product__link {
  height: 100%;
  min-height: 260px;
  border-bottom: none;
  border-right: 1px solid rgba(196, 214, 238, 0.45);
}

.tte-products-container ul.products li.product img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.5s ease !important;
}

.tte-products-container ul.products li.product:hover img {
  transform: scale(1.06) !important;
}

.tte-products-container ul.products li.product .astra-shop-summary-wrap,
.tte-products-container ul.products li.product .astra-shop-summary-wrap > * {
  width: 100%;
}

.tte-products-container ul.products li.product .astra-shop-summary-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 22px 20px 20px !important;
}

.ast-woo-product-category {
  display: inline-flex !important;
  align-items: center;
  width: fit-content;
  margin: 0 0 12px 0 !important;
  padding: 7px 12px !important;
  border-radius: 999px;
  background: rgba(15, 103, 217, 0.08);
  border: 1px solid rgba(15, 103, 217, 0.10);
  color: var(--tte-primary) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tte-products-container ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 10px !important;
  padding: 0 !important;
  font-size: 28px;
}

.tte-products-container ul.products li.product .woocommerce-loop-product__title,
.tte-products-container ul.products li.product .woocommerce-loop-product__title a {
  color: var(--tte-dark) !important;
  font-size: 20px !important;
  line-height: 1.35 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em;
  text-decoration: none !important;
}

.tte-products-container ul.products li.product .woocommerce-loop-product__title a:hover {
  color: var(--tte-primary) !important;
}

.tte-products-container ul.products li.product .star-rating {
  margin: 0 0 12px !important;
  padding: 0 !important;
  color: #f5b301;
}

.tte-products-container ul.products li.product .price {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--tte-primary) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
}

.tte-products-container ul.products li.product .price .amount {
  color: #0f67d9 !important;
  font-size: 18px;
}

.tte-products-container ul.products li.product .price del {
  color: #98a5bb !important;
  font-weight: 600 !important;
  margin-right: 6px;
}

.tte-products-container ul.products li.product .price ins {
  text-decoration: none !important;
  color: #123f87 !important;
}

.tte-products-container ul.products li.product .button,
.tte-products-container ul.products li.product .added_to_cart {
  margin-top: auto !important;
  min-height: 54px;
  padding: 0 20px !important;
  border: none !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #1992ee 0%, #0d6ad3 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  box-shadow: 0 14px 28px rgba(25, 146, 238, 0.22) !important;
  transition: all 0.25s ease !important;
}

.tte-products-container ul.products li.product .button:hover,
.tte-products-container ul.products li.product .added_to_cart:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 18px 32px rgba(25, 146, 238, 0.30) !important;
  color: #fff !important;
}

/* =========================================================
   QUICK VIEW BUTTON
========================================================= */
.tte-quick-view {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  z-index: 6;
  width: 46px !important;
  height: 46px !important;
  border: 1px solid rgba(196, 214, 238, 0.72);
  border-radius: 16px !important;
  background: rgba(255,255,255,0.92);
  color: var(--tte-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.22s ease;
  box-shadow: 0 8px 18px rgba(13, 50, 118, 0.10);
}

.tte-products-container ul.products li.product:hover .tte-quick-view {
  opacity: 1;
  transform: translateY(0);
}

.tte-quick-view:hover {
  background: var(--tte-primary);
  color: #fff;
}

/* =========================================================
   QUICK VIEW MODAL
========================================================= */
.tte-quick-view-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(13, 32, 76, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
}

.tte-quick-view-modal.active {
  opacity: 1;
  visibility: visible;
}

.tte-quick-view-content {
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(196, 214, 238, 0.9);
  background:
    linear-gradient(135deg, rgba(255,255,255,0.90) 0%, rgba(248,250,255,0.86) 52%, rgba(220,231,249,0.82) 100%);
  box-shadow: 0 24px 52px rgba(13, 50, 118, 0.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  transform: scale(0.96);
  transition: transform 0.25s ease;
}

.tte-quick-view-modal.active .tte-quick-view-content {
  transform: scale(1);
}

.tte-quick-view-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(235, 193, 111, 0.55);
  border-radius: 16px;
  background: #f8dca7;
  color: #163c7a;
  box-shadow: 0 12px 24px rgba(226, 177, 70, 0.12);
  cursor: pointer;
  transition: all 0.2s ease;
}

.tte-quick-view-close:hover {
  transform: translateY(-2px);
  background: #fde3b3;
}

.tte-quick-view-product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding: 8px;
}

.tte-quick-view-images img {
  width: 100%;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(13, 50, 118, 0.10);
}

.tte-quick-view-details h2 {
  margin: 0 0 12px;
  color: var(--tte-dark);
  font-size: 30px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.tte-quick-view-price {
  margin: 0 0 16px;
  color: var(--tte-primary);
  font-size: 24px;
  font-weight: 800;
}

.tte-quick-view-description {
  margin: 18px 0 22px;
  color: var(--tte-gray);
  line-height: 1.7;
}

.tte-quick-view-content .variations {
  width: 100%;
  margin-bottom: 18px;
}

.tte-quick-view-content .variations th,
.tte-quick-view-content .variations td {
  padding: 8px 0;
  vertical-align: middle;
}

.tte-quick-view-content .variations th.label {
  font-weight: 700;
  color: var(--tte-dark);
  padding-right: 16px;
}

.tte-quick-view-content .variations select {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(196, 214, 238, 0.85);
  background: rgba(255,255,255,0.82);
  color: var(--tte-dark);
  font-weight: 600;
}

.tte-quick-view-content .single_variation_wrap {
  margin-top: 16px;
}

.tte-quick-view-content .woocommerce-variation {
  margin-bottom: 16px;
  padding: 14px;
  border-radius: 16px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(196, 214, 238, 0.7);
}

.tte-quick-view-content .woocommerce-variation-price {
  color: var(--tte-primary);
  font-size: 18px;
  font-weight: 800;
}

.tte-quick-view-content .woocommerce-variation-add-to-cart,
.tte-quick-view-content .woocommerce-variation-add-to-cart-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.tte-quick-view-content .quantity input,
.tte-quick-view-content input.qty {
  min-height: 48px;
  width: 90px;
  border-radius: 14px;
  border: 1px solid rgba(196, 214, 238, 0.8);
  background: rgba(255,255,255,0.82);
  text-align: center;
  font-weight: 700;
  color: var(--tte-dark);
}

.tte-quick-view-content .single_add_to_cart_button,
.tte-quick-view-content .button {
  min-height: 54px;
  padding: 0 22px !important;
  border: none !important;
  border-radius: 18px !important;
  background: linear-gradient(135deg, #1992ee 0%, #0d6ad3 100%) !important;
  color: #fff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  box-shadow: 0 14px 28px rgba(25, 146, 238, 0.22) !important;
}

.tte-quick-view-content .single_add_to_cart_button.disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* =========================================================
   PAGINATION
========================================================= */
.tte-shop-pagination {
  margin-top: 30px;
  text-align: center;
}

.tte-shop-pagination .page-numbers {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
}

.tte-shop-pagination .page-numbers li {
  margin: 0;
}

.tte-shop-pagination .page-numbers a,
.tte-shop-pagination .page-numbers span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(196, 214, 238, 0.82);
  background: rgba(255,255,255,0.72);
  color: var(--tte-dark);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 18px rgba(13, 50, 118, 0.06);
  transition: all 0.2s ease;
}

.tte-shop-pagination .page-numbers a:hover {
  color: var(--tte-primary);
  border-color: rgba(15, 103, 217, 0.24);
  background: rgba(15, 103, 217, 0.08);
}

.tte-shop-pagination .page-numbers .current {
  border-color: transparent;
  background: linear-gradient(135deg, #1992ee 0%, #0d6ad3 100%);
  color: #fff;
  box-shadow: 0 12px 24px rgba(25, 146, 238, 0.22);
}

/* =========================================================
   CUSTOM NOTICES
========================================================= */
.tte-shop-notice {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 10030;
  min-width: 320px;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 18px;
  border-radius: 18px;
  box-shadow: 0 18px 36px rgba(13, 50, 118, 0.16);
  transform: translateY(-12px);
  opacity: 0;
  transition: all 0.25s ease;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.tte-shop-notice.show {
  transform: translateY(0);
  opacity: 1;
}

.tte-shop-notice i:first-child {
  flex: 0 0 auto;
  font-size: 18px;
}

.tte-shop-notice span {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.tte-notice-success {
  background: rgba(236, 253, 243, 0.96);
  color: #166534;
  border: 1px solid #bbf7d0;
}

.tte-notice-error {
  background: rgba(254, 242, 242, 0.96);
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.tte-notice-close {
  background: transparent;
  border: none;
  color: inherit;
  cursor: pointer;
  padding: 0;
}

/* =========================================================
   HIDE DUPLICATE WOO TOOLBAR
========================================================= */
.tte-shop-main .woocommerce-result-count,
.tte-shop-main .woocommerce-ordering {
  display: none !important;
}

/* =========================================================
   SCROLLBARS
========================================================= */
.tte-sidebar-content::-webkit-scrollbar,
.tte-quick-view-content::-webkit-scrollbar {
  width: 8px;
}

.tte-sidebar-content::-webkit-scrollbar-track,
.tte-quick-view-content::-webkit-scrollbar-track {
  background: transparent;
}

.tte-sidebar-content::-webkit-scrollbar-thumb,
.tte-quick-view-content::-webkit-scrollbar-thumb {
  background: rgba(15, 103, 217, 0.18);
  border-radius: 999px;
}

.tte-sidebar-content::-webkit-scrollbar-thumb:hover,
.tte-quick-view-content::-webkit-scrollbar-thumb:hover {
  background: rgba(15, 103, 217, 0.28);
}

.woocommerce ul.products::before {
    display: none !important;
}


/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1280px) {
  .tte-products-container.grid-view ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 1024px) {
  .tte-shop-wrapper {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .tte-shop-sidebar {
    position: fixed;
    top: 0;
    left: -380px;
    width: 360px;
    height: 100vh;
    max-height: 100vh;
    border-radius: 0;
    z-index: 9998;
    transition: left 0.28s ease;
    box-shadow: 10px 0 32px rgba(13, 50, 118, 0.16);
  }

  .tte-shop-sidebar.active {
    left: 0;
  }

  .tte-sidebar-content {
    max-height: calc(100vh - 100px);
  }

  .tte-close-sidebar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .tte-mobile-filter-toggle {
    display: inline-flex;
  }

  .tte-shop-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .tte-toolbar-right {
    align-items: stretch;
  }

  .tte-shop-toolbar-top {
    justify-content: space-between;
  }
}

@media (max-width: 768px) {
  .tte-shop-wrapper {
    padding: 16px;
  }

  .tte-shop-sidebar {
    width: 100%;
    left: -100%;
  }

  .tte-shop-toolbar {
    padding: 20px;
    border-radius: 24px;
  }

  .tte-shop-title {
    font-size: 30px;
  }

  .tte-shop-subtitle {
    font-size: 15px;
  }

  .tte-shop-toolbar-top {
    flex-wrap: wrap;
  }

  .tte-sort-by select {
    min-width: 100%;
    width: 100%;
  }

  .tte-products-container.grid-view ul.products {
    grid-template-columns: 1fr !important;
  }

  .tte-products-container.list-view ul.products li.product {
    grid-template-columns: 1fr !important;
  }

  .tte-products-container.list-view ul.products li.product .woocommerce-loop-product__link {
    min-height: 220px;
    border-right: none;
    border-bottom: 1px solid rgba(196, 214, 238, 0.45);
  }

  .tte-products-container ul.products li.product .woocommerce-loop-product__link {
    height: 220px;
  }

  .tte-mobile-filter-toggle {
    right: 16px;
    bottom: 86px;
  }

  .tte-quick-view-product {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .tte-quick-view-content {
    padding: 22px;
    border-radius: 22px;
  }

  .tte-shop-notice {
    left: 16px;
    right: 16px;
    min-width: 0;
    max-width: none;
  }
}

@media (max-width: 480px) {
  .tte-shop-wrapper {
    padding: 14px;
  }

  .tte-sidebar-header,
  .tte-sidebar-content {
    padding-left: 16px;
    padding-right: 16px;
  }

  .tte-shop-toolbar {
    padding: 18px;
  }

  .tte-shop-toolbar-top,
  .tte-toolbar-right {
    gap: 12px;
  }

  .tte-view-switcher {
    width: 100%;
    justify-content: center;
  }

  .tte-products-container ul.products li.product .astra-shop-summary-wrap {
    padding: 18px 16px 16px !important;
  }

  .tte-products-container ul.products li.product .woocommerce-loop-product__title,
  .tte-products-container ul.products li.product .woocommerce-loop-product__title a {
    font-size: 18px !important;
  }

  .tte-products-container ul.products li.product .price .amount {
    font-size: 17px;
  }
}