:root {
  --tanya-red: #f10f23;
  --tanya-pink: #ff365d;
  --tanya-dark: #19151a;
  --tanya-soft: #fff5f6;
}

body {
  background: #fff;
  color: #272127;
}

.promo-bar {
  background: linear-gradient(135deg, var(--tanya-red), var(--tanya-pink));
  font-size: 13px;
  letter-spacing: .2px;
}

.main-nav {
  z-index: 1030;
}

.main-nav .navbar-brand img {
  width: 112px;
  height: 67px;
  object-fit: contain;
}

.main-nav .nav-item.active .nav-link {
  color: var(--tanya-red) !important;
}

.top-search {
  position: relative;
}

.top-search .form-control {
  border-color: #eee;
  background: #f8f8f8;
}

.nav-logout-form {
  height: 100%;
  margin: 0;
}

.nav-logout-button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-logout-button:focus {
  outline: 0;
}

.hero-carousel img {
  width: 100%;
  aspect-ratio: 1920 / 650;
  object-fit: cover;
}

.offer-image {
  border-radius: 8px;
  transition: transform .25s ease, box-shadow .25s ease;
}

.offer-image:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0, 0, 0, .1);
}

.section-heading h2 {
  font-size: 28px;
  font-weight: 600;
}

.product-card {
  border: 0;
  transition: transform .25s ease, box-shadow .25s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(35, 20, 24, .12) !important;
}

.product-image-wrap {
  display: block;
  height: 320px;
  overflow: hidden;
  background: #f5f3f3;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.product-card:hover .product-image-wrap img {
  transform: scale(1.035);
}

.product-discount {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  padding: 7px 9px;
}

.product-card .card-title {
  min-height: 38px;
  line-height: 1.45;
}

.product-card-price strong {
  color: var(--tanya-red);
  font-size: 17px;
}

.product-card-price del {
  color: #999;
  margin-left: 6px;
}

.product-card-actions form {
  flex: 0 0 auto;
}

.inner-hero {
  color: #fff;
  background:
    linear-gradient(rgba(34, 14, 22, .72), rgba(34, 14, 22, .72)),
    url('/img/banner-3.jpeg') center/cover;
}

.inner-hero h1 {
  color: #fff;
  font-size: 38px;
  font-weight: 600;
}

.inner-hero.compact h1 {
  font-size: 30px;
}

.filter-bar label {
  color: #352f34;
}

.empty-state {
  max-width: 760px;
  margin: 0 auto;
}

.empty-state > i {
  display: block;
  color: var(--tanya-red);
  font-size: 70px;
  margin-bottom: 20px;
}

.detail-image-wrap {
  height: 600px;
  overflow: hidden;
  border-radius: 8px;
  background: #f4f1f2;
}

.detail-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail-title {
  color: var(--tanya-dark);
  font-size: 36px;
  font-weight: 600;
}

.detail-price span {
  color: var(--tanya-red);
  font-size: 32px;
  font-weight: 700;
}

.detail-price del {
  color: #999;
  font-size: 18px;
  margin-left: 10px;
}

.detail-price strong {
  color: #178c4c;
  margin-left: 10px;
}

.quantity-control {
  display: inline-flex;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
}

.quantity-control button,
.quantity-control input {
  width: 42px;
  height: 42px;
  border: 0;
  background: #fff;
  text-align: center;
}

.quantity-control button {
  cursor: pointer;
  font-size: 20px;
}

.quantity-control input {
  width: 54px;
  border-left: 1px solid #eee;
  border-right: 1px solid #eee;
}

.product-benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.product-benefits > div {
  display: flex;
  align-items: center;
}

.product-benefits > div > i {
  color: var(--tanya-red);
  font-size: 25px;
  margin-right: 9px;
}

.product-benefits span,
.product-benefits small {
  display: block;
}

.product-benefits small {
  color: #888;
}

.product-description {
  white-space: pre-line;
  font-size: 15px;
  line-height: 1.8;
}

.cart-product-image {
  width: 100%;
  height: 105px;
  object-fit: cover;
  border-radius: 6px;
}

.sticky-summary {
  position: sticky;
  top: 112px;
}

.order-summary h3,
.checkout-card h3 {
  color: var(--tanya-dark);
  font-size: 22px;
  font-weight: 600;
}

.total-row {
  font-size: 19px;
}

.checkout-product img {
  width: 62px;
  height: 72px;
  object-fit: cover;
  border-radius: 5px;
}

.payment-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 16px;
}

.payment-option.active {
  border-color: #20a15a;
  background: #f4fff8;
}

.payment-option.disabled {
  opacity: .58;
  background: #f6f6f6;
}

.payment-option > div {
  display: flex;
  align-items: center;
}

.payment-option > div > i {
  color: var(--tanya-red);
  font-size: 26px;
  margin-right: 12px;
}

.payment-option strong,
.payment-option small {
  display: block;
}

.success-card {
  max-width: 700px;
}

.success-icon {
  display: inline-flex;
  width: 88px;
  height: 88px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #fff;
  background: #1ea659;
  font-size: 45px;
}

.order-number-box {
  display: inline-block;
  min-width: 280px;
  padding: 15px 25px;
  border: 1px dashed var(--tanya-red);
  background: var(--tanya-soft);
}

.order-number-box small,
.order-number-box strong {
  display: block;
}

.order-number-box strong {
  color: var(--tanya-red);
  font-size: 20px;
}

.contact-line {
  display: flex;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid #eee;
}

.contact-line > i {
  width: 45px;
  color: var(--tanya-red);
  font-size: 26px;
}

.contact-line strong,
.contact-line a,
.contact-line span {
  display: block;
}

.footer-logo {
  width: 125px;
  height: 72px;
  object-fit: contain;
}

.payment-methods {
  max-height: 28px;
  width: auto;
}

.min-vh-60 {
  min-height: 60vh;
}

.error-code {
  display: block;
  color: var(--tanya-red);
  font-size: 86px;
  line-height: 1;
}

.customer-auth-section {
  min-height: 660px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(rgba(245, 239, 241, .94), rgba(245, 239, 241, .94)),
    url('/img/banner-2.jpeg') center/cover;
}

.customer-auth-card {
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
}

.customer-auth-visual {
  display: flex;
  min-height: 550px;
  align-items: flex-end;
  padding: 45px;
  color: #fff;
  background:
    linear-gradient(rgba(29, 15, 21, .2), rgba(29, 15, 21, .82)),
    url('/img/item/1.jpg') center/cover;
}

.customer-auth-visual.register-visual {
  background:
    linear-gradient(rgba(29, 15, 21, .2), rgba(29, 15, 21, .82)),
    url('/img/item/3.jpg') center/cover;
}

.customer-auth-visual small {
  color: #ffcfda;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.customer-auth-visual h1 {
  margin: 12px 0;
  color: #fff;
  font-size: 34px;
  font-weight: 700;
}

.customer-auth-visual p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

.auth-form-wrap {
  max-width: 520px;
  margin: 0 auto;
}

.auth-form-wrap h2 {
  color: var(--tanya-dark);
  font-size: 29px;
  font-weight: 700;
}

.auth-form-wrap .form-control {
  min-height: 46px;
}

.customer-password-field {
  position: relative;
}

.customer-password-field .form-control {
  padding-right: 48px;
}

.customer-password-field button {
  position: absolute;
  top: 0;
  right: 0;
  width: 46px;
  height: 46px;
  border: 0;
  color: #777;
  background: transparent;
  cursor: pointer;
}

.auth-switch {
  padding-top: 22px;
  text-align: center;
}

.account-profile {
  text-align: center;
}

.account-avatar {
  display: flex;
  width: 82px;
  height: 82px;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
  color: #fff;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--tanya-red), var(--tanya-pink));
  font-size: 34px;
  font-weight: 700;
}

.account-profile h3 {
  margin-bottom: 5px;
  font-weight: 600;
}

.account-section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid #eee;
}

.account-section-heading small {
  color: var(--tanya-red);
  text-transform: uppercase;
  font-weight: 700;
}

.account-section-heading h2 {
  margin: 3px 0 0;
  font-size: 23px;
  font-weight: 600;
}

.account-orders-table th,
.account-orders-table td {
  padding: 15px 18px;
  vertical-align: middle;
  border-color: #eee;
}

.account-orders-table th {
  color: #777;
  background: #fafafa;
  font-size: 11px;
  text-transform: uppercase;
}

.customer-order-status {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: capitalize;
}

.customer-status-pending { color: #a86500; background: #fff0d1; }
.customer-status-confirmed { color: #1768aa; background: #e2f1ff; }
.customer-status-shipped { color: #6547bf; background: #eee9ff; }
.customer-status-delivered { color: #13713f; background: #ddf7e9; }
.customer-status-cancelled { color: #af2635; background: #ffe1e5; }

.empty-account-orders > i {
  color: var(--tanya-red);
  font-size: 55px;
}

@media (max-width: 991.98px) {
  .main-nav .top-search .form-control {
    width: 100%;
  }

  .main-nav .top-search {
    margin: 10px 0 !important;
  }

  .product-image-wrap {
    height: 280px;
  }

  .detail-image-wrap {
    height: 520px;
  }

  .sticky-summary {
    position: static;
  }

  .customer-auth-visual {
    min-height: 310px;
  }
}

@media (max-width: 575.98px) {
  .header-top p {
    display: none;
  }

  .header-top .d-flex {
    justify-content: center !important;
  }

  .main-nav .navbar-brand img {
    width: 90px;
    height: 55px;
  }

  .hero-carousel img {
    aspect-ratio: 16 / 8;
  }

  .section-heading h2 {
    font-size: 21px;
  }

  .section-heading a {
    font-size: 11px;
  }

  .product-image-wrap {
    height: 230px;
  }

  .product-card .card-body {
    padding: 12px !important;
  }

  .product-card-actions {
    display: block !important;
  }

  .product-card-actions .btn {
    width: 100%;
    margin: 0 0 6px !important;
  }

  .product-detail-title {
    font-size: 27px;
  }

  .detail-image-wrap {
    height: 430px;
  }

  .product-benefits {
    grid-template-columns: 1fr;
  }

  .inner-hero h1 {
    font-size: 29px;
  }

  .customer-auth-section {
    padding: 25px 10px !important;
  }

  .customer-auth-visual {
    min-height: 250px;
    padding: 25px;
  }

  .customer-auth-visual h1 {
    font-size: 26px;
  }
}
