/* Section Title */
.nebula-cat-title {
    text-align: center;
    margin: 40px 0 25px;
    font-size: 32px;
    font-weight: 700;
    color: #222;
    letter-spacing: 0.5px;
}

/* Responsive Category Grid */
.nebula-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    padding: 0 40px 50px;
}

/* Card Style */
.nebula-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 3px 12px rgba(0,0,0,0.08);
    transition: all .3s ease;
}

.nebula-cat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 22px rgba(0,0,0,0.12);
}

/* Category Image */
.nebula-cat-image img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    background: #f9f9f9;
    padding: 15px;
}

/* Category Text */
.nebula-cat-text {
    padding: 15px 10px;
    text-align: center;
    font-weight: 600;
    font-size: 18px;
    color: #333;
}
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}

.modal._show {
    display: block !important;
}

.modal-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
}

.modal-container {
    position: absolute;
    max-width: 500px;
    width: 90%;
    background: #fff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 25px;
    border-radius: 10px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 22px;
    cursor: pointer;
}
#footer-main {
    background: radial-gradient(92.59% 92.59% at 50% -14.03%,#2273ba 0,#000 100%) 60% 59% !important;
    padding: 40px 0 10px;
}
#footer-main h4 {
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid #fff;
    padding-bottom: 12px;
    font-weight: normal !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 1px;
    height: 40px;
    line-height: 42px;
    padding: 0 10px;
    /* max-width: 150px; */
    text-align: center;
    font-family: "Oswald", sans-serif;
    margin-bottom: 20px;
    color: #fff;
    font-weight: bold;
}
#footer-main a {
    color: #fff !important;
    text-align: center !important;
    font-family: "Oswald", sans-serif;
    font-size: 14px;
    letter-spacing: 0.2px;
    line-height: 1.8em !important;
    text-transform: uppercase;
    display: block;
    cursor: pointer;
}
#copy-right p {
    color: #fff;
    text-align: center;
    margin: 0 auto;
}
.footer-menu {
    width: 25% !important;
    padding: 0 10px !important;
    float: left;
}
#copy-right {
    clear: both;
}
.secondary-button {
    color: #000 !important;
}
.secondary-button {
    color: #000 !important;
}
/*#image-22 {
    visibility: hidden;
    height: 20px;
}*/
.bg-navyBlue {
    --tw-bg-opacity: 1;
    background-color: #000 !important;
}
#main {
    padding: 20px 0 50px;
}
.font-dmserif {
    font-family: Poppins,sans-serif !important;
}

#pdAvailabilityModal input, #pdAvailabilityModal textarea {
    display: block;
    border: 1px solid #D9D9D9;
    width: 100%;
    margin: 5px 0;
}
#checkAvailabilityPopup input, #checkAvailabilityPopup textarea {
    display: block;
    border: 1px solid #D9D9D9;
    width: 100%;
    margin: 5px 0;
}
#pdAvailabilityModal .btn.btn-primary {
display: flex;
  max-width: -moz-max-content;
  max-width: max-content;
  cursor: pointer;
  place-content: center;
  align-items: center;
  -moz-column-gap: .375rem;
  column-gap: .375rem;
  border-radius: .75rem;
  border-width: 1px;
  --tw-border-opacity: 1;
  border-color: rgb(6 12 59 / var(--tw-border-opacity, 1));
  --tw-bg-opacity: 1;
  background-color: rgb(6 12 59 / var(--tw-bg-opacity, 1));
  padding: 1rem 2rem;
  font-weight: 500;
  --tw-text-opacity: 1;
  color: rgb(255 255 255 / var(--tw-text-opacity, 1));
  transition-property: all;
  transition-timing-function: cubic-bezier(.4,0,.2,1);
  transition-duration: .15s;
  margin-top: 10px;
}


@media only screen and (max-width: 500px) {

.footer-menu {
    width: 100% !important;
    padding: 0 10px !important;
    float: left;
}
}

.mega-search { position: relative; width: 100%; max-width: 650px; }
.mega-search__input-wrapper { border: 1px solid #ccc; background: #fff; }
.mega-search__input { width: 100%; padding: 10px; border: none; outline: none; min-width: 500px; }
.mega-search__panel { position: absolute; top: 45px; left: 0; width: 100%; background: #fff; border: 1px solid #ddd; z-index: 10000; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.hidden { display: none !important; }

.mega-search__body { display: flex; padding: 10px; gap: 15px; }

/* LEFT COLUMN */
.mega-search__left { width: 35%; border-right: 1px solid #eee; padding-right: 10px; }
.mega-search__left h4 { margin-bottom: 8px; font-size: 14px; font-weight: 600; }
.mega-search__left ul { list-style: none; padding: 0; }
.mega-search__left li { margin-bottom: 7px; font-size: 14px;}

/* RIGHT COLUMN */
.mega-search__right { width: 65%; }
.mega-search__right h4 { margin-bottom: 10px; font-size: 14px; font-weight: 600; }

/* PRODUCT ROW */
.product-row { display: flex; align-items: center; margin-bottom: 12px; }
.product-row .img img { width: 55px; height: 55px; object-fit: contain; border: 1px solid #eee; padding: 3px; background: #fafafa; }
.product-row .info { margin-left: 10px; flex-grow: 1; }
.product-row .info .name { font-size: 14px; font-weight: 600; color: #333; }
.product-row .info .sku { font-size: 12px; color: #777; margin-top: 2px; }
.product-row .info .price { font-size: 14px; font-weight: bold; color: #000; margin-top: 3px; }

.product-row .action { width: 130px; text-align: right; }
.btn-cart {
    background: #000;
    color: #fff;
    padding: 6px 8px;
    border: none;
    cursor: pointer;
    border-radius: 4px;
    font-size: 13px;
}
.btn-check { background: #ffc107; padding: 6px 12px; border: none; cursor: pointer; border-radius: 4px; }


 .mega-search-header {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-bottom: 6px;
 }
#mega-search-count {
    font-size: 12px;
    color: #777;
}
.view-all-btn {
    font-size: 12px;
    color: #007bff;
    cursor: pointer;
    text-decoration: underline;
}
/* Fix full-screen dark overlay */
#checkAvailabilityPopup {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    z-index: 99999 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Modal container */
#checkAvailabilityPopup .modal-inner-wrap {
    background: #fff;
    width: 90%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    animation: modalFadeIn 0.25s ease-out;
}

/* Header */
#checkAvailabilityPopup .modal-header {
    padding: 15px;
    background: #f5f5f5;
    font-size: 18px;
    font-weight: bold;
    border-bottom: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
}

/* Content */
#checkAvailabilityPopup .modal-content {
    padding: 20px;
}

/* Body */
#checkAvailabilityPopup .modal-body label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

#checkAvailabilityPopup .modal-body input,
#checkAvailabilityPopup .modal-body textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
    border-radius: 4px;
}

/* Close button */
#checkAvailabilityPopup .action-close {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Animation */
@keyframes modalFadeIn {
    from { transform: scale(0.95); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}
