@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,700;1,400&display=swap');

.blink {
  animation: blinker 1s linear infinite;
}

@keyframes blinker {
  50% {
    opacity: 0;
  }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  50% { transform: translateX(5px); }
  75% { transform: translateX(-5px); }
}

.shake {
  animation: shake 0.4s ease-in-out;
}

@keyframes myBounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

.fa-bounce-custom {
  animation: myBounce 1s infinite;
}

.shipping-icon {
  animation: moveIcon 4.5s infinite alternate;
}

.status-text {
  animation: glow 4.5s infinite alternate;
}

@keyframes glow {
  0% { color: #000000; }
  50% { color: #ffc107; }
  80% { color: #000000; }
}

@keyframes moveIcon {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(10px); }
}

body {
  font-family: 'Inter', sans-serif;
  background-color: #f2ede4;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.9) 0%, transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%, rgba(197,160,89,0.05) 100%);
  background-attachment: fixed;
  color: #3d3224;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(105deg, transparent 20%, rgba(255,255,255,0.2) 30%, transparent 40%, transparent 60%, rgba(255,255,255,0.2) 70%, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/natural-paper.png');
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
}

.font-serif {
  font-family: 'Playfair Display', serif;
}

.text-gold-3d {
  background: linear-gradient(to bottom, #d4af37 0%, #f9e596 30%, #c5a059 50%, #e8c872 75%, #a67c00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.15)) drop-shadow(0 1px 0 rgba(255,255,255,0.8));
}

body.home-editorial {
  font-family: 'Inter', sans-serif !important;
  background-color: #f2ede4 !important;
  background-image:
    radial-gradient(ellipse at 50% 0%, rgba(255,255,255,0.9) 0%, transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,0.4) 0%, transparent 40%, rgba(197,160,89,0.05) 100%) !important;
  background-attachment: fixed !important;
  color: #3d3224 !important;
}

.alsu-home-page {
  width: 100%;
  overflow: hidden;
}

.alsu-navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(242, 237, 228, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  text-align: center;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(197, 160, 89, 0.25);
}

.alsu-navbar .logo-title {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1;
  font-family: 'Playfair Display', serif;
}

.alsu-navbar .logo-subtitle {
  margin: 0.3rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.55em;
  font-weight: 500;
  color: #3d3224;
  text-transform: uppercase;
}

.alsu-hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  background-image: url('https://images.unsplash.com/photo-1524504388940-b1c1722653e1?w=1920&q=80');
  background-size: cover;
  background-position: center;
  isolation: isolate;
}

.alsu-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28, 20, 10, 0.2), rgba(28, 20, 10, 0.48));
  z-index: -1;
}

.alsu-hero-content {
  text-align: center;
  color: #f8f2e7;
  max-width: 760px;
  padding: 2rem;
  animation: heroFadeUp 1s ease;
}

.alsu-hero-kicker {
  margin: 0;
  letter-spacing: 0.35em;
  font-size: 0.75rem;
  text-transform: uppercase;
}

.alsu-hero-content h2 {
  margin: 0.9rem 0;
  font-size: clamp(2.2rem, 8vw, 5rem);
  font-family: 'Playfair Display', serif;
}

.alsu-hero-content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

.alsu-hero-button {
  margin-top: 1.6rem;
  display: inline-block;
  background: rgba(255, 255, 255, 0.95);
  color: #3d3224;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  text-decoration: none;
  letter-spacing: 0.1em;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.alsu-hero-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 26px rgba(27, 19, 10, 0.2);
  color: #3d3224;
}

.alsu-category-section {
  padding: 2.6rem 1rem 1.5rem;
}

.category-container {
  display: flex;
  justify-content: center;
  gap: 2rem;
  overflow-x: auto;
  scrollbar-width: none;
  max-width: 1280px;
  margin: 0 auto;
}

.category-container::-webkit-scrollbar {
  display: none;
}

.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: #3d3224;
  min-width: 92px;
}

.category-icon-wrapper {
  width: 82px;
  height: 82px;
  border-radius: 999px;
  border: 2px solid #f2ede4;
  overflow: hidden;
  background: #f9f6f0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.03);
  transition: transform 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.category-icon-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-item:hover .category-icon-wrapper {
  border: 1px solid #c5a059;
  box-shadow: 0 8px 20px rgba(197,160,89,0.28);
  transform: translateY(-4px);
}

.category-item span {
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}

.alsu-products-section {
  padding: 1.8rem 5% 4.5rem;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2.1rem;
  max-width: 1320px;
  margin: 0 auto;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.product-image-area {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
}

.alsu-home-page .product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.product-labels {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  z-index: 2;
}

.label-dark {
  background: #3d3224;
  color: #e8dec9;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.label-gold {
  background: #c5a059;
  color: #ffffff;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 0.68rem;
  letter-spacing: 0.09em;
  font-weight: 700;
}

.favorite-btn {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: #3d3224;
  cursor: pointer;
  z-index: 2;
  transition: color 0.3s ease, transform 0.3s ease;
}

.favorite-btn:hover {
  color: #c5a059;
  transform: scale(1.06);
}

.quick-view-btn {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  color: #3d3224;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 14px 12px;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.product-image-area:hover .product-img {
  transform: scale(1.1);
}

.product-image-area:hover .quick-view-btn {
  transform: translateY(0);
}

.product-info {
  text-align: center;
}

.product-title {
  margin: 0;
  color: #3d3224;
  font-size: 1.05rem;
  font-family: 'Playfair Display', serif;
}

.product-price {
  margin: 0.45rem 0 0;
  color: #3d3224;
  font-weight: 700;
}

.product-review {
  margin: 0.25rem 0 0;
  color: rgba(61, 50, 36, 0.75);
  font-size: 0.84rem;
}

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

@media (max-width: 1199.98px) {
  .alsu-hero {
    min-height: 82vh;
  }

  .alsu-navbar .logo-subtitle {
    letter-spacing: 0.45em;
  }

  .alsu-products-section {
    padding: 1.55rem 4.5% 3.2rem;
  }

  .category-container {
    gap: 1.25rem;
    justify-content: flex-start;
    padding-bottom: 0.35rem;
  }

  .product-grid {
    gap: 1.2rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .alsu-hero {
    min-height: 76vh;
  }

  .alsu-navbar .logo-subtitle {
    letter-spacing: 0.45em;
  }

  .alsu-products-section {
    padding: 1.4rem 4% 3rem;
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
  }
}

/* Unified button polish while preserving each component's own radius values. */
.btn,
button.btn,
a.btn {
  border-width: 1px;
  font-weight: 650;
  letter-spacing: 0.015em;
  transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, box-shadow 0.22s ease, transform 0.18s ease;
  box-shadow: 0 5px 12px rgba(68, 49, 28, 0.11);
}

.btn:hover,
button.btn:hover,
a.btn:hover {
  transform: translateY(-0.5px);
}

.btn:focus,
.btn:focus-visible,
button.btn:focus,
button.btn:focus-visible,
a.btn:focus,
a.btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.16rem rgba(197, 160, 89, 0.28), 0 8px 16px rgba(68, 49, 28, 0.14);
}

.btn-info {
  background: linear-gradient(145deg, #3d95ab 0%, #2f778a 100%);
  border-color: rgba(40, 104, 120, 0.45);
  color: #fff;
}

.btn-info:hover,
.btn-info:focus,
.btn-info:focus-visible {
  background: linear-gradient(145deg, #3589a0 0%, #2a6879 100%);
  border-color: rgba(33, 90, 104, 0.54);
  color: #fff;
}

.btn-danger {
  background: linear-gradient(145deg, #c85c50 0%, #aa4338 100%);
  border-color: rgba(138, 53, 43, 0.48);
  color: #fff;
}

.btn-danger:hover,
.btn-danger:focus,
.btn-danger:focus-visible {
  background: linear-gradient(145deg, #ba4f43 0%, #9b3a30 100%);
  border-color: rgba(127, 42, 33, 0.56);
  color: #fff;
}

.btn-success {
  background: linear-gradient(145deg, #46906e 0%, #367258 100%);
  border-color: rgba(47, 96, 73, 0.48);
  color: #fff;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:focus-visible {
  background: linear-gradient(145deg, #3e8364 0%, #305f49 100%);
  border-color: rgba(39, 81, 61, 0.56);
  color: #fff;
}

.btn-warning {
  background: linear-gradient(145deg, #d4ae6e 0%, #b99150 100%);
  border-color: rgba(142, 108, 56, 0.46);
  color: #2f2113;
}

.btn-warning:hover,
.btn-warning:focus,
.btn-warning:focus-visible {
  background: linear-gradient(145deg, #cda362 0%, #ab8344 100%);
  border-color: rgba(125, 92, 42, 0.54);
  color: #2b1f14;
}

/* Order-page buttons: override legacy inline view styles without touching their radius values. */
.kargo-container .btn,
.order-container .btn {
  border: 1px solid transparent !important;
  color: #fff !important;
  font-weight: 650 !important;
  letter-spacing: 0.015em !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 16px rgba(68, 49, 28, 0.16) !important;
  transition: transform 0.2s ease, background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease !important;
}

.kargo-container .toggle-kargo-details-btn,
.kargo-container .btn.btn-info {
  background: linear-gradient(135deg, #3d95ab 0%, #2f778a 100%) !important;
  border-color: rgba(40, 104, 120, 0.45) !important;
}

.kargo-container .toggle-kargo-details-btn:hover,
.kargo-container .btn.btn-info:hover {
  background: linear-gradient(135deg, #3589a0 0%, #2a6879 100%) !important;
  border-color: rgba(33, 90, 104, 0.54) !important;
  box-shadow: 0 10px 20px rgba(28, 89, 102, 0.22) !important;
  transform: translateY(-0.5px);
}

.order-container .btn,
.order-container .btn.btn-info {
  background: linear-gradient(135deg, #556176 0%, #434d5f 100%) !important;
  border-color: rgba(65, 76, 96, 0.5) !important;
}

.order-container .btn:hover,
.order-container .btn.btn-info:hover {
  background: linear-gradient(135deg, #4b576b 0%, #3c4657 100%) !important;
  border-color: rgba(56, 66, 84, 0.58) !important;
  box-shadow: 0 10px 20px rgba(53, 64, 84, 0.24) !important;
  transform: translateY(-0.5px);
}

.kargo-container .btn:focus,
.kargo-container .btn:focus-visible,
.order-container .btn:focus,
.order-container .btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.16rem rgba(197, 160, 89, 0.28), 0 10px 18px rgba(68, 49, 28, 0.18) !important;
}

.cancel-order-btn,
.custom-cancel-btn {
  background: linear-gradient(135deg, #c85c50 0%, #aa4338 100%) !important;
  border: 1px solid rgba(138, 53, 43, 0.48) !important;
  color: #fff !important;
  font-weight: 650 !important;
  letter-spacing: 0.015em !important;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.1);
  box-shadow: 0 8px 16px rgba(148, 58, 45, 0.22) !important;
  transition: transform 0.24s ease, background-color 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease !important;
}

.cancel-order-btn:hover,
.custom-cancel-btn:hover {
  background: linear-gradient(135deg, #ba4f43 0%, #9b3a30 100%) !important;
  border-color: rgba(127, 42, 33, 0.56) !important;
  box-shadow: 0 10px 18px rgba(131, 50, 38, 0.24) !important;
  transform: translateY(-0.5px);
}

.cancel-order-btn:focus,
.cancel-order-btn:focus-visible,
.custom-cancel-btn:focus,
.custom-cancel-btn:focus-visible {
  outline: none;
  box-shadow: 0 0 0 0.16rem rgba(197, 160, 89, 0.28), 0 10px 18px rgba(131, 50, 38, 0.2) !important;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Prevent iOS auto-zoom on form focus without changing component radii/layout structure. */
@media (max-width: 1199.98px) {
  input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="file"]):not([type="color"]),
  textarea,
  select,
  .form-control,
  .custom-select {
    font-size: 16px !important;
    line-height: 1.2 !important;
  }
}