/* ==============================================================================
   The Print Gift - Modern E-Commerce Storefront Theme
   Colors:
     Header Accent: Deep Navy Blue (#0B2C52 / #10345E)
     Brand Primary & Highlights: Sky/Royal Blue (#1976D2 / #2196F3 / #1E88E5)
     Backgrounds: Pure White (#FFFFFF), Warm Peach (#FDF3E7), Soft Ice Blue (#EEF6FC)
     Typography: Espresso Title (#3A2E28), Slate Body (#1E293B), Cool Grey (#64748B)
   Fonts: Oswald & Barlow Condensed (Headings), Inter (Body & Geometric Tagline)
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@600;700;800&family=Inter:wght@400;500;600;700&family=Oswald:wght@600;700&family=Poppins:wght@500;600;700;800&display=swap');

:root {
  --primary: #1976D2;
  --primary-dark: #1565C0;
  --brand-sky: #1E88E5;
  --brand-royal: #2196F3;
  --header-navy: #0B2C52;
  --header-navy-dark: #10345E;
  --cream-peach: #FDF3E7;
  --ice-blue: #EEF6FC;
  --espresso-title: #3A2E28;
  --slate-body: #1E293B;
  --cool-grey: #64748B;
  --search-fill: #F1F5F9;
  --search-border: #CBD5E1;
  --nav-border: #E2E8F0;
  --secondary: #1E2A3A;
  --accent-green: #1A9E55;
  --yellow: #FFC233;
  --bg-soft: #F7F7F8;
  --border: #E2E8F0;
  --text: #1E293B;
  --muted: #64748B;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background-color: #FFFFFF;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .font-heading {
  font-family: 'Poppins', sans-serif;
}

.font-condensed, .section-condensed-title {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
}

/* Hero Headline: Clean, wide/geometric sans-serif in Sky Blue (#1E88E5), centered */
.hero-headline-sky {
  font-family: 'Inter', -apple-system, sans-serif;
  font-weight: 600;
  color: #1E88E5;
  letter-spacing: -0.01em;
  text-align: center;
}

/* Header Accent Bar: Deep Navy Blue (#0B2C52 / #10345E) */
.header-accent-bar {
  background-color: #0B2C52;
  background: linear-gradient(135deg, #0B2C52 0%, #10345E 100%);
  color: #FFFFFF;
  line-height: 1.2;
}

/* Categorized Showcase Blocks (Max width: 1200px, 12px radius, 24px padding) */
.showcase-block {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 12px;
  padding: 24px;
  box-sizing: border-box;
}
.showcase-block-peach {
  background-color: #FDF3E7;
  border: 1px solid rgba(245, 230, 216, 0.8);
}
.showcase-block-ice {
  background-color: #EEF6FC;
  border: 1px solid rgba(219, 234, 248, 0.8);
}

/* Section Title: Dark Charcoal / Espresso Brown (#3A2E28), bold uppercase condensed */
.showcase-section-title {
  font-family: 'Barlow Condensed', 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 26px;
  text-transform: uppercase;
  color: #3A2E28;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 20px;
}
@media (min-width: 768px) {
  .showcase-section-title {
    font-size: 30px;
  }
}

/* Product Cards in Showcase: Square thumbnails (border-radius: 10px), subtle shadow, scale-105 hover */
.showcase-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
}
.showcase-card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  overflow: hidden;
  background-color: #FFFFFF;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.showcase-card:hover .showcase-card-thumb {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}
.showcase-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.showcase-card-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.3;
  transition: color 0.15s ease;
}
.showcase-card:hover .showcase-card-label {
  color: #1976D2;
}

/* Search Input: Wide Pill-shaped, light blue-grey fill #F1F5F9, border #CBD5E1 */
.pill-search-input-wrap {
  position: relative;
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
}
.pill-search-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 48px;
  background-color: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: 9999px;
  padding: 0 8px 0 24px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.pill-search-container:focus-within {
  background-color: #FFFFFF;
  border-color: #1976D2;
  box-shadow: 0 0 0 3px rgba(25, 118, 210, 0.15);
}
.pill-search-field {
  flex-grow: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #1E293B;
  font-style: italic;
  font-family: inherit;
}
.pill-search-field::placeholder {
  color: #64748B;
  font-style: italic;
  opacity: 0.85;
}
.pill-search-divider {
  width: 1px;
  height: 22px;
  background-color: #CBD5E1;
  margin: 0 8px;
}
.pill-search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  padding: 8px 14px;
  color: #64748B;
  cursor: pointer;
  border-radius: 9999px;
  transition: color 0.15s ease;
}
.pill-search-btn:hover {
  color: #1976D2;
}

a {
  color: inherit;
  text-decoration: none;
}

/* Container */
.tpg-container {
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}
@media (min-width: 768px) {
  .tpg-container {
    padding-left: 24px;
    padding-right: 24px;
  }
}

/* Section Vertical Spacing */
.tpg-section {
  padding-top: 40px;
  padding-bottom: 40px;
}
@media (min-width: 768px) {
  .tpg-section {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

/* Section Header Style */
.section-title-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
.section-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--secondary);
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}
@media (min-width: 768px) {
  .section-title {
    font-size: 28px;
  }
}
.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 3px;
  background-color: var(--primary);
  border-radius: 2px;
}
.section-view-all {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: transform 0.2s ease, color 0.2s ease;
}
.section-view-all:hover {
  transform: translateX(3px);
  color: var(--primary-dark);
}

/* Cards & Hover Lift */
.tpg-card {
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.tpg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

/* Product Card (Exact Master Context Pattern) */
.product-card {
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}
.product-thumb-wrap {
  position: relative;
  width: 100%;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background-color: #F3F4F6;
  overflow: hidden;
}
.product-thumb {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}
.product-card:hover .product-thumb {
  transform: scale(1.04);
}
.product-info {
  padding: 12px 14px 16px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 14px;
  font-weight: 500;
  color: #222222;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 38px;
}
@media (min-width: 768px) {
  .product-title {
    font-size: 15px;
  }
}
.product-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.price-from {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
}
.price-sale {
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  font-family: 'Poppins', sans-serif;
}
.price-mrp {
  font-size: 13px;
  color: #9CA3AF;
  text-decoration: line-through;
}
.discount-badge {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-green);
  background: #E8F8EE;
  padding: 1px 6px;
  border-radius: 4px;
}
.unit-qualifier {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary);
  color: #FFFFFF;
  border-radius: 8px;
  min-height: 44px;
  padding: 0 20px;
  font-family: 'Poppins', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease, box-shadow 0.2s ease;
}
.btn-primary:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 4px 12px rgba(232, 70, 47, 0.3);
}
.btn-primary:active {
  transform: scale(0.98);
}

/* Pill Badges */
.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 600;
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: #F5F5F7;
  color: #555555;
  font-size: 13px;
  border-bottom: 1px solid var(--border);
  height: 36px;
  display: flex;
  align-items: center;
  transition: max-height 0.25s ease, opacity 0.25s ease;
}
.header-pinned .top-utility-bar {
  display: none;
}

/* Main Header */
.site-header {
  position: relative;
  background: #FFFFFF;
  z-index: 100;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
.header-sticky-wrapper {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #FFFFFF;
  transition: box-shadow 0.25s ease;
}
.header-sticky-wrapper.is-sticky {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}
.main-header-row {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
@media (min-width: 1024px) {
  .main-header-row {
    height: 72px;
  }
}

/* Search Bar */
.search-form-wrap {
  position: relative;
  width: 100%;
  max-width: 580px;
}
.search-input-field {
  width: 100%;
  height: 42px;
  background-color: #F4F4F6;
  border: 1px solid transparent;
  border-radius: 22px;
  padding: 0 44px 0 18px;
  font-size: 14px;
  color: #222222;
  outline: none;
  transition: all 0.2s ease;
}
.search-input-field:focus {
  background-color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(232, 70, 47, 0.12);
}
.search-btn-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Search Autosuggest Dropdown */
.search-suggest-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--border);
  max-height: 440px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}
.search-suggest-dropdown.active {
  display: block;
}
.suggest-section-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  padding: 8px 16px 4px;
  background-color: #F9FAFB;
  border-bottom: 1px solid #F3F4F6;
}
.suggest-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-bottom: 1px solid #F3F4F6;
  transition: background 0.15s ease;
  font-size: 13px;
}
.suggest-item:hover {
  background-color: #FFF5F4;
}
.suggest-item-name {
  font-weight: 500;
  color: #222222;
}
.suggest-item-cat {
  font-size: 11px;
  color: var(--muted);
}
.suggest-item-price {
  font-weight: 700;
  color: var(--primary);
}

/* Category Navigation Bar */
.category-nav-bar {
  background: #FFFFFF;
  border-bottom: 1px solid var(--border);
  position: relative;
}
.cat-menu-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 20px;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.cat-menu-list::-webkit-scrollbar {
  display: none;
}
.cat-menu-item {
  position: relative;
}
.cat-menu-link {
  display: inline-flex;
  align-items: center;
  padding: 12px 4px;
  font-size: 14px;
  font-weight: 600;
  color: #2D3748;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}
.cat-menu-item:hover .cat-menu-link {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

/* Mega Menu Dropdown (Desktop) */
.mega-menu-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  background: #FFFFFF;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
  border-top: 1px solid var(--border);
  border-bottom: 3px solid var(--primary);
  padding: 30px;
  z-index: 99;
}
.cat-menu-item:hover .mega-menu-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr) 260px;
  gap: 24px;
}
.mega-subcat-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-subcat-link {
  font-size: 13px;
  color: #4B5563;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.15s ease, transform 0.15s ease;
}
.mega-subcat-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}
.mega-promo-card {
  background: linear-gradient(135deg, #FFF5F4, #FFEBE8);
  border-radius: 10px;
  padding: 20px;
  border: 1px dashed rgba(232, 70, 47, 0.3);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Mobile Slide-in Drawer */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100%;
  background: #FFFFFF;
  z-index: 1002;
  box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-drawer-overlay.active .mobile-drawer {
  transform: translateX(320px);
}
.mobile-drawer-header {
  padding: 16px 20px;
  background: var(--secondary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-drawer-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 16px 0;
}

/* Mobile Accordions */
.mobile-acc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  color: #2D3748;
  cursor: pointer;
  border-bottom: 1px solid #F3F4F6;
}
.mobile-acc-content {
  display: none;
  background-color: #F9FAFB;
  padding: 8px 24px 12px;
}
.mobile-acc-content.open {
  display: block;
}
.mobile-acc-sublink {
  display: block;
  padding: 6px 0;
  font-size: 13px;
  color: #4B5563;
}
.mobile-acc-sublink:hover {
  color: var(--primary);
}

/* Swiper Controls Custom Styling */
.swiper-pagination-bullet {
  background: rgba(0, 0, 0, 0.2);
  opacity: 1;
  width: 9px;
  height: 9px;
  transition: all 0.2s ease;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
  width: 24px;
  border-radius: 6px;
}
.hero-swiper-btn {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--secondary);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.hero-swiper-btn:hover {
  background: #FFFFFF;
  color: var(--primary);
  transform: scale(1.08);
}
.hero-swiper-btn::after {
  display: none;
}

/* Trust Badges Bar */
.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: #FFFFFF;
  border-radius: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  flex-shrink: 0;
  min-width: 210px;
}

/* Popular Products Rounded Tiles (120px mobile, 160px desktop) */
.popular-tile-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.2s ease;
}
.popular-tile-card:hover {
  transform: translateY(-4px);
}
.popular-tile-thumb {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  background-color: #F8FAFC;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
@media (min-width: 768px) {
  .popular-tile-thumb {
    width: 160px;
    height: 160px;
  }
}
.popular-tile-card:hover .popular-tile-thumb {
  border-color: var(--primary);
  box-shadow: 0 6px 18px rgba(232, 70, 47, 0.2);
}
.popular-tile-label {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  line-height: 1.3;
  max-width: 160px;
}

/* Review Cards & Clamping */
.review-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-clamp-3.expanded {
  -webkit-line-clamp: unset;
}

/* Modal Popup (Bulk Enquiries) */
.tpg-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.tpg-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.tpg-modal-card {
  background: #FFFFFF;
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(20px);
  transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}
.tpg-modal-overlay.active .tpg-modal-card {
  transform: translateY(0);
}

/* Footer (Dark Navy #1E2A3A) */
.site-footer {
  background-color: var(--secondary);
  color: #E2E8F0;
  font-size: 14px;
}
.footer-trust-strip {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(232, 70, 47, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-title {
  font-weight: 600;
  font-size: 14px;
  color: #FFFFFF;
}
.trust-desc {
  font-size: 12px;
  color: #94A3B8;
}
.footer-columns-wrap {
  padding: 48px 0 36px;
}
.footer-col-title {
  font-family: 'Poppins', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
  position: relative;
  display: inline-block;
}
.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links-list a {
  color: #94A3B8;
  font-size: 13px;
  transition: color 0.15s ease, transform 0.15s ease;
  display: inline-block;
}
.footer-links-list a:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}
.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 13px;
  color: #94A3B8;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

/* Back To Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 88px;
  right: 26px;
  width: 44px;
  height: 44px;
  background-color: var(--secondary);
  color: #FFFFFF;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.2s ease;
  border: none;
  cursor: pointer;
}
.back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top-btn:hover {
  background-color: var(--primary);
  transform: translateY(-2px);
}

/* Toast System */
#toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.tpg-toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 380px;
  background: #FFFFFF;
  border-radius: 8px;
  padding: 12px 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-left: 4px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  animation: slideInRight 0.3s ease;
}
.tpg-toast.success { border-left-color: var(--accent-green); }
.tpg-toast.error { border-left-color: #DC2626; }
.tpg-toast.info { border-left-color: #2563EB; }

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Responsive Grids */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}
@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
  }
}

/* ==============================================================================
   PRINTSHOPPY EXACT UI COMPONENTS: Announcement Marquee, Tagline & Search Divider
   ============================================================================== */
.ps-announcement-banner {
  background: #17212E;
  color: #FFFFFF;
  padding: 8px 0;
  overflow: hidden;
  font-size: 12px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ps-announcement-wrapper {
  width: 100%;
  overflow: hidden;
}
.ps-announcement-track {
  display: flex;
  width: max-content;
  animation: psMarquee 26s linear infinite;
}
.ps-announcement-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding-right: 28px;
  white-space: nowrap;
}
.ps-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.ps-announcement-badge {
  background: #E8462F;
  color: #FFFFFF;
  padding: 1px 7px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ps-announcement-highlight {
  color: #FFC233;
}
.ps-announcement-divider {
  display: inline-block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
}
@keyframes psMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* PrintShoppy Announcement Banner (Gradient dark navy/black bar) */
.ps-announcement-banner {
  position: relative;
  overflow: hidden;
  width: 100%;
  padding: 8px 0;
  background: linear-gradient(135deg, #17212E 0%, #16213e 50%, #0f172a 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-sizing: border-box;
  line-height: 1.2;
}
.ps-announcement-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
}
.ps-announcement-track {
  display: flex;
  width: max-content;
  animation: psMarquee 28s linear infinite;
}
.ps-announcement-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 16px;
  white-space: nowrap;
}
.ps-announcement-item {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: 0.3px;
}
.ps-announcement-badge {
  background: #E8462F;
  color: #FFFFFF;
  padding: 2px 8px;
  border-radius: 9999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.ps-announcement-highlight {
  color: #FFC233;
}
.ps-announcement-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.25);
}
@keyframes psMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* PrintShoppy Soft Blue Search Pill */
.ps-search-form {
  position: relative;
  width: 100%;
}
.ps-search-pill {
  width: 100%;
  height: 48px;
  border-radius: 9999px;
  background-color: #DFEEFA;
  border: 0.5px solid #B5DCFF;
  padding: 0 8px 0 24px;
  transition: box-shadow 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
  box-sizing: border-box;
}
.ps-search-pill:focus-within {
  box-shadow: 0 0 0 4px rgba(50, 149, 255, 0.18);
  border-color: #3295FF !important;
  background-color: #FFFFFF;
}
.ps-search-input {
  flex-grow: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
  color: #17212E;
  font-style: italic;
  font-family: inherit;
}
.ps-search-input::placeholder {
  color: #556B82;
  opacity: 0.75;
}
.psSearchDivider {
  display: block;
  width: 1px;
  height: 22px;
  background: #B5DCFF;
  margin: 0 8px;
}
.psSearchIconBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 9999px;
}

/* PrintShoppy Made From Your Memories Tagline Module */
.ps-home-tagline-module {
  width: 100%;
  box-sizing: border-box;
  text-align: center;
}
.ps-home-tagline-img {
  max-width: 90%;
  height: auto;
  margin: 0 auto;
}

/* Shake Animation on Cart */
.shakeMeDesktop:hover {
  animation: psShake 0.4s ease-in-out;
}
@keyframes psShake {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}
