:root {
  --shopus-accent: #AE1C9A;
  --shopus-nav: rgba(174, 28, 154, 0.08);
  --shopus-btn: #AE1C9A;
}

.header-top-section,
.header-two .header-top-section {
  background: var(--shopus-nav) !important;
}

.header-bottom,
.dropdown-btn,
.shop-btn,
a.shop-btn {
  background-color: var(--shopus-btn) !important;
  background: var(--shopus-btn) !important;
}

.shop-btn,
.shop-btn:hover,
.view,
.product-details:hover,
.wrapper-inner-title {
  color: inherit;
}

.shop-btn {
  color: #fff !important;
}

.t4-page {
  padding: 40px 0 12rem;
}

.footer {
  background-image: url("/theme4/assets/images/homepage-one/footer-bg.webp") !important;
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  background-color: #111;
}

.t4-page h1,
.t4-page h2 {
  margin-bottom: 16px;
}

.t4-checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.t4-checkout-grid .full {
  grid-column: 1 / -1;
}

.t4-checkout-grid input,
.t4-checkout-grid textarea,
.t4-checkout-grid select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.t4-cart-table {
  width: 100%;
}

.t4-cart-table td,
.t4-cart-table th {
  padding: 12px;
  vertical-align: middle;
}

.t4-cart-table img {
  width: 70px;
  height: 70px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .t4-checkout-grid {
    grid-template-columns: 1fr;
  }
}

.t4-review-summary {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.4rem;
}
.t4-review-summary a {
  color: #232532;
  text-decoration: underline;
}
.t4-stars {
  display: inline-flex;
  gap: 2px;
  vertical-align: middle;
}
.t4-reviews {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.t4-review-card {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}
.t4-review-card__head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}
.t4-review-card__head strong { font-size: 1.6rem; }
.t4-review-card__head small { color: #797979; font-size: 1.2rem; }
.t4-review-card p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin: 0;
  color: #232532;
}
.t4-review-empty,
.t4-review-note {
  font-size: 1.4rem;
  color: #797979;
  margin: 8px 0 16px;
}
.t4-review-flash {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.t4-review-flash.is-success { background: #e4f5ef; color: #0c5132; }
.t4-review-flash.is-error { background: #fbeae5; color: #d72c0d; }
.t4-review-form { margin-top: 32px; }
.t4-review-form .shop-btn { border: 0; cursor: pointer; }

.t4-tags {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid #eee;
}
.t4-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-height: 280px;
  overflow: auto;
  padding-bottom: 4px;
}
.t4-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3f3f3;
  color: #232532;
  font-size: 1.3rem;
  line-height: 1.3;
  text-decoration: none;
}
.t4-tag:hover {
  background: #232532;
  color: #fff;
}

.header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background: #fff;
  box-shadow: 0 8px 24px rgba(35, 37, 50, 0.08);
}

.header-sticky-spacer {
  width: 100%;
}

.header-sticky .header-center {
  padding: 1rem 0;
}

.header-sticky .logo img,
.header-sticky .mobile-header-logo img {
  max-height: 52px;
  width: auto;
  object-fit: contain;
}

.header-marquee {
  background: linear-gradient(90deg, #5b9fd4 0%, #1a1a1a 55%, #111 100%);
  overflow: hidden;
  white-space: nowrap;
}

.header-marquee__inner {
  overflow: hidden;
}

.header-marquee__track {
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0.75rem 0;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  white-space: nowrap;
  animation: t4-marquee 32s linear infinite;
  width: max-content;
}

.header-marquee__track--plain {
  display: inline-block;
}

.header-marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 1.8rem;
}

.header-marquee__icon {
  font-size: 1.45rem;
  line-height: 1;
}

.header-marquee__text {
  line-height: 1.2;
}

@keyframes t4-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.product-wrapper,
.best-product .product-wrapper {
  height: auto !important;
  min-height: 0;
  padding-bottom: 5rem !important;
}

.product-wrapper .product-img {
  height: 22rem;
}

.best-product .product-wrapper .product-img {
  height: 20rem;
}

.product-wrapper .product-info,
.best-product .best-product-section .product-info {
  margin: 1.2rem 1.4rem 0.8rem;
}

.product-wrapper .product-details,
.product-wrapper a.product-details,
.best-product .best-product-section .product-info .product-details {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-size: 1.45rem !important;
  font-weight: 600;
  line-height: 1.35;
  color: #232532;
}

.t4-page .section-title h5 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.25;
}

.product.product-info.t4-page h1 {
  font-size: 2.8rem;
  line-height: 1.25;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.product.product-info.t4-page .new-price {
  font-size: 2.2rem;
  font-weight: 700;
}

.t4-page .no-style h2,
.product.product-info.t4-page .no-style h2 {
  font-size: 2rem;
  line-height: 1.3;
  margin: 1.6rem 0 0.8rem;
}

.t4-page .no-style h3,
.product.product-info.t4-page .no-style h3 {
  font-size: 1.7rem;
  line-height: 1.35;
  margin: 1.2rem 0 0.6rem;
}

@media (max-width: 767px) {
  .product-wrapper .product-img,
  .best-product .product-wrapper .product-img {
    height: 22rem;
  }

  .product-wrapper .product-details,
  .product-wrapper a.product-details,
  .best-product .best-product-section .product-info .product-details {
    font-size: 1.4rem !important;
  }

  .t4-page .section-title h5 {
    font-size: 2rem;
  }

  .product.product-info.t4-page h1 {
    font-size: 2.2rem;
  }

  .header-marquee__track {
    font-size: 1.2rem;
    padding: 0.7rem 0;
  }

  .header-sticky .mobile-header-logo img {
    max-height: 40px;
  }
}

/* Header mini-cart — ShopUS cart.html alignment */
.header-center .header-cart-items .header-cart .cart-submenu {
  left: -15rem !important;
}
.header-center .header-cart-items .header-cart.show-cart .cart-submenu {
  opacity: 1;
  visibility: visible;
}
.header-cart-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 0;
}
.header-cart-icon-wrap .t4-cart-count,
.mobile-menu-header .t4-cart-count {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 1.6rem;
  height: 1.6rem;
  padding: 0 0.35rem;
  border-radius: 999px;
  background: var(--shopus-accent, #AE1C9A);
  color: #fff !important;
  font-size: 1rem;
  line-height: 1.6rem;
  text-align: center;
  font-weight: 700;
  pointer-events: none;
}
.header-center .header-cart-items .header-cart .cart-submenu .close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
}
.header-center .header-cart-items .header-cart .cart-submenu .close-btn svg {
  width: 1rem;
  height: 1rem;
  fill: #aaa;
}
/* Do not paint SVG badge circles with button background */
.header .cart-item circle {
  background: transparent !important;
}

/* Cart / checkout ShopUS polish */
.product-cart .cart-section table,
.checkout .checkout-section {
  width: 100%;
}
.product-cart .wishlist-btn.cart-btn {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}
.product-cart .wishlist-btn.cart-btn .clean-btn {
  background: transparent;
  color: #232532;
  text-decoration: underline;
  padding: 1rem 0;
}
.checkout .payment-type .checkbox-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.2rem;
}
.checkout .payment-type .checkbox-item input {
  margin-top: 0.4rem;
}
.checkout .order-summery .shop-btn {
  margin-top: 1.5rem;
}
.product-cart .quantity {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #eee;
  border-radius: 0.8rem;
  padding: 0.6rem 1rem;
  user-select: none;
}
.product-cart .quantity .minus,
.product-cart .quantity .plus {
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}
.checkout .checkout-wrapper > .shop-btn {
  margin-bottom: 1.5rem;
  display: inline-flex;
}

