:root {
  --notat-espresso: #3A2A20;
  --notat-taupe: #7A6352;
  --notat-papyrus: #E8DFCF;
  --notat-ivory: #FAF7F2;
  --notat-champagne: #D4AF37;
  --notat-sage: #A7B39A;
  --night-bg: #120D09;
  --night-card: #1D1510;
  --night-text: #FAF7F2;
  --night-muted: #C8BBA8;
  --night-accent: #D4AF37;
  --night-border: rgba(212, 175, 55, 0.18);
  --notat-bg: #FAF7F2;
  --notat-bg-soft: #E8DFCF;
  --notat-card: rgba(255, 255, 255, 0.78);
  --notat-card-solid: #FFFDF8;
  --notat-text: #3A2A20;
  --notat-muted: #7A6352;
  --notat-border: rgba(122, 99, 82, 0.22);
  --notat-shadow: 0 18px 42px rgba(58, 42, 32, 0.10);
}

/* Final launch polish: consistent buttons, compact guide, product card rhythm, Instagram block */
.wishlist-delete,
.wishlist-clear {
  background: rgba(250, 247, 242, 0.92) !important;
  color: #8f4f43 !important;
  border: 1px solid rgba(143, 79, 67, 0.36) !important;
}

.wishlist-delete:hover,
.wishlist-clear:hover {
  background: #8f4f43 !important;
  color: #fff !important;
  border-color: #8f4f43 !important;
}

.add-to-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  line-height: 1.25 !important;
}

.add-to-cart span {
  font-weight: 900;
}

.add-to-cart small {
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  min-height: 24px;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  border-inline-start: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.92;
}

.products-grid .product-card,
.preview-grid .product-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 615px;
}

.products-grid .product-image img,
.preview-grid .product-image img {
  height: 190px !important;
  object-fit: contain !important;
}

.products-grid .product-description,
.preview-grid .product-description {
  min-height: 48px;
}

.products-grid .product-notes,
.preview-grid .product-notes {
  min-height: 42px;
}

.products-grid .size-buttons,
.preview-grid .size-buttons {
  min-height: 74px;
  align-content: center;
}

.products-grid .product-actions,
.preview-grid .product-actions {
  margin-top: auto;
}

.instagram-showcase {
  max-width: 1180px;
  margin-inline: auto;
}

.instagram-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
  background: var(--notat-card-solid);
  border: 1px solid var(--notat-border);
  border-radius: 26px;
  box-shadow: var(--notat-shadow);
  padding: 1rem;
}

.instagram-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.6rem;
}

.instagram-copy strong {
  color: var(--notat-espresso);
  font-size: 1.15rem;
}

.instagram-copy p {
  color: var(--notat-muted);
  line-height: 1.8;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: var(--notat-bg-soft);
}

.instagram-feed-grid {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.35rem;
  direction: rtl;
}

.instagram-feed-grid::-webkit-scrollbar {
  height: 7px;
}

.instagram-feed-grid::-webkit-scrollbar-thumb {
  background: rgba(122, 99, 82, 0.35);
  border-radius: 999px;
}

.instagram-feed-grid::-webkit-scrollbar-track {
  background: rgba(232, 223, 207, 0.55);
  border-radius: 999px;
}

.instagram-feed-item {
  flex: 0 0 clamp(145px, 18vw, 210px);
  display: grid;
  gap: 0.45rem;
  min-width: 0;
  padding: 0.55rem;
  border-radius: 20px;
  background: rgba(250, 247, 242, 0.78);
  border: 1px solid var(--notat-border);
  color: var(--notat-espresso);
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease;
  scroll-snap-align: start;
}

.instagram-feed-item:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 175, 55, 0.7);
}

.instagram-feed-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 16px;
  background: var(--notat-bg-soft);
}

.instagram-feed-item span {
  min-height: 38px;
  color: var(--notat-muted);
  font-size: 0.78rem;
  line-height: 1.55;
  overflow: hidden;
}

.instagram-feed-item small {
  color: var(--notat-espresso);
  font-weight: 900;
}

.instagram-widget {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 22px;
  background: var(--notat-bg-soft);
}

body.notat-night-mode .wishlist-delete,
body.notat-night-mode .wishlist-clear {
  background: rgba(212, 175, 55, 0.08) !important;
  color: var(--notat-papyrus) !important;
  border-color: rgba(212, 175, 55, 0.24) !important;
}

body.notat-night-mode .wishlist-delete:hover,
body.notat-night-mode .wishlist-clear:hover {
  background: #8f4f43 !important;
  color: #fff !important;
  border-color: #8f4f43 !important;
}

.jump-offers-btn,
.quantity-cell button,
.review-more-btn,
.filter-btn,
.review-filter,
.sub-rating-item,
.google-promo-btn {
  background: rgba(250, 247, 242, 0.9) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
  box-shadow: 0 10px 24px rgba(58, 42, 32, 0.08) !important;
}

.jump-offers-btn:hover,
.quantity-cell button:hover,
.review-more-btn:hover,
.filter-btn:hover,
.google-promo-btn:hover {
  background: var(--notat-espresso) !important;
  color: var(--notat-ivory) !important;
  border-color: var(--notat-espresso) !important;
}

.quantity-cell button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 999px !important;
  font-weight: 900 !important;
}

.notification {
  background: rgba(255, 253, 248, 0.98) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
  border-right-width: 4px !important;
  box-shadow: 0 18px 42px rgba(58, 42, 32, 0.18) !important;
}

.notification-text,
.notification-text strong,
.notification-text span {
  color: var(--notat-espresso) !important;
}

.notification.info,
.notification.success,
.notification.warning,
.notification.error {
  background: rgba(255, 253, 248, 0.98) !important;
}

.reviews-hero {
  background: linear-gradient(135deg, rgba(58, 42, 32, 0.62), rgba(122, 99, 82, 0.24)), url('../Images/Hero.jpg') !important;
  background-size: cover !important;
  background-position: center !important;
}

.stats-card,
.stat-item,
.add-review-section,
.reviews-list-section,
.google-cta-permanent,
.sub-ratings,
.review-card,
.filters-section {
  background: var(--notat-card-solid) !important;
  color: var(--notat-espresso) !important;
  border-color: var(--notat-border) !important;
  box-shadow: var(--notat-shadow) !important;
}

.section-header h3,
.stats-card .big-rating,
.sub-ratings h4,
.form-group label,
.review-header strong,
.review-name,
.review-product,
.review-date {
  color: var(--notat-espresso) !important;
}

.stat-label,
.review-text,
.sub-rating-item span,
.reviews-list-section p,
.google-cta-permanent p {
  color: var(--notat-muted) !important;
}

.form-group input,
.form-group textarea,
.review-filter select {
  background: #fff !important;
  color: var(--notat-espresso) !important;
  border-color: var(--notat-border) !important;
}

.stars-input label,
.sub-stars label {
  color: rgba(122, 99, 82, 0.45) !important;
}

.review-stars,
.stats-card .stars {
  color: var(--notat-champagne) !important;
}

body.notat-night-mode .jump-offers-btn,
body.notat-night-mode .quantity-cell button,
body.notat-night-mode .review-more-btn,
body.notat-night-mode .filter-btn,
body.notat-night-mode .review-filter,
body.notat-night-mode .sub-rating-item,
body.notat-night-mode .google-promo-btn {
  background: rgba(232, 223, 207, 0.08) !important;
  color: var(--notat-papyrus) !important;
  border-color: var(--night-border) !important;
}

body.notat-night-mode .notification {
  background: rgba(29, 21, 16, 0.98) !important;
  color: var(--night-text) !important;
  border-color: var(--night-border) !important;
}

body.notat-night-mode .notification-text,
body.notat-night-mode .notification-text strong,
body.notat-night-mode .notification-text span {
  color: var(--night-text) !important;
}

body.notat-night-mode .stats-card,
body.notat-night-mode .stat-item,
body.notat-night-mode .add-review-section,
body.notat-night-mode .reviews-list-section,
body.notat-night-mode .google-cta-permanent,
body.notat-night-mode .sub-ratings,
body.notat-night-mode .review-card,
body.notat-night-mode .filters-section {
  background: var(--night-card) !important;
  color: var(--night-text) !important;
  border-color: var(--night-border) !important;
}

body.notat-night-mode .section-header h3,
body.notat-night-mode .stats-card .big-rating,
body.notat-night-mode .sub-ratings h4,
body.notat-night-mode .form-group label,
body.notat-night-mode .review-header strong,
body.notat-night-mode .review-name,
body.notat-night-mode .review-product,
body.notat-night-mode .review-date {
  color: var(--night-text) !important;
}

body.notat-night-mode .stat-label,
body.notat-night-mode .review-text,
body.notat-night-mode .sub-rating-item span,
body.notat-night-mode .reviews-list-section p,
body.notat-night-mode .google-cta-permanent p {
  color: var(--night-muted) !important;
}

body.notat-night-mode .form-group input,
body.notat-night-mode .form-group textarea,
body.notat-night-mode .review-filter select {
  background: #120D09 !important;
  color: var(--night-text) !important;
  border-color: var(--night-border) !important;
}

/* Reviews final brand pass */
.reviews-list-section {
  max-width: 1200px !important;
  width: min(100%, 1200px) !important;
  margin: 2rem auto 4rem !important;
  padding: 1rem !important;
  border-radius: 28px !important;
}

.reviews-toolbar {
  background: var(--notat-card-solid) !important;
  border: 1px solid var(--notat-border) !important;
  border-radius: 20px !important;
  box-shadow: 0 12px 30px rgba(58, 42, 32, 0.08) !important;
}

.reviews-toolbar select {
  background: #fff !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
  border-radius: 999px !important;
}

.reviews-grid .review-card {
  background: var(--notat-card-solid) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
  border-radius: 24px !important;
  box-shadow: 0 16px 34px rgba(58, 42, 32, 0.1) !important;
}

.review-avatar {
  background: var(--notat-espresso) !important;
  color: var(--notat-ivory) !important;
  border: 1px solid rgba(212, 175, 55, 0.34) !important;
}

.sub-review-stats {
  background: rgba(232, 223, 207, 0.48) !important;
  border: 1px solid var(--notat-border) !important;
  border-radius: 16px !important;
  color: var(--notat-taupe) !important;
}

.success-message,
.error-message,
.permanent-google-card {
  border-radius: 18px !important;
  border: 1px solid var(--notat-border) !important;
  background: var(--notat-card-solid) !important;
  color: var(--notat-espresso) !important;
  box-shadow: 0 12px 28px rgba(58, 42, 32, 0.1) !important;
}

.success-message {
  border-right: 4px solid var(--notat-sage) !important;
}

.error-message {
  border-right: 4px solid #8f4f43 !important;
}

.stars-input label.active,
.stars-input label.preview,
.sub-stars label.active,
.sub-stars label.preview {
  color: var(--notat-champagne) !important;
  transform: translateY(-1px);
}

.stars-input,
.sub-stars {
  flex-direction: row !important;
  direction: ltr !important;
}

body.notat-night-mode .reviews-toolbar,
body.notat-night-mode .reviews-grid .review-card,
body.notat-night-mode .success-message,
body.notat-night-mode .error-message,
body.notat-night-mode .permanent-google-card {
  background: var(--night-card) !important;
  color: var(--night-text) !important;
  border-color: var(--night-border) !important;
}

body.notat-night-mode .reviews-toolbar select {
  background: #120D09 !important;
  color: var(--night-text) !important;
  border-color: var(--night-border) !important;
}

/* Policies page final identity pass */
.policies-container {
  color: var(--notat-espresso) !important;
}

.policy-card {
  background: var(--notat-card-solid) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
  box-shadow: var(--notat-shadow) !important;
}

.policy-card:hover {
  border-color: rgba(212, 175, 55, 0.55) !important;
  box-shadow: 0 20px 46px rgba(58, 42, 32, 0.14) !important;
}

.policy-header {
  background: rgba(232, 223, 207, 0.52) !important;
  border-bottom: 1px solid var(--notat-border) !important;
}

.policy-header h2,
.policy-content h3,
.highlight {
  color: var(--notat-espresso) !important;
}

.policy-header > i {
  color: var(--notat-taupe) !important;
}

.policy-content p,
.policy-content li {
  color: var(--notat-muted) !important;
}

.warning {
  color: #8f4f43 !important;
}

body.notat-night-mode .policy-card {
  background: var(--night-card) !important;
  color: var(--night-text) !important;
  border-color: var(--night-border) !important;
}

body.notat-night-mode .policy-header {
  background: rgba(232, 223, 207, 0.08) !important;
  border-bottom-color: var(--night-border) !important;
}

body.notat-night-mode .policy-header h2,
body.notat-night-mode .policy-content h3,
body.notat-night-mode .highlight {
  color: var(--night-text) !important;
}

body.notat-night-mode .policy-content p,
body.notat-night-mode .policy-content li {
  color: var(--night-muted) !important;
}

@media (max-width: 700px) {
  .products-grid .product-card,
  .preview-grid .product-card {
    min-height: 540px;
  }

  .top-requested-section .product-card {
    min-height: 330px !important;
  }

  .top-requested-section .add-to-cart {
    flex-direction: column;
    gap: 3px !important;
  }

  .instagram-card {
    grid-template-columns: 1fr;
    padding: 0.8rem;
    border-radius: 22px;
  }

  .instagram-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 32rem),
    linear-gradient(180deg, var(--notat-ivory), #f4eadc 58%, var(--notat-ivory)) !important;
  color: var(--notat-text) !important;
  font-family: "Cairo", "DIN Next Arabic", Arial, sans-serif !important;
}

body.notat-light-mode {
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.12), transparent 32rem),
    linear-gradient(180deg, var(--notat-ivory), #f4eadc 58%, var(--notat-ivory)) !important;
  color: var(--notat-espresso) !important;
}

body.notat-night-mode {
  background:
    radial-gradient(circle at top right, rgba(212, 175, 55, 0.10), transparent 28rem),
    radial-gradient(circle at bottom left, rgba(167, 179, 154, 0.09), transparent 26rem),
    linear-gradient(180deg, var(--night-bg), var(--notat-espresso) 42%, var(--night-card)) !important;
  color: var(--night-text) !important;
}

body, button, input, select, textarea {
  letter-spacing: 0;
}

a {
  color: inherit;
}

.hero,
.reviews-hero {
  background:
    linear-gradient(135deg, rgba(58, 42, 32, 0.58), rgba(122, 99, 82, 0.22)),
    url("../Images/Hero.jpg") !important;
  background-size: cover !important;
  background-position: center !important;
}

.hero-content,
.reviews-hero {
  color: var(--notat-ivory) !important;
}

.hero-content h1,
.reviews-hero h1,
.section-title,
.cart-title,
.summary-title,
.product-name,
.featured-title,
.policy-header h2 {
  color: var(--notat-espresso) !important;
}

.hero-content h1,
.reviews-hero h1 {
  color: var(--notat-ivory) !important;
  text-shadow: 0 10px 28px rgba(58, 42, 32, 0.32);
}

.hero-content p,
.reviews-hero p,
.hero-subline {
  color: rgba(250, 247, 242, 0.92) !important;
}

.notat-english-line {
  display: block;
  color: var(--notat-champagne);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(0.76rem, 1.4vw, 0.95rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  margin: 0.2rem 0 0.6rem;
}

.btn,
.home-search-btn,
.add-to-cart,
.offer-action,
.submit-btn,
.btn-send,
.shop-now-btn,
.load-more-btn,
.google-review-btn,
.view-all-reviews,
.clear-search-btn,
.promo-row button,
.notat-guide-actions .primary {
  background: var(--notat-espresso) !important;
  color: var(--notat-ivory) !important;
  border: 1px solid rgba(58, 42, 32, 0.58) !important;
  box-shadow: 0 12px 26px rgba(58, 42, 32, 0.12) !important;
}

.btn:hover,
.home-search-btn:hover,
.add-to-cart:hover,
.offer-action:hover,
.submit-btn:hover,
.shop-now-btn:hover,
.load-more-btn:hover,
.google-review-btn:hover,
.view-all-reviews:hover,
.clear-search-btn:hover,
.promo-row button:hover {
  background: var(--notat-taupe) !important;
  color: var(--notat-ivory) !important;
  transform: translateY(-2px);
}

.help-pick-btn,
.home-clear-search-btn,
.promo-clear-btn,
.google-promo-btn,
.product-action-btn,
.size-btn,
.offer-size-btn,
.offers-social a,
.notat-guide-actions .ghost {
  background: rgba(250, 247, 242, 0.84) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
}

.help-pick-btn:hover,
.home-clear-search-btn:hover,
.promo-clear-btn:hover,
.google-promo-btn:hover,
.product-action-btn:hover,
.size-btn:hover,
.offer-size-btn:hover,
.offers-social a:hover {
  background: var(--notat-champagne) !important;
  color: var(--notat-espresso) !important;
  border-color: rgba(212, 175, 55, 0.78) !important;
}

.size-btn.selected,
.offer-size-btn.selected,
.payment-option.selected,
.sub-cat-btn.active,
.main-cat.active {
  background: var(--notat-espresso) !important;
  color: var(--notat-ivory) !important;
  border-color: var(--notat-espresso) !important;
}

.size-btn.temporarily-unavailable {
  opacity: 0.55 !important;
  cursor: not-allowed !important;
  border-style: dashed !important;
  filter: grayscale(0.2);
}

.size-btn.temporarily-unavailable:hover {
  background: rgba(250, 247, 242, 0.84) !important;
  color: var(--notat-espresso) !important;
  transform: none !important;
}

.size-btn.temporarily-unavailable small {
  display: block;
  font-size: 0.58rem;
  color: var(--notat-muted);
}

.add-to-cart:disabled {
  opacity: 0.62 !important;
  cursor: not-allowed !important;
  filter: grayscale(0.2);
}

.sub-cat-btn,
.quick-tabs .sub-cat-btn {
  background: rgba(250, 247, 242, 0.88) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
  box-shadow: 0 10px 24px rgba(58, 42, 32, 0.08) !important;
}

.sub-cat-btn:hover,
.quick-tabs .sub-cat-btn:hover {
  background: rgba(212, 175, 55, 0.22) !important;
  color: var(--notat-espresso) !important;
  border-color: rgba(212, 175, 55, 0.62) !important;
}

.section,
.home-search-section,
.quick-shop-section,
.ad-slider-section,
.stats-section,
.reviews-list-section,
.add-review-section,
.policies-container {
  position: relative;
}

.home-search-panel,
.quick-shop-panel,
.why-card,
.about-box,
.product-card,
.featured-category,
.more-card,
.offer-card,
.offer-empty,
.reviews-section,
.review-card,
.stats-card,
.add-review-section,
.reviews-list-section,
.policy-card,
.cart-container,
.order-summary,
.payment-section,
.promo-section,
.checkout-section,
.price-proof-help,
.price-proof-card,
.locked-step,
.search-panel,
.main-categories,
.products-section,
.suggestion-section,
.ad-slider-shell {
  background: var(--notat-card-solid) !important;
  color: var(--notat-text) !important;
  border: 1px solid var(--notat-border) !important;
  border-radius: 24px !important;
  box-shadow: var(--notat-shadow) !important;
}

.ad-slide,
.ad-slide img,
.product-image img,
.suggestion-card img,
.main-cat img,
.quick-shop-card,
.offer-image,
.payment-option,
.cart-table tr,
.price-proof-item,
.offer-builder,
.offer-details,
.product-notes,
.offer-search-result,
.offer-selected-chip,
.empty-cart-message,
.form-group input,
.form-group select,
.form-group textarea,
.promo-row input,
.search-field input,
.search-controls select,
.home-search-field input,
.home-search-controls select {
  background: rgba(232, 223, 207, 0.42) !important;
  color: var(--notat-text) !important;
  border-color: var(--notat-border) !important;
}

.quick-shop-card {
  min-height: 112px;
}

.quick-shop-card span {
  color: var(--notat-ivory) !important;
  background: rgba(58, 42, 32, 0.72);
  border: 1px solid rgba(250, 247, 242, 0.22);
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  text-shadow: none !important;
}

.quick-shop-card img {
  opacity: 0.7 !important;
}

.product-image img,
.suggestion-card img,
.main-cat img {
  object-fit: contain;
}

.product-description,
.home-search-summary,
.search-summary,
.offers-subtitle,
.review-text,
.policy-content,
.summary-row,
.shipping-note,
.promo-status,
.price-proof-meta,
.price-proof-note,
.contact-details strong,
.contact-details span,
.brand-slogan,
small,
p {
  color: var(--notat-muted) !important;
}

.product-gender-badge,
.offer-badge,
.offer-meta,
.trust-badge,
.demo-chip.active {
  background: rgba(167, 179, 154, 0.28) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid rgba(122, 99, 82, 0.18) !important;
}

.use-case-badges {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.45rem 0;
}

.use-case-badges span {
  background: rgba(167, 179, 154, 0.24);
  color: var(--notat-espresso);
  border: 1px solid rgba(122, 99, 82, 0.16);
  border-radius: 999px;
  padding: 0.2rem 0.55rem;
  font-size: 0.66rem;
  font-weight: 800;
}

.product-notes {
  background: rgba(212, 175, 55, 0.14) !important;
}

.suggestion-section {
  background:
    linear-gradient(135deg, rgba(250, 247, 242, 0.96), rgba(232, 223, 207, 0.72)) !important;
  border-color: rgba(122, 99, 82, 0.22) !important;
}

.suggestion-section h3,
.suggestion-section.cross-category h3,
.suggestion-section.behavior-based h3 {
  color: var(--notat-espresso) !important;
  font-weight: 900;
}

.suggestion-card {
  background: var(--notat-espresso) !important;
  border-color: rgba(212, 175, 55, 0.28) !important;
  box-shadow: 0 12px 26px rgba(58, 42, 32, 0.12) !important;
}

.suggestion-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(58, 42, 32, 0.08), rgba(58, 42, 32, 0.76));
  z-index: 0;
}

.suggestion-card span {
  color: var(--notat-ivory) !important;
  text-shadow: none !important;
}

.product-notes summary,
.offer-details summary,
.price-proof-card h3,
.price-proof-brand,
.price-proof-row.total,
.price-proof-item .line-total,
.highlight,
.big-rating,
.stars,
.section-header h3 {
  color: var(--notat-espresso) !important;
}

.ad-slide-content {
  background: linear-gradient(180deg, rgba(250, 247, 242, 0), rgba(250, 247, 242, 0.88) 34%, rgba(250, 247, 242, 0.97)) !important;
  border-top: 1px solid rgba(122, 99, 82, 0.18) !important;
}

.ad-slide-content h2 {
  color: var(--notat-espresso) !important;
}

.ad-slide-content p {
  color: var(--notat-taupe) !important;
}

.ad-slide-content span {
  background: rgba(212, 175, 55, 0.22) !important;
  color: var(--notat-espresso) !important;
  border-color: rgba(212, 175, 55, 0.42) !important;
}

.ad-slide-content a {
  background: var(--notat-espresso) !important;
  color: var(--notat-ivory) !important;
  border-color: var(--notat-espresso) !important;
}

.ad-dots {
  background: rgba(232, 223, 207, 0.38) !important;
  border-top: 1px solid var(--notat-border) !important;
}

.ad-nav,
.scroll-top,
.floating-cart,
#floating-cart {
  background: rgba(250, 247, 242, 0.96) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid var(--notat-border) !important;
  box-shadow: 0 14px 32px rgba(58, 42, 32, 0.16) !important;
}

.floating-cart i,
#floating-cart i,
#floating-cart a {
  color: var(--notat-espresso) !important;
}

.floating-cart span,
#floating-cart span,
.cart-badge {
  background: var(--notat-champagne) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid rgba(58, 42, 32, 0.14) !important;
}

.notat-theme-toggle {
  z-index: 2147483600 !important;
  pointer-events: auto !important;
}

.notat-guide-button,
.wishlist-float {
  z-index: 2147483400 !important;
}

.wishlist-qty button {
  background: var(--notat-card-solid) !important;
  color: var(--notat-espresso) !important;
  border-color: var(--notat-border) !important;
}

.wishlist-qty button:hover {
  background: var(--notat-champagne) !important;
  color: var(--notat-espresso) !important;
}

.whatsapp-float,
.btn-send {
  background: #2f8f5b !important;
}

.btn-send:hover,
.whatsapp-float:hover {
  background: #247349 !important;
}

.price-proof-card {
  background: var(--notat-ivory) !important;
  border: 1.5px solid var(--notat-espresso) !important;
}

.cart-table th {
  color: var(--notat-espresso) !important;
  border-bottom-color: rgba(58, 42, 32, 0.28) !important;
}

.cart-table td {
  border-bottom-color: var(--notat-border) !important;
}

.remove-btn {
  background: #8f4f43 !important;
  color: #fff !important;
}

.notification,
.notat-confirm-card,
.wishlist-panel,
.notat-guide-card {
  background: var(--notat-card-solid) !important;
  color: var(--notat-text) !important;
  border-color: var(--notat-border) !important;
  box-shadow: var(--notat-shadow) !important;
}

.notat-theme-toggle,
.notat-guide-button,
.wishlist-float {
  background: rgba(250, 247, 242, 0.94) !important;
  color: var(--notat-espresso) !important;
  border-color: var(--notat-border) !important;
}

.notat-theme-toggle,
.notat-guide-button {
  touch-action: none;
  user-select: none;
}

.notat-theme-toggle.notat-floating-dragging,
.notat-guide-button.notat-floating-dragging {
  cursor: grabbing !important;
  transform: scale(1.02) !important;
}

.notat-guide-card {
  touch-action: pan-y;
  overscroll-behavior: contain;
}

.notat-guide-visual,
.notat-guide-card {
  cursor: grab;
}

.notat-swipe-hint {
  width: fit-content;
  margin: -0.25rem auto 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: rgba(212, 175, 55, 0.14);
  color: var(--notat-espresso);
  border: 1px solid rgba(212, 175, 55, 0.32);
  font-size: 0.78rem;
  font-weight: 900;
}

.notat-swipe-hint i {
  color: var(--notat-champagne);
  animation: notatSwipeFinger 1.35s ease-in-out infinite;
}

@keyframes notatSwipeFinger {
  0%, 100% { transform: translateX(-7px) rotate(-12deg); }
  50% { transform: translateX(7px) rotate(8deg); }
}

.notat-guide-card {
  display: flex !important;
  flex-direction: column !important;
  height: min(86vh, 720px) !important;
  overflow: hidden !important;
}

.notat-guide-visual {
  flex: 0 0 clamp(245px, 38vh, 340px) !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.notat-guide-card p {
  min-height: 5.4em !important;
  max-height: 8.8em !important;
  overflow: auto !important;
}

.notat-guide-actions {
  margin-top: auto !important;
}

.quick-tabs-wrap {
  width: min(1120px, calc(100% - 24px)) !important;
  margin: 0.75rem auto 1rem !important;
  padding: 0.42rem !important;
  border-radius: 999px !important;
  background: rgba(255, 253, 248, 0.9) !important;
  border: 1px solid var(--notat-border) !important;
  box-shadow: 0 14px 34px rgba(58, 42, 32, 0.14) !important;
  backdrop-filter: blur(16px) !important;
  transition: transform 0.22s ease, opacity 0.22s ease, box-shadow 0.22s ease !important;
}

.quick-tabs-wrap.quick-tabs-hidden {
  opacity: 0 !important;
  pointer-events: none !important;
  transform: translateY(-118%) !important;
}

.quick-tabs {
  display: flex !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  gap: 0.45rem !important;
  margin: 0 !important;
  padding: 0.05rem 0.12rem 0.12rem !important;
  overflow-x: auto !important;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
}

.quick-tabs .sub-cat-btn {
  flex: 0 0 auto !important;
  min-height: 38px !important;
  padding: 0.52rem 0.85rem !important;
  border-radius: 999px !important;
  font-size: 0.82rem !important;
  line-height: 1.15 !important;
  white-space: nowrap !important;
  scroll-snap-align: center;
  box-shadow: none !important;
}

#quickShopSection,
#allPerfumesSection,
#offersPanel {
  scroll-margin-top: 150px;
}

.brand-usage-grid,
.brand-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.brand-usage-card,
.brand-step-card,
.brand-story {
  background: var(--notat-card-solid);
  border: 1px solid var(--notat-border);
  border-radius: 24px;
  box-shadow: var(--notat-shadow);
  padding: 1.25rem;
}

.brand-usage-card i,
.brand-step-card i {
  color: var(--notat-champagne);
  font-size: 1.45rem;
  margin-bottom: 0.65rem;
}

.brand-usage-card strong,
.brand-step-card strong {
  display: block;
  color: var(--notat-espresso);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.brand-story {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  line-height: 2;
  color: var(--notat-text) !important;
  background: var(--notat-card-solid) !important;
}

body.notat-night-mode .brand-story {
  background: var(--notat-card-solid) !important;
  color: var(--notat-text) !important;
}

.footer {
  background: var(--notat-espresso) !important;
  color: var(--notat-ivory) !important;
}

body.notat-night-mode .sub-cat-btn,
body.notat-night-mode .quick-tabs .sub-cat-btn {
  background: rgba(250, 247, 242, 0.08) !important;
  color: var(--notat-ivory) !important;
  border-color: rgba(232, 223, 207, 0.18) !important;
}

body.notat-night-mode .sub-cat-btn.active,
body.notat-night-mode .quick-tabs .sub-cat-btn.active {
  background: var(--notat-champagne) !important;
  color: var(--notat-espresso) !important;
  border-color: var(--notat-champagne) !important;
}

body.notat-night-mode .suggestion-section {
  background: rgba(58, 42, 32, 0.78) !important;
  color: var(--notat-ivory) !important;
  border-color: rgba(232, 223, 207, 0.16) !important;
}

body.notat-night-mode .suggestion-section h3 {
  color: var(--notat-champagne) !important;
}

body.notat-night-mode .suggestion-card {
  background: rgba(250, 247, 242, 0.08) !important;
  border-color: rgba(212, 175, 55, 0.28) !important;
}

body.notat-night-mode .ad-slide-content {
  background: linear-gradient(180deg, rgba(18, 13, 9, 0), rgba(29, 21, 16, 0.84) 34%, rgba(29, 21, 16, 0.96)) !important;
  border-top-color: var(--night-border) !important;
}

body.notat-night-mode .ad-slide-content h2 {
  color: var(--notat-ivory) !important;
}

body.notat-night-mode .ad-slide-content p {
  color: var(--night-muted) !important;
}

body.notat-night-mode .ad-slide-content span {
  background: rgba(212, 175, 55, 0.18) !important;
  color: var(--notat-champagne) !important;
  border-color: rgba(212, 175, 55, 0.35) !important;
}

body.notat-night-mode .ad-slide-content a {
  background: var(--notat-champagne) !important;
  color: var(--notat-espresso) !important;
  border-color: var(--notat-champagne) !important;
}

body.notat-night-mode .floating-cart,
body.notat-night-mode #floating-cart {
  background: var(--notat-champagne) !important;
  color: var(--notat-espresso) !important;
  border-color: var(--notat-champagne) !important;
}

body.notat-night-mode .floating-cart i,
body.notat-night-mode #floating-cart i,
body.notat-night-mode #floating-cart a {
  color: var(--notat-espresso) !important;
}

body.notat-night-mode .wishlist-qty button {
  background: var(--night-accent) !important;
  color: var(--notat-espresso) !important;
  border-color: var(--night-accent) !important;
}

@media (max-width: 700px) {
  .hero {
    min-height: 218px !important;
    padding: 0.95rem 1rem !important;
  }

  .hero-content h1 {
    font-size: clamp(1.55rem, 7vw, 1.95rem) !important;
    margin-bottom: 0.35rem !important;
  }

  .notat-english-line {
    font-size: 0.68rem !important;
    margin-bottom: 0.35rem !important;
  }

  .hero-content p {
    font-size: 0.86rem !important;
    margin-bottom: 0.6rem !important;
  }

  .hero .home-browse-actions {
    margin-top: 0.55rem !important;
    gap: 0.45rem !important;
  }

  .hero .btn,
  .hero .help-pick-btn {
    min-height: 38px !important;
    padding: 8px 13px !important;
    font-size: 0.78rem !important;
    width: auto !important;
  }

  .quick-shop-section,
  .home-search-section,
  .ad-slider-section,
  .top-requested-section {
    padding: 0.85rem 1rem 0 !important;
  }

  .quick-shop-panel,
  .home-search-panel {
    padding: 0.8rem !important;
    border-radius: 18px !important;
  }

  .quick-shop-head {
    margin-bottom: 0.65rem !important;
  }

  .quick-shop-head h2 {
    font-size: 1rem !important;
  }

  .quick-shop-head p {
    font-size: 0.72rem !important;
  }

  .quick-shop-grid {
    display: flex !important;
    gap: 0.6rem !important;
    overflow-x: auto !important;
    scroll-snap-type: x proximity !important;
    padding-bottom: 0.25rem !important;
    scrollbar-width: none !important;
  }

  .quick-shop-grid::-webkit-scrollbar {
    display: none !important;
  }

  .quick-shop-card {
    flex: 0 0 118px !important;
    min-height: 76px !important;
    border-radius: 16px !important;
    padding: 0.55rem !important;
    scroll-snap-align: start !important;
  }

  .quick-shop-card span {
    font-size: 0.72rem !important;
    padding: 0.26rem 0.5rem !important;
  }

  .home-search-field input {
    min-height: 42px !important;
    font-size: 0.82rem !important;
  }

  .home-search-summary {
    font-size: 0.72rem !important;
    margin-top: 0.45rem !important;
  }

  .home-browse-actions {
    gap: 0.45rem !important;
    margin-top: 0.6rem !important;
  }

  .home-search-btn,
  .help-pick-btn {
    width: auto !important;
    min-height: 38px !important;
    padding: 8px 12px !important;
    font-size: 0.72rem !important;
  }

  .top-requested-section {
    padding-bottom: 0.35rem !important;
  }

  .top-requested-section .section-title {
    font-size: 1.25rem !important;
    margin-bottom: 0.9rem !important;
  }

  .top-requested-section .preview-grid {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 0.75rem !important;
    margin: 0 !important;
  }

  .top-requested-section .product-card {
    flex: none !important;
    width: 100% !important;
    padding: 0.75rem !important;
    border-radius: 18px !important;
  }

  .top-requested-section .product-image img {
    height: 118px !important;
  }

  .top-requested-section .product-description,
  .top-requested-section .product-notes,
  .top-requested-section .product-actions {
    display: none !important;
  }

  .top-requested-section .product-name {
    font-size: 0.86rem !important;
  }

  .top-requested-section .add-to-cart {
    font-size: 0.68rem !important;
    padding: 7px 6px !important;
  }

  .ad-slide,
  .ad-slide img {
    min-height: 340px !important;
    height: 340px !important;
  }

  .ad-slide img {
    object-fit: cover !important;
    object-position: center !important;
  }

  .ad-slide-content {
    grid-template-columns: 1fr !important;
    align-items: end !important;
    padding: 0.85rem !important;
    gap: 0.35rem !important;
  }

  .ad-slide-content span,
  .ad-slide-content h2,
  .ad-slide-content p,
  .ad-slide-content a {
    grid-column: auto !important;
    grid-row: auto !important;
  }

  .ad-slide-content h2,
  .ad-slide-content p {
    white-space: normal !important;
  }

  .ad-slide-content a {
    min-height: 38px !important;
    justify-self: start !important;
  }
}

@media (max-width: 900px) {
  .brand-usage-grid,
  .brand-steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .section {
    padding-inline: 1rem !important;
  }

  .brand-usage-grid,
  .brand-steps-grid {
    grid-template-columns: 1fr;
  }

  .home-search-panel,
  .quick-shop-panel,
  .cart-container,
  .policy-card,
  .add-review-section,
  .reviews-list-section {
    border-radius: 20px !important;
  }
}

/* Final override pass loaded after legacy page CSS */
.wishlist-delete,
.wishlist-clear {
  background: rgba(250, 247, 242, 0.92) !important;
  color: #8f4f43 !important;
  border: 1px solid rgba(143, 79, 67, 0.36) !important;
}

.wishlist-delete:hover,
.wishlist-clear:hover {
  background: #8f4f43 !important;
  color: #fff !important;
  border-color: #8f4f43 !important;
}

.add-to-cart {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  min-height: 46px !important;
  line-height: 1.25 !important;
}

.add-to-cart span {
  font-weight: 900;
}

.add-to-cart small {
  display: inline-flex;
  align-items: center;
  padding-inline: 8px;
  min-height: 24px;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  border-inline-start: 1px solid currentColor;
  font-size: 0.68rem;
  font-weight: 800;
  opacity: 0.92;
}

.products-grid .product-card,
.preview-grid .product-card {
  display: flex !important;
  flex-direction: column !important;
  min-height: 615px;
}

.products-grid .product-image img,
.preview-grid .product-image img {
  height: 190px !important;
  object-fit: contain !important;
}

.products-grid .product-description,
.preview-grid .product-description {
  min-height: 48px;
}

.products-grid .product-notes,
.preview-grid .product-notes {
  min-height: 42px;
}

.products-grid .size-buttons,
.preview-grid .size-buttons {
  min-height: 74px;
  align-content: center;
}

.products-grid .product-actions,
.preview-grid .product-actions {
  margin-top: auto;
}

.instagram-showcase {
  max-width: 1180px;
  margin-inline: auto;
}

.instagram-card {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: 1rem;
  align-items: stretch;
  background: var(--notat-card-solid);
  border: 1px solid var(--notat-border);
  border-radius: 26px;
  box-shadow: var(--notat-shadow);
  padding: 1rem;
}

.instagram-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.6rem;
}

.instagram-copy strong {
  color: var(--notat-espresso);
  font-size: 1.15rem;
}

.instagram-copy p {
  color: var(--notat-muted);
  line-height: 1.8;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
}

.instagram-grid img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  background: var(--notat-bg-soft);
}

.instagram-widget {
  width: 100%;
  min-height: 360px;
  border: 0;
  border-radius: 22px;
  background: var(--notat-bg-soft);
}

body.notat-night-mode .wishlist-delete,
body.notat-night-mode .wishlist-clear {
  background: rgba(212, 175, 55, 0.08) !important;
  color: var(--notat-papyrus) !important;
  border-color: rgba(212, 175, 55, 0.24) !important;
}

body.notat-night-mode .wishlist-delete:hover,
body.notat-night-mode .wishlist-clear:hover {
  background: #8f4f43 !important;
  color: #fff !important;
  border-color: #8f4f43 !important;
}

@media (max-width: 700px) {
  .products-grid .product-card,
  .preview-grid .product-card {
    min-height: 540px;
  }

  .top-requested-section .product-card {
    min-height: 330px !important;
  }

  .top-requested-section .add-to-cart {
    flex-direction: column;
    gap: 3px !important;
  }

  .instagram-card {
    grid-template-columns: 1fr;
    padding: 0.8rem;
    border-radius: 22px;
  }

  .instagram-feed-item {
    flex-basis: 148px;
  }
}

.hero,
.reviews-hero {
  min-height: clamp(265px, 32vw, 360px) !important;
  height: auto !important;
  background-position: center !important;
}

.page-hero-badge,
.reviews-hero-kicker {
  display: inline-flex !important;
  align-items: center !important;
  width: fit-content !important;
  margin-bottom: 0.75rem !important;
  padding: 0.35rem 0.8rem !important;
  border-radius: 999px !important;
  background: rgba(250, 247, 242, 0.82) !important;
  color: var(--notat-espresso) !important;
  border: 1px solid rgba(212, 175, 55, 0.45) !important;
  font-weight: 900 !important;
  letter-spacing: 0 !important;
}

.form-group select,
.form-group select option,
.customer-section select,
.customer-section select option,
.cart-container select,
.cart-container select option {
  background: #fffdf8 !important;
  color: var(--notat-espresso) !important;
}

.form-group select:focus,
.customer-section select:focus,
.cart-container select:focus {
  border-color: rgba(212, 175, 55, 0.7) !important;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15) !important;
}

html {
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.14);
}

::selection {
  background: rgba(212, 175, 55, 0.28);
  color: var(--notat-espresso);
}

button,
a,
input,
select,
textarea,
[role="button"],
.product-card,
.offer-card,
.sub-cat-btn,
.size-option {
  -webkit-tap-highlight-color: rgba(212, 175, 55, 0.16);
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[role="button"]:focus-visible {
  outline: none !important;
  border-color: rgba(212, 175, 55, 0.78) !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18), 0 10px 24px rgba(58, 42, 32, 0.12) !important;
}

.floating-cart {
  position: fixed !important;
  left: 18px !important;
  right: auto !important;
  bottom: 88px !important;
  z-index: 9998 !important;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50% !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  background: var(--notat-espresso) !important;
  color: var(--notat-ivory) !important;
  border: 1px solid rgba(212, 175, 55, 0.42) !important;
  box-shadow: 0 14px 34px rgba(58, 42, 32, 0.22) !important;
}

.floating-cart > span {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  min-width: 22px !important;
  height: 22px !important;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 0.72rem !important;
  font-weight: 900 !important;
}

body.notat-night-mode .form-group select,
body.notat-night-mode .form-group select option,
body.notat-night-mode .customer-section select,
body.notat-night-mode .customer-section select option,
body.notat-night-mode .cart-container select,
body.notat-night-mode .cart-container select option {
  background: #1d1510 !important;
  color: var(--notat-ivory) !important;
}

body.notat-night-mode .page-hero-badge,
body.notat-night-mode .reviews-hero-kicker {
  background: rgba(29, 21, 16, 0.78) !important;
  color: var(--notat-ivory) !important;
}

.notat-mobile-bottom-nav {
  display: none;
}

@media (max-width: 760px) {
  body {
    padding-bottom: 82px;
  }

  .notat-mobile-bottom-nav {
    position: fixed;
    right: 10px;
    left: 10px;
    bottom: 10px;
    z-index: 9997;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    padding: 8px;
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.94);
    border: 1px solid rgba(122, 99, 82, 0.22);
    box-shadow: 0 18px 46px rgba(58, 42, 32, 0.18);
    backdrop-filter: blur(16px);
  }

  .notat-mobile-bottom-nav a {
    position: relative;
    min-width: 0;
    min-height: 54px;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 18px;
    color: var(--notat-taupe);
    text-decoration: none;
    font-family: Cairo, Arial, sans-serif;
    font-weight: 900;
    transition: transform 0.18s ease, background 0.18s ease, color 0.18s ease;
    -webkit-tap-highlight-color: transparent;
  }

  .notat-mobile-bottom-nav a:active {
    transform: translateY(1px) scale(0.98);
  }

  .notat-mobile-bottom-nav a.active,
  .notat-mobile-bottom-nav a.current-page {
    background: var(--notat-espresso);
    color: var(--notat-ivory);
    box-shadow: inset 0 0 0 1px rgba(212, 175, 55, 0.22);
  }

  .notat-bottom-icon {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 20px;
    font-size: 1rem;
  }

  .notat-mobile-bottom-nav small {
    max-width: 100%;
    font-size: 0.66rem;
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .notat-bottom-count {
    position: absolute;
    top: -9px;
    left: -12px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--notat-champagne);
    color: var(--notat-espresso);
    border: 1px solid rgba(58, 42, 32, 0.18);
    font-size: 0.62rem;
    font-weight: 900;
  }

  .floating-cart {
    bottom: 96px !important;
  }

  .whatsapp-float {
    bottom: 96px !important;
  }
}

body.notat-night-mode .notat-mobile-bottom-nav {
  background: rgba(29, 21, 16, 0.94);
  border-color: rgba(212, 175, 55, 0.2);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.42);
}

body.notat-night-mode .notat-mobile-bottom-nav a {
  color: var(--night-muted);
}

body.notat-night-mode .notat-mobile-bottom-nav a.active,
body.notat-night-mode .notat-mobile-bottom-nav a.current-page {
  background: var(--notat-champagne);
  color: var(--night-bg);
}

body.notat-night-mode .quick-tabs-wrap {
  background: rgba(29, 21, 16, 0.9) !important;
  border-color: rgba(212, 175, 55, 0.2) !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34) !important;
}

@media (max-width: 760px) {
  .quick-tabs-wrap {
    top: 74px !important;
    width: calc(100% - 18px) !important;
    padding: 0.36rem !important;
  }

  .quick-tabs .sub-cat-btn {
    min-height: 36px !important;
    padding: 0.48rem 0.72rem !important;
    font-size: 0.76rem !important;
  }

  .notat-guide-card {
    height: min(82vh, 650px) !important;
  }

  .notat-guide-visual {
    flex-basis: 255px !important;
  }

  .notat-guide-card p {
    min-height: 5.1em !important;
    max-height: 7.8em !important;
  }
}

.preview-grid .add-to-cart,
.products-grid .add-to-cart {
  margin: 0.7rem 0 0.7rem !important;
  position: relative;
  z-index: 1;
}

.preview-grid .product-actions,
.products-grid .product-actions {
  margin-top: 0.45rem !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.preview-grid .product-action-btn,
.products-grid .product-action-btn {
  min-height: 38px;
  white-space: normal;
  line-height: 1.35;
}

.notat-guide-overlay.active {
  z-index: 2147483700 !important;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom)) !important;
}

.notat-guide-actions {
  position: relative;
  z-index: 2;
  padding-bottom: max(0px, env(safe-area-inset-bottom)) !important;
}

@media (min-width: 901px) {
  .quick-tabs-wrap {
    max-width: 1120px !important;
    border-radius: 28px !important;
  }

  .quick-tabs {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)) !important;
    align-items: stretch !important;
    justify-content: center !important;
    overflow: visible !important;
    gap: 0.55rem !important;
  }

  .quick-tabs .sub-cat-btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }
}

@media (max-width: 760px) {
  .top-requested-section .product-notes {
    display: block !important;
    min-height: 0 !important;
    margin: 0.45rem 0 0.55rem !important;
    padding: 0.55rem !important;
    font-size: 0.68rem !important;
    line-height: 1.55 !important;
  }

  .top-requested-section .product-notes summary {
    font-size: 0.72rem !important;
  }

  .top-requested-section .product-notes .notes-body {
    max-height: 76px;
    overflow: auto;
  }

  .notat-guide-card {
    margin-bottom: 0 !important;
  }
}

/* Hotfix: keep guide actions visible and keep perfume quick tabs to one row. */
.notat-guide-card {
  height: auto !important;
  min-height: min(680px, calc(100dvh - 32px)) !important;
  max-height: calc(100dvh - 32px) !important;
  overflow: auto !important;
}

.notat-guide-actions {
  position: sticky !important;
  bottom: 0 !important;
  display: flex !important;
  flex-shrink: 0 !important;
  background: inherit !important;
  padding-top: 0.6rem !important;
  padding-bottom: max(0.35rem, env(safe-area-inset-bottom)) !important;
}

.notat-guide-actions button {
  min-height: 42px !important;
}

.hero-content p,
.reviews-hero p,
.page-hero p {
  width: fit-content !important;
  max-width: min(720px, 100%) !important;
  margin-inline: auto !important;
  padding: 0.48rem 0.9rem !important;
  border-radius: 999px !important;
  color: var(--notat-ivory) !important;
  background: rgba(58, 42, 32, 0.62) !important;
  border: 1px solid rgba(250, 247, 242, 0.28) !important;
  text-shadow: 0 2px 12px rgba(18, 13, 9, 0.46) !important;
}

@media (max-width: 760px) {
  .hero-content p,
  .reviews-hero p,
  .page-hero p,
  .hero-subline {
    color: #FFFDF8 !important;
    background: rgba(58, 42, 32, 0.82) !important;
    border-color: rgba(250, 247, 242, 0.52) !important;
    text-shadow: 0 2px 10px rgba(18, 13, 9, 0.72) !important;
    box-shadow: 0 10px 24px rgba(18, 13, 9, 0.18) !important;
  }
}

body.notat-night-mode .instagram-copy p,
body.notat-night-mode .instagram-feed-item span {
  color: var(--night-text) !important;
}

body.notat-night-mode .instagram-copy strong,
body.notat-night-mode .instagram-feed-item small {
  color: var(--notat-champagne) !important;
}

@media (min-width: 901px) {
  .quick-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
  }

  .quick-tabs .sub-cat-btn {
    width: auto !important;
    flex: 0 0 auto !important;
    padding-inline: 0.78rem !important;
  }
}

@media (max-width: 760px) {
  .notat-guide-card {
    min-height: min(620px, calc(100dvh - 22px)) !important;
    max-height: calc(100dvh - 22px) !important;
  }

  .notat-guide-visual {
    flex-basis: 225px !important;
  }

  .notat-guide-card p {
    max-height: 6.2em !important;
  }
}

.notat-guide-visual {
  flex-basis: clamp(300px, 48vh, 430px) !important;
}

.notat-demo-screen {
  height: 100% !important;
  min-height: 300px !important;
}

.notat-demo-body {
  height: calc(100% - 42px);
  align-content: start;
  overflow: hidden;
}

.demo-hero-shot,
.demo-offer-shot,
.demo-result-card,
.demo-product-card,
.demo-promo-box,
.demo-cart-line,
.demo-mobile-nav {
  border: 1px solid rgba(212, 175, 55, 0.32);
  border-radius: 16px;
  background: rgba(250, 247, 242, 0.82);
  color: var(--notat-espresso);
}

.demo-hero-shot,
.demo-offer-shot {
  min-height: 116px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 0.8rem;
}

.demo-hero-shot img,
.demo-offer-shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fffdf8;
  opacity: 0.76;
}

.demo-hero-shot > div,
.demo-offer-shot > div {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.35rem;
}

.demo-offer-shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(58, 42, 32, 0.82), rgba(58, 42, 32, 0.32));
  pointer-events: none;
}

.demo-offer-shot > div,
.demo-offer-shot strong,
.demo-offer-shot small {
  color: var(--notat-ivory) !important;
  text-shadow: 0 2px 10px rgba(18, 13, 9, 0.42);
}

.demo-quick-row,
.demo-mobile-nav {
  display: flex;
  gap: 0.4rem;
  padding: 0.45rem;
  overflow: hidden;
}

.demo-quick-row span,
.demo-mobile-nav span {
  flex: 1 0 auto;
  border-radius: 999px;
  padding: 0.38rem 0.55rem;
  background: rgba(232, 223, 207, 0.7);
  font-size: 0.68rem;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.demo-quick-row .active,
.demo-mobile-nav .active {
  background: var(--notat-espresso);
  color: var(--notat-ivory);
}

.demo-search-box {
  min-height: 44px;
  border: 2px solid var(--notat-champagne);
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0 0.9rem;
  background: #fffdf8;
  color: var(--notat-espresso);
  font-weight: 900;
}

.demo-result-card,
.demo-product-card,
.demo-cart-line {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding: 0.65rem;
}

.demo-result-card img,
.demo-product-card img {
  width: 92px;
  height: 92px;
  object-fit: contain;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(122, 99, 82, 0.18);
}

.demo-result-card strong,
.demo-product-card strong,
.demo-cart-line strong,
.demo-promo-box b {
  display: block;
  color: var(--notat-espresso);
  margin-bottom: 0.25rem;
}

.demo-notes-box {
  display: grid;
  gap: 0.2rem;
  margin-top: 0.45rem;
  padding: 0.55rem;
  border-radius: 12px;
  background: rgba(212, 175, 55, 0.16);
  font-size: 0.72rem;
}

.demo-promo-box {
  display: grid;
  gap: 0.35rem;
  padding: 0.65rem;
}

.demo-promo-box span {
  width: fit-content;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.2);
  font-weight: 900;
}

.demo-cart-line {
  grid-template-columns: 68px 1fr auto;
}

.demo-cart-line img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 14px;
  background: #fffdf8;
  border: 1px solid rgba(122, 99, 82, 0.18);
}

body.notat-night-mode .demo-hero-shot,
body.notat-night-mode .demo-offer-shot,
body.notat-night-mode .demo-result-card,
body.notat-night-mode .demo-product-card,
body.notat-night-mode .demo-promo-box,
body.notat-night-mode .demo-cart-line,
body.notat-night-mode .demo-mobile-nav,
body.notat-night-mode .demo-search-box {
  background: rgba(250, 247, 242, 0.08);
  color: var(--night-text);
}

body.notat-night-mode .demo-result-card strong,
body.notat-night-mode .demo-product-card strong,
body.notat-night-mode .demo-cart-line strong,
body.notat-night-mode .demo-promo-box b {
  color: var(--notat-champagne);
}

body.notat-night-mode .demo-offer-shot::after {
  background: linear-gradient(90deg, rgba(18, 13, 9, 0.88), rgba(18, 13, 9, 0.36));
}

@media (max-width: 760px) {
  .notat-guide-visual {
    flex-basis: clamp(315px, 50vh, 390px) !important;
  }

  .notat-demo-body {
    padding: 10px !important;
    gap: 8px !important;
  }

  .demo-hero-shot,
  .demo-offer-shot {
    min-height: 104px;
  }

  .demo-result-card,
  .demo-product-card {
    grid-template-columns: 76px 1fr;
    gap: 0.55rem;
    padding: 0.5rem;
  }

  .demo-result-card img,
  .demo-product-card img {
    width: 76px;
    height: 76px;
  }

  .demo-notes-box {
    max-height: 92px;
    overflow: auto;
  }

  .demo-cart-line {
    grid-template-columns: 54px 1fr;
  }

  .demo-cart-line img {
    width: 54px;
    height: 54px;
  }

  .demo-cart-line > span {
    grid-column: 1 / -1;
    justify-self: end;
  }
}
