/* Shared Wheel Expert treatment for every public page. */
:root {
  --public-navy: #092241;
  --public-navy-deep: #06162a;
  --public-yellow: #fdc82f;
  --public-yellow-dark: #eab308;
  --public-surface: #f4f7fb;
  --public-line: #dbe5ef;
  --public-ink: #102a4a;
  --public-muted: #64748b;
}

body {
  background: var(--public-surface);
  color: var(--public-ink);
}

.home-portfolio-section {
  margin: 2.5rem 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  border: 1px solid var(--public-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 34, 65, .07);
}

.home-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.home-section-kicker {
  display: block;
  margin-bottom: .35rem;
  color: var(--public-yellow-dark);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.home-section-heading h2 {
  margin: 0;
  color: var(--public-navy);
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.35rem, 3vw, 2rem);
  font-weight: 800;
}

.home-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.home-portfolio-card {
  overflow: hidden;
  border: 1px solid var(--public-line);
  border-radius: 10px;
  background: #f8fafc;
}

.home-portfolio-image-link {
  display: block;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #e2e8f0;
}

.home-portfolio-image-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .25s ease;
}

.home-portfolio-card:hover .home-portfolio-image-link img {
  transform: scale(1.04);
}

.home-portfolio-card-body {
  padding: 1rem;
}

.home-portfolio-card-body > span {
  color: var(--public-yellow-dark);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.home-portfolio-card-body h3 {
  margin: .35rem 0;
  font-size: 1rem;
  line-height: 1.25;
}

.home-portfolio-card-body h3 a {
  color: var(--public-navy);
  text-decoration: none;
}

.home-portfolio-card-body h3 a:hover {
  color: var(--public-yellow-dark);
}

.home-portfolio-card-body p {
  margin: 0;
  color: var(--public-muted);
  font-size: .82rem;
  line-height: 1.5;
}

@media (max-width: 767px) {
  .home-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .home-portfolio-grid {
    grid-template-columns: 1fr;
  }
}

/* Shared interaction affordances for public shop and account controls. */
button,
[role="button"],
a.tp-btn-cart,
a.ss-shop-btn,
a.tp-cart-checkout-btn,
.header-cart-pill,
.header-account-pill,
.ss-add-to-cart-btn,
.ss-add-to-wishlist-btn,
.ss-quick-view-btn,
.ss-cart-minus,
.ss-cart-plus,
.ss-cart-item-remove-btn,
.frontend-logout-btn,
.cartmini__del,
.cartmini-open-btn {
  cursor: pointer;
}

button:disabled,
[aria-disabled="true"],
.is-loading {
  cursor: wait;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(253, 200, 47, .55);
  outline-offset: 2px;
}

.ss-add-to-cart-btn,
.ss-add-to-wishlist-btn,
.ss-quick-view-btn,
.ss-cart-item-remove-btn,
.frontend-logout-btn,
.customer-login-submit,
.customer-password-toggle,
.password-show-toggle {
  -webkit-tap-highlight-color: transparent;
}

.ss-add-to-cart-btn:active,
.ss-add-to-wishlist-btn:active,
.ss-quick-view-btn:active,
.frontend-logout-btn:active,
.customer-login-submit:active {
  transform: translateY(1px);
}

.main-content,
.tp-my-acount-area,
.tp-cart-area,
.tp-checkout-area,
.profile__area {
  background: var(--public-surface);
  color: var(--public-ink);
}

.tp-my-acount-area,
.profile__area,
.tp-cart-area,
.tp-checkout-area {
  padding-top: clamp(2.25rem, 6vw, 5.5rem) !important;
  padding-bottom: clamp(3rem, 7vw, 7rem) !important;
}

.profile__tab-content,
.tp-my-acount-wrap,
.tp-cart-list,
.tp-cart-checkout-wrapper,
.tp-checkout-bill-area,
.tp-checkout-payment,
.tp-product-details-wrapper {
  border: 1px solid var(--public-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 34, 65, .07);
}

.profile__tab-content,
.tp-my-acount-wrap {
  padding: clamp(1.25rem, 3vw, 2.5rem);
}

.tp-my-acount-list {
  overflow: hidden;
  border: 1px solid var(--public-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 34, 65, .07);
}

.tp-my-acount-list li a,
.tp-my-acount-list li button {
  color: var(--public-ink);
  transition: background-color .2s ease, color .2s ease;
}

.tp-my-acount-list li a.active,
.tp-my-acount-list li a:hover,
.tp-my-acount-list li button:hover {
  background: var(--public-navy);
  color: var(--public-yellow);
}

.profile__info-title,
.profile__main-info-title,
.tp-checkout-bill-title,
.tp-product-details-title {
  color: var(--public-navy);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 800;
}

.tp-profile-input-box,
.tp-checkout-input,
.tp-login-input-box {
  margin-bottom: 1.1rem;
}

.tp-profile-input-title label,
.tp-checkout-input label,
.tp-login-input-title label {
  color: var(--public-ink);
  font-weight: 800;
}

.tp-profile-input-box input,
.tp-profile-input-box textarea,
.tp-profile-input-box select,
.tp-checkout-input input,
.tp-checkout-input textarea,
.tp-checkout-input select,
.tp-login-input input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--public-line);
  border-radius: 6px;
  background: #fff;
  color: var(--public-ink);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}

.tp-profile-input-box input:focus,
.tp-profile-input-box textarea:focus,
.tp-profile-input-box select:focus,
.tp-checkout-input input:focus,
.tp-checkout-input textarea:focus,
.tp-checkout-input select:focus,
.tp-login-input input:focus {
  border-color: var(--public-yellow-dark);
  box-shadow: 0 0 0 3px rgba(253, 200, 47, .2);
}

.tp-btn-cart,
.ss-shop-btn,
.tp-cart-checkout-btn,
.tp-login-btn,
.tp-checkout-btn {
  border: 0;
  border-radius: 6px;
  background: var(--public-yellow);
  color: var(--public-navy);
  font-weight: 800;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

.tp-btn-cart:hover,
.ss-shop-btn:hover,
.tp-cart-checkout-btn:hover,
.tp-login-btn:hover,
.tp-checkout-btn:hover {
  background: var(--public-navy);
  color: #fff;
  transform: translateY(-1px);
}

.profile__ticket,
.profile__ticket table,
.tp-cart-list table {
  overflow: hidden;
  border-radius: 8px;
}

.profile__ticket thead,
.tp-cart-list thead {
  background: var(--public-navy);
  color: #fff;
}

.profile__ticket tbody tr:hover,
.tp-cart-list tbody tr:hover {
  background: #f8fbff;
}

.dashboard-pagination,
.shop-page-pagination,
.basic-pagination {
  margin-top: 1.5rem;
}

.related-products-section {
  padding-top: 2.5rem !important;
  padding-bottom: 3rem !important;
}

.related-products-section .related-product-col {
  display: flex;
  padding-bottom: 1.5rem;
}

.related-products-section .related-product-col > .product-card-shell {
  width: 100%;
  min-height: 0;
}

.related-products-section .product-card-media {
  height: 210px;
  min-height: 210px;
  aspect-ratio: auto;
  padding: 1rem;
}

.related-products-section .product-card-shell > .p-5 {
  padding: 1rem 1.1rem 1.15rem !important;
}

.related-products-section .product-card-shell .product-card-media + .p-5 {
  gap: .25rem;
}

.tp-product-details-area {
  background: var(--public-surface);
}

.tp-product-details-area .tp-product-details-top {
  padding-top: 2rem !important;
}

.tp-product-details-area .container-1230 {
  width: min(1180px, calc(100% - 2rem));
  max-width: 1180px;
  margin: 0 auto;
}

.tp-product-details-area .tp-product-details-top > .container-1230 > .row {
  align-items: stretch;
  margin-inline: -.75rem;
}

.tp-product-details-area .tp-product-details-top > .container-1230 > .row > [class*="col-"] {
  padding-inline: .75rem;
}

.tp-product-details-area .tp-product-details-thumb-wrapper,
.tp-product-details-area .tp-product-details-wrapper {
  min-height: 430px;
  border: 1px solid var(--public-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(9, 34, 65, .07);
}

.tp-product-details-area .tp-product-details-thumb-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.tp-product-details-area .tp-product-details-nav-main-thumb,
.tp-product-details-area .tp-product-details-slider-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.tp-product-details-area .tp-product-details-nav-main-thumb img,
.tp-product-details-area .tp-product-details-slider-item img,
.tp-product-details-area .product-detail-image-fallback img {
  max-width: 100%;
  max-height: 360px;
  width: auto;
  object-fit: contain;
}

.tp-product-details-area .product-detail-image-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 360px;
  border-radius: 8px;
  background: #f8fafc;
}

.tp-product-details-area .product-detail-image-fallback img {
  width: min(65%, 260px);
  opacity: .8;
}

.tp-product-details-area .tp-product-details-wrapper {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.tp-product-details-area .tp-product-details-title {
  margin: .4rem 0 1rem;
  font-size: clamp(1.5rem, 3vw, 2.3rem);
  line-height: 1.1;
}

.tp-product-details-area .tp-product-details-sort-desc {
  margin: 1rem 0;
  color: var(--public-muted);
  line-height: 1.6;
}

.public-cart-page {
  padding-top: 2.5rem !important;
  padding-bottom: 4rem !important;
}

.public-cart-page > .container {
  width: min(1180px, calc(100% - 2rem));
  max-width: 1180px;
}

.public-cart-page .tp-cart-list {
  margin-right: 0 !important;
  padding: 0;
  overflow-x: auto;
}

.public-cart-page .tp-cart-list table {
  min-width: 680px;
  margin: 0;
}

.public-cart-page .tp-cart-list thead th {
  height: 52px;
  border: 0;
  background: var(--public-navy);
  color: #fff;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
  vertical-align: middle;
  white-space: nowrap;
}

.public-cart-page .tp-cart-list thead .tp-cart-header-product {
  padding-left: 1.25rem;
  text-align: left;
}

.public-cart-page .tp-cart-list thead .tp-cart-header-price,
.public-cart-page .tp-cart-list thead .tp-cart-header-quantity {
  text-align: center;
}

.public-cart-page .tp-cart-list thead th:last-child {
  padding-right: 1.25rem;
}

.public-cart-page .tp-cart-list th,
.public-cart-page .tp-cart-list td {
  padding: 1rem .85rem;
  vertical-align: middle;
}

.public-cart-page .tp-cart-img img {
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 8px;
  background: #f8fafc;
  padding: .35rem;
}

.public-cart-page .tp-cart-title a {
  display: block;
  max-width: 260px;
  color: var(--public-ink);
  font-weight: 800;
  line-height: 1.35;
}

.public-cart-page .tp-cart-title a:hover {
  color: var(--public-yellow-dark);
}

.public-cart-page .tp-product-quantity {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  border: 1px solid var(--public-line);
  border-radius: 6px;
  background: #fff;
}

.public-cart-page .cart-quantity-control {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 116px;
  height: 40px;
  margin: 0 !important;
  padding: 0;
  border: 1px solid var(--public-line);
  border-radius: 6px;
  background: #fff;
  overflow: hidden;
}

.public-cart-page .cart-quantity-control .tp-cart-input {
  display: inline-block !important;
  width: 42px !important;
  min-width: 42px;
  height: 38px !important;
  padding: 0 !important;
  border: 0 !important;
  background: #fff !important;
  color: var(--public-navy) !important;
  font-size: .95rem !important;
  font-weight: 800 !important;
  line-height: 38px !important;
  text-align: center;
  opacity: 1 !important;
  visibility: visible !important;
}

.public-cart-page .cart-quantity-control .tp-cart-minus,
.public-cart-page .cart-quantity-control .tp-cart-plus {
  display: inline-flex !important;
  flex: 0 0 36px;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 38px;
  margin: 0;
  color: var(--public-navy) !important;
  cursor: pointer;
}

.public-cart-page .tp-cart-input {
  width: 42px;
  height: 36px;
  border: 0;
  text-align: center;
  color: var(--public-ink);
}

.public-cart-page .tp-cart-minus,
.public-cart-page .tp-cart-plus {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 36px;
  color: var(--public-navy);
  cursor: pointer;
}

.public-cart-page .tp-cart-minus:hover,
.public-cart-page .tp-cart-plus:hover {
  background: var(--public-yellow);
}

.public-cart-page .tp-cart-checkout-wrapper {
  position: sticky;
  top: 1.5rem;
  padding: 1.25rem;
}

.public-cart-page .tp-cart-checkout-total {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--public-line);
  color: var(--public-navy);
  font-size: 1.1rem;
  font-weight: 900;
}

.public-cart-page .tp-cart-coupon {
  margin-top: 0;
  padding: 1rem;
  border: 1px solid var(--public-line);
  border-radius: 8px;
  background: #fff;
}

.public-cart-page .tp-cart-coupon-input {
  gap: .5rem;
}

.public-cart-page .tp-cart-coupon-input input {
  min-height: 42px;
  border: 1px solid var(--public-line);
  border-radius: 5px;
  padding: 0 .75rem;
}

.public-cart-page .tp-cart-coupon-input button {
  min-height: 42px;
  border: 0;
  border-radius: 5px;
  padding: 0 .9rem;
  background: var(--public-navy);
  color: #fff;
  font-weight: 800;
}

.public-cart-page .tp-cart-coupon-input button:hover {
  background: var(--public-yellow-dark);
  color: var(--public-navy);
}

@media (max-width: 991px) {
  .public-cart-page {
    padding-top: 1.5rem !important;
  }

  .public-cart-page .tp-cart-checkout-wrapper {
    position: static;
    margin-top: 1rem;
  }
}

@media (max-width: 991px) {
  .tp-product-details-area .tp-product-details-thumb-wrapper,
  .tp-product-details-area .tp-product-details-wrapper {
    min-height: 0;
  }

  .tp-product-details-area .tp-product-details-thumb-wrapper {
    margin-bottom: 1rem;
  }
}

@media (max-width: 767px) {
  .related-products-section {
    padding-top: 2rem !important;
  }

  .related-products-section .product-card-media {
    height: 180px;
    min-height: 180px;
  }
}

@media (max-width: 991px) {
  .tp-my-acount-area,
  .profile__area,
  .tp-cart-area,
  .tp-checkout-area {
    padding-top: 2rem !important;
  }

  .tp-my-acount-list {
    margin-bottom: 1.25rem;
  }
}

@media (max-width: 575px) {
  .profile__tab-content,
  .tp-my-acount-wrap,
  .tp-cart-list,
  .tp-cart-checkout-wrapper,
  .tp-checkout-bill-area,
  .tp-checkout-payment {
    border-radius: 8px;
    padding: 1rem;
  }

  .profile__ticket table,
  .tp-cart-list table {
    min-width: 640px;
  }
}
