@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;1,9..40,400&family=Outfit:wght@500;600;700&family=Unbounded:wght@500;600;700&display=swap');

:root {
  --dw-ink: #14171c;
  --dw-muted: #5e6672;
  --dw-paper: #eef1f4;
  --dw-surface: #ffffff;
  --dw-line: rgba(20, 23, 28, 0.1);
  --dw-accent: #c41e3a;
  --dw-accent-dark: #9b1630;
  --dw-steel: #2a4558;
  --dw-radius: 12px;
  --dw-radius-sm: 8px;
  --dw-shadow: 0 12px 40px rgba(20, 23, 28, 0.08);
  --dw-font-display: "Outfit", sans-serif;
  --dw-font-logo: "Unbounded", sans-serif;
  --dw-font-body: "DM Sans", sans-serif;
  --dw-header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--dw-font-body);
  color: var(--dw-ink);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(196, 30, 58, 0.06), transparent 55%),
    radial-gradient(900px 400px at 100% 0%, rgba(42, 69, 88, 0.08), transparent 50%),
    var(--dw-paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

main {
  min-height: 60vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, .dw-display {
  font-family: var(--dw-font-display);
  letter-spacing: -0.02em;
  line-height: 1.15;
}

/* ========== Header ========== */
.dw-header {
  position: sticky;
  top: 0;
  z-index: 1040;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--dw-line);
}

.dw-header .navbar {
  min-height: var(--dw-header-h);
  padding-top: 0.6rem;
  padding-bottom: 0.6rem;
}

.dw-brand {
  font-family: var(--dw-font-logo);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dw-ink) !important;
}

.dw-brand span {
  color: var(--dw-accent);
  background: transparent;
}

.dw-header .nav-link {
  font-weight: 500;
  color: var(--dw-muted) !important;
  padding: 0.45rem 0.85rem !important;
  border-radius: 999px;
  transition: color 0.2s ease, background 0.2s ease;
}

.dw-header .nav-link:hover,
.dw-header .nav-link.active {
  color: var(--dw-ink) !important;
  background: rgba(20, 23, 28, 0.05);
}

.dw-header .dropdown-menu {
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  box-shadow: var(--dw-shadow);
  padding: 0.5rem;
  margin-top: 0.5rem;
}

.dw-header .dropdown-item {
  border-radius: var(--dw-radius-sm);
  padding: 0.45rem 0.75rem;
  font-size: 0.92rem;
}

.dw-header .dropdown-item:hover {
  background: rgba(196, 30, 58, 0.08);
  color: var(--dw-accent);
}

/* Shop mega menu — many categories stay readable */
.dw-shop-menu {
  padding: 0.65rem 0.65rem 0.75rem;
  min-width: 220px;
}

.dw-shop-menu__all {
  margin-bottom: 0.35rem;
  border-bottom: 1px solid var(--dw-line);
  border-radius: var(--dw-radius-sm) var(--dw-radius-sm) 0 0;
  padding-bottom: 0.65rem !important;
}

.dw-shop-menu__scroll {
  max-height: min(70vh, 420px);
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding-right: 0.15rem;
}

.dw-shop-menu__scroll::-webkit-scrollbar {
  width: 6px;
}

.dw-shop-menu__scroll::-webkit-scrollbar-thumb {
  background: rgba(20, 23, 28, 0.18);
  border-radius: 999px;
}

.dw-shop-menu__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.35rem 1rem;
}

.dw-shop-menu__col {
  min-width: 0;
  padding: 0.35rem 0 0.5rem;
  border-bottom: 1px solid rgba(20, 23, 28, 0.06);
}

.dw-shop-menu__col:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.dw-shop-menu__heading {
  font-family: var(--dw-font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dw-muted);
  margin: 0 0 0.25rem;
  padding: 0.2rem 0.75rem 0;
}

.dw-shop-menu__link {
  display: block;
  white-space: normal;
  line-height: 1.35;
  padding: 0.35rem 0.75rem !important;
}

.dw-shop-menu__link--all {
  font-weight: 600;
  color: var(--dw-ink);
}

.dw-search {
  min-width: 200px;
  max-width: 280px;
}

.dw-search .form-control {
  border-radius: 999px;
  border: 1px solid var(--dw-line);
  background: var(--dw-paper);
  padding-left: 1rem;
  font-size: 0.9rem;
}

.dw-search .form-control:focus {
  border-color: var(--dw-steel);
  box-shadow: 0 0 0 3px rgba(42, 69, 88, 0.12);
  background: #fff;
}

.dw-cart-badge {
  font-size: 0.65rem !important;
  min-width: 1.15rem;
  height: 1.15rem;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--dw-accent) !important;
  border: 2px solid #fff;
}

/* ========== Buttons ========== */
.btn-dream {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: var(--dw-accent);
  color: #fff !important;
  padding: 0.75rem 1.4rem;
  font-family: var(--dw-font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 999px;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.25);
}

.btn-dream:hover {
  background: var(--dw-accent-dark);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-dream-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--dw-ink) !important;
  padding: 0.75rem 1.4rem;
  font-weight: 600;
  border: 1.5px solid var(--dw-ink);
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn-dream-outline:hover {
  background: var(--dw-ink);
  color: #fff !important;
}

/* ========== Home Hero ========== */
.dw-hero {
  position: relative;
  min-height: calc(100vh - var(--dw-header-h));
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(105deg, rgba(20, 23, 28, 0.82) 0%, rgba(20, 23, 28, 0.45) 48%, rgba(20, 23, 28, 0.2) 100%),
    linear-gradient(180deg, rgba(20, 23, 28, 0.1) 0%, rgba(20, 23, 28, 0.55) 100%),
    url('/assets/images/images/image4.jpeg') center / cover no-repeat;
  animation: dwHeroIn 0.9s ease both;
}

.dw-hero__inner {
  width: 100%;
  max-width: 36rem;
  padding: 4rem 0 3.5rem;
}

.dw-hero__brand {
  font-family: var(--dw-font-logo);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 3.75rem);
  letter-spacing: -0.035em;
  margin: 0 0 0.85rem;
  line-height: 1.05;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.4);
  animation: dwRise 0.8s 0.12s ease both;
}

.dw-hero__brand span {
  color: var(--dw-accent);
  background: transparent;
}

.dw-hero__headline {
  font-family: var(--dw-font-body);
  font-weight: 500;
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
  letter-spacing: 0;
  line-height: 1.4;
  max-width: 28ch;
  margin: 0 0 0.65rem;
  color: rgba(255, 255, 255, 0.95);
  animation: dwRise 0.8s 0.26s ease both;
}

.dw-hero__text {
  max-width: 36ch;
  color: rgba(255, 255, 255, 0.88);
  margin: 0 0 1.6rem;
  font-size: 1.05rem;
  line-height: 1.55;
  animation: dwRise 0.8s 0.38s ease both;
}

.dw-hero__cta {
  animation: dwRise 0.8s 0.5s ease both;
}

@keyframes dwHeroIn {
  from { opacity: 0; transform: scale(1.03); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes dwRise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Page banner (inner pages) — same type system as home hero */
.hero-banner {
  position: relative;
  padding: 3.25rem 0 2.5rem;
  margin-bottom: 0;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(105deg, rgba(20, 23, 28, 0.9) 0%, rgba(20, 23, 28, 0.7) 55%, rgba(42, 69, 88, 0.55) 100%),
    url('/assets/images/images/image4.jpeg') center / cover no-repeat;
  text-shadow: none;
}

.hero-banner .container {
  text-align: left;
}

.hero-banner h1 {
  font-family: var(--dw-font-body);
  font-size: clamp(1.7rem, 3.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 0.45rem;
  padding-bottom: 0.55rem;
  border-bottom: 2px solid var(--dw-accent);
  display: inline-block;
}

.hero-banner p {
  color: rgba(255, 255, 255, 0.85);
  margin: 0.65rem 0 0;
  max-width: 42ch;
  font-size: 1rem;
}

/* ========== Sections ========== */
.dw-section {
  padding: 3.5rem 0;
}

.dw-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dw-section-head h2,
.dw-section-head h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin: 0;
}

.dw-section-head a {
  color: var(--dw-accent);
  font-weight: 600;
  font-size: 0.92rem;
}

.dw-section-head a:hover {
  text-decoration: underline;
}

/* ========== Product cards ========== */
.product-card {
  margin: 8px;
  background: var(--dw-surface);
  border-radius: var(--dw-radius);
  border: 1px solid var(--dw-line);
  overflow: hidden;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dw-shadow);
}

.product-card img {
  height: 210px;
  object-fit: cover;
  width: 100%;
  display: block;
  background: #e7eaee;
}

.product-card .text-center {
  padding: 0.9rem 0.85rem 1.1rem !important;
  text-align: left !important;
}

.product-card h6 {
  font-family: var(--dw-font-display);
  font-weight: 700;
  font-size: 0.98rem;
  margin-bottom: 0.35rem;
}

.product-card .text-primary,
.product-card p.fw-bold {
  color: var(--dw-ink) !important;
  font-weight: 700 !important;
  margin: 0;
}

.product-card .text-danger {
  color: var(--dw-accent) !important;
}

/* Grid cards */
#productGrid .card,
.col-sm-6 .card,
.col-md-4 .card {
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  overflow: hidden;
  box-shadow: none;
  background: var(--dw-surface);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

#productGrid .card:hover {
  transform: translateY(-4px);
  box-shadow: var(--dw-shadow);
}

.product-card-link {
  cursor: pointer;
}

.product-card-link:hover .card {
  transform: translateY(-4px);
  box-shadow: var(--dw-shadow);
}

.product-card-link .btn-dream {
  pointer-events: none;
}

.product-image-wrapper {
  width: 100%;
  padding-top: 100%;
  position: relative;
  overflow: hidden;
  background: #e8ebef;
}

.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

#productGrid .card:hover .product-image {
  transform: scale(1.04);
}

#productGrid .card-title {
  font-family: var(--dw-font-display);
  font-weight: 700;
}

#productGrid .btn-dream,
.card .btn-dream {
  width: 100%;
  border-radius: var(--dw-radius-sm);
  box-shadow: none;
}

/* Filters */
.filter-category,
.btn-category {
  border-radius: 999px !important;
  border: 1px solid var(--dw-line) !important;
  background: #fff !important;
  color: var(--dw-ink) !important;
  font-weight: 500 !important;
  font-size: 0.82rem !important;
}

button.btn.btn-category.btn-sm.filter-category.active,
.filter-category.active {
  background: var(--dw-ink) !important;
  color: #fff !important;
  border-color: var(--dw-ink) !important;
}

/* Slick */
.slick-slide {
  margin: 0 8px;
}

.slick-list {
  margin: 0 -8px;
  overflow: hidden;
}

.slick-prev-custom,
.slick-next-custom {
  background: #fff;
  border: 1px solid var(--dw-line);
  color: var(--dw-ink);
  font-size: 22px;
  width: 40px;
  height: 40px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  z-index: 5;
  cursor: pointer;
  box-shadow: var(--dw-shadow);
}

.slick-prev-custom { left: -8px; }
.slick-next-custom { right: -8px; }

/* Story / about blocks */
.dw-story {
  padding: 4rem 0;
}

.dw-story + .dw-story {
  padding-top: 0;
}

.dw-story img {
  border-radius: var(--dw-radius);
  width: 100%;
  object-fit: cover;
  min-height: 320px;
  box-shadow: var(--dw-shadow);
}

.dw-story h3 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  margin-bottom: 1rem;
}

.dw-story ul li {
  margin-bottom: 0.45rem;
  color: var(--dw-muted);
}

.dw-story .bi {
  color: var(--dw-accent) !important;
}

/* Product detail */
.main-image img {
  max-height: 440px;
  width: 100%;
  object-fit: contain;
  background: #fff;
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  padding: 1rem;
}

.thumb-img {
  width: 76px;
  height: 76px;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: var(--dw-radius-sm);
  transition: border-color 0.2s ease;
}

.thumb-img:hover,
.thumb-img.active {
  border-color: var(--dw-accent);
}

.variant-btn {
  border-radius: 999px !important;
  border-color: var(--dw-line) !important;
}

.variant-btn.active {
  background: var(--dw-ink) !important;
  border-color: var(--dw-ink) !important;
  color: #fff !important;
}

#productPrice {
  color: var(--dw-ink) !important;
  font-family: var(--dw-font-display);
}

/* Forms / cards on cart checkout contact */
.card {
  border: 1px solid var(--dw-line);
  border-radius: var(--dw-radius);
  box-shadow: none;
  background: var(--dw-surface);
}

.form-control,
.form-select {
  border-radius: var(--dw-radius-sm);
  border-color: var(--dw-line);
  padding: 0.65rem 0.85rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--dw-steel);
  box-shadow: 0 0 0 3px rgba(42, 69, 88, 0.12);
}

.table {
  --bs-table-bg: transparent;
}

.table > :not(caption) > * > * {
  padding: 0.9rem 0.75rem;
}

/* Footer */
.dw-footer {
  background: var(--dw-ink);
  color: rgba(255, 255, 255, 0.78);
  padding: 3rem 0 1.5rem;
  margin-top: 3rem;
}

.dw-footer__brand {
  font-family: var(--dw-font-logo);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 0.5rem;
}

.dw-footer__brand span {
  color: var(--dw-accent);
  background: transparent;
}

.dw-footer a {
  color: rgba(255, 255, 255, 0.78);
}

.dw-footer a:hover {
  color: #fff;
}

.dw-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
  padding-top: 1.25rem;
  font-size: 0.88rem;
}

.dw-contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(196, 30, 58, 0.08);
  color: var(--dw-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

/* ========== Shop filter panel ========== */
.dw-filter-panel {
  position: sticky;
  top: calc(var(--dw-header-h) + 12px);
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  padding: 1.25rem;
}

.dw-filter-block {
  padding-bottom: 1.1rem;
  margin-bottom: 1.1rem;
  border-bottom: 1px solid var(--dw-line);
}

.dw-filter-block h6 {
  font-family: var(--dw-font-display);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
}

.dw-filter-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dw-muted);
  margin-bottom: 0.4rem;
}

.dw-swatch {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1px solid rgba(0,0,0,0.15);
  display: inline-block;
}

.dw-shop-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
}

.dw-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--dw-line);
  font-size: 0.8rem;
  font-weight: 600;
}

.dw-chip--accent {
  background: var(--dw-ink);
  color: #fff;
  border-color: var(--dw-ink);
}

/* ========== Premium product cards ========== */
.dw-product-card {
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}

.product-card-link:hover .dw-product-card {
  transform: translateY(-6px);
  box-shadow: 0 18px 50px rgba(20, 23, 28, 0.12);
  border-color: transparent;
}

.dw-product-card__media {
  aspect-ratio: 1 / 1;
  background: linear-gradient(160deg, #f4f6f8, #e6eaef);
  overflow: hidden;
}

.dw-product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card-link:hover .dw-product-card__media img {
  transform: scale(1.06);
}

.dw-product-card__body {
  padding: 1rem 1rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.dw-product-card__title {
  font-family: var(--dw-font-body);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  line-height: 1.3;
  letter-spacing: 0;
}

.dw-product-card__price {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.dw-price-now {
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--dw-ink);
}

.dw-price-was {
  font-size: 0.86rem;
  color: var(--dw-muted);
  text-decoration: line-through;
}

.dw-product-card__cta {
  margin-top: auto;
  padding-top: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--dw-accent);
  letter-spacing: 0.02em;
}

.product-card-link:hover .dw-product-card__cta {
  text-decoration: underline;
}

/* ========== Product detail ========== */
.dw-pdp-gallery {
  position: sticky;
  top: calc(var(--dw-header-h) + 16px);
}

.dw-pdp-main {
  background: linear-gradient(160deg, #f7f8fa, #e8ecf1);
  border: 1px solid var(--dw-line);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 0.85rem;
}

.dw-pdp-main img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
}

.dw-pdp-thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.dw-pdp-eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--dw-accent);
  margin-bottom: 0.4rem;
}

.dw-pdp-title {
  font-family: var(--dw-font-body);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.25;
  margin-bottom: 0.65rem;
}

.dw-pdp-desc {
  color: var(--dw-muted);
  margin-bottom: 1.1rem;
}

.dw-pdp-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 0.5rem;
}

.dw-pdp-price .dw-price-now {
  font-family: var(--dw-font-body);
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--dw-ink);
}

.dw-pdp-selected {
  margin-bottom: 1.25rem;
  color: var(--dw-muted);
  font-size: 0.95rem;
}

.dw-pdp-selected strong {
  color: var(--dw-ink);
}

.variant-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.7rem 1rem !important;
  border-radius: 999px !important;
  border: 1px solid var(--dw-line) !important;
  background: #fff !important;
  color: var(--dw-ink) !important;
  font-size: 0.9rem !important;
  font-weight: 600 !important;
}

.variant-btn small {
  display: none;
}

.variant-btn.active {
  background: var(--dw-ink) !important;
  border-color: var(--dw-ink) !important;
  color: #fff !important;
}

.variant-btn.active small {
  display: none;
}

.dw-qty {
  width: 90px;
}

.dw-tabs .nav-link {
  border: none !important;
  border-radius: 999px !important;
  color: var(--dw-muted);
  font-weight: 600;
  padding: 0.55rem 1rem;
}

.dw-tabs .nav-link.active {
  background: var(--dw-ink) !important;
  color: #fff !important;
}

.dw-tabs .tab-content {
  color: var(--dw-muted);
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 28px;
  line-height: 56px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
  z-index: 9999;
  transition: transform 0.25s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  color: #fff;
}

#searchResults {
  border-radius: var(--dw-radius) !important;
  border: 1px solid var(--dw-line) !important;
  box-shadow: var(--dw-shadow) !important;
  overflow: hidden;
}

#searchResults a {
  display: flex;
  align-items: center;
  padding: 10px 12px;
  text-decoration: none;
  color: var(--dw-ink);
}

#searchResults a:hover {
  background: var(--dw-paper);
}

.blink {
  animation: blinker 6s linear infinite;
}

@keyframes blinker {
  50% { opacity: 0; }
}

small.text-muted.blink {
  color: var(--dw-accent) !important;
}

.navbar .dropdown-toggle::after {
  display: none;
}

@media (max-width: 991.98px) {
  .dw-search {
    max-width: none;
    width: 100%;
    margin-bottom: 0.75rem;
  }

  .dw-header .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: var(--dw-radius);
    border: 1px solid var(--dw-line);
    margin-top: 0.5rem;
  }

  .dw-shop-menu {
    position: static !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    margin-top: 0.35rem;
    box-shadow: none;
    border: 1px solid var(--dw-line);
  }

  .dw-shop-menu__scroll {
    max-height: min(55vh, 360px);
  }

  .dw-shop-menu__grid {
    grid-template-columns: 1fr;
  }

  .dw-hero {
    min-height: 72vh;
  }

  .dw-hero__inner {
    padding: 3rem 0 2.5rem;
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: hidden;
  }

  .product-card img {
    height: 170px;
  }

  .slick-prev-custom,
  .slick-next-custom {
    width: 34px;
    height: 34px;
    font-size: 18px;
    line-height: 32px;
  }
}

@media (min-width: 992px) {
  .dw-header .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .dw-shop-menu {
    width: min(720px, calc(100vw - 2rem));
    max-width: min(720px, calc(100vw - 2rem));
    right: 0;
    left: auto;
    padding: 0.85rem 1rem 1rem;
  }

  .dw-shop-menu__scroll {
    max-height: min(68vh, 480px);
  }

  .dw-shop-menu__grid {
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 0.85rem 1.35rem;
    align-items: start;
  }

  .dw-shop-menu__col {
    border-bottom: 0;
    padding: 0.15rem 0;
  }
}

/* ========== Auth pages ========== */
.dw-auth {
  min-height: calc(100vh - var(--dw-header-h) - 120px);
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background:
    radial-gradient(900px 420px at 0% 0%, rgba(196, 30, 58, 0.08), transparent 55%),
    radial-gradient(700px 360px at 100% 100%, rgba(42, 69, 88, 0.1), transparent 50%);
}

.dw-auth-card {
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 20px;
  padding: 2rem 1.75rem;
  box-shadow: var(--dw-shadow);
  animation: dwRise 0.55s ease both;
}

.dw-auth-card__brand {
  font-family: var(--dw-font-logo);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.dw-auth-card__brand span {
  color: var(--dw-accent);
}

.dw-auth-card__title {
  font-family: var(--dw-font-display);
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.dw-auth-card__sub {
  color: var(--dw-muted);
  margin-bottom: 1.5rem;
}

.dw-auth-note {
  background: rgba(196, 30, 58, 0.08);
  color: var(--dw-accent-dark);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  margin-bottom: 1rem;
}

.dw-auth-form .form-control {
  border-radius: 10px;
  padding: 0.7rem 0.9rem;
  border-color: var(--dw-line);
}

.dw-auth-form .form-control:focus {
  border-color: rgba(196, 30, 58, 0.45);
  box-shadow: 0 0 0 3px rgba(196, 30, 58, 0.12);
}

.dw-auth-switch {
  text-align: center;
  margin: 1.35rem 0 0;
  color: var(--dw-muted);
  font-size: 0.95rem;
}

.dw-auth-switch a {
  color: var(--dw-accent);
  font-weight: 600;
}

/* ========== Header account ========== */
.dw-login-icon i {
  font-size: 1.2rem;
  vertical-align: -1px;
}

.dw-user-trigger {
  display: inline-flex !important;
  align-items: center;
}

.dw-user-avatar {
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--dw-ink);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
}

.dw-account-dropdown {
  min-width: 200px;
  border-radius: 12px;
  border: 1px solid var(--dw-line);
  box-shadow: var(--dw-shadow);
  padding: 0.4rem;
}

.dw-account-dropdown .dropdown-item {
  border-radius: 8px;
  font-weight: 500;
}

/* ========== Account dashboard ========== */
.dw-account-nav {
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  padding: 1.15rem;
  position: sticky;
  top: calc(var(--dw-header-h) + 12px);
}

.dw-account-nav__user {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
  margin-bottom: 0.75rem;
  border-bottom: 1px solid var(--dw-line);
}

.dw-account-nav__avatar {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--dw-ink), var(--dw-steel));
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.dw-account-nav__name {
  font-weight: 700;
  line-height: 1.2;
}

.dw-account-nav__meta {
  font-size: 0.8rem;
  color: var(--dw-muted);
  word-break: break-all;
}

.dw-account-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dw-account-nav__link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  color: var(--dw-muted);
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dw-account-nav__link:hover,
.dw-account-nav__link.is-active {
  background: rgba(196, 30, 58, 0.08);
  color: var(--dw-accent);
}

.dw-account-nav__logout {
  color: #a33 !important;
}

.dw-account-welcome h2 {
  font-family: var(--dw-font-display);
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.dw-account-welcome p {
  color: var(--dw-muted);
  margin-bottom: 0;
}

.dw-account-stat {
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 14px;
  padding: 1.1rem 1.2rem;
  height: 100%;
}

.dw-account-stat__label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--dw-muted);
  margin-bottom: 0.35rem;
}

.dw-account-stat__value {
  font-family: var(--dw-font-display);
  font-size: 1.55rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.dw-account-stat__value--sm {
  font-size: 1.15rem;
}

.dw-account-panel {
  background: var(--dw-surface);
  border: 1px solid var(--dw-line);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
}

.dw-account-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.dw-account-panel__head h3 {
  font-family: var(--dw-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0;
}

.dw-account-panel__head a {
  color: var(--dw-accent);
  font-weight: 600;
  font-size: 0.9rem;
}

.dw-account-order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--dw-line);
  color: inherit;
}

.dw-account-order-row:first-of-type {
  border-top: 0;
}

.dw-account-order-row:hover {
  color: var(--dw-accent);
}

.dw-account-back {
  color: var(--dw-muted);
  font-weight: 500;
}

.dw-account-back:hover {
  color: var(--dw-accent);
}

.dw-account-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}

.dw-account-timeline li {
  position: relative;
  padding: 0 0 1.1rem 1.1rem;
  border-left: 2px solid var(--dw-line);
  margin-left: 0.35rem;
}

.dw-account-timeline li:last-child {
  padding-bottom: 0;
}

.dw-account-timeline li::before {
  content: "";
  position: absolute;
  left: -6px;
  top: 0.35rem;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--dw-accent);
}

.dw-account-table thead th {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--dw-muted);
  border-bottom-color: var(--dw-line);
}

.dw-checkout-account {
  background: rgba(196, 30, 58, 0.04);
  border: 1px solid var(--dw-line);
  border-radius: 14px;
  padding: 1.15rem 1.2rem;
}

.dw-checkout-card {
  border-radius: 16px;
  border: 1px solid var(--dw-line);
}

/* ========== Error pages ========== */
.dw-error {
  min-height: calc(100vh - var(--dw-header-h) - 180px);
  display: flex;
  align-items: center;
  padding: 4rem 0;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(196, 30, 58, 0.08), transparent 55%),
    radial-gradient(700px 360px at 100% 80%, rgba(42, 69, 88, 0.1), transparent 50%);
}

.dw-error__inner {
  max-width: 34rem;
  margin: 0 auto;
  text-align: center;
  animation: dwRise 0.6s ease both;
}

.dw-error__brand {
  font-family: var(--dw-font-logo);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.dw-error__brand span {
  color: var(--dw-accent);
}

.dw-error__code {
  font-family: var(--dw-font-display);
  font-size: clamp(4.5rem, 12vw, 7rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: var(--dw-ink);
  margin: 0 0 0.75rem;
  opacity: 0.12;
}

.dw-error__title {
  font-family: var(--dw-font-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.65rem;
}

.dw-error__text {
  color: var(--dw-muted);
  margin: 0 auto 1.75rem;
  max-width: 36ch;
}

.dw-error__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

@media (max-width: 991px) {
  .dw-account-nav {
    position: static;
  }

  .dw-account-nav__links {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .dw-account-nav__link {
    flex: 1 1 auto;
  }
}
