.hero-text {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 20px;
    margin: 5vh auto;
    font-size: 4vh;
    align-items: center;
    justify-items: center;
    text-align: center;
    color: #333;
    background:
        radial-gradient(135px 80px at 10% 10%, rgba(255,122,182,.08), transparent 60%),
        radial-gradient(135px 80px at 90% 30%, rgba(255,169,77,.08), transparent 60%),
        linear-gradient(135deg, #ffe7d4, #ffcad4);
    padding: 3vh;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    animation: fadeIn 1.5s ease-in-out;
    max-width: 1100px;
}

.hero-text-small {
    font-size: 2.5vh;
    color: #555;
    text-decoration: none;
    margin-top: 1vh;
}

.row-of-whatever {
    margin: 6vh auto;
    font-size: 2.5vh;
    text-align: center;
    color: #444;
    padding: 3vh 3vw;
    background-color: #fff4e6;
    border-radius: 12px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    animation: slideUp 1s ease-in-out;
    max-width: 1100px;
}

.row-of-whatever:nth-of-type(odd) {
    background: radial-gradient(80% 120% at 50% 0%, #fff8ef, #fff4e6);
}

.row-of-whatever:nth-of-type(even) {
    background: radial-gradient(80% 120% at 50% 0%, #fff0f5, #ffe7ef);
}

.row-of-categories {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 2vh;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.row-of-categories::-webkit-scrollbar {
    display: none;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    padding: 2vh;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform .2s ease, box-shadow .2s ease;
    position: relative;
    scroll-snap-align: start;
    min-width: 220px;
}

.category-card:hover {
    transform: translateY(-6px) rotate(-0.3deg);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.category-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    height: 4px;
    width: 42%;
    background: linear-gradient(90deg, #ff7ab6, #ffa94d);
    border-top-left-radius: 10px;
    border-bottom-right-radius: 8px;
}

.category-card img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    margin-bottom: 1vh;
    animation: zoomIn 0.8s ease-out;
}

.category-card p {
    margin: 0;
    font-size: 2vh;
    color: #444;
    font-weight: bold;
}

.category-card p:last-of-type {
    font-weight: 700;
    background: rgba(255, 170, 0, 0.12);
    padding: .25rem .6rem;
    border-radius: 999px;
    margin-top: .5rem;
}

.row-of-whatever h3 {
    display: inline-block;
    position: relative;
    font-family: 'Anton', sans-serif;
    letter-spacing: .5px;
    margin-bottom: 1rem;
}

.row-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.row-link {
    font-weight: 600;
    text-decoration: none;
    color: #aa3a72;
}

.row-link:hover {
    text-decoration: underline;
}

.nsfw-row {
    background: #333 !important;
    color: #fff;
    border: 3px dotted #ff4d6d;
}

.nsfw-row a {
    color: #ff4d6d;
    font-weight: bold;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes zoomIn {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

@media (min-width: 900px) {
    .row-of-categories {
        overflow: visible;
    }
}

@media only screen and (max-width: 768px) {
    .row-of-categories {
        flex-direction: row;
    }
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* ───────── Order modal ───────── */
.order-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}
.order-modal-overlay.show { display: flex; }

.order-modal {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  width: min(92vw, 520px);
  padding: 24px 20px;
  box-shadow: 0 20px 60px rgba(15,23,42,.25);
  position: relative;
  animation: modalIn .2s ease-out;
}

.order-modal h2 {
  margin: 0 0 .5rem 0;
  font-family: 'Anton', sans-serif;
  letter-spacing: .5px;
}
.order-modal .lead { margin: 0 0 1rem 0; color: #555; }

.order-modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: #f3f4f6;
  color: #111;
  font-size: 22px;
  cursor: pointer;
}
.order-modal-close:hover { filter: brightness(0.95); }

.order-id-row {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: .5rem 0 1rem;
}
.order-id-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 1rem;
  padding: .5rem .75rem;
  border-radius: 10px;
  background: #f8fafc;
  border: 1px solid #e5e7eb;
  font-weight: 800;
  letter-spacing: .4px;
}

.order-modal-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

/* Buttons matching your site vibe */
.btn-primary {
  border: none;
  background: linear-gradient(90deg,#ff7ab6,#ffa94d);
  color: #fff;
  font-weight: 800;
  padding: .7rem 1rem;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(255,122,182,.25);
}
.btn-primary:hover { filter: brightness(1.03); }

.btn-secondary {
  text-decoration: none;
  display: inline-block;
  border: 1px solid #e5e7eb;
  background: #fff;
  color: #111827;
  font-weight: 700;
  padding: .7rem 1rem;
  border-radius: 10px;
}
.btn-secondary:hover { background: #f8fafc; }

.btn-ghost {
  border: none;
  background: transparent;
  color: #6b7280;
  font-weight: 700;
  padding: .7rem .8rem;
  border-radius: 10px;
  cursor: pointer;
}
.btn-ghost:hover { background: #f3f4f6; }

/* Toast */
.order-toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: #111827;
  color: #fff;
  padding: .55rem .8rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: .95rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  opacity: 0;
  z-index: 1001;
  transition: opacity .15s ease, transform .15s ease;
}
.order-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
