/* =========================================================
   OSK MENU — FRONT-END STYLES
   Every colour and size that can be changed from the admin
   reads from a CSS variable (--osk-xxx). The variables are
   output inline on wp_head by osk_output_settings_css().
   ========================================================= */

/* =========================================================
   PART 1 — ARCHIVE PAGE
   ========================================================= */
.osk-menu-archive-page-main {
  min-height: 100vh;
  padding: 40px 20px;
  display: flex;
  justify-content: center;
  background: var(--osk-archive-page-bg, #f3f5f9);
}

.osk-menu-wrapper {
  width: 100%;
  max-width: 1200px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

/* ---------- Left column ---------- */
.osk-menu-left-column {
  flex: 0 0 260px;
  background: var(--osk-archive-left-column-bg, #ffffff);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  padding: 20px 12px 20px 20px;
  position: sticky;
  top: 40px;
  max-height: calc(100vh - 80px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.osk-menu-categories-heading {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--osk-archive-left-heading-color, #1a1a1a);
  padding: 0 8px;
  text-transform: uppercase;
}

.osk-menu-left-column-categories-wrapper {
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 8px;
  scrollbar-width: thin;
  scrollbar-color: #d0d0d0 transparent;
}

.osk-menu-left-column-categories-wrapper::-webkit-scrollbar {
  width: 6px;
}

.osk-menu-left-column-categories-wrapper::-webkit-scrollbar-thumb {
  background: #d0d0d0;
  border-radius: 3px;
}

.osk-menu-category-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  text-align: left;
  padding: 22px 14px;
  border: none;
  background: transparent;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--osk-archive-cat-text, #4a4a4a);
  cursor: pointer;
  text-transform: capitalize;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  overflow: hidden;
}

.osk-menu-category-item:hover {
  background: var(--osk-archive-cat-hover-bg, #f4f4f4);
}

.osk-menu-category-item.is-active {
  background: var(--osk-archive-cat-active-bg, #ff6b35);
  color: var(--osk-archive-cat-active-text, #ffffff);
  font-weight: 600;
}

.osk-menu-category-label {
  overflow: hidden;
  text-overflow: ellipsis;
}

.osk-menu-category-chevron {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
  opacity: 0;
  margin-right: 2px;
}

.osk-menu-category-item.is-active .osk-menu-category-chevron {
  opacity: 1;
}

/* ---------- Right column ---------- */
.osk-menu-right-column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.osk-menu-right-column-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--osk-archive-right-title-bg, #ffffff);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  padding: 16px 20px;
}

.osk-menu-right-column-title h2 {
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: capitalize;
  color: var(--osk-archive-right-title-text, #1a1a1a);
}

.osk-menu-count {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--osk-archive-count-text, #ff6b35);
  background: var(--osk-archive-count-bg, #fff1eb);
  padding: 6px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

.osk-menu-right-column-contents {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

/* ---------- Cards ---------- */
.osk-menu-card,
.osk-archive-page-menu-card {
  background: var(--osk-archive-card-bg, #ffffff);
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.osk-menu-card:hover,
.osk-archive-page-menu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.osk-menu-featured-image-parent,
.osk-archive-page-menu-card-image {
  padding: 12px 12px 0 12px;
}

.osk-menu-featured-image-parent img,
.osk-archive-page-menu-card-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 15px;
  background: #eee;
}

.osk-menu-card-body,
.osk-archive-page-menu-card-body {
  padding: 14px 16px 12px;
}

.osk-menu-card-title,
.osk-archive-page-menu-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--osk-archive-card-title, #1a1a1a);
  margin-bottom: 6px;
  text-transform: capitalize;
}

.osk-menu-card-title a,
.osk-archive-page-menu-card-title a {
  color: inherit;
  text-decoration: none;
}

.osk-menu-card-excerpt,
.osk-archive-page-menu-card-excerpt {
  font-size: 0.8rem;
  color: var(--osk-archive-card-excerpt, #6b6b6b);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.osk-menu-card-divider,
.osk-archive-page-menu-card-divider {
  border: none;
  border-top: 1px solid var(--osk-archive-card-divider, #e5e5e5);
  margin: 0;
}

.osk-menu-card-footer,
.osk-archive-page-menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  gap: 10px;
}

.osk-menu-card-footer-left-section,
.osk-archive-page-menu-card-footer-left {
  display: flex;
  flex-direction: column;
}

.osk-menu-card-footer-left-section .osk-label,
.osk-archive-page-menu-card-footer-left .osk-archive-page-menu-card-label {
  font-size: 0.65rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--osk-archive-card-label, #9a9a9a);
  font-weight: 600;
}

.osk-menu-card-footer-left-section .osk-price,
.osk-archive-page-menu-card-footer-left .osk-archive-page-menu-card-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--osk-archive-card-price, #1a1a1a);
  margin-top: 2px;
}

.osk-menu-card-footer-left-section .osk-price-sale,
.osk-archive-page-menu-card-footer-left .osk-archive-page-menu-card-price-sale {
  color: var(--osk-archive-card-price-sale, #00a32a);
}

.osk-menu-card-footer-left-section .osk-price-regular-struck,
.osk-archive-page-menu-card-footer-left .osk-archive-page-menu-card-price-struck,
.osk-archive-page-menu-card-footer-left .osk-archive-page-menu-card-price-regular-struck {
  font-size: 0.8rem;
  font-weight: 500;
  color: #9a9a9a;
  text-decoration: line-through;
  margin-top: 0;
}

.osk-menu-card-footer-right-section,
.osk-archive-page-menu-card-footer-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.osk-qty-stepper,
.osk-archive-page-menu-card-stepper {
  display: flex;
  align-items: center;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
}

.osk-qty-btn,
.osk-archive-page-menu-card-stepper-btn {
  background: var(--osk-archive-stepper-bg, #f8f8f8);
  border: none;
  width: 26px;
  height: 28px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--osk-archive-stepper-text, #333);
  cursor: pointer;
  transition: background 0.15s ease;
}

.osk-qty-btn:hover,
.osk-archive-page-menu-card-stepper-btn:hover {
  filter: brightness(0.95);
}

.osk-qty-value,
.osk-archive-page-menu-card-stepper-value {
  width: 28px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--osk-archive-stepper-value, #1a1a1a);
}

.osk-add-btn,
.osk-archive-page-menu-card-add-btn {
  background: var(--osk-archive-add-bg, #ff6b35);
  color: var(--osk-archive-add-text, #ffffff);
  border: none;
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease;
}

.osk-add-btn:hover,
.osk-archive-page-menu-card-add-btn:hover {
  background: var(--osk-archive-add-bg-hover, #e85a28);
}

/* ---------- Mobile header + strip ---------- */
.osk-menu-mobile-header {
  display: none;
}

.osk-menu-mobile-strip-wrapper {
  display: none;
}

/* ---------- Drop-up (mobile only) ---------- */
.osk-menu-archive-dropup-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 90;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.osk-menu-archive-dropup-overlay.is-open {
  opacity: 1;
}

.osk-menu-archive-dropup {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  z-index: 100;
  max-height: 75vh;
  display: flex;
  flex-direction: column;
  padding: 10px 20px 20px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
}

.osk-menu-archive-dropup.is-open {
  transform: translateY(0);
}

.osk-menu-archive-dropup-pill {
  width: 20%;
  height: 2px;
  background: #d0d0d0;
  border-radius: 2px;
  margin: 6px auto 14px;
  flex: 0 0 auto;
}

.osk-menu-archive-dropup-title {
  flex: 0 0 auto;
  margin-bottom: 16px;
}

.osk-menu-archive-dropup-title h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1a1a1a;
}

.osk-menu-archive-dropup-title p {
  font-size: 0.85rem;
  color: #8a8a8a;
  margin-top: 2px;
}

.osk-menu-archive-dropup-wrapper {
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding-right: 6px;
}

.osk-menu-dropup-category-card {
  background: #f8f8f8;
  border: 1px solid #ececec;
  border-radius: 12px;
  padding: 14px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.osk-menu-dropup-category-card:hover {
  background: #fff1eb;
  border-color: #ffd4c2;
  transform: translateY(-2px);
}

.osk-menu-dropup-category-card h4 {
  font-size: 0.875rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 6px;
  text-transform: capitalize;
}

.osk-menu-dropup-category-card span {
  font-size: 0.75rem;
  font-weight: 500;
  color: #ff6b35;
}

/* ---------- Archive responsive ---------- */
@media (max-width: 820px) {
  .osk-menu-archive-page-main {
    padding: 20px 14px;
  }

  .osk-menu-wrapper {
    flex-direction: column;
    gap: 14px;
    align-items: stretch;
    width: 100%;
  }

  .osk-menu-left-column {
    display: none;
  }

  .osk-menu-mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 0 14px 0 4px;
  }

  .osk-menu-mobile-header .osk-mobile-heading {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: var(--osk-mobile-archive-heading, #1a1a1a);
    text-transform: uppercase;
  }

  .osk-menu-mobile-header .osk-view-all {
    font-size: var(--osk-mobile-view-all-size, 14px);
    font-weight: 600;
    color: var(--osk-mobile-view-all-color, #ff6b35);
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px 2px;
  }

  .osk-menu-mobile-strip-wrapper {
    display: block;
    position: relative;
    width: 100%;
  }

  .osk-menu-mobile-strip {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 4px 0;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }

  .osk-menu-mobile-strip::-webkit-scrollbar {
    display: none;
  }

  .osk-menu-mobile-strip .osk-menu-category-item {
    flex: 0 0 auto;
    width: auto;
    white-space: nowrap;
    background: var(--osk-mobile-pill-bg, #ffffff);
    color: var(--osk-mobile-pill-text-color, #4a4a4a);
    border: 1px solid #ececec;
    padding: 8px 14px;
  }

  .osk-menu-mobile-strip .osk-menu-category-item.is-active {
    background: var(--osk-mobile-pill-active-bg, #ff6b35);
    border-color: var(--osk-mobile-pill-active-bg, #ff6b35);
    color: #ffffff;
  }

  .osk-menu-mobile-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 0;
  }

  .osk-menu-mobile-arrow.is-left { left: 0; }
  .osk-menu-mobile-arrow.is-right { right: 0; }

  .osk-menu-mobile-arrow .osk-arrow-shape {
    width: 7px;
    height: 7px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
    display: block;
  }

  .osk-menu-mobile-arrow.is-left .osk-arrow-shape {
    transform: rotate(-135deg);
    margin-left: 2px;
  }

  .osk-menu-mobile-arrow.is-right .osk-arrow-shape {
    transform: rotate(45deg);
    margin-right: 2px;
  }

  .osk-menu-archive-dropup-overlay {
    display: block;
    pointer-events: none;
  }

  .osk-menu-archive-dropup-overlay.is-open {
    pointer-events: auto;
  }

  .osk-menu-right-column {
    width: 100%;
    align-self: stretch;
  }

  .osk-menu-right-column-title {
    width: 100%;
  }

  /* Force mobile cards to be 98% width. No exceptions. */
  .osk-menu-right-column-contents {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    justify-items: center !important;
    width: 100% !important;
    display: grid !important;
  }

  .osk-menu-right-column-contents .osk-menu-card,
  .osk-menu-right-column-contents .osk-archive-page-menu-card {
    width: 98% !important;
    max-width: 98% !important;
    box-sizing: border-box !important;
    justify-self: center !important;
    grid-column: 1 / -1 !important;
  }
}

/* =========================================================
   PART 2 — SINGLE PAGE
   ========================================================= */
.osk-single-page-spacer {
  height: var(--osk-single-page-spacer, 100px);
  width: 100%;
}

.osk-single-menu-overall-main-tag {
  width: 100%;
  padding: 0 5vw 40px;
}

.osk-single-menu-overall-wrapper {
  width: 100%;
  display: grid;
  grid-template-columns: 45% 55%;
  gap: 48px;
  align-items: start;
}

.osk-single-menu-left-column {
  display: block;
}

.osk-single-menu-image-wrapper {
  position: relative;
  padding: 10px;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--osk-single-image-bg, #ffffff);
  border-radius: 12px;
}

.osk-single-menu-image-wrapper .osk-single-menu-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.osk-single-menu-badge {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.osk-single-menu-right-column {
  display: flex;
  flex-direction: column;
}

.osk-single-menu-category {
  font-size: 13px;
  font-weight: 700;
  color: var(--osk-single-category-text, #d97706);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.osk-single-menu-name {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--osk-single-title-text, #0f172a);
  margin-bottom: 12px;
  line-height: 1.2;
}

.osk-single-menu-rating-container {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.osk-single-menu-stars {
  display: flex;
  gap: 2px;
  color: #f59e0b;
}

.osk-single-menu-stars svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.osk-single-menu-rating-text {
  font-size: 14px;
  color: #475569;
  font-weight: 600;
}

.osk-single-menu-review-count {
  color: #94a3b8;
  font-weight: 400;
}

.osk-single-menu-price-row {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 16px;
}

.osk-single-menu-current-price {
  font-size: 32px;
  font-weight: 800;
  color: var(--osk-single-price-current, #0f172a);
}

.osk-single-menu-original-price {
  font-size: 18px;
  color: var(--osk-single-price-original, #94a3b8);
  text-decoration: line-through;
}

.osk-single-menu-prep-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #15803d;
  font-weight: 600;
  margin-left: auto;
  background: #f0fdf4;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #bbf7d0;
}

.osk-single-menu-prep-dot {
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
}

.osk-single-menu-description {
  font-size: 14px;
  color: var(--osk-single-description-text, #475569);
  margin-bottom: 24px;
  line-height: 1.6;
}

.osk-single-menu-action-row {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
}

.osk-single-menu-quantity-selector {
  display: flex;
  align-items: center;
  background: var(--osk-single-stepper-bg, #f8fafc);
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  overflow: hidden;
}

.osk-single-menu-qty-btn {
  background: transparent;
  border: none;
  color: var(--osk-single-stepper-text, #0f172a);
  width: 38px;
  height: 48px;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.osk-single-menu-qty-btn:hover {
  background: rgba(0, 0, 0, 0.04);
}

.osk-single-menu-qty-input {
  width: 40px;
  background: transparent;
  border: none;
  text-align: center;
  color: var(--osk-single-stepper-text, #0f172a);
  font-weight: 700;
  font-size: 15px;
  -moz-appearance: textfield;
}

.osk-single-menu-qty-input::-webkit-outer-spin-button,
.osk-single-menu-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.osk-single-menu-btn {
  flex: 1;
  height: 48px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
}

.osk-single-menu-btn-primary {
  background: var(--osk-single-order-bg, #d97706);
  color: var(--osk-single-order-text, #ffffff);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.35);
}

.osk-single-menu-btn-primary:hover {
  background: var(--osk-single-order-bg-hover, #b45309);
  transform: translateY(-1px);
}

.osk-single-menu-btn-primary:active {
  transform: translateY(0);
}

.osk-single-menu-btn-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.osk-single-menu-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.osk-single-menu-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--osk-single-features-text, #475569);
  font-weight: 500;
}

.osk-single-menu-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--osk-single-features-icon, #d97706);
  flex-shrink: 0;
}

.osk-single-menu-feature-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .osk-single-menu-overall-main-tag {
    padding: 0 16px 24px;
  }

  .osk-single-menu-overall-wrapper {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .osk-single-menu-image-wrapper {
    aspect-ratio: auto;
  }

  .osk-single-menu-action-row {
    flex-direction: column;
  }

  .osk-single-menu-quantity-selector {
    justify-content: center;
    width: 100%;
  }

  .osk-single-menu-btn {
    width: 100%;
    flex: none;
  }

  .osk-single-menu-features-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   PART 3 — CART PAGE
   ========================================================= */
.osk-cart-page-spacer {
  height: var(--osk-cart-page-spacer, 100px);
  width: 100%;
}

.osk-cart-page-overall-main-tag {
  width: 100%;
  padding: 0 0 4rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
}

.osk-cart-page-overall-wrapper {
  max-width: none;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 2rem;
  align-items: flex-start;
}

.osk-cart-page-left-column {
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.15);
  padding: 2rem 2rem 1.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 5rem);
  overflow: hidden;
}

.osk-cart-page-right-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 2rem;
}

.osk-right-card {
  background: var(--osk-cart-summary-bg, #ffffff);
  border-radius: 28px;
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.15);
  padding: 2rem 1.75rem;
}

.osk-cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2px;
  padding-bottom: 8px;
  border-bottom: 1px solid #eef2f7;
  flex-shrink: 0;
}

.osk-cart-header-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.osk-cart-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #0b1b32;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0;
  line-height: 1.2;
}

.osk-cart-count-text {
  font-size: 0.88rem;
  font-weight: 500;
  color: #64748b;
  padding-left: 0.1rem;
  margin: 0;
  line-height: 1.2;
}

.osk-cart-count-text strong {
  color: #ff6b35;
  font-weight: 700;
}

.osk-continue-shopping {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6b35;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border-radius: 40px;
  background: #fff1eb;
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  align-self: flex-start;
}

/* Tint the back-arrow icon to match the link text colour */
.osk-continue-shopping .osk-icon-inline {
  filter: invert(48%) sepia(90%) saturate(700%) hue-rotate(340deg) brightness(105%) contrast(105%);
}

.osk-continue-shopping:hover {
  background: #ffe0d1;
  color: #e85a28;
}

.osk-continue-shopping:hover .osk-icon-inline {
  filter: invert(40%) sepia(90%) saturate(700%) hue-rotate(340deg) brightness(95%) contrast(110%);
}

.osk-cart-scroll-area {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
}

/* ---------- Cart Grid — shared column definition
   36px badge | 72px image | 1fr name | 110px price | 150px qty+trash
   Both the header row and every item row use this same grid so columns
   are structurally locked — no flex approximation. */
.osk-cart-table-header,
.osk-cart-page-item-overall-parent {
  display: grid;
  grid-template-columns: 36px 72px 1fr 110px 150px;
  align-items: center;
  column-gap: 0;
}

/* ---------- Cart Table Header — sticky so it stays visible when scrolling items ---------- */
.osk-cart-table-header {
  position: sticky;
  top: 0;
  z-index: 2;
  background: #ffffff;
  padding: 0 0 0.85rem 0;
  border-bottom: 2px solid #e2e8f0;
  margin-bottom: 0.25rem;
}

.osk-cart-th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #64748b;
}

/* badge and image header cells are intentionally blank */
.osk-cart-th-badge,
.osk-cart-th-img {
  display: block;
}

.osk-cart-th-name {
  padding-left: 0.75rem;
}

/* ---------- Cart item row ---------- */
.osk-cart-page-item-overall-parent {
  padding: 1.15rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.osk-cart-page-item-overall-parent:last-child {
  border-bottom: none;
}

/* Col 1: Badge */
.osk-cart-page-serial-number-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--osk-cart-serial-badge-bg, #ff6b35);
  color: var(--osk-cart-serial-badge-text, #ffffff);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  justify-self: center;
}

/* Col 2: Image */
.osk-cart-page-featured-image {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f1f5f9;
  justify-self: start;
}

.osk-cart-page-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Col 3: Item Name */
.osk-cart-page-item-name-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  padding-left: 0.75rem;
}

.osk-cart-page-item-heading {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  color: #94a3b8;
}

.osk-cart-page-menu-title {
  font-weight: 600;
  color: #0f172a;
  font-size: 0.95rem;
  line-height: 1.3;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osk-cart-page-menu-title:hover {
  color: #ff6b35;
}

/* Col 4: Price */
.osk-cart-page-item-price-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.osk-cart-page-item-price {
  font-weight: 700;
  color: #0f172a;
  font-size: 0.95rem;
}

/* Col 5: Quantity + Trash */
.osk-cart-page-quantity-block {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.osk-cart-page-quantity-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.osk-cart-page-quantity-stepper {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  background: #ffffff;
  overflow: hidden;
}

.osk-cart-page-stepper-btn {
  background: transparent;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1rem;
  font-weight: 500;
  color: #334155;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}

.osk-cart-page-stepper-btn:hover {
  background: #fff1eb;
}

.osk-cart-page-stepper-value {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.88rem;
  user-select: none;
}

.osk-cart-page-trash-element {
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 0.35rem;
  border-radius: 50%;
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.osk-cart-page-trash-element:hover {
  background: #ffe0d1;
}

.osk-cart-page-trash-element img {
  width: 24px;
  height: 24px;
  display: block;
}

/* ---------- Empty cart ---------- */
.osk-empty-cart {
  text-align: center;
  padding: 3.5rem 1rem;
}

.osk-empty-cart .osk-icon-empty {
  width: 72px;
  height: 72px;
  opacity: 0.35;
  margin-bottom: 1.25rem;
}

.osk-empty-cart h2 {
  font-weight: 600;
  font-size: 1.35rem;
  color: #1e293b;
  margin-bottom: 0.5rem;
}

.osk-empty-cart p {
  color: #64748b;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
}

.osk-empty-cart .osk-btn-shop {
  background: #ff6b35;
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 40px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  transition: background 0.2s;
}

.osk-empty-cart .osk-btn-shop:hover {
  background: #e85a28;
}

/* ---------- Summary ---------- */
.osk-summary-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--osk-cart-summary-title, #0b1b32);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.osk-summary-empty {
  font-size: 0.9rem;
  color: #94a3b8;
  text-align: center;
  padding: 1.5rem 0;
}

.osk-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.92rem;
  color: var(--osk-cart-summary-label, #475569);
  margin-bottom: 1rem;
}

.osk-summary-row .osk-summary-value {
  font-weight: 600;
  color: var(--osk-cart-summary-value, #0f172a);
}

.osk-summary-row.osk-summary-shipping .osk-summary-value {
  color: #16a34a;
}

.osk-summary-divider {
  border: none;
  border-top: 1px dashed #e2e8f0;
  margin: 1.25rem 0;
}

.osk-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1b32;
  margin-bottom: 1.5rem;
}

.osk-summary-total .osk-summary-value {
  color: var(--osk-cart-summary-total, #ff6b35);
  font-size: 1.35rem;
}

.osk-checkout-btn {
  width: 100%;
  background: var(--osk-cart-checkout-bg, #ff6b35);
  border: none;
  color: var(--osk-cart-checkout-text, #ffffff);
  font-weight: 600;
  font-size: 1rem;
  padding: 1rem;
  border-radius: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.2s, transform 0.1s;
}

.osk-checkout-btn:hover {
  background: var(--osk-cart-checkout-bg-hover, #e85a28);
}

.osk-checkout-btn:active {
  transform: scale(0.98);
}

.osk-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 1rem;
}

.osk-help-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #0b1b32;
  margin-bottom: 0.75rem;
}

.osk-help-text {
  font-size: 0.88rem;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 0.9rem;
}

.osk-help-phones {
  font-size: 0.95rem;
  font-weight: 600;
  color: #0f172a;
  line-height: 1.5;
  word-break: break-word;
}

.osk-help-phones a {
  color: #0f172a;
  text-decoration: none;
  transition: color 0.2s;
}

.osk-help-phones a:hover {
  color: #ff6b35;
}

.osk-help-separator {
  color: #94a3b8;
  margin: 0 0.35rem;
  font-weight: 400;
}

.osk-icon-inline {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

@media (max-width: 940px) {
  .osk-cart-page-overall-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .osk-cart-page-right-column {
    position: static;
  }

  .osk-cart-page-left-column {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 640px) {
  .osk-cart-page-overall-main-tag {
    padding: 0 0.5rem 3rem;
  }

  .osk-cart-page-left-column,
  .osk-right-card {
    padding: 1.35rem 1.15rem;
    border-radius: 22px;
  }

  /* Mobile cart header:
     Row 1 → [Your Order title]   [Back to Menu pill — far right]
     Row 2 → [6 items in your cart]
     Use CSS Grid for this: title takes 1fr, button auto */
  .osk-cart-header {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    align-items: center;
    row-gap: 4px;
    column-gap: 0.5rem;
    margin-bottom: 6px;
    padding-bottom: 8px;
  }

  /* h1 ("Your Order") → top-left */
  .osk-cart-header-left {
    grid-column: 1;
    grid-row: 1 / 3; /* spans both rows so the count text flows naturally */
    gap: 4px;
  }

  /* "Back to Menu" pill → top-right, vertically centred with h1 */
  .osk-continue-shopping {
    grid-column: 2;
    grid-row: 1;
    align-self: start;
    margin-top: 0.15rem;
    font-size: 0.82rem;
    padding: 0.45rem 0.85rem;
  }

  .osk-cart-header h1 {
    font-size: 1.3rem;
  }

  /* Hide the header on mobile — labels appear as aria/data attrs */
  .osk-cart-table-header {
    display: none;
  }

  /* Mobile item row: switch to a 2-row grid
     Row 1: [badge 32px] [image 60px] [name 1fr]
     Row 2: spans full width — price left, qty right */
  .osk-cart-page-item-overall-parent {
    grid-template-columns: 32px 60px 1fr;
    grid-template-rows: auto auto;
    row-gap: 0.6rem;
    column-gap: 0.4rem;
    padding: 1rem 0;
  }

  /* Col 1, Row 1 */
  .osk-cart-page-serial-number-badge {
    grid-column: 1;
    grid-row: 1;
    width: 28px;
    height: 28px;
    font-size: 0.78rem;
  }

  /* Col 2, Row 1 */
  .osk-cart-page-featured-image {
    grid-column: 2;
    grid-row: 1;
    width: 56px;
    height: 56px;
    border-radius: 14px;
  }

  /* Col 3, Row 1 */
  .osk-cart-page-item-name-block {
    grid-column: 3;
    grid-row: 1;
    padding-left: 0.4rem;
  }

  /* Row 2 — price spans col 1-2, qty spans col 3 */
  .osk-cart-page-item-price-block {
    grid-column: 1 / 3;
    grid-row: 2;
    padding-left: 0.25rem;
  }

  .osk-cart-page-quantity-block {
    grid-column: 3;
    grid-row: 2;
    padding-left: 0.4rem;
  }
}

/* =========================================================
   PART 4 — UTILITIES WRAPPER (HeaderUtilities Pattern)
   ========================================================= */
.osk-utilities-wrap,
.osk-legend {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: auto;
  max-width: max-content;
  align-self: center;
  margin: 0;
  padding: 0;
  line-height: 1;
  vertical-align: middle;
  box-sizing: border-box;
}

.osk-utilities-item,
.osk-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  max-width: max-content;
  vertical-align: middle;
  box-sizing: border-box;
}

/* Category Trigger button (HeaderUtilities) */
.osk-category-trigger,
button.osk-category-trigger {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.15s ease;
  box-sizing: border-box;
}

.osk-category-trigger:hover,
button.osk-category-trigger:hover {
  background: transparent !important;
  opacity: 0.75;
}

.osk-category-trigger:active,
button.osk-category-trigger:active {
  transform: scale(0.95);
}

.osk-category-trigger-icon,
.osk-category-trigger img,
.osk-category-trigger svg {
  display: block;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  object-fit: contain;
  pointer-events: none;
}

/* Search Trigger button (Free floating, no border, no background) */
.osk-search-trigger,
button.osk-search-trigger,
.osk-utilities-wrap .osk-search-trigger {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  outline: none !important;
  padding: 0 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: opacity 0.2s ease, transform 0.15s ease;
  box-sizing: border-box;
  flex-shrink: 0;
}

.osk-search-trigger:hover,
button.osk-search-trigger:hover,
.osk-utilities-wrap .osk-search-trigger:hover {
  background: transparent !important;
  border: none !important;
  opacity: 0.75;
}

.osk-search-trigger:active,
button.osk-search-trigger:active,
.osk-utilities-wrap .osk-search-trigger:active {
  transform: scale(0.95);
}

.osk-search-trigger-icon,
.osk-search-trigger img,
.osk-search-trigger svg,
.osk-utilities-wrap .osk-search-trigger-icon,
.osk-utilities-wrap .osk-search-trigger img,
.osk-utilities-wrap .osk-search-trigger svg {
  display: block;
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;
  object-fit: contain;
  pointer-events: none;
}

/* =========================================================
   UTILITIES VISIBILITY RULES
   ========================================================= */

.osk-force-hide {
  display: none !important;
}

.osk-force-show {
  display: inline-flex !important;
}

/* Desktop (min-width: 821px) */
@media (min-width: 821px) {
  .osk-utilities-hide-desktop { display: none !important; }

  /* Category Trigger is HIDDEN on Desktop by default */
  .osk-utilities-category:not(.osk-force-show) {
    display: none !important;
  }
}

/* Mobile (max-width: 820px) */
@media (max-width: 820px) {
  .osk-utilities-hide-mobile { display: none !important; }

  /* By default on mobile, Category Trigger is HIDDEN */
  .osk-utilities-category:not(.osk-force-show) {
    display: none !important;
  }

  /* Show Category Trigger ONLY on the osk-menu Archive Page on mobile */
  body.post-type-archive-osk-menu .osk-utilities-category:not(.osk-force-hide),
  body.tax-osk_category .osk-utilities-category:not(.osk-force-hide),
  body.osk-archive-active .osk-utilities-category:not(.osk-force-hide),
  .osk-is-menu-archive .osk-utilities-category:not(.osk-force-hide) {
    display: inline-flex !important;
  }
}

/* =========================================================
   PART 6 — SEARCH MODAL
   ========================================================= */
.osk-search-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-top: 5vh;
}

.osk-search-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.osk-search-modal-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 680px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: 0 1rem;
}

.osk-search-modal-backdrop.is-open .osk-search-modal-card {
  transform: translateY(0);
}

.osk-search-modal-header {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #e2e8f0;
  gap: 0.75rem;
}

.osk-search-modal-icon {
  width: 20px;
  height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.55;
}

.osk-search-scope-wrapper {
  position: relative;
  flex-shrink: 0;
}

.osk-search-scope {
  appearance: none;
  -webkit-appearance: none;
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 0.5rem 2rem 0.5rem 0.85rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #0f172a;
  cursor: pointer;
  outline: none;
}

.osk-search-scope:focus,
.osk-search-scope:hover {
  border-color: #ff6b35;
}

.osk-search-scope-arrow {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
  font-size: 0.7rem;
  line-height: 1;
}

.osk-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.05rem;
  color: #0f172a;
  background: transparent;
  padding: 0.4rem 0;
}

.osk-search-input::placeholder {
  color: #94a3b8;
}

.osk-search-spinner {
  width: 18px;
  height: 18px;
  border: 2px solid #e2e8f0;
  border-top-color: #ff6b35;
  border-radius: 50%;
  animation: osk-search-spin 0.6s linear infinite;
  display: none;
  flex-shrink: 0;
}

.osk-search-spinner.is-active {
  display: block;
}

@keyframes osk-search-spin {
  to { transform: rotate(360deg); }
}

.osk-search-clear {
  background: transparent;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 0.25rem;
  display: none;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex-shrink: 0;
}

.osk-search-clear.is-visible {
  display: inline-flex;
}

.osk-search-clear:hover {
  color: #0f172a;
  background-color: #f1f5f9;
}

.osk-search-clear-x {
  font-size: 1.15rem;
  line-height: 1;
}

.osk-search-results {
  max-height: 420px;
  overflow-y: auto;
}

.osk-search-state {
  padding: 2.5rem 1rem;
  text-align: center;
  color: #64748b;
}

.osk-search-state-icon {
  width: 44px;
  height: 44px;
  object-fit: contain;
  opacity: 0.35;
  margin-bottom: 0.75rem;
}

.osk-search-state h4 {
  color: #0f172a;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.osk-search-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  color: #0f172a;
  transition: background-color 0.15s;
  cursor: pointer;
  gap: 0.85rem;
}

.osk-search-result:last-child {
  border-bottom: none;
}

.osk-search-result:hover,
.osk-search-result.is-selected {
  background-color: #fff1eb;
}

.osk-search-result-thumb {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  overflow: hidden;
  background: #f1f5f9;
  flex-shrink: 0;
  object-fit: cover;
  display: block;
}

.osk-search-result-details {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  flex: 1;
  min-width: 0;
}

.osk-search-result-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: #0f172a;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osk-search-result-snippet {
  font-size: 0.825rem;
  color: #64748b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osk-search-highlight {
  background-color: #ffedcc;
  color: #92400e;
  font-weight: 600;
  padding: 0 2px;
  border-radius: 2px;
}

.osk-search-result-tag {
  font-size: 0.725rem;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
  background-color: #e2e8f0;
  color: #475569;
  flex-shrink: 0;
  margin-left: 0.5rem;
}

.osk-search-result-tag--post { background-color: #fff1eb; color: #b45309; }
.osk-search-result-tag--menu { background-color: #ffedcc; color: #92400e; }
.osk-search-result-tag--site { background-color: #ffe0d1; color: #7c2d12; }

.osk-search-footer {
  padding: 0.6rem 1.25rem;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #64748b;
}

.osk-search-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: #0f172a;
  font-size: 0.85rem;
}

.osk-search-footer-logo {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  flex-shrink: 0;
}

/* =========================================================
   PART 7 — ADD TO CART MODAL
   ========================================================= */
.osk-cart-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.osk-cart-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.osk-cart-modal-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.25);
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  text-align: center;
  transform: translateY(-10px);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.osk-cart-modal-backdrop.is-open .osk-cart-modal-card {
  transform: translateY(0);
}

.osk-cart-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.15s;
}

.osk-cart-modal-close:hover {
  background: #ffe0d1;
  color: #b45309;
}

.osk-cart-modal-message {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.35;
}

.osk-cart-modal-message strong {
  color: #ff6b35;
}

.osk-cart-modal-view-btn {
  width: 100%;
  background: #ff6b35;
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.osk-cart-modal-view-btn:hover {
  background: #e85a28;
}

.osk-cart-modal-view-btn:active {
  transform: scale(0.98);
}

/* =========================================================
   PART 8 — TRASH / REMOVE MODAL (with Undo)
   ========================================================= */
.osk-trash-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  z-index: 9997;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.osk-trash-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.osk-trash-modal-card {
  background-color: #ffffff;
  width: 100%;
  max-width: 360px;
  border-radius: 16px;
  box-shadow: 0 20px 45px -15px rgba(0, 0, 0, 0.25);
  padding: 1.75rem 1.5rem 1.5rem;
  position: relative;
  text-align: center;
}

.osk-trash-modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: none;
  background: #f1f5f9;
  color: #475569;
  font-size: 1.15rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.osk-trash-modal-close:hover {
  background: #ffe0d1;
  color: #b45309;
}

.osk-trash-modal-message {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0.5rem 0 1.25rem;
  line-height: 1.35;
}

.osk-trash-modal-message strong {
  color: #ff6b35;
}

.osk-trash-modal-undo-btn {
  width: 100%;
  background: #ff6b35;
  color: #ffffff;
  border: none;
  border-radius: 40px;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}

.osk-trash-modal-undo-btn:hover {
  background: #e85a28;
}

.osk-trash-modal-undo-btn:active {
  transform: scale(0.98);
}

/* =========================================================
   PART 9 — CHECKOUT PAGE
   ========================================================= */
.osk-checkout-page-spacer {
  height: var(--osk-checkout-page-spacer, 100px);
  width: 100%;
}

.osk-checkout-page-overall-main-tag {
  width: 100%;
  padding: 0 0 4rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 60vh;
}

.osk-checkout-page-overall-wrapper {
  max-width: none;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 2rem;
  align-items: flex-start;
}

.osk-checkout-page-left-column {
  background: var(--osk-checkout-card-bg, #ffffff);
  border-radius: 28px;
  box-shadow: 0 20px 45px -20px rgba(0, 0, 0, 0.15);
  padding: 2rem 2rem 1.5rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 5rem);
  overflow: hidden;
}

/* Inner scrollable area — scrollbar lives inside the card */
.osk-checkout-scroll-area {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: hidden;
  min-height: 0;
  padding-right: 0.5rem;
  margin-right: -0.5rem;
  scrollbar-width: thin;
  scrollbar-color: #e2e8f0 transparent;
}

.osk-checkout-scroll-area::-webkit-scrollbar {
  width: 6px;
}

.osk-checkout-scroll-area::-webkit-scrollbar-track {
  background: transparent;
}

.osk-checkout-scroll-area::-webkit-scrollbar-thumb {
  background: #e2e8f0;
  border-radius: 99px;
}

.osk-checkout-scroll-area::-webkit-scrollbar-thumb:hover {
  background: #cbd5e1;
}

.osk-checkout-page-right-column {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  position: sticky;
  top: 2rem;
}

.osk-checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eef2f7;
}

.osk-checkout-header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--osk-checkout-title-text, #0b1b32);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.osk-icon-checkout-h1 {
  filter: brightness(0.5);
}

.osk-back-to-cart {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ff6b35;
  font-weight: 500;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.6rem 1.15rem;
  border-radius: 40px;
  background: #fff1eb;
  transition: background 0.2s, color 0.2s;
}

.osk-back-to-cart:hover {
  background: #ffe0d1;
  color: #e85a28;
}

.osk-form-section {
  margin-bottom: 2rem;
}

.osk-form-section:last-of-type {
  margin-bottom: 0;
}

.osk-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--osk-checkout-title-text, #0b1b32);
  margin-bottom: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.osk-step-badge {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--osk-checkout-step-badge-bg, #ff6b35);
  color: var(--osk-checkout-step-badge-text, #ffffff);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.osk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.osk-form-grid .osk-full-width {
  grid-column: 1 / -1;
}

.osk-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  min-width: 0;
}

.osk-form-group label {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--osk-checkout-label-text, #475569);
}

.osk-form-group label .osk-required {
  color: #ff6b35;
  margin-left: 0.15rem;
}

.osk-form-group input,
.osk-form-group select {
  width: 100%;
  font-size: 0.92rem;
  color: var(--osk-checkout-field-text, #0f172a);
  background: var(--osk-checkout-field-bg, #f8fafc);
  border: 1.5px solid var(--osk-checkout-field-border, #e2e8f0);
  border-radius: 14px;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  font-family: inherit;
}

.osk-form-group input::placeholder {
  color: #94a3b8;
}

.osk-form-group input:focus,
.osk-form-group select:focus {
  border-color: var(--osk-checkout-field-focus, #ff6b35);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.1);
}

.osk-form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../../icons/arrow_down.svg");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 18px 18px;
  padding-right: 2.5rem;
}

/* Payment */
.osk-payment-options {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.osk-payment-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1rem 1.15rem;
  border: 1.5px solid var(--osk-checkout-field-border, #e2e8f0);
  border-radius: 16px;
  background: var(--osk-checkout-payment-bg, #ffffff);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.osk-payment-option:hover {
  border-color: #ffd4c2;
  background: #fff8f4;
}

.osk-payment-option input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid #cbd5e1;
  border-radius: 50%;
  margin: 0;
  flex-shrink: 0;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s;
}

.osk-payment-option input[type="radio"]:checked {
  border-color: var(--osk-checkout-payment-active-border, #ff6b35);
}

.osk-payment-option input[type="radio"]:checked::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--osk-checkout-payment-active-border, #ff6b35);
}

.osk-payment-option:has(input:checked) {
  border-color: var(--osk-checkout-payment-active-border, #ff6b35);
  background: var(--osk-checkout-payment-active-bg, #fff1eb);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.osk-payment-label {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--osk-checkout-payment-text, #475569);
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  cursor: pointer;
}

.osk-payment-label .osk-icon-inline {
  width: 22px;
  height: 22px;
}

/* Orange Money box */
.osk-orange-money-box {
  display: none;
  padding: 1.25rem;
  background: #fff8f4;
  border-radius: 16px;
  border: 1px solid #ffd4c2;
  margin-bottom: 1.25rem;
}

.osk-orange-money-box.is-open {
  display: block;
}

.osk-orange-money-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b1b32;
  margin-bottom: 1rem;
}

.osk-orange-money-instructions {
  font-size: 0.85rem;
  color: #64748b;
  line-height: 1.5;
  margin-top: 0.5rem;
}

.osk-orange-money-instructions strong {
  color: #b45309;
}

.osk-orange-money-file-hint {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.35rem;
}

/* Checkbox */
.osk-checkbox-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.osk-checkbox-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
}

.osk-checkbox-row input[type="checkbox"]:checked {
  background: #ff6b35;
  border-color: #ff6b35;
}

.osk-checkbox-row input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 1px;
  left: 4px;
  width: 5px;
  height: 9px;
  border: solid #ffffff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.osk-checkbox-row label {
  font-size: 0.85rem;
  color: #475569;
  cursor: pointer;
  user-select: none;
}

/* Place order button */
.osk-place-order-btn {
  width: 100%;
  background: var(--osk-checkout-place-bg, #ff6b35);
  border: none;
  color: var(--osk-checkout-place-text, #ffffff);
  font-weight: 700;
  font-size: 1rem;
  padding: 1.1rem;
  border-radius: 60px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  transition: background 0.2s, transform 0.1s;
}

.osk-place-order-btn:hover {
  background: var(--osk-checkout-place-bg-hover, #e85a28);
}

.osk-place-order-btn:active {
  transform: scale(0.98);
}

/* Error box */
.osk-checkout-error {
  padding: 1rem 1.25rem;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 14px;
  margin-bottom: 1.25rem;
  color: #b91c1c;
}

.osk-checkout-error p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.osk-checkout-error-retry {
  background: #b91c1c;
  color: #ffffff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 40px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

@media (max-width: 1024px) {
  .osk-checkout-page-overall-wrapper {
    grid-template-columns: 1fr 340px;
  }
}

@media (max-width: 940px) {
  .osk-checkout-page-overall-wrapper {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .osk-checkout-page-right-column {
    position: static;
  }

  .osk-checkout-page-left-column {
    max-height: none;
    overflow: visible;
  }

  /* Remove inner scrollbar on tablet/mobile — page scrolls naturally */
  .osk-checkout-scroll-area {
    overflow: visible;
    max-height: none;
    padding-right: 0;
    margin-right: 0;
  }
}

@media (max-width: 640px) {
  .osk-checkout-page-overall-main-tag {
    padding: 0 0.85rem 3rem;
  }

  .osk-checkout-page-left-column,
  .osk-right-card {
    padding: 1.35rem 1.15rem;
    border-radius: 22px;
  }

  .osk-checkout-header h1 {
    font-size: 1.4rem;
  }

  .osk-form-grid {
    grid-template-columns: 1fr;
  }

  .osk-form-grid .osk-full-width {
    grid-column: auto;
  }
}

/* =========================================================
   PART 10 — PROCESSING MODAL
   ========================================================= */
.osk-processing-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.osk-processing-modal-backdrop.is-open {
  opacity: 1;
  visibility: visible;
}

.osk-payment-loader {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  background: #ffffff;
  padding: 2.5rem 2rem 2rem;
  border-radius: 24px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  max-width: 320px;
  width: 100%;
  text-align: center;
}

.osk-image-loader {
  position: relative;
  width: 150px;
  height: 150px;
}

/* spinning ring in #ff5f1f */
.osk-image-loader .osk-spinner {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    transparent 40deg,
    #ff5f1f 120deg,
    #ff8a4f 200deg,
    #ffc4a3 280deg,
    transparent 320deg,
    transparent 360deg
  );
  animation: osk-payment-spin 1.2s linear infinite;
  filter: drop-shadow(0 0 6px rgba(255, 95, 31, 0.5));
}

.osk-image-loader .osk-spinner-logo {
  position: absolute;
  top: 7.5px;
  left: 7.5px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  object-fit: contain;
  display: block;
  border: 3px solid #f0f2f5;
  background: #ffffff;
  padding: 12px;
  box-sizing: border-box;
  z-index: 2;
}

.osk-image-loader .osk-spinner-logo-placeholder {
  position: absolute;
  top: 7.5px;
  left: 7.5px;
  width: 135px;
  height: 135px;
  border-radius: 50%;
  border: 3px solid #f0f2f5;
  background: #ffffff;
  color: #ff5f1f;
  font-size: 2.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  z-index: 2;
}

/* label in #ff5f1f */
.osk-payment-loader .osk-loader-label {
  font-size: 16px;
  font-weight: 600;
  color: #ff5f1f;
  letter-spacing: 0.3px;
  animation: osk-pulse-text 1.8s ease-in-out infinite;
  margin: 0;
}

@keyframes osk-payment-spin {
  to { transform: rotate(360deg); }
}

@keyframes osk-pulse-text {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.55; }
}

.osk-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* =========================================================
   PART 11 — ORDER CONFIRMATION PAGE
   ========================================================= */
.osk-confirmation-page-spacer {
  height: var(--osk-confirmation-page-spacer, 100px);
  width: 100%;
}

.osk-confirmation-overall-main-tag {
  width: 100%;
  padding: 0 1rem 4rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 80vh;
  box-sizing: border-box;
}

.osk-confirmation-wrapper {
  width: 50%;
  max-width: var(--osk-confirmation-wrapper-max-width, 600px);
  border: 1px solid var(--osk-confirmation-wrapper-border, #16a34a);
  border-radius: var(--osk-confirmation-wrapper-radius, 10px);
  padding: 2rem 1.5rem;
  background: var(--osk-confirmation-wrapper-bg, #ffffff);
  box-sizing: border-box;
}

.osk-confirmation-contents-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
}

.osk-confirmation-icon img {
  width: var(--osk-confirmation-icon-size, 48px);
  height: var(--osk-confirmation-icon-size, 48px);
  display: block;
}

.osk-confirmation-contents-container h1 {
  font-size: var(--osk-confirmation-title-size, 28px);
  font-weight: 700;
  color: var(--osk-confirmation-title-text, #166534);
  margin: 0;
}

.osk-confirmation-subtitle {
  font-size: var(--osk-confirmation-subtitle-size, 16px);
  color: var(--osk-confirmation-subtitle-text, #4b5563);
  margin: 0;
}

.osk-confirmation-order-id {
  background: var(--osk-confirmation-id-bg, #166534);
  color: var(--osk-confirmation-id-text, #ffffff);
  border-radius: var(--osk-confirmation-id-radius, 10px);
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
  width: 100%;
  word-break: break-word;
  box-sizing: border-box;
}

.osk-confirmation-order-id b {
  font-weight: 700;
}

.osk-confirmation-whatsapp-block {
  width: 100%;
  border: 1px solid var(--osk-confirmation-whatsapp-border, #16a34a);
  border-radius: 10px;
  padding: 1.5rem 1.25rem;
  background: var(--osk-confirmation-whatsapp-bg, #ffffff);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-sizing: border-box;
}

.osk-confirmation-whatsapp-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--osk-confirmation-whatsapp-heading, #111827);
  margin: 0;
}

.osk-confirmation-whatsapp-block p {
  font-size: 0.95rem;
  color: var(--osk-confirmation-whatsapp-desc, #4b5563);
  line-height: 1.5;
  margin: 0;
}

.osk-confirmation-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: var(--osk-confirmation-whatsapp-btn-bg, #25D366);
  color: var(--osk-confirmation-whatsapp-btn-text, #ffffff) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  text-decoration: none;
  margin-top: 0.5rem;
  transition: background 0.2s ease;
}

.osk-confirmation-whatsapp-btn:hover {
  background: var(--osk-confirmation-whatsapp-btn-hover, #1ebe5b);
}

.osk-confirmation-whatsapp-btn img {
  width: 20px;
  height: 20px;
  display: block;
}

.osk-confirmation-order-details {
  width: 100%;
  background: var(--osk-confirmation-details-bg, #ffffff);
  border: 1px solid var(--osk-confirmation-details-border, #e2e8f0);
  border-radius: var(--osk-confirmation-details-radius, 10px);
  padding: 1.5rem 1.25rem;
  box-sizing: border-box;
  text-align: left;
}

.osk-confirmation-details-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--osk-confirmation-details-heading, #111827);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 1rem;
}

.osk-confirmation-details-title img {
  width: 20px;
  height: 20px;
  display: inline-block;
  opacity: 0.85;
}

.osk-confirmation-details-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.osk-confirmation-details-list li {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.92rem;
  line-height: 1.4;
  border-bottom: 1px dashed #f1f5f9;
  padding-bottom: 0.5rem;
}

.osk-confirmation-details-list li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.osk-conf-detail-label {
  color: #64748b;
  font-weight: 500;
  flex-shrink: 0;
}

.osk-conf-detail-value {
  color: #0f172a;
  font-weight: 600;
  text-align: right;
  word-break: break-word;
}

.osk-confirmation-next-steps {
  width: 100%;
  background: var(--osk-confirmation-steps-bg, #212121);
  border-radius: var(--osk-confirmation-steps-radius, 10px);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  box-sizing: border-box;
}

.osk-confirmation-next-steps h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--osk-confirmation-steps-heading, #ffffff);
  margin: 0;
}

.osk-confirmation-next-steps ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  width: 100%;
  padding: 0;
  margin: 0;
}

.osk-confirmation-next-steps li {
  font-size: 0.95rem;
  color: var(--osk-confirmation-steps-text, #e5e7eb);
  line-height: 1.5;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-align: left;
}

.osk-confirmation-next-steps li img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  display: block;
}

.osk-confirmation-help-block {
  width: 100%;
  background: var(--osk-confirmation-help-bg-start, #000000);
  background: -webkit-linear-gradient(to right, var(--osk-confirmation-help-bg-start, #000000), var(--osk-confirmation-help-bg-end, #F3904F));
  background: linear-gradient(to right, var(--osk-confirmation-help-bg-start, #000000), var(--osk-confirmation-help-bg-end, #F3904F));
  border-radius: var(--osk-confirmation-help-radius, 10px);
  padding: 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  box-sizing: border-box;
}

.osk-confirmation-help-block h2 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--osk-confirmation-help-heading, #ffffff);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.osk-confirmation-help-block h2 img {
  width: 22px;
  height: 22px;
  display: block;
}

.osk-confirmation-help-block p {
  font-size: 0.95rem;
  color: var(--osk-confirmation-help-text, #ffe0d1);
  line-height: 1.5;
  margin: 0;
}

.osk-confirmation-help-numbers {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  width: 100%;
  margin: 0;
  padding: 0;
}

.osk-help-number {
  display: inline-block;
  background: var(--osk-confirmation-help-num-bg, #1a1a1a);
  border-radius: var(--osk-confirmation-help-num-radius, 20px);
  padding: var(--osk-confirmation-help-num-padding, 4px 10px);
  transition: background 0.2s ease;
  line-height: 1.4;
}

.osk-help-number a {
  color: var(--osk-confirmation-help-num-color, #ffffff) !important;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
}

.osk-help-number:hover {
  background: var(--osk-confirmation-help-num-hover-bg, #ff6b35);
}

.osk-help-number:hover a {
  color: var(--osk-confirmation-help-num-hover-color, #ffffff) !important;
}

.osk-confirmation-back-home {
  display: inline-block;
  width: 80%;
  background: var(--osk-confirmation-home-btn-bg, #212121);
  color: var(--osk-confirmation-home-btn-text, #ffffff) !important;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--osk-confirmation-home-btn-radius, 10px);
  text-decoration: none;
  text-align: center;
  transition: background 0.2s ease;
  margin-top: 0.25rem;
  box-sizing: border-box;
}

.osk-confirmation-back-home:hover {
  background: var(--osk-confirmation-home-btn-hover, #000000);
}

.osk-confirmation-not-found {
  padding: 2rem 1rem;
}

@media (max-width: 768px) {
  .osk-confirmation-wrapper {
    width: 96%;
  }
}

/* =========================================================
   CHECKOUT PAGE — full multi-channel layout
   ========================================================= */

.osk-checkout-page-spacer {
  height: var(--osk-checkout-page-spacer, 100px);
}

.osk-checkout-page-overall-main-tag {
  min-height: 100vh;
  padding: 0 0 60px;
  background: var(--osk-archive-page-bg, #f3f5f9);
}

.osk-checkout-page-overall-wrapper {
  display: flex;
  gap: 24px;
  max-width: none;
  width: 90%;
  margin: 0 auto;
  align-items: flex-start;
}

.osk-checkout-page-left-column {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.osk-checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0 16px;
  flex-wrap: wrap;
  gap: 12px;
}

.osk-checkout-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #0b1b32;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  line-height: 1.2;
}

.osk-icon-checkout-h1 {
  width: 24px;
  height: 24px;
  opacity: 0.7;
}

.osk-back-to-cart {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  text-decoration: none;
  transition: color 0.15s;
}

.osk-back-to-cart:hover { color: #ff6b35; }

.osk-checkout-scroll-area {
  display: flex;
  flex-direction: column;
}

/* --- Form sections --- */
.osk-form-section {
  background: var(--osk-checkout-card-bg, #ffffff);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 24px;
  margin-bottom: 20px;
}

.osk-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--osk-checkout-title-text, #0b1b32);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}

.osk-step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--osk-checkout-step-badge-bg, #ff6b35);
  color: var(--osk-checkout-step-badge-text, #ffffff);
  font-size: 0.8rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* --- Form grid --- */
.osk-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.osk-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.osk-form-group.osk-full-width { grid-column: 1 / -1; }

.osk-form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--osk-checkout-label-text, #475569);
}

.osk-required { color: #e53e3e; font-weight: 700; }
.osk-optional { color: #94a3b8; font-weight: 400; font-size: 0.78rem; }

.osk-form-group input[type="text"],
.osk-form-group input[type="email"],
.osk-form-group input[type="tel"],
.osk-form-group input[type="datetime-local"],
.osk-form-group select,
.osk-form-group textarea {
  border: 1.5px solid var(--osk-checkout-field-border, #e2e8f0);
  border-radius: 9px;
  padding: 10px 13px;
  font-size: 0.95rem;
  color: var(--osk-checkout-field-text, #0f172a);
  background-color: var(--osk-checkout-field-bg, #f8fafc);
  transition: border-color 0.18s, box-shadow 0.18s;
  width: 100%;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
}

.osk-form-group input:focus,
.osk-form-group select:focus,
.osk-form-group textarea:focus {
  border-color: var(--osk-checkout-field-focus, #ff6b35);
  box-shadow: 0 0 0 3px rgba(255,107,53,0.12);
  background-color: #ffffff;
}

.osk-form-group textarea { resize: vertical; min-height: 80px; }
.osk-form-group select:disabled,
.osk-form-group input:disabled {
  background-color: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  border-color: #cbd5e1;
}

.osk-form-group select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("../../icons/arrow_down.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  padding-right: 40px;
}

.osk-form-group select:disabled {
  background-image: url("../../icons/arrow_down.svg");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px 18px;
  opacity: 0.65;
}

/* --- Order type cards --- */
.osk-order-type-options {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.osk-order-type-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  background: #f8fafc;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
  user-select: none;
  text-align: center;
}

.osk-order-type-card input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.osk-order-type-card:hover {
  border-color: #ff6b35;
  background: #fff7f4;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(255,107,53,0.12);
}

.osk-order-type-card.is-active {
  border-color: #ff6b35;
  background: #fff1eb;
  box-shadow: 0 4px 20px rgba(255,107,53,0.16);
}

.osk-order-type-card.is-active .osk-order-type-label { color: #ff6b35; }

.osk-order-type-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: background 0.2s;
}

.osk-order-type-card.is-active .osk-order-type-icon { background: #ff6b35; }
.osk-order-type-card.is-active .osk-order-type-icon img { filter: brightness(0) invert(1); }

.osk-order-type-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0b1b32;
  transition: color 0.2s;
}

.osk-order-type-desc { font-size: 0.76rem; color: #94a3b8; line-height: 1.3; }

/* --- Conditional panels --- */
.osk-order-panel { display: flex; flex-direction: column; gap: 14px; }

/* --- Pickup notice --- */
.osk-pickup-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.9rem;
  color: #166534;
  font-weight: 500;
}

/* --- Timing toggle --- */
.osk-timing-toggle { display: flex; gap: 10px; }

.osk-timing-option {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 2px solid #e2e8f0;
  border-radius: 9px;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 600;
  color: #475569;
  transition: all 0.18s;
  user-select: none;
}

.osk-timing-option input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.osk-timing-option.is-active,
.osk-timing-option:hover {
  border-color: #ff6b35;
  background: #fff1eb;
  color: #ff6b35;
}

/* --- Payment options --- */
.osk-payment-options { display: flex; flex-direction: column; gap: 12px; margin-bottom: 18px; }

.osk-payment-option {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  background: var(--osk-checkout-payment-bg, #ffffff);
  cursor: pointer;
  transition: border-color 0.18s, background 0.18s;
  position: relative;
}

.osk-payment-option:has(input:checked) {
  border-color: var(--osk-checkout-payment-active-border, #ff6b35);
  background: var(--osk-checkout-payment-active-bg, #fff1eb);
}

.osk-payment-option input[type="radio"] {
  accent-color: #ff6b35;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.osk-payment-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--osk-checkout-payment-text, #475569);
}

.osk-payment-name { font-size: 0.95rem; }

.osk-payment-option--coming-soon { opacity: 0.6; cursor: not-allowed; }

.osk-coming-soon-badge {
  margin-left: auto;
  background: #e2e8f0;
  color: #64748b;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: 20px;
  text-transform: uppercase;
}

/* --- Orange Money box --- */
.osk-orange-money-box {
  display: none;
  padding: 16px 18px;
  background: #fff8f4;
  border-radius: 14px;
  border: 1.5px solid #ffd4c2;
  margin: 4px 0 8px;
}

.osk-orange-money-box.is-open {
  display: block;
}

.osk-orange-money-title { font-size: 0.92rem; font-weight: 700; color: #0b1b32; margin: 0 0 14px; }

.osk-orange-money-file-hint,
.osk-orange-money-instructions {
  font-size: 0.82rem;
  color: #64748b;
  margin: 6px 0 0;
  line-height: 1.5;
}

/* --- Confirm checkbox --- */
.osk-confirm-row {
  margin-top: 18px;
  padding: 14px 18px;
  background: #fff1eb;
  border: 1.5px solid #ffd8c7;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.osk-confirm-row:hover {
  border-color: #ffbba1;
}

.osk-confirm-row input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  border: 2px solid #ff6b35;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
  display: grid;
  place-content: center;
  margin: 0;
  transition: all 0.18s ease;
}

.osk-confirm-row input[type="checkbox"]::before {
  content: "";
  width: 10px;
  height: 10px;
  transform: scale(0);
  transition: 120ms transform ease-in-out;
  background-color: #ffffff;
  clip-path: polygon(14% 44%, 0 65%, 50% 100%, 100% 16%, 80% 0%, 43% 62%);
}

.osk-confirm-row input[type="checkbox"]:checked {
  background: #ff6b35;
  border-color: #ff6b35;
}

.osk-confirm-row input[type="checkbox"]:checked::before {
  transform: scale(1);
}

.osk-confirm-row input[type="checkbox"]:focus-visible {
  outline: 2px solid #ff6b35;
  outline-offset: 2px;
}

.osk-confirm-row label {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  line-height: 1.4;
  margin: 0;
  user-select: none;
}

/* --- Checkbox row --- */
.osk-checkbox-row { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; color: #475569; }

/* --- Error box --- */
.osk-checkout-error {
  background: #fff5f5;
  border: 1.5px solid #fc8181;
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 16px;
}

.osk-checkout-error p { margin: 0 0 10px; color: #c53030; font-weight: 600; font-size: 0.9rem; }

.osk-checkout-error-retry {
  background: #ff6b35;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}

.osk-checkout-error-retry:hover { background: #e85a28; }

/* --- Empty cart --- */
.osk-checkout-empty {
  text-align: center;
  padding: 40px 20px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
}

.osk-checkout-empty h2 { margin: 0 0 10px; font-size: 1.4rem; color: #0b1b32; }
.osk-checkout-empty p  { color: #64748b; margin: 0 0 20px; }

.osk-btn-shop {
  display: inline-block;
  background: #ff6b35;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s;
}

.osk-btn-shop:hover { background: #e85a28; }

/* --- Right column --- */
.osk-checkout-page-right-column {
  flex: 0 0 340px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: sticky;
  top: 24px;
}

.osk-right-card {
  background: var(--osk-checkout-card-bg, #ffffff);
  border-radius: 14px;
  box-shadow: 0 2px 14px rgba(0,0,0,0.07);
  padding: 24px;
}

/* --- Summary --- */
.osk-summary-title { font-size: 1rem; font-weight: 700; color: var(--osk-cart-summary-title, #0b1b32); margin: 0 0 16px; }

.osk-summary-items { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }

.osk-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.87rem;
}

.osk-summary-item-name { color: #334155; flex: 1; line-height: 1.4; }
.osk-summary-item-qty  { color: #94a3b8; font-size: 0.8rem; }
.osk-summary-item-price{ font-weight: 600; color: #0f172a; white-space: nowrap; }

.osk-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--osk-cart-summary-label, #475569);
  padding: 4px 0;
}

.osk-summary-value { font-weight: 600; color: var(--osk-cart-summary-value, #0f172a); }
.osk-summary-delivery-row .osk-summary-value { color: #ff6b35; }
.osk-summary-empty { color: #94a3b8; font-size: 0.9rem; text-align: center; padding: 20px 0; }

.osk-summary-divider { border: none; border-top: 1px solid #f1f5f9; margin: 12px 0; }

.osk-summary-total {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  color: #0b1b32;
  margin-bottom: 18px;
}

.osk-summary-total .osk-summary-value { color: var(--osk-cart-summary-total, #ff6b35); font-size: 1.1rem; }

/* --- Place order button --- */
.osk-place-order-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--osk-checkout-place-bg, #ff6b35);
  color: var(--osk-checkout-place-text, #ffffff);
  border: none;
  border-radius: 12px;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.18s, transform 0.15s, box-shadow 0.18s;
  letter-spacing: 0.02em;
}

.osk-place-order-btn:hover {
  background: var(--osk-checkout-place-bg-hover, #e85a28);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255,107,53,0.28);
}

.osk-place-order-btn:active { transform: translateY(0); }

/* --- Secure note --- */
.osk-secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 12px;
  font-weight: 500;
}

/* --- Help card --- */
.osk-help-card    { background: #f8fafc; }
.osk-help-title   { font-size: 0.95rem; font-weight: 700; color: #0b1b32; margin: 0 0 6px; }
.osk-help-text    { font-size: 0.85rem; color: #64748b; margin: 0 0 10px; }

.osk-help-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  font-size: 0.88rem;
  font-weight: 600;
}

.osk-help-phones a    { color: #ff6b35; text-decoration: none; }
.osk-help-phones a:hover { text-decoration: underline; }
.osk-help-separator   { color: #cbd5e1; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .osk-checkout-page-overall-wrapper { width: 94%; flex-direction: column; }
  .osk-checkout-page-right-column { flex: none; width: 100%; position: static; }
}

@media (max-width: 600px) {
  .osk-checkout-page-overall-main-tag { padding: 0 12px 40px; }
  .osk-checkout-page-overall-wrapper { width: 100%; }
  .osk-form-section { padding: 18px 16px; }
  .osk-form-grid { grid-template-columns: 1fr; }
  .osk-form-group.osk-full-width { grid-column: 1; }
  .osk-order-type-options { grid-template-columns: 1fr; }
  .osk-order-type-card { flex-direction: row; justify-content: flex-start; padding: 14px 16px; }
  .osk-order-type-icon { width: 40px; height: 40px; }
  .osk-order-type-desc { display: none; }
  .osk-timing-toggle { flex-direction: column; }
}

/* =========================================================
   PART 9 — 404 EXPERIENCE (ZERO-G FLOATING GLASS & SEARCH)
   ========================================================= */
.osk-404-page-hero {
  position: relative;
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 40px 20px 80px;
  overflow: visible;
  background-color: #000000;
  color: #ffffff;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.osk-404-page-canvas,
#space-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  cursor: crosshair;
  touch-action: none;
  pointer-events: auto;
}

.osk-404-page-content-area-open {
  position: relative;
  z-index: 10;
  max-width: 800px;
  width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
  padding: 10px 15px;
}

.osk-404-page-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 20px;
  background: rgba(255, 95, 31, 0.15);
  border: 1px solid rgba(255, 95, 31, 0.4);
  color: #ff5f1f;
  font-size: 0.75rem;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  font-weight: 600;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
}

.osk-404-page-title {
  font-size: 6rem;
  font-weight: 900;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  line-height: 1;
  margin-bottom: 8px;
  color: #ffffff;
  letter-spacing: -2px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.9);
}

.osk-404-page-title span {
  color: #ff5f1f;
  display: inline-block;
  animation: osk-float-zero-g 6s ease-in-out infinite;
  text-shadow: 0 0 25px rgba(255, 95, 31, 0.45);
}

@keyframes osk-float-zero-g {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(4deg); }
}

.osk-404-page-heading-text {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  text-transform: lowercase;
  letter-spacing: -0.5px;
  text-shadow: 0 0 20px rgba(0, 0, 0, 0.9);
}

.osk-404-page-sub-text {
  color: #a0a0a0;
  font-size: 0.96rem;
  line-height: 1.4;
  margin-bottom: 26px;
  white-space: nowrap;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.95);
}

/* Tabbed Search Component */
.osk-404-page-search-widget {
  width: 100%;
  max-width: 560px;
  margin-bottom: 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.9);
  border-radius: 16px;
}

.osk-404-page-search-tabs-bar {
  display: flex;
  width: 100%;
  background: rgba(14, 14, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid #ff5f1f;
  border-bottom: 1px solid rgba(255, 95, 31, 0.25);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.osk-404-page-tab-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(255, 95, 31, 0.18);
  color: #a0a0a0;
  font-size: 0.83rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  user-select: none;
  white-space: nowrap;
}

.osk-404-page-tab-btn:last-child {
  border-right: none;
}

.osk-404-page-tab-btn:hover:not(.is-active):not(.osk-404-page-is-active) {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.osk-404-page-tab-btn.is-active,
.osk-404-page-tab-btn.osk-404-page-is-active {
  color: #ff5f1f;
  font-weight: 700;
  background: rgba(255, 95, 31, 0.14);
  box-shadow: inset 0 -3px 0 #ff5f1f;
}

.osk-404-page-tab-icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.osk-404-page-tab-btn.is-active .osk-404-page-tab-icon,
.osk-404-page-tab-btn.osk-404-page-is-active .osk-404-page-tab-icon {
  transform: scale(1.1);
}

.osk-404-page-search-input-container {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgba(8, 8, 10, 0.96);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid #ff5f1f;
  border-top: none;
  border-radius: 0 0 16px 16px;
  padding: 5px 14px 5px 16px;
  transition: all 0.25s ease;
  position: relative;
  z-index: 2;
}

.osk-404-page-search-widget.has-results .osk-404-page-search-input-container,
.osk-404-page-search-widget.osk-404-page-has-results .osk-404-page-search-input-container {
  border-radius: 0;
  border-bottom: 1px solid rgba(255, 95, 31, 0.2);
}

.osk-404-page-search-input-container:focus-within {
  box-shadow: 0 0 25px rgba(255, 95, 31, 0.45);
}

.osk-404-page-search-icon-left {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-right: 10px;
  opacity: 0.85;
}

.osk-404-page-search-input-field {
  flex: 1;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 0.94rem;
  padding: 13px 0;
  outline: none;
}

.osk-404-page-search-input-field::placeholder {
  color: #6b7280;
}

.osk-404-page-search-ajax-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 95, 31, 0.25);
  border-top-color: #ff5f1f;
  border-radius: 50%;
  animation: osk-spin 0.6s linear infinite;
  display: none;
  margin-right: 8px;
  flex-shrink: 0;
}

.osk-404-page-search-ajax-spinner.is-active,
.osk-404-page-search-ajax-spinner.osk-404-page-is-active {
  display: block;
}

@keyframes osk-spin {
  to { transform: rotate(360deg); }
}

.osk-404-page-search-clear-btn {
  background: transparent;
  border: none;
  color: #6b7280;
  font-size: 1.25rem;
  cursor: pointer;
  padding: 2px 6px;
  display: none;
  line-height: 1;
  transition: color 0.15s;
}

.osk-404-page-search-clear-btn.is-active,
.osk-404-page-search-clear-btn.osk-404-page-is-active {
  display: block;
}

.osk-404-page-search-clear-btn:hover {
  color: #ffffff;
}

/* In-Flow Live Search Results Dropdown */
.osk-404-page-live-search-results {
  width: 100%;
  background: rgba(14, 14, 18, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1.5px solid #ff5f1f;
  border-top: none;
  border-radius: 0 0 16px 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.95), 0 0 30px rgba(255, 95, 31, 0.15);
  overflow: hidden;
  text-align: left;
  display: none;
  animation: osk-dropdownShiftIn 0.25s ease-out forwards;
  position: relative;
  z-index: 1;
}

@keyframes osk-dropdownShiftIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.osk-404-page-live-search-results.is-visible,
.osk-404-page-live-search-results.osk-404-page-is-visible {
  display: block;
}

.osk-404-page-results-header {
  padding: 10px 16px;
  background: rgba(255, 95, 31, 0.08);
  border-bottom: 1px solid rgba(255, 95, 31, 0.15);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.74rem;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.osk-404-page-results-header-scope {
  color: #ff5f1f;
  font-weight: 700;
}

.osk-404-page-results-list {
  max-height: 380px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: #ff5f1f transparent;
}

.osk-404-page-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: all 0.18s ease;
  cursor: pointer;
}

.osk-404-page-result-item:last-child {
  border-bottom: none;
}

.osk-404-page-result-item:hover {
  background: rgba(255, 95, 31, 0.14);
}

.osk-404-page-result-item-thumb {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  background: #18181c;
  border: 1px solid rgba(255, 95, 31, 0.3);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  object-fit: cover;
}

.osk-404-page-result-item-details {
  flex: 1;
  min-width: 0;
}

.osk-404-page-result-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osk-404-page-result-highlight {
  color: #ff5f1f;
  text-decoration: underline;
}

.osk-404-page-result-item-price {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #10b981;
  margin-right: 6px;
}

.osk-404-page-result-item-snippet {
  font-size: 0.78rem;
  color: #a0a0a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.osk-404-page-result-item-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 12px;
  white-space: nowrap;
  letter-spacing: 0.04em;
}

.osk-404-page-tag-menu {
  background: rgba(255, 95, 31, 0.2);
  color: #ff5f1f;
  border: 1px solid rgba(255, 95, 31, 0.4);
}

.osk-404-page-tag-post {
  background: rgba(59, 130, 246, 0.2);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.4);
}

.osk-404-page-tag-site,
.osk-404-page-tag-page {
  background: rgba(168, 85, 247, 0.2);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.osk-404-page-results-empty {
  padding: 26px 16px;
  text-align: center;
  color: #a0a0a0;
  font-size: 0.88rem;
}

.osk-404-page-results-footer {
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.72rem;
  color: #6b7280;
  display: flex;
  justify-content: space-between;
}

/* Wider Return to Homepage Button with Pure Black Background */
.osk-404-page-back-to-home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  max-width: 340px;
  padding: 14px 36px;
  background: #000000;
  color: #ffffff;
  border: 1.5px solid rgba(255, 95, 31, 0.6);
  border-radius: 14px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.25s ease;
  margin-top: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 95, 31, 0.12);
}

.osk-404-page-back-to-home-button .osk-404-page-back-to-home-button-icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.osk-404-page-back-to-home-button:hover {
  border-color: #ff5f1f;
  background: #000000;
  color: #ff5f1f;
  box-shadow: 0 0 25px rgba(255, 95, 31, 0.45), 0 6px 22px rgba(0, 0, 0, 0.9);
  transform: translateY(-2px);
}

.osk-404-page-back-to-home-button:hover .osk-404-page-back-to-home-button-icon {
  transform: scale(1.15);
}

@media (max-width: 900px) {
  .osk-404-page-sub-text { white-space: normal; }
}

@media (max-width: 640px) {
  .osk-404-page-title { font-size: 4.5rem; }
  .osk-404-page-heading-text { font-size: 1.5rem; }
  .osk-404-page-content-area-open { padding: 10px; }
  .osk-404-page-sub-text { white-space: normal; }
  .osk-404-page-tab-btn { padding: 9px 8px; font-size: 0.74rem; gap: 4px; }
  .osk-404-page-tab-icon { font-size: 0.85rem; }
  .osk-404-page-back-to-home-button { max-width: 100%; }
}

/* 404 Discovery Toast Notification */
.osk-404-page-toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  z-index: 2000;
  padding: 12px 24px;
  background: rgba(14, 14, 18, 0.96);
  border: 1.5px solid #ff5f1f;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 25px rgba(255, 95, 31, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.osk-404-page-toast.show,
.osk-404-page-toast.is-visible,
.osk-404-page-toast.osk-404-page-is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* =========================================================
   PART 8 — OPENING HOURS BADGE
   ========================================================= */
.osk-opening-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 10px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* OPEN state */
.osk-opening-hours-badge.is-open {
  background-color: #14532d;
  color: #86efac;
}

.osk-opening-hours-badge.is-open .osk-opening-hours-badge-indicator {
  background-color: #22c55e;
  animation: osk-opening-hours-badge-pulse 1.5s ease-in-out infinite;
}

/* CLOSED state */
.osk-opening-hours-badge.is-closed {
  background-color: #dc2626;
  color: #fee2e2;
}

.osk-opening-hours-badge.is-closed .osk-opening-hours-badge-indicator {
  background-color: #fecaca;
  animation: none;
}

.osk-opening-hours-badge-indicator {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.osk-opening-hours-badge.is-closed .osk-badge-hours,
.osk-opening-hours-badge.is-closed .osk-badge-mins {
  font-weight: 700;
  color: #ffffff;
}

@keyframes osk-opening-hours-badge-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

