/* Dolcezza Media Portal - Main Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@400;500;600;700;800;900&display=swap');

:root {
  --primary-pink: #ec1b5c;
  --primary-pink-hover: #d2124e;
  --primary-pink-light: #fff0f4;
  --primary-pink-border: #fca5bc;
  --bg-home: #e5e5e5;
  --bg-page: #f8f9fa;
  --bg-card: #ffffff;
  --text-main: #181818;
  --text-muted: #6c757d;
  --text-sub: #495057;
  --border-color: #e9ecef;
  --border-pink: #f87192;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
  --shadow-md: 0 6px 18px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 30px rgba(0,0,0,0.12);
  --radius-card: 20px;
  --radius-btn: 10px;
  --radius-pill: 50px;
  --font-main: 'Outfit', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

body {
  font-family: var(--font-main);
  color: var(--text-main);
  background-color: var(--bg-home);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main,
.home-container,
.gallery-layout,
.catalogs-container,
.order-download-container {
  flex: 1 0 auto;
}

.site-footer {
  margin-top: auto;
  text-align: center;
  padding: 2.5rem 1.5rem;
  color: #888;
  font-size: 0.85rem;
  border-top: 1px solid rgba(0,0,0,0.06);
  background: #ffffff;
  width: 100%;
}

.site-footer .footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

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

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  padding: 1.25rem 2.5rem;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.03);
}

.site-header .header-inner {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo img, .brand-logo svg {
  height: 44px;
  width: auto;
  display: block;
}

.brand-logo-text {
  font-size: 2.2rem;
  font-weight: 900;
  letter-spacing: 1px;
  color: #111;
  text-transform: uppercase;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: #333;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: all 0.2s ease;
}

.header-link:hover {
  background-color: #f1f3f5;
  color: var(--primary-pink);
}

/* ==========================================================================
   Homepage Grid & Cards (Screenshot 1 Match)
   ========================================================================== */
.home-container {
  max-width: 1400px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.home-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.home-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.home-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.home-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background-color: #f1f3f5;
  overflow: hidden;
}

.card-image-wrap.horizontal {
  aspect-ratio: 16 / 9;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.home-card:hover .card-image-wrap img {
  transform: scale(1.03);
}

.browse-pill {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background-color: var(--primary-pink);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 12px rgba(236, 27, 92, 0.4);
  transition: background-color 0.2s, transform 0.2s;
  cursor: pointer;
  z-index: 2;
}

.browse-pill:hover {
  background-color: var(--primary-pink-hover);
  transform: scale(1.05);
}

.card-content {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.card-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #111111;
  text-transform: uppercase;
}

.card-subtitle {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Horizontal card in 2-column rows */
.home-card.horizontal-card {
  flex-direction: row;
  align-items: center;
}

.home-card.horizontal-card .card-image-wrap {
  width: 42%;
  aspect-ratio: 4 / 3;
  flex-shrink: 0;
}

.home-card.horizontal-card .card-content {
  padding: 2rem;
}

/* Logo Download Cards */
.logo-download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.logo-card {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.logo-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.logo-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 140px;
  max-width: 180px;
}

.logo-preview img, .logo-preview svg {
  max-width: 100%;
  max-height: 50px;
  height: auto;
}

.logo-info {
  flex: 1;
}

.logo-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #111;
}

.logo-formats {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 4px;
}

.logo-actions {
  display: flex;
  gap: 8px;
}

.logo-stack-col {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  justify-content: space-between;
}

.logo-card-mini {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  padding: 1.25rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex: 1;
}

.logo-card-mini:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.mini-thumb {
  width: 90px;
  height: 90px;
  object-fit: contain;
  background: #ffffff;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #f0f0f0;
  flex-shrink: 0;
}

.mini-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  min-width: 0;
}

.mini-title {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #111111;
  text-transform: uppercase;
}

.mini-format {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
}

.btn-mini-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary-pink);
  color: #ffffff !important;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: 0 3px 8px rgba(236, 27, 92, 0.35);
  transition: background-color 0.2s, transform 0.2s;
  width: fit-content;
  margin-top: 2px;
}

.btn-mini-download:hover {
  background-color: var(--primary-pink-hover);
  transform: scale(1.04);
}

.btn-logo-download {
  background-color: var(--primary-pink-light);
  color: var(--primary-pink);
  border: 1px solid var(--primary-pink-border);
  font-weight: 700;
  font-size: 0.8rem;
  padding: 6px 12px;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-logo-download:hover {
  background-color: var(--primary-pink);
  color: #ffffff;
}

/* ==========================================================================
   Gallery Page (Screenshot 2 Match)
   ========================================================================== */
.gallery-layout {
  display: flex;
  max-width: 1540px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
  gap: 2rem;
  align-items: flex-start;
}

/* Left Sidebar Filters */
.gallery-sidebar {
  width: 290px;
  flex-shrink: 0;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.search-box-wrap {
  display: flex;
  gap: 6px;
  margin-bottom: 1.25rem;
}

.search-input {
  flex: 1;
  padding: 10px 14px;
  font-size: 0.85rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.search-input:focus {
  border-color: var(--primary-pink);
}

.search-btn {
  background-color: var(--primary-pink);
  color: #ffffff;
  border: none;
  width: 42px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.search-btn:hover {
  background-color: var(--primary-pink-hover);
}

.btn-back-all {
  display: block;
  width: 100%;
  background-color: var(--primary-pink);
  color: #ffffff;
  text-align: center;
  padding: 12px;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 8px;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 10px rgba(236, 27, 92, 0.25);
  transition: background-color 0.2s, transform 0.2s;
}

.btn-back-all:hover {
  background-color: var(--primary-pink-hover);
  transform: translateY(-1px);
}

.filter-group {
  margin-bottom: 1.25rem;
}

.filter-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #2b2b2b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.filter-select {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: inherit;
  color: #333;
  background-color: #ffffff;
  border: 1px solid #dcdfe6;
  border-radius: 6px;
  outline: none;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 16px;
  transition: border-color 0.2s;
}

.filter-select:focus {
  border-color: var(--primary-pink);
}

.btn-reset-filters {
  display: block;
  width: 100%;
  background-color: var(--primary-pink);
  color: #ffffff;
  border: none;
  text-align: center;
  padding: 11px;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
  transition: background-color 0.2s;
}

.btn-reset-filters:hover {
  background-color: var(--primary-pink-hover);
}

.sidebar-divider {
  border: none;
  border-top: 1px solid #e9ecef;
  margin: 1.5rem 0;
}

.missing-section h4 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.missing-section p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 12px;
}

.missing-form input, .missing-form textarea {
  width: 100%;
  padding: 8px 10px;
  font-size: 0.82rem;
  font-family: inherit;
  border: 1px solid #ced4da;
  border-radius: 6px;
  margin-bottom: 8px;
  outline: none;
}

.missing-form textarea {
  resize: vertical;
  min-height: 50px;
}

.btn-missing-submit {
  width: 100%;
  background-color: #333333;
  color: #ffffff;
  border: none;
  padding: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-missing-submit:hover {
  background-color: #111111;
}

/* ==========================================================================
   Gallery Main Area (Bulk Download Banner + Grid)
   ========================================================================== */
.gallery-main {
  flex: 1;
  min-width: 0;
}

/* Bulk Download Card */
.bulk-download-card {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  text-align: center;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 14px rgba(236, 27, 92, 0.05);
}

.bulk-download-card h2 {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
  color: #111;
  text-transform: uppercase;
}

.bulk-download-card .bulk-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.bulk-buttons-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.btn-bulk-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 18px;
  border: 1px solid var(--border-pink);
  background-color: #ffffff;
  color: var(--primary-pink);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-bulk-group:hover {
  background-color: var(--primary-pink);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(236, 27, 92, 0.3);
}

/* Results Meta Bar */
.results-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
  color: #495057;
}

.results-count {
  font-weight: 500;
}

.sort-select {
  padding: 6px 12px;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.85rem;
  font-family: inherit;
  outline: none;
}

/* Product Cards Grid (Screenshot 2) */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.product-card {
  background: #ffffff;
  border: 1px solid var(--border-pink);
  border-radius: 10px;
  padding: 1.25rem 1rem 1rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.product-main-image-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  background-color: #fafafa;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

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

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

.btn-download-image {
  display: block;
  width: 100%;
  background-color: var(--primary-pink);
  color: #ffffff;
  text-align: center;
  padding: 10px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  margin-bottom: 0.75rem;
  transition: background-color 0.2s;
}

.btn-download-image:hover {
  background-color: var(--primary-pink-hover);
}

/* Download for Web Page box with metadata (Screenshot 2 exact match) */
.product-meta-badge {
  border: 1px solid var(--border-pink);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1rem;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-pink);
  background: #ffffff;
  cursor: pointer;
  transition: background-color 0.2s;
}

.product-meta-badge:hover {
  background-color: var(--primary-pink-light);
}

.badge-row {
  padding: 4px 6px;
  border-bottom: 1px solid var(--border-pink);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.badge-row:last-child {
  border-bottom: none;
  font-size: 0.68rem;
  font-weight: 600;
  white-space: normal;
  padding: 5px 6px;
  line-height: 1.2;
}

/* Multi-angle thumbnails */
.product-thumbnails {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 1rem;
}

.thumb-item {
  width: 48px;
  height: 64px;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  background: #f8f9fa;
  transition: border-color 0.2s, transform 0.2s;
}

.thumb-item:hover, .thumb-item.active {
  border-color: var(--primary-pink);
  transform: scale(1.05);
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-title {
  text-align: center;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111111;
  margin-top: auto;
  letter-spacing: 0.5px;
}

/* Pagination */
.pagination-wrap {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 2.5rem;
  margin-bottom: 2rem;
}

.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #333;
  transition: all 0.2s;
}

.page-btn:hover {
  border-color: var(--primary-pink);
  color: var(--primary-pink);
}

.page-btn.active {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
  color: #ffffff;
}

/* ==========================================================================
   Toast / Notification Alert
   ========================================================================== */
.toast-notice {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111111;
  color: #ffffff;
  padding: 14px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 9999;
  animation: slideUp 0.3s ease;
}

.toast-notice.success {
  border-left: 5px solid #10b981;
}

.toast-notice.error {
  border-left: 5px solid var(--primary-pink);
}

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

/* ==========================================================================
   Catalogues & LineSheets Page
   ========================================================================== */
.catalogs-page-container {
  max-width: 1400px;
  margin: 2.5rem auto 4rem;
  padding: 0 1.5rem;
}

.catalogs-page-header {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 2rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.header-titles {
  flex: 1;
  min-width: 280px;
}

.page-main-title {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #111111;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.page-main-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 500;
}

.catalogs-nav-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.catalog-nav-link {
  display: inline-flex;
  align-items: center;
  padding: 8px 18px;
  background: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  color: #495057;
  transition: all 0.2s ease;
}

.catalog-nav-link:hover, .catalog-nav-link.active {
  background-color: var(--primary-pink);
  border-color: var(--primary-pink);
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(236, 27, 92, 0.3);
}

.season-section {
  margin-bottom: 3.5rem;
  scroll-margin-top: 100px;
}

.season-section-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid #dedede;
}

.season-title {
  font-size: 1.4rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #1a1a1a;
  text-transform: uppercase;
}

.season-badge {
  background: #ffffff;
  color: #555555;
  border: 1px solid #d5d5d5;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.catalogs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.catalog-card {
  background: var(--bg-card);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  border: 1px solid rgba(0,0,0,0.06);
}

.catalog-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.catalog-cover-wrap {
  width: 44%;
  flex-shrink: 0;
  position: relative;
  background: #f8f9fa;
  border-right: 1px solid #edf0f2;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.catalog-cover-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.catalog-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.catalog-card:hover .catalog-cover-img {
  transform: scale(1.04);
}

.catalog-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.catalog-card:hover .catalog-overlay {
  opacity: 1;
}

.btn-preview {
  background: #ffffff;
  color: #111111;
  font-weight: 800;
  font-size: 0.85rem;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transform: translateY(10px);
  transition: transform 0.25s ease;
}

.catalog-card:hover .btn-preview {
  transform: translateY(0);
}

.catalog-type-pill {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.pill-catalogue {
  background: #111111;
  color: #ffffff;
}

.pill-linesheet {
  background: var(--primary-pink);
  color: #ffffff;
}

.catalog-card-body {
  padding: 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.catalog-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.catalog-brand {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary-pink);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.catalog-size {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  background: #f1f3f5;
  padding: 2px 8px;
  border-radius: 4px;
}

.catalog-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #111111;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.catalog-subtitle {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 1.5rem;
}

.catalog-card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.btn-catalog-view {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--primary-pink);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: background-color 0.2s, transform 0.2s;
  box-shadow: 0 4px 10px rgba(236, 27, 92, 0.25);
}

.btn-catalog-view:hover {
  background-color: var(--primary-pink-hover);
  transform: translateY(-1px);
}

.btn-catalog-download {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #f1f3f5;
  color: #222222 !important;
  border: 1px solid #dcdfe6;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: 8px;
  transition: all 0.2s;
}

.btn-catalog-download:hover {
  background-color: #e2e6ea;
  color: #000000 !important;
}

/* ==========================================================================
   Easy Order Download Page
   ========================================================================== */
.order-search-box {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 2.25rem 2.5rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(0,0,0,0.06);
}

.order-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 1.5rem;
  align-items: flex-end;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: #222222;
  text-transform: uppercase;
}

.form-input {
  width: 100%;
  padding: 12px 16px;
  font-size: 1rem;
  font-weight: 600;
  border: 1.5px solid #dcdfe6;
  border-radius: 8px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  background-color: #fafbfc;
}

.form-input:focus {
  border-color: var(--primary-pink);
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(236, 27, 92, 0.15);
}

.btn-order-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: var(--primary-pink);
  color: #ffffff;
  border: none;
  padding: 13px 28px;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(236, 27, 92, 0.35);
  transition: background-color 0.2s, transform 0.2s;
  height: 48px;
}

.btn-order-search:hover {
  background-color: var(--primary-pink-hover);
  transform: translateY(-1px);
}

.other-orders-bar {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #edf0f2;
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.other-orders-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #495057;
}

.other-orders-title strong {
  color: var(--primary-pink);
}

.other-orders-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-other-order {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: #212529;
  transition: all 0.2s ease;
}

.btn-other-order:hover {
  background: var(--primary-pink-light);
  border-color: var(--primary-pink-border);
  color: var(--primary-pink);
  transform: translateY(-1px);
}

.other-season-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.pill-fa26 {
  background: #111111;
  color: #ffffff;
}

.pill-sp26 {
  background: #0284c7;
  color: #ffffff;
}

.pill-golf {
  background: #059669;
  color: #ffffff;
}

.order-badge-collection {
  background: #111111;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.other-pill {
  background: #ffffff;
  border: 1px solid #dee2e6;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 2px 6px;
  border-radius: 4px;
}

.order-alert-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 0.95rem;
}

.order-alert-box.error {
  border-left: 5px solid var(--primary-pink);
  color: #c9184a;
  background: #fff5f7;
}

.order-summary-bar {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 1.5rem 2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
}

.order-title-line {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.order-badge {
  background: #f8f9fa;
  border: 1px solid #dee2e6;
  font-size: 0.85rem;
  padding: 6px 14px;
  border-radius: 6px;
  color: #333;
}

.order-badge strong {
  color: var(--primary-pink);
  font-weight: 800;
}

.order-badge-soft {
  background: var(--primary-pink-light);
  color: var(--primary-pink);
  border: 1px solid var(--primary-pink-border);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
}

.order-actions-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-action-outline {
  background: #ffffff;
  border: 1px solid #ced4da;
  color: #495057;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-action-outline:hover {
  background: #f1f3f5;
  border-color: #adb5bd;
  color: #111;
}

.btn-download-batch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--primary-pink);
  color: #ffffff;
  border: none;
  font-weight: 800;
  font-size: 0.9rem;
  padding: 10px 22px;
  border-radius: 8px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(236, 27, 92, 0.35);
  transition: background-color 0.2s, transform 0.2s;
}

.btn-download-batch:hover {
  background-color: var(--primary-pink-hover);
  transform: translateY(-1px);
}

.order-product-card {
  position: relative;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.order-product-card.selected {
  border-color: var(--primary-pink);
  box-shadow: 0 0 0 2px var(--primary-pink), var(--shadow-md);
}

.card-select-label {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-checkbox {
  width: 22px;
  height: 22px;
  accent-color: var(--primary-pink);
  cursor: pointer;
  transform: scale(1.2);
}

.order-empty-box {
  background: #ffffff;
  border-radius: var(--radius-card);
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .home-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .catalogs-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .gallery-layout {
    flex-direction: column;
  }
  .gallery-sidebar {
    width: 100%;
    position: static;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .home-grid-2col, .logo-download-grid {
    grid-template-columns: 1fr;
  }
  .home-card.horizontal-card {
    flex-direction: column;
  }
  .home-card.horizontal-card .card-image-wrap {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .home-grid, .product-grid {
    grid-template-columns: 1fr;
  }
  .site-header {
    padding: 1rem;
  }
  .brand-logo-text {
    font-size: 1.5rem;
  }
}
