/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:wght@500;700&family=Source+Sans+3:wght@300;400;600;700&display=swap");

* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --bg: #f2f2f2;
  --ink: #1c1b1a;
  --muted: #6c6761;
  --card: #ffffff;
  --accent: #0b4f6c;
  --accent-2: #e85d04;
  --border: #e6ded5;
  --shadow: 0 18px 36px rgba(20, 20, 20, 0.08);
}

html,
body {
  padding: 0;
  margin: 0;
  font-family: "Source Sans 3", "Helvetica", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  min-height: 100%;
}

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

main {
  max-width: 1400px;
  margin: 0 auto;
  padding: 22px 20px 84px;
}

h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.1;
  margin: 0;
}

.topbar {
  background: #1b263b;
  color: white;
  font-size: 12px;
  padding: 8px 20px;
  text-align: center;
}

.header {
  max-width: 1400px;
  margin: 16px auto 0;
  background: white;
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 16px 18px;
}

.header-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  grid-gap: 16px;
  gap: 16px;
  align-items: center;
}

.brand {
  font-family: "Playfair Display", "Georgia", serif;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.6px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 70px;
  width: auto;
  display: block;
}

.brand span {
  display: none;
}

.search {
  display: grid;
  grid-template-columns: 1fr;
  grid-gap: 8px;
  gap: 8px;
  align-items: center;
}

.search input,
.search select {
  border-radius: 10px;
}

.search-wrap {
  position: relative;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: white;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 8px;
  z-index: 10;
}

.search-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 12px;
  border-radius: 10px;
  border: none;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease;
}

.search-item:hover {
  background: #f5f1ec;
}

.search-empty {
  padding: 12px;
  color: var(--muted);
}

.search-all {
  width: 100%;
  margin-top: 6px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed var(--border);
  background: transparent;
  cursor: pointer;
  color: var(--muted);
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}

.search-all:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: #fff;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.icon-btn {
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  font-size: 13px;
  background: #faf9f7;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  border-color: #d9cfc2;
  background: #fff;
}

.dropdown {
  position: relative;
}

.dropdown::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 10px;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  margin-top: 6px;
  right: 0;
  min-width: 220px;
  background: white;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
  z-index: 20;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.dropdown-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
}

.dropdown-item:hover {
  background: #f5f1ec;
}

.dropdown-empty {
  padding: 10px 12px;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 13px;
  flex-wrap: wrap;
  padding-top: 12px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}

.banner {
  margin: 18px auto 0;
  max-width: 1400px;
  padding: 26px 28px;
  border-radius: 22px;
  background: linear-gradient(130deg, #1b263b, #0b4f6c);
  color: white;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.banner h2 {
  font-family: "Playfair Display", "Georgia", serif;
  margin: 0 0 6px;
  font-size: clamp(22px, 3vw, 30px);
}

.banner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--accent);
  color: white;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(15, 84, 116, 0.22);
}

.button.small {
  padding: 8px 12px;
  font-size: 13px;
}

.cart-pulse {
  animation: cartPulse 0.7s ease-out;
}

@keyframes cartPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(15, 84, 116, 0.3);
  }
  40% {
    transform: scale(1.05);
    box-shadow: 0 0 0 10px rgba(15, 84, 116, 0);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 rgba(15, 84, 116, 0);
  }
}

.toast {
  position: fixed;
  right: 28px;
  bottom: 28px;
  background: #1f2a44;
  color: #fff;
  padding: 12px 16px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
  z-index: 2000;
  animation: toastIn 0.25s ease-out;
}

.admin-subnav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  margin: 8px 0 16px;
  background: var(--card);
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.admin-subnav a {
  text-decoration: none;
  color: var(--accent);
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f1e7da;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.admin-subnav a:hover {
  background: var(--accent-2);
  color: #fff;
  transform: translateY(-1px);
}

.admin-subnav a.active {
  background: var(--accent);
  color: #fff;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

@keyframes toastIn {
  from {
    transform: translateY(12px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.button.secondary {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
}

.button.ghost {
  background: transparent;
  border: 1px dashed var(--border);
  color: var(--muted);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  grid-gap: 18px;
  gap: 18px;
}

.products-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  grid-gap: 24px;
  gap: 24px;
  margin-top: 16px;
}

.filters {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.filters-card {
  background: var(--card);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.filters-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
}

.filters-list {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.filters-form {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.sort-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.sort-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

@media (max-width: 1100px) {
  .products-layout {
    grid-template-columns: 1fr;
  }
}

.card {
  background: var(--card);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card {
  height: 100%;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 38px rgba(20, 20, 20, 0.12);
}

.product-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.range-group {
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.range-values {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}

.range-edit {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}

.range-field {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.range-input {
  width: 86px;
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 12px;
  text-align: center;
}

.range-currency {
  font-size: 12px;
  color: var(--muted);
}

.range-sep {
  color: var(--muted);
  font-size: 12px;
}

.range-slider {
  position: relative;
  height: 22px;
}

.range-slider__track {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  z-index: 0;
  height: 6px;
  border-radius: 999px;
  background: #e8dfd4;
  transform: translateY(-50%);
}

.range-slider__input {
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: transparent;
  outline: none;
  position: absolute;
  left: 0;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  pointer-events: none;
}

.range-slider__input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(15, 84, 116, 0.25);
  cursor: pointer;
  pointer-events: auto;
}

.range-slider__input::-moz-range-thumb {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid #ffffff;
  box-shadow: 0 4px 10px rgba(15, 84, 116, 0.25);
  cursor: pointer;
  pointer-events: auto;
}

.muted {
  color: var(--muted);
}

.price {
  font-weight: 700;
  font-size: 18px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 24px;
  gap: 24px;
  align-items: center;
  margin: 18px 0 24px;
}

.hero h1 {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: clamp(34px, 4vw, 52px);
  margin: 0 0 12px;
}

.hero p {
  margin: 0 0 16px;
  line-height: 1.6;
}

.section-title {
  font-family: "Playfair Display", "Georgia", serif;
  font-size: 26px;
  margin: 28px 0 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  text-align: left;
  padding: 10px;
  border-bottom: 1px solid var(--border);
}

input,
textarea,
select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  font-family: inherit;
}

label {
  font-size: 13px;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #f3ebe1;
  font-size: 12px;
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.pill:hover {
  transform: translateY(-1px);
}

.pill.active {
  background: var(--accent);
  color: white;
}

.image {
  width: 100%;
  height: 180px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border);
}

.title-link {
  color: inherit;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.title-link:hover {
  color: var(--accent);
}

.product-detail {
  gap: 20px;
}

.breadcrumb {
  font-size: 13px;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  grid-gap: 32px;
  gap: 32px;
  align-items: start;
}

.product-media {
  background: #f6f1ea;
  border-radius: 20px;
  padding: 18px;
  border: 1px solid var(--border);
}

.product-image {
  width: 100%;
  height: 100%;
  min-height: 380px;
  max-height: 520px;
  border-radius: 18px;
  object-fit: cover;
  display: block;
}

.product-info h1 {
  font-size: clamp(28px, 3vw, 34px);
  margin: 0 0 6px;
}

.product-info .pill {
  margin: 8px 0 12px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.checkout-shell {
  background: linear-gradient(180deg, #ffffff, #faf7f2);
}

.checkout-form {
  border: 1px solid var(--border);
  background: #fff;
}

.checkout-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.checkout-section {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #fffcf8;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.checkout-section h3 {
  margin: 0 0 2px;
}

.option-list {
  display: grid;
  grid-gap: 8px;
  gap: 8px;
}

.option-row {
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 9px 10px;
  background: #fff;
}

.option-row input[type="radio"] {
  width: auto;
  margin-right: 8px;
}

.option-row span {
  flex: 1 1;
}

.option-row.disabled {
  opacity: 0.55;
}

.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.inline-check input {
  width: auto;
}

.checkout-summary {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px;
  background: #f4efe7;
  display: grid;
  grid-gap: 10px;
  gap: 10px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-row.total {
  font-size: 18px;
}

.checkout-cta {
  display: flex;
  justify-content: flex-end;
}

.checkout-success {
  border: 1px solid #c6ebd1;
  background: #f3fff7;
}

.checkout-error {
  border: 1px solid #f0c5c5;
  background: #fff6f6;
}

@media (max-width: 1000px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }

  .product-image {
    min-height: 280px;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .header-top {
    grid-template-columns: 1fr;
  }

  .search {
    grid-template-columns: 1fr;
  }

  .brand span {
    display: inline;
  }
}
.pill.selected {
  background: var(--accent-2);
  color: white;
}

