/* ==========================================================================
   Iraithondan — Core Stylesheet
   Palette: deep maroon/espresso + antique gold on warm ivory
   Type: "Cormorant Garamond" (display/serif) + "Poppins" (body/UI)
   ========================================================================== */

:root {
  /* -- Color tokens -- */
  --df-ink: #241108;
  /* near-black espresso for headers/footer */
  --df-ink-soft: #3a1e10;
  --df-maroon: #7a1620;
  /* primary brand maroon */
  --df-maroon-dark: #5c0f17;
  --df-gold: #c9972f;
  /* antique gold accent */
  --df-gold-light: #e6c878;
  --df-cream: #faf5ea;
  /* page background */
  --df-cream-deep: #f2e9d8;
  --df-paper: #ffffff;
  --df-text: #2b1a10;
  --df-text-muted: #7a6a5a;
  --df-border: #e7dcc7;
  --df-success: #3f7a4d;

  /* -- Type -- */
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, sans-serif;

  /* -- Radius / shadow -- */
  --radius-sm: 4px;
  --radius-md: 8px;
  --shadow-card: 0 2px 14px rgba(36, 17, 8, 0.08);
  --shadow-card-hover: 0 10px 28px rgba(36, 17, 8, 0.16);

  /* -- Motion -- */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
  --dur-fast: 160ms;
  --dur-med: 320ms;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--df-text);
  background: var(--df-cream);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
select {
  font-family: inherit;
}

h1,
h2,
h3,
h4,
.font-display {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--df-ink);
}

.df-emblem {
  display: block;
}

:focus-visible {
  outline: 2px solid var(--df-gold);
  outline-offset: 2px;
}

.container-df {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 56px 0;
}

.section-title {
  font-size: clamp(1.7rem, 2.4vw, 2.3rem);
  text-align: center;
  margin: 0 0 8px;
}

.section-sub {
  text-align: center;
  color: var(--df-text-muted);
  font-size: .95rem;
  margin: 0 0 36px;
}



/* ==========================================================================
   Top utility bar
   ========================================================================== */

.df-topbar {
  background: var(--df-ink);
  color: #d9c9b0;
  font-size: .78rem;
}

.df-topbar .container-df {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 34px;
}

.df-topbar a {
  color: #d9c9b0;
  opacity: .9;
  transition: opacity var(--dur-fast);
}

.df-topbar a:hover {
  opacity: 1;
  color: var(--df-gold-light);
}

.df-topbar .topbar-links {
  display: flex;
  gap: 20px;
}

.df-topbar .topbar-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

#df-nav-slot {
  position: sticky;
  top: 0;
  z-index: 9999;
  width: 100%;
  background: #fff;
}

#df-nav-slot .df-topbar,
#df-nav-slot .df-header {
  width: 100%;
}

/* ==========================================================================
   Main nav
   ========================================================================== */
.df-header {

  z-index: 200;
  background: var(--df-paper);
  border-bottom: 1px solid var(--df-border);
}

.df-header-row {
  display: flex;
  align-items: center;
  gap: 150px;
  padding: 14px 26px;
}

.df-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.df-logo .df-logo-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, var(--df-gold-light), var(--df-gold) 60%, var(--df-maroon-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--df-ink);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
}

.df-logo .df-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  line-height: 1.05;
  color: var(--df-ink);
}

.df-logo .df-logo-text span {
  display: block;
  font-size: .85rem;
  letter-spacing: .04em;
  color: var(--df-maroon);
  font-family: var(--font-body);
  font-weight: 500;
}

.df-search {
  flex: 1;
  position: relative;
  max-width: 620px;
}

.df-search input {
  width: 100%;
  padding: 11px 46px 11px 18px;
  border: 1px solid var(--df-border);
  border-radius: 999px;
  background: var(--df-cream);
  font-size: .92rem;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
}

.df-search input:focus {
  outline: none;
  border-color: var(--df-gold);
  box-shadow: 0 0 0 3px rgba(201, 151, 47, .15);
  background: var(--df-paper);
}

.df-search button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--df-maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.df-search button:hover {
  background: var(--df-maroon-dark);
  transform: translateY(-50%) scale(1.06);
}

.df-header-icons {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-shrink: 0;
}

.df-icon-btn {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--df-ink);
  font-size: 1.15rem;
  transition: background var(--dur-fast), color var(--dur-fast), transform var(--dur-fast);
}

.df-icon-btn:hover {
  background: var(--df-cream-deep);
  color: var(--df-maroon);
  transform: translateY(-2px);
}

.df-icon-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--df-maroon);
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  min-width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 3px;
  transition: transform var(--dur-fast);
}

.df-icon-btn.pulse .df-icon-badge {
  animation: df-badge-pop .4s var(--ease-out);
}

@keyframes df-badge-pop {
  0% {
    transform: scale(0);
  }

  60% {
    transform: scale(1.3);
  }

  100% {
    transform: scale(1);
  }
}

/* Primary nav row with dropdowns */
.df-nav {
  background: var(--df-ink);
}

.df-nav-list {
  display: flex;
  align-items: center;
  gap: 36px;

}

.df-nav-item {
  position: relative;
}

.df-nav-link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 13px 16px;
  color: #eaddc5;
  font-size: .86rem;
  font-weight: 500;
  letter-spacing: .01em;
  transition: color var(--dur-fast);
  white-space: nowrap;
}

.df-nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 2px;
  background: var(--df-gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-med) var(--ease-out);
}

.df-nav-link:hover,
.df-nav-link.active {
  color: var(--df-gold-light);
}

.df-nav-link:hover::after,
.df-nav-link.active::after {
  transform: scaleX(1);
}

.df-nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  border: none;
  background: transparent;
  color: var(--df-ink);
  font-size: 1.3rem;
}

/* ==========================================================================
   Breadcrumb
   ========================================================================== */
.df-breadcrumb {
  padding: 12px 0;
  font-size: .82rem;
  color: var(--df-text-muted);
  border-bottom: 1px solid var(--df-border);
}

.df-breadcrumb a {
  transition: color var(--dur-fast);
}

.df-breadcrumb a:hover {
  color: var(--df-maroon);
}

.df-breadcrumb i {
  font-size: .65rem;
  margin: 0 8px;
  vertical-align: middle;
}

/* =========================================================
   RESPONSIVE HEADER & NAVIGATION
   ========================================================= */

/* ---------- Large Desktop ---------- */
@media (max-width: 1400px) {

  .df-header-row {
    gap: 60px;
    padding: 14px 24px;
  }

  .df-nav-list {
    gap: 20px;
  }

  .df-nav-link {
    padding: 13px 10px;
    font-size: .84rem;
  }
}


/* ---------- Tablet / Small Laptop ---------- */
@media (max-width: 1100px) {

  .df-header-row {
    gap: 30px;
    padding: 12px 20px;
  }

  .df-logo .df-logo-text {
    font-size: 1.15rem;
  }

  .df-logo .df-logo-text span {
    font-size: .75rem;
  }

  .df-logo .df-logo-mark {
    width: 38px;
    height: 38px;
    font-size: 1rem;
  }

  .df-search {
    max-width: 450px;
  }

  .df-header-icons {
    gap: 10px;
  }

  .df-nav-list {
    gap: 8px;
    justify-content: center;
  }

  .df-nav-link {
    padding: 12px 7px;
    font-size: .78rem;
  }
}


/* ---------- Tablet ---------- */
@media (max-width: 900px) {

  .df-topbar .container-df {
    height: auto;
    min-height: 34px;
    padding: 7px 20px;
  }

  .df-topbar .container-df>span {
    font-size: .72rem;
  }

  .df-topbar .topbar-links {
    gap: 12px;
    font-size: .7rem;
  }

  .df-header-row {
    gap: 20px;
    padding: 12px 18px;
  }

  .df-search {
    max-width: none;
  }

  .df-nav-list {
    gap: 4px;
  }

  .df-nav-link {
    padding: 11px 6px;
    font-size: .74rem;
  }
}


/* ---------- Mobile ---------- */
@media (max-width: 768px) {

  /* Topbar */
  .df-topbar .container-df {
    height: 32px;
    padding: 5px 16px;
    color: #f4ead6;
  }

  .df-topbar .container-df>span {
    font-size: .68rem;
  }

  .df-topbar .topbar-links {
    display: none;
  }


  /* Header */
  .df-header-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px 16px;
  }

  /* Logo */
  .df-logo {
    flex: 1;
    min-width: 0;
  }

  .df-logo .df-logo-mark {
    width: 36px;
    height: 36px;
    font-size: .95rem;
  }

  .df-logo .df-logo-text {
    font-size: 1.05rem;
  }

  .df-logo .df-logo-text span {
    font-size: .68rem;
  }


  /* Icons */
  .df-header-icons {
    gap: 4px;
  }

  .df-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .df-nav-toggle {
    display: flex;
  }


  /* Search moves to second row */
  .df-search {
    order: 3;
    flex: 0 0 100%;
    max-width: none;
    width: 100%;
  }

  .df-search input {
    padding: 10px 44px 10px 15px;
    font-size: .84rem;
  }

  .df-search button {
    width: 32px;
    height: 32px;
  }


  /* Mobile Navigation */
  .df-nav {
    display: none;
  }

  .df-nav.open {
    display: block;
  }

  .df-nav .container-df {
    padding: 0;
  }

  .df-nav-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }

  .df-nav-item {
    width: 100%;
  }

  .df-nav-link {
    width: 100%;
    padding: 13px 20px;
    font-size: .86rem;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  .df-nav-link::after {
    left: 20px;
    right: auto;
    bottom: 7px;
    width: 35px;
  }
}


/* ---------- Small Mobile ---------- */
@media (max-width: 480px) {

  .df-topbar .container-df {
    justify-content: center;
  }

  .df-topbar .container-df>span {
    font-size: .65rem;
  }

  .df-header-row {
    padding: 10px 12px;
  }

  .df-logo {
    gap: 7px;
  }

  .df-logo .df-logo-mark {
    width: 34px;
    height: 34px;
  }

  .df-logo .df-logo-text {
    font-size: .95rem;
  }

  .df-logo .df-logo-text span {
    font-size: .62rem;
  }

  .df-header-icons {
    gap: 1px;
  }

  .df-icon-btn {
    width: 34px;
    height: 34px;
  }

  .df-nav-toggle {
    width: 34px;
    height: 34px;
  }

  .df-search input {
    font-size: .78rem;
  }
}


/* ---------- Very Small Phones ---------- */
@media (max-width: 360px) {

  .df-logo .df-logo-text {
    font-size: .85rem;
  }

  .df-logo .df-logo-text span {
    display: none;
  }

  .df-logo .df-logo-mark {
    width: 32px;
    height: 32px;
  }

  .df-icon-btn {
    width: 31px;
    height: 31px;
  }

  .df-nav-toggle {
    width: 31px;
    height: 31px;
  }
}

/* =========================================================
   RESPONSIVE FOOTER
   ========================================================= */

/* ---------- Large Desktop ---------- */
@media (max-width: 1200px) {

  .df-features-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }

  .df-footer-main {
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 35px;
  }

  .df-footer-col p {
    font-size: .88rem;
  }
}


/* ---------- Tablet ---------- */
@media (max-width: 992px) {

  /* USP Features */
  .df-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .df-feature {
    padding: 15px;
  }

  /* Main Footer */
  .df-footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 35px;
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .df-footer-col:first-child {
    grid-column: 1 / -1;
  }

  /* Bottom */
  .df-footer-bottom {
    gap: 15px;
    flex-wrap: wrap;
  }
}


/* ---------- Mobile ---------- */
@media (max-width: 768px) {

  /* =========================
       Footer USP
       ========================= */

  .df-footer-usp {
    padding: 20px 0;
  }

  .df-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 0 16px;
  }

  .df-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 12px;
  }

  .df-feature i {
    font-size: 1.4rem;
    flex-shrink: 0;
  }

  .df-feature strong {
    display: block;
    font-size: .82rem;
  }

  .df-feature span {
    display: block;
    font-size: .68rem;
    margin-top: 3px;
  }


  /* =========================
       Main Footer
       ========================= */

  .df-footer-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 35px 25px;
    padding: 40px 18px;
  }

  /* Brand section full width */
  .df-footer-col:first-child {
    grid-column: 1 / -1;
  }

  .df-footer-col h5 {
    font-size: 1rem;
    margin-bottom: 14px;
  }

  .df-footer-col p {
    font-size: .82rem;
    line-height: 1.7;
  }


  /* =========================
       Social Icons
       ========================= */

  .df-footer-social {
    display: flex;
    gap: 10px;
    margin-top: 18px;
  }

  .df-footer-social a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
  }


  /* =========================
       Footer Links
       ========================= */

  .df-footer-col ul {
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .df-footer-col li {
    margin-bottom: 9px;
  }

  .df-footer-col li a {
    font-size: .8rem;
  }


  /* =========================
       Newsletter
       ========================= */

  .df-newsletter {
    display: flex;
    width: 100%;
  }

  .df-newsletter input {
    min-width: 0;
    flex: 1;
    font-size: .78rem;
  }

  .df-newsletter button {
    flex-shrink: 0;
  }


  /* =========================
       Footer Bottom
       ========================= */

  .df-footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    padding: 18px 16px;
  }

  .df-footer-bottom>span {
    font-size: .68rem;
    line-height: 1.6;
  }

  .df-footer-bottom-links {
    display: flex;
    justify-content: center;
    gap: 18px;
  }

  .df-footer-bottom-links a {
    font-size: .72rem;
  }
}


/* ---------- Small Mobile ---------- */
@media (max-width: 480px) {

  /* =========================
       USP → Single Column
       ========================= */

  .df-features-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 0 14px;
  }

  .df-feature {
    padding: 13px 14px;
  }


  /* =========================
       Main Footer
       ========================= */

  .df-footer-main {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 35px 16px;
  }

  .df-footer-col:first-child {
    grid-column: auto;
  }


  /* =========================
       Better Touch Targets
       ========================= */

  .df-footer-col li a {
    display: inline-block;
    padding: 3px 0;
  }


  /* =========================
       Newsletter
       ========================= */

  .df-newsletter {
    margin-top: 12px;
  }

  .df-newsletter input {
    padding: 10px 12px;
  }

  .df-newsletter button {
    width: 42px;
  }


  /* =========================
       Bottom Links
       ========================= */

  .df-footer-bottom-links {
    gap: 14px;
    flex-wrap: wrap;
  }
}


/* ---------- Very Small Phones ---------- */
@media (max-width: 360px) {

  .df-footer-main {
    padding-left: 14px;
    padding-right: 14px;
  }

  .df-feature {
    gap: 10px;
  }

  .df-feature i {
    font-size: 1.25rem;
  }

  .df-feature strong {
    font-size: .76rem;
  }

  .df-feature span {
    font-size: .63rem;
  }

  .df-footer-col p {
    font-size: .78rem;
  }

  .df-footer-bottom>span {
    font-size: .63rem;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.df-hero {
  position: relative;
  color: #f4ead6;
  overflow: hidden;
  min-height: 480px;
  display: flex;
  align-items: center;
}

.df-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/assets/products/hero.png');
  background-size: cover;
  background-position: center;
  animation: df-hero-zoom 18s ease-in-out infinite alternate;
}

.df-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(100deg, rgba(13, 6, 3, .94) 0%, rgba(13, 6, 3, .78) 38%, rgba(13, 6, 3, .32) 68%, rgba(13, 6, 3, .12) 100%);
}

@keyframes df-hero-zoom {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(1.08);
  }
}

.df-hero-inner {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  padding: 60px 0;

}

.df-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--df-gold-light);
  font-size: .82rem;
  margin-bottom: 16px;
  opacity: 0;
  animation: df-fade-up .7s var(--ease-out) .1s forwards;
}

.df-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 1.08;
  margin: 0 0 18px;
  opacity: 0;
  animation: df-fade-up .8s var(--ease-out) .25s forwards;
}

.df-hero p {
  font-size: 1.05rem;
  color: #d9c9b0;
  max-width: 480px;
  margin: 0 0 28px;
  opacity: 0;
  animation: df-fade-up .8s var(--ease-out) .4s forwards;
}

.df-hero-actions {
  display: flex;
  gap: 14px;
  opacity: 0;
  animation: df-fade-up .8s var(--ease-out) .55s forwards;
}

@keyframes df-fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes df-fade-in-scale {
  from {
    opacity: 0;
    transform: scale(.92);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-df {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast), background var(--dur-fast), color var(--dur-fast);
  white-space: nowrap;
}

.btn-df:active {
  transform: scale(.97);
}

.btn-df-primary {
  background: var(--df-maroon);
  color: #fff;
  box-shadow: 0 6px 18px rgba(122, 22, 32, .35);
}

.btn-df-primary:hover {
  background: var(--df-maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(122, 22, 32, .42);
}

.btn-df-gold {
  background: linear-gradient(135deg, var(--df-gold-light), var(--df-gold));
  color: var(--df-ink);
  box-shadow: 0 6px 18px rgba(201, 151, 47, .35);
}

.btn-df-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(201, 151, 47, .45);
}

.btn-df-outline {
  background: transparent;
  border-color: rgba(244, 234, 214, .5);
  color: #f4ead6;
}

.btn-df-outline:hover {
  background: rgba(244, 234, 214, .1);
  border-color: #f4ead6;
}

.btn-df-line {
  background: transparent;
  border-color: var(--df-border);
  color: var(--df-text);
}

.btn-df-line:hover {
  border-color: var(--df-maroon);
  color: var(--df-maroon);
}

.btn-df-block {
  width: 100%;
}

.btn-df-sm {
  padding: 9px 18px;
  font-size: .82rem;
}

/* ==========================================================================
   Feature strip
   ========================================================================== */
.df-features {
  background: var(--df-cream-deep);
  border-top: 1px solid var(--df-border);
  border-bottom: 1px solid var(--df-border);
}

.df-features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 26px 0;
}

.df-feature {
  display: flex;
  align-items: center;
  gap: 12px;
}

.df-feature i {
  font-size: 1.4rem;
  color: var(--df-maroon);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--df-paper);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.df-feature strong {
  display: block;
  font-size: .88rem;
  color: var(--df-ink);
}

.df-feature span {
  font-size: .78rem;
  color: var(--df-text-muted);
}

/* ==========================================================================
   Category grid (home)
   ========================================================================== */
.df-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.df-cat-card {
  background: var(--df-paper);
  border: 1px solid var(--df-border);
  border-radius: var(--radius-md);
  padding: 22px 14px;
  text-align: center;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out), border-color var(--dur-fast);
}

.df-cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--df-gold);
}

.df-cat-thumb {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  background: linear-gradient(150deg, #efe2c4, #d8c191);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}

.df-cat-thumb .df-emblem {
  width: 2.4rem;
  height: 2.4rem;
  color: var(--df-maroon);
  transition: transform var(--dur-med) var(--ease-out);
}

.df-cat-card:hover .df-cat-thumb .df-emblem {
  transform: scale(1.15) rotate(-4deg);
}

.df-cat-thumb.has-photo {
  background: none;
  overflow: hidden;
}

.df-cat-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--dur-med) var(--ease-out);
}

.df-cat-card:hover .df-cat-thumb img {
  transform: scale(1.08);
}

.df-cat-card h3 {
  font-size: 1.02rem;
  margin: 0 0 4px;
}

.df-cat-card .df-explore {
  font-size: .76rem;
  color: var(--df-maroon);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.df-cat-card .df-explore i {
  font-size: .65rem;
  transition: transform var(--dur-fast);
}

.df-cat-card:hover .df-explore i {
  transform: translateX(4px);
}

/* ==========================================================================
   Product cards / grids
   ========================================================================== */
.df-product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.df-product-grid.cols-4 {
  grid-template-columns: repeat(5, 1fr);
}

.df-product-card {
  background: var(--df-paper);
  border: 1px solid var(--df-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
  position: relative;
}

.df-product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
}

.df-product-thumb {
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #3f1a12, #24100a 60%, #170a06);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--df-border);
}

.df-product-thumb .frame-inner {
  width: 100%;
  height: 100%;
  border: px solid;
  border-image: linear-gradient(150deg, var(--df-gold-light), var(--df-gold) 60%, #8a6112) 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .03);
  overflow: hidden;
}

.frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--dur-med) var(--ease-out);
}

.df-product-card:hover .frame-inner img {
  transform: scale(1.08);
}

.df-product-thumb .df-emblem {
  width: 2.8rem;
  height: 2.8rem;
  color: rgba(230, 200, 120, .85);
  filter: drop-shadow(0 0 10px rgba(230, 200, 120, .25));
  transition: transform var(--dur-med) var(--ease-out);
}

.df-product-card:hover .df-product-thumb .df-emblem {
  transform: scale(1.12);
}

.df-wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--df-text-muted);
  font-size: .95rem;
  transition: color var(--dur-fast), transform var(--dur-fast), background var(--dur-fast);
  border: none;
}

.df-wishlist-btn:hover {
  transform: scale(1.1);
}

.df-wishlist-btn.active {
  color: var(--df-maroon);
}

.df-wishlist-btn.active i {
  font-weight: 900;
}

.df-product-info {
  padding: 14px 16px 16px;


}

.df-product-info h3 {
  font-size: .95rem;
  font-family: var(--font-body);
  font-weight: 600;
  margin: 0 0 6px;
  color: var(--df-text);
  text-align: center;
}

.df-product-price {
  font-size: .85rem;
  color: var(--df-text-muted);
  text-align: center;
}

.df-product-price strong {
  color: var(--df-maroon);
  font-size: 1rem;
}

.df-product-card.beads .df-product-thumb {
  background: radial-gradient(circle at 50% 35%, #5a3620, #2c150b 70%);
}

.df-product-card.beads .df-product-thumb .df-emblem {
  width: 3.4rem;
  height: 3.4rem;
  color: var(--df-gold-light);
}

/* ==========================================================================
   Layout with sidebar (category listing / detail)
   ========================================================================== */
.df-shop-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
}

.df-sidebar {
  background: var(--df-paper);
  border: 1px solid var(--df-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  position: sticky;
  top: 130px;
}

.df-sidebar h4 {
  margin: 0;
  padding: 16px 18px;
  font-size: 1.05rem;
  border-bottom: 1px solid var(--df-border);
  background: var(--df-cream-deep);
}

.df-sidebar-list>li {
  border-bottom: 1px solid var(--df-border);
}

.df-sidebar-list>li:last-child {
  border-bottom: none;
}

.df-sidebar-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: .88rem;
  transition: background var(--dur-fast), color var(--dur-fast), padding-left var(--dur-fast);
}

.df-sidebar-link:hover {
  background: var(--df-cream);
  color: var(--df-maroon);
  padding-left: 22px;
}

.df-sidebar-link.active {
  color: var(--df-maroon);
  font-weight: 600;
  background: var(--df-cream);
  border-left: 3px solid var(--df-maroon);
}

.df-sidebar-link i.chev {
  font-size: .65rem;
  color: var(--df-text-muted);
  transition: transform var(--dur-fast);
}

.df-sidebar-group.open .df-sidebar-link i.chev {
  transform: rotate(90deg);
}

.df-sidebar-sub {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-med) var(--ease-out);
  background: var(--df-cream);
}

.df-sidebar-group.open .df-sidebar-sub {
  max-height: 600px;
}

.df-sidebar-sub a {
  display: block;
  padding: 9px 18px 9px 34px;
  font-size: .82rem;
  color: var(--df-text-muted);
  transition: color var(--dur-fast);
}

.df-sidebar-sub a:hover,
.df-sidebar-sub a.active {
  color: var(--df-maroon);
  font-weight: 600;
}

.df-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.df-shop-toolbar h1 {
  font-size: 1.6rem;
  margin: 0;
}

.df-shop-count {
  font-size: .85rem;
  color: var(--df-text-muted);
}

.df-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .85rem;
}

.df-sort select {
  border: 1px solid var(--df-border);
  border-radius: 999px;
  padding: 8px 14px;
  background: var(--df-paper);
  font-size: .85rem;
}

/* ==========================================================================
   Product detail page
   ========================================================================== */
.df-pd-layout {
  display: grid;
  grid-template-columns: 90px 1fr 1fr;
  gap: 22px;
}

/* When a product has only one photo, the thumbnail-strip column isn't
   rendered at all — drop to a two-column layout so the main image gets
   full width instead of being squeezed into the empty 90px track. */
.df-pd-layout.df-pd-no-thumbs {
  grid-template-columns: 1fr 1fr;
}

.df-pd-thumbs {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.df-pd-thumb {
  aspect-ratio: 1/1;
  border-radius: var(--radius-sm);
  border: 2px solid var(--df-border);
  background: linear-gradient(160deg, #3f1a12, #24100a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--df-gold-light);
  transition: border-color var(--dur-fast), transform var(--dur-fast);
  overflow: hidden;
}

.df-pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-pd-thumb:hover {
  transform: translateY(-2px);
}

.df-pd-thumb.active {
  border-color: var(--df-maroon);
}

.df-pd-main {
  aspect-ratio: 4/5;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #4a1c14 0%, #2c0f0a 55%, #1a0906 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--df-border);
}

.df-pd-main .frame-inner {
  width: 100%;
  height: 100%;

  border-image: linear-gradient(150deg, var(--df-gold-light), var(--df-gold) 45%, #8a6112 75%, var(--df-gold-light)) 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .5s var(--ease-out);
  overflow: hidden;
}

.df-pd-main .frame-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.df-pd-main:hover .frame-inner {
  transform: scale(1.035);
}

.df-pd-main .df-emblem {
  width: 6rem;
  height: 6rem;
  color: rgba(230, 200, 120, .85);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
}

.df-pd-thumb .df-emblem {
  width: 1.8rem;
  height: 1.8rem;
  color: var(--df-gold-light);
}

.df-pd-info h1 {
  font-size: 1.7rem;
  margin: 0 0 8px;
}

.df-pd-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}

.df-pd-rating .stars {
  color: var(--df-gold);
  font-size: .9rem;
  letter-spacing: 2px;
}

.df-pd-rating span {
  font-size: .82rem;
  color: var(--df-text-muted);
}

.df-pd-price {
  font-size: 1.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--df-maroon);
  margin: 0 0 6px;
}

.df-pd-stock {
  font-size: .85rem;
  color: var(--df-success);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
}

.df-pd-stock i {
  font-size: .7rem;
}

.df-pd-block {
  margin-bottom: 22px;
}

.df-pd-block>label {
  display: block;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--df-ink);
}

.df-size-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.df-size-chip {
  padding: 9px 16px;
  border: 1px solid var(--df-border);
  border-radius: var(--radius-sm);
  font-size: .85rem;
  background: var(--df-paper);
  transition: border-color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}

.df-size-chip:hover {
  border-color: var(--df-maroon);
}

.df-size-chip.selected {
  border-color: var(--df-maroon);
  background: var(--df-maroon);
  color: #fff;
  transform: scale(1.04);
}

.df-qty-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 22px;
}

.df-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--df-border);
  border-radius: 999px;
  overflow: hidden;
}

.df-qty button {
  width: 38px;
  height: 38px;
  border: none;
  background: var(--df-cream);
  font-size: 1rem;
  transition: background var(--dur-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.df-qty button:hover {
  background: var(--df-cream-deep);
}

.df-qty input {
  width: 44px;
  text-align: center;
  border: none;
  background: transparent;
  font-size: .95rem;
}

.df-pd-actions {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
}

.df-pd-actions .btn-df {
  flex: 1;
}

.df-trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 20px;
  border-top: 1px solid var(--df-border);
}

.df-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .78rem;
  color: var(--df-text-muted);
}

.df-trust-item i {
  font-size: 1.15rem;
  color: var(--df-maroon);
}

.df-trust-item strong {
  display: block;
  color: var(--df-ink);
  font-size: .82rem;
}

/* Tabs */
.df-tabs {
  margin-top: 48px;
}

.df-tab-nav {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid var(--df-border);
}

.df-tab-btn {
  padding: 13px 22px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--df-text-muted);
  border-bottom: 2px solid transparent;
  transition: color var(--dur-fast), border-color var(--dur-fast);
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
}

.df-tab-btn:hover {
  color: var(--df-maroon);
}

.df-tab-btn.active {
  color: var(--df-maroon);
  border-color: var(--df-maroon);
}

.df-tab-panel {
  display: none;
  padding: 26px 4px;
  line-height: 1.8;
  color: var(--df-text);
  font-size: .92rem;
  animation: df-fade-up .4s var(--ease-out);
}

.df-tab-panel.active {
  display: block;
}

/* ==========================================================================
   Cart / checkout
   ========================================================================== */
.df-cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.df-cart-panel {
  background: var(--df-paper);
  border: 1px solid var(--df-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.df-cart-panel-head {
  padding: 18px 22px;
  border-bottom: 1px solid var(--df-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.df-cart-panel-head h2 {
  font-size: 1.2rem;
  margin: 0;
}

.df-cart-table-head {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr auto;
  padding: 12px 22px;
  font-size: .75rem;
  text-transform: none;
  color: var(--df-text-muted);
  border-bottom: 1px solid var(--df-border);
}

.df-cart-row {
  display: grid;
  grid-template-columns: 3fr 1fr 1fr 1fr auto;
  align-items: center;
  padding: 18px 22px;
  border-bottom: 1px solid var(--df-border);
  transition: background var(--dur-fast);
}

.df-cart-row:hover {
  background: var(--df-cream);
}

.df-cart-row:last-child {
  border-bottom: none;
}

.df-cart-product {
  display: flex;
  align-items: center;
  gap: 14px;
}

.df-cart-thumb {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: linear-gradient(160deg, #4a1c14, #24100a);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--df-gold-light);
  flex-shrink: 0;
  overflow: hidden;
}

.df-cart-thumb .df-emblem {
  width: 1.8rem;
  height: 1.8rem;
}

.df-cart-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.df-cart-product-name {
  font-size: .9rem;
  font-weight: 600;
}

.df-cart-product-meta {
  font-size: .78rem;
  color: var(--df-text-muted);
}

.df-cart-remove {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--df-text-muted);
  border: none;
  background: none;
  transition: color var(--dur-fast), background var(--dur-fast), transform var(--dur-fast);
}

.df-cart-remove:hover {
  color: var(--df-maroon);
  background: var(--df-cream-deep);
  transform: rotate(90deg);
}

.df-cart-qty {
  display: flex;
  align-items: center;
  border: 1px solid var(--df-border);
  border-radius: 999px;
  width: fit-content;
}

.df-cart-qty button {
  width: 28px;
  height: 28px;
  border: none;
  background: none;
  font-size: .85rem;
}

.df-cart-qty span {
  width: 26px;
  text-align: center;
  font-size: .85rem;
}

.df-cart-panel-foot {
  padding: 16px 22px;
}

.df-summary {
  background: var(--df-paper);
  border: 1px solid var(--df-border);
  border-radius: var(--radius-md);
  padding: 22px;
  position: sticky;
  top: 130px;
}

.df-summary h2 {
  font-size: 1.15rem;
  margin: 0 0 16px;
}

.df-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: 9px 0;
  color: var(--df-text-muted);
}

.df-summary-row.discount span:last-child {
  color: var(--df-success);
}

.df-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 14px;
  margin-top: 6px;
  border-top: 1px solid var(--df-border);
}

.df-summary-total strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--df-maroon);
}

.df-summary-note {
  font-size: .72rem;
  color: var(--df-text-muted);
  margin: 4px 0 18px;
}

.df-secure-note {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: .78rem;
  color: var(--df-text-muted);
}

.df-secure-note i {
  color: var(--df-success);
  font-size: 1.2rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.df-footer {
  background: var(--df-ink);
  color: #cbbba0;

}

.df-footer-usp {
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.df-footer-usp .df-features-grid {
  padding: 26px 16px;
}

.df-footer-usp .df-feature i {
  background: rgba(255, 255, 255, .06);
  color: var(--df-gold-light);
}

.df-footer-usp .df-feature strong {
  color: #f4ead6;
}

.df-footer-usp .df-feature span {
  color: #a5927a;
}

.df-footer-main {
  padding: 48px 0 28px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 32px;
}

.df-footer-col h5 {
  color: #f4ead6;
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 16px;
}

.df-footer-col p {
  font-size: .85rem;
  line-height: 1.7;
  color: #a5927a;
}

.df-footer-col ul li {
  margin-bottom: 10px;
}

.df-footer-col a {
  font-size: .85rem;
  color: #cbbba0;
  transition: color var(--dur-fast), padding-left var(--dur-fast);
}

.df-footer-col a:hover {
  color: var(--df-gold-light);
  padding-left: 4px;
}

.df-footer-social {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.df-footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--dur-fast), transform var(--dur-fast), border-color var(--dur-fast);
}

.df-footer-social a:hover {
  background: var(--df-gold);
  border-color: var(--df-gold);
  color: var(--df-ink);
  transform: translateY(-3px);
}

.df-newsletter {
  display: flex;
  margin-top: 6px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .15);
}

.df-newsletter input {
  flex: 1;
  padding: 10px 14px;
  background: transparent;
  border: none;
  color: #f4ead6;
  font-size: .82rem;
}

.df-newsletter input::placeholder {
  color: #8a7a64;
}

.df-newsletter button {
  padding: 0 16px;
  border: none;
  background: var(--df-gold);
  color: var(--df-ink);
  transition: background var(--dur-fast);
}

.df-newsletter button:hover {
  background: var(--df-gold-light);
}

.df-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .78rem;
  color: #8a7a64;
}

.df-footer-bottom-links {
  display: flex;
  gap: 18px;
}

.df-footer-bottom-links a:hover {
  color: var(--df-gold-light);
}

/* ==========================================================================
   Toast / micro-feedback
   ========================================================================== */
.df-toast {
  position: fixed;
  bottom: 26px;
  left: 50%;
  transform: translate(-50%, 20px);
  background: var(--df-ink);
  color: #f4ead6;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: .85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, .3);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out);
  z-index: 500;
}

.df-toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
  pointer-events: auto;
}

.df-toast i {
  color: var(--df-gold-light);
}

/* Reveal-on-scroll (used sparingly, once per section) */
.df-reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
  animation: df-force-in 0s 2.5s forwards;
}

.df-reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered grid entrance — cards rise in one after another */
.df-stagger {
  opacity: 0;
  transform: translateY(26px) scale(.97);
  transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
  animation: df-force-in 0s 2.5s forwards;
}

.df-stagger.in {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Safety net: if JS never runs (blocked/erroring), force full visibility
   after a short delay so content is never permanently hidden. */
@keyframes df-force-in {
  to {
    opacity: 1;
    transform: none;
  }
}

/* Page-level fade-in, once, on first paint — pure CSS so it can never
   depend on JS execution (a script failure must never hide the page). */
body {
  animation: df-page-fade .6s var(--ease-out) both;
}

@keyframes df-page-fade {
  /* opacity only: any animated transform on <body> makes position:fixed
     children (WhatsApp button, sticky bars) pin to the page, not the screen */
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* Button ripple */
.btn-df {
  position: relative;
  overflow: hidden;
}

.df-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .55);
  transform: scale(0);
  animation: df-ripple-anim .6s var(--ease-out);
  pointer-events: none;
}

@keyframes df-ripple-anim {
  to {
    transform: scale(3);
    opacity: 0;
  }
}

/* Wishlist pop */
@keyframes df-heart-pop {
  0% {
    transform: scale(1);
  }

  35% {
    transform: scale(1.35);
  }

  100% {
    transform: scale(1);
  }
}

.df-wishlist-btn.pop i {
  animation: df-heart-pop .4s var(--ease-out);
}

/* Logo mark idle glow on hover */
.df-logo-mark {
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) var(--ease-out);
}

.df-logo:hover .df-logo-mark {
  transform: rotate(8deg) scale(1.06);
  box-shadow: 0 0 16px rgba(201, 151, 47, .5);
}

/* Back-to-top button */
.df-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--df-maroon);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  border: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, .25);
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity var(--dur-med) var(--ease-out), transform var(--dur-med) var(--ease-out), background var(--dur-fast), visibility var(--dur-med);
  z-index: 300;
}

.df-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.df-to-top:hover {
  background: var(--df-maroon-dark);
  transform: translateY(-4px);
}

/* Sort select + toolbar subtle entrance handled by .df-reveal where applied */

/* Toast icon micro-bounce already covered by df-toast transition */

/* Card image zoom-on-hover reinforcement (frame glow pulse) */
.df-product-thumb::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 40%, rgba(230, 200, 120, .18), transparent 65%);
  opacity: 0;
  transition: opacity var(--dur-med) var(--ease-out);
}

.df-product-card:hover .df-product-thumb::after {
  opacity: 1;
}

.df-product-thumb {
  position: relative;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .df-hero {
    min-height: 400px;
  }

  .df-hero-inner {
    min-height: auto;
    max-width: 100%;
  }

  .df-cat-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .df-product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .df-pd-layout {
    grid-template-columns: 1fr;
  }

  .df-pd-thumbs {
    flex-direction: row;
    order: 2;
  }

  .df-pd-thumb {
    width: 74px;
    flex-shrink: 0;
  }

  .df-cart-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {


  .df-topbar .topbar-links>span {
    display: none;
  }

  .df-topbar .container-df {
    justify-content: flex-end;
  }

  .df-search {
    order: 3;
    max-width: 100%;
    flex-basis: 100%;
  }

  .df-header-row {
    flex-wrap: wrap;
  }

  .df-nav-toggle {
    display: flex;
  }

  .df-nav-list {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    background: var(--df-ink);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--dur-med) var(--ease-out);
  }

  .df-nav.open .df-nav-list {
    max-height: 640px;
  }

  .df-nav-link::after {
    display: none;
  }

  .df-nav-link {
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    padding: 14px 16px;
  }

  .df-shop-layout {
    grid-template-columns: 1fr;
  }

  .df-sidebar {
    position: static;
  }
}

@media (max-width: 620px) {
  .df-cat-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-product-grid,
  .df-product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-features-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .df-footer-main {
    grid-template-columns: 1fr;
  }

  .df-pd-actions {
    flex-direction: column;
  }

  .df-cart-table-head {
    display: none;
  }

  .df-cart-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .df-cart-row .df-cart-remove {
    justify-self: end;
  }
}

@media (max-width: 480px) {
  .container-df {
    padding: 16px 16px;
  }

  .df-hero {
    min-height: 360px;
  }

  .df-hero-eyebrow {
    font-size: .75rem;
  }

  .df-hero p {
    font-size: .95rem;
  }

  .df-hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .df-hero-actions .btn-df {
    width: 100%;
  }

  .df-cat-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .df-cat-card {
    padding: 16px 10px;
  }

  .df-product-grid,
  .df-product-grid.cols-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .df-features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .df-shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .df-sort {
    width: 100%;
  }

  .df-sort select {
    flex: 1;
  }

  .df-pd-thumbs {
    gap: 8px;
  }

  .df-pd-thumb {
    width: 56px;
  }

  .df-size-grid {
    gap: 8px;
  }

  .df-size-chip {
    padding: 8px 12px;
    font-size: .8rem;
  }

  .df-to-top {
    width: 40px;
    height: 40px;
    right: 14px;
    bottom: 14px;
    font-size: 1rem;
  }

  .df-summary,
  .df-sidebar {
    padding: 16px;
  }

  .section {
    padding: 40px 0;
  }
}

/* ============================================================
   BACKEND ADDITIONS — auth forms, account dashboard, checkout,
   order history, flash messages, admin panel
   ============================================================ */
.df-auth-wrap {
  max-width: 440px;
  margin: 0 auto;
}
.df-auth-wrap h1 {
  text-align: center;
  margin-bottom: 6px;
}
.df-auth-sub {
  text-align: center;
  color: var(--df-text-muted);
  margin-bottom: 28px;
}
.df-form-group {
  margin-bottom: 18px;
}
.df-form-group label {
  display: block;
  font-weight: 600;
  font-size: .9rem;
  margin-bottom: 6px;
  color: var(--df-ink);
}
.df-form-group input,
.df-form-group select,
.df-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--df-border);
  border-radius: 8px;
  background: var(--df-paper);
  font-family: inherit;
  font-size: .95rem;
  color: var(--df-text);
}
.df-form-group input:focus,
.df-form-group select:focus,
.df-form-group textarea:focus {
  outline: none;
  border-color: var(--df-gold);
}
.df-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 560px) {
  .df-form-row { grid-template-columns: 1fr; }
}
.df-form-foot {
  text-align: center;
  margin-top: 18px;
  font-size: .9rem;
  color: var(--df-text-muted);
}
.df-form-foot a {
  color: var(--df-maroon);
  font-weight: 600;
}
.df-alert {
  padding: 12px 16px;
  border-radius: 8px;
  font-size: .9rem;
  margin-bottom: 18px;
}
.df-alert-error {
  background: #fbe9e9;
  color: #a12626;
  border: 1px solid #f1c7c7;
}
.df-alert-success {
  background: #e9f5ec;
  color: var(--df-success);
  border: 1px solid #c6e6cf;
}
.df-dashboard-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: start;
}
@media (max-width: 760px) {
  .df-dashboard-layout { grid-template-columns: 1fr; }
}
.df-dashboard-nav {
  background: var(--df-paper);
  border: 1px solid var(--df-border);
  border-radius: 10px;
  overflow: hidden;
}
.df-dashboard-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  color: var(--df-text);
  font-weight: 500;
  border-bottom: 1px solid var(--df-border);
}
.df-dashboard-nav a:last-child { border-bottom: none; }
.df-dashboard-nav a.active,
.df-dashboard-nav a:hover {
  background: var(--df-cream-deep);
  color: var(--df-maroon);
}
.df-dashboard-panel {
  background: var(--df-paper);
  border: 1px solid var(--df-border);
  border-radius: 10px;
  padding: 26px;
}
.df-order-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr .8fr .8fr .6fr;
  gap: 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--df-border);
  font-size: .92rem;
}
.df-order-row:last-child { border-bottom: none; }
.df-order-row .df-order-head { font-weight: 700; color: var(--df-text-muted); font-size: .8rem; text-transform: uppercase; }
@media (max-width: 640px) {
  .df-order-row { grid-template-columns: 1fr 1fr; }
}
.df-status-badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .78rem;
  font-weight: 700;
  text-transform: capitalize;
}
.df-status-pending { background: #fdf1d9; color: #966217; }
.df-status-processing { background: #e4ecfb; color: #2a4f9e; }
.df-status-shipped { background: #e4f0fb; color: #1b6fa8; }
.df-status-delivered { background: #e9f5ec; color: var(--df-success); }
.df-status-cancelled { background: #fbe9e9; color: #a12626; }

/* Admin panel */
.df-admin-body { background: var(--df-cream); min-height: 100vh; }
.df-admin-shell { display: grid; grid-template-columns: 220px 1fr; min-height: 100vh; }
@media (max-width: 760px) { .df-admin-shell { grid-template-columns: 1fr; } }
.df-admin-side { background: var(--df-ink); color: #fff; padding: 24px 0; }
.df-admin-side .df-admin-brand { padding: 0 20px 20px; font-family: 'Cormorant Garamond', serif; font-size: 1.4rem; color: var(--df-gold-light); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: 10px; }
.df-admin-side a { display: flex; align-items: center; gap: 10px; padding: 12px 20px; color: #e8e0d4; text-decoration: none; font-size: .92rem; }
.df-admin-side a.active, .df-admin-side a:hover { background: rgba(255,255,255,.08); color: var(--df-gold-light); }
.df-admin-main { padding: 28px 32px; }
.df-admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; }
.df-admin-card { background: var(--df-paper); border: 1px solid var(--df-border); border-radius: 10px; padding: 22px; }
.df-admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 26px; }
.df-admin-stat { background: var(--df-paper); border: 1px solid var(--df-border); border-radius: 10px; padding: 18px 20px; }
.df-admin-stat strong { display: block; font-size: 1.6rem; color: var(--df-maroon); font-family: 'Cormorant Garamond', serif; }
.df-admin-stat span { font-size: .82rem; color: var(--df-text-muted); }
.df-admin-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.df-admin-table th, .df-admin-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--df-border); }
.df-admin-table th { font-size: .78rem; text-transform: uppercase; color: var(--df-text-muted); }
.df-admin-table img { width: 42px; height: 42px; object-fit: cover; border-radius: 6px; }
.df-admin-actions-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.df-btn-sm-icon { background: none; border: 1px solid var(--df-border); border-radius: 6px; padding: 6px 10px; cursor: pointer; color: var(--df-text); }
.df-btn-sm-icon:hover { border-color: var(--df-maroon); color: var(--df-maroon); }
.df-admin-login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--df-ink); }
.df-admin-login-box { background: var(--df-paper); border-radius: 12px; padding: 40px; width: 100%; max-width: 380px; }

.df-cart-qty-controls { display: flex; align-items: center; gap: 8px; }
.df-cart-qty-controls button { width: 28px; height: 28px; border: 1px solid var(--df-border); background: var(--df-paper); border-radius: 6px; cursor: pointer; }
.df-cart-qty-controls input { width: 40px; text-align: center; border: 1px solid var(--df-border); border-radius: 6px; padding: 4px; }
.df-cart-remove { background: none; border: none; color: var(--df-text-muted); cursor: pointer; font-size: 1.1rem; }
.df-cart-remove:hover { color: #a12626; }
.df-cart-row { display: grid; grid-template-columns: 2.4fr 1fr 1fr 1fr .4fr; gap: 10px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--df-border); }

.df-payment-options { display: flex; flex-direction: column; gap: 10px; }
.df-payment-option {
  display: flex; align-items: flex-start; gap: 10px;
  border: 1px solid var(--df-border); border-radius: 8px;
  padding: 12px 14px; cursor: pointer; font-weight: 400;
  transition: border-color var(--dur-fast, .15s);
}
.df-payment-option input[type="radio"] { width: auto; margin-top: 3px; }
.df-payment-option small { color: var(--df-text-muted); font-weight: 400; }
.df-payment-option:has(input:checked) { border-color: var(--df-gold); background: var(--df-cream-deep); }
.df-cart-row-product { display: flex; align-items: center; gap: 12px; }
.df-cart-row-product img { width: 60px; height: 60px; object-fit: cover; border-radius: 8px; }
@media (max-width: 680px) {
  .df-cart-row { grid-template-columns: 1fr; text-align: left; }
}
/* ---------------------------------------------------------------------
   Discount pricing — struck-through original price + "% off" badge,
   used on product cards and the product detail page.
   --------------------------------------------------------------------- */
.df-price-mrp {
  color: var(--df-text-muted);
  text-decoration: line-through;
  font-weight: 400;
  font-size: .85em;
}

.df-price-off {
  color: var(--df-success);
  font-weight: 600;
  font-size: .8em;
}

.df-price-mrp[hidden],
.df-price-off[hidden] {
  display: none;
}

.df-pd-price .df-price-mrp {
  font-family: var(--font-body);
  font-size: 1.05rem;
  margin-left: 10px;
}

.df-pd-price .df-price-off {
  font-family: var(--font-body);
  font-size: .95rem;
  margin-left: 8px;
}

.df-product-price .df-price-sale {
  color: var(--df-maroon);
  font-size: 1rem;
}

/* ---- Order tracking (Phase 2) ---- */
.df-steps{list-style:none;display:flex;margin:6px 0 20px;padding:0}
.df-step{flex:1;text-align:center;position:relative;font-size:.78rem;color:var(--df-text-muted)}
.df-step:not(:last-child)::after{content:"";position:absolute;top:14px;left:50%;width:100%;height:2px;background:var(--df-border)}
.df-step.done:not(:last-child)::after{background:var(--df-success,#2e7d32)}
.df-step-dot{position:relative;z-index:1;display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#fff;border:2px solid var(--df-border);font-weight:600}
.df-step.done .df-step-dot{background:var(--df-success,#2e7d32);border-color:var(--df-success,#2e7d32);color:#fff}
.df-step.current .df-step-dot{border-color:var(--df-gold,#c9962f);color:var(--df-maroon,#7a1620)}
.df-step.done,.df-step.current{color:var(--df-text,#2a1a14)}
.df-step-label{display:block;margin-top:6px}
.df-ship-box{display:flex;flex-wrap:wrap;gap:18px;align-items:center;background:#faf3e3;border-radius:10px;padding:14px 16px;margin-bottom:6px}
.df-ship-box span{display:block;font-size:.72rem;color:var(--df-text-muted);text-transform:uppercase;letter-spacing:.04em}
.df-timeline{list-style:none;margin:0;padding:0 0 0 18px;border-left:2px solid var(--df-border)}
.df-timeline li{position:relative;padding:0 0 16px 14px;display:flex;flex-direction:column;gap:2px;font-size:.9rem}
.df-timeline li::before{content:"";position:absolute;left:-25px;top:5px;width:10px;height:10px;border-radius:50%;background:var(--df-gold,#c9962f)}
.df-timeline time,.df-tl-loc,.df-tl-note{font-size:.8rem;color:var(--df-text-muted)}

/* ---- Admin analytics (Phase 3) ---- */
.df-an-range{display:flex;gap:6px}
.df-an-range a{padding:6px 14px;border:1px solid var(--df-border);border-radius:20px;font-size:.85rem;color:var(--df-text,#2a1a14)}
.df-an-range a.on{background:var(--df-maroon,#7a1620);border-color:var(--df-maroon,#7a1620);color:#fff}
.df-an-chart{display:flex;align-items:flex-end;gap:3px;height:180px;border-bottom:1px solid var(--df-border)}
.df-an-col{flex:1;height:100%;display:flex;align-items:flex-end}
.df-an-col span{display:block;width:100%;background:var(--df-gold,#c9962f);border-radius:3px 3px 0 0;min-height:0}
.df-an-col:hover span{background:var(--df-maroon,#7a1620)}
.df-an-axis{display:flex;justify-content:space-between;font-size:.75rem;color:var(--df-text-muted);margin-top:6px}
.df-an-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px;margin-bottom:20px}
.df-an-grid>.df-admin-card{margin-bottom:0}
.df-an-bar{display:grid;grid-template-columns:110px 1fr 90px;gap:10px;align-items:center;margin-bottom:8px;font-size:.85rem}
.df-an-bar div{background:#f1e9d8;border-radius:6px;height:10px;overflow:hidden}
.df-an-bar i{display:block;height:100%;background:var(--df-gold,#c9962f)}
.df-an-bar b{text-align:right;font-weight:500}
.df-an-empty{color:var(--df-text-muted);margin:0}
@media(max-width:480px){.df-an-grid{grid-template-columns:1fr}}

/* ---- WhatsApp chat button + image protection ---- */
.df-wa-float{position:fixed;right:18px;bottom:18px;z-index:900;display:flex;align-items:center;gap:8px;background:#25d366;color:#fff;border-radius:30px;padding:12px 16px;box-shadow:0 4px 14px rgba(0,0,0,.25);font-weight:600;font-size:.9rem;text-decoration:none}
.df-wa-float i{font-size:1.5rem;line-height:1}
.df-wa-float:hover{background:#1ebe5a;color:#fff}
@media(max-width:600px){.df-wa-float{padding:13px;border-radius:50%}.df-wa-float span{display:none}}
img{-webkit-user-drag:none;-webkit-touch-callout:none}
.frame-inner img,.df-pd-thumb img,.df-product-card img{user-select:none;-webkit-user-select:none}