/* ============================================================
LAYOUT: MAIN CONTAINER
============================================================ */
main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1em;
  box-sizing: border-box;
}

/* ============================================================
SELLER SECTION: 3 COLUMNS, 3 ROWS EACH
============================================================ */
.seller-section {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  margin-bottom: 1em;
  padding: 0.75em 0.75em;        /* reduced vertical padding */
  background-color:  #f5f5f5;
  border-radius: 12px;
  border: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  font-size: 0.75em;
  color: #3b3b3b;
}

.seller-section h3 {
  font-size: 1.4em;
  font-weight: bold;
  color: #800020; /* or #800020 if you want it to match your theme */
  margin-top: 0; /* 👈 This removes the extra space */
}


.column {
  flex: 1 1 30%;
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* ensures bottom stays anchored */
  padding: 1em;
  box-sizing: border-box;
  min-height: 300px; /* or whatever height fits your layout */
}

.logo-column {
  justify-content: flex-start; /* keeps logo at top */
  align-items: stretch;
}

.aboutus-column .top-row > p:first-child {
  margin-top: 0;
}




/* Top row: flexible height */
.top-row {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

/* Middle row: fixed height */
.middle-row {
  height: 20px;
  display: flex;
  align-items: center;
  font-size: 0.85em;
  color: #800020;
  font-weight: bold;
  margin-top: 2px;
}

.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5em;
}


/* ============================================================
GIFTISER BOXES: Checkbox + Value Centered
============================================================ */
.giftiser-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: #f5f5f5;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  cursor: pointer;
  position: relative;
}

/* Checkbox centered */
.giftiser-box input[type="checkbox"] {
  width: 16px;
  height: 16px;
  margin-bottom: 2px;
  cursor: pointer;
  border: 2px solid #800020;
}

/* Value centered below checkbox */
.giftiser-box span {
  font-size: 0.9em;
  line-height: 1;
  color: #333;
}

/* Highlight selected value */
.giftiser-box input[type="checkbox"]:checked + span {
  font-weight: bold;
  color: #800020;
}

#giftiser-toast {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 120px;
  background-color: #800020;
  color: #fff;
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  opacity: 0;
  animation: floatUp 0.4s ease-out forwards;
}

@keyframes floatUp {
  from {
    transform: translate(-50%, 20px);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

#giftiser-toast.show {
  display: block;
  opacity: 1;
}

#giftiser-toast.hide {
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* ============================================================
SELLER LOGO WRAPPER
============================================================ */

.logo-wrapper {
  width: 100%;
  height: 270px;               /* fixed height */
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background-color: #fff;
  position: relative;
}
.logo-wrapper img {
  max-width: 100%;
  max-height: 100%;
  /* margin: auto; */
  display: block;
  /* object-fit: contain; */
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
}
.slider-track {
  display: flex;
  transition: transform 0.3s ease;
  height: 100%;
}
.slider-nav {
  position: absolute;
  top: 80%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  z-index: 2;
  padding: 0;
  width: 24px;
  height: 24px;
}
.slider-nav.left {
  left: 8px;
}
.slider-nav.right {
  right: 8px;
}

/* ============================================================
INDEX SEARCH FIELD
============================================================ */
.index-search-field {
  height: 25px;
  font-size: 0.75em;
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  background-color: #f9f9f9;
  outline: none;
}

.index-search-field::placeholder {
  font-size: 1em;
  color: #999;
}

/* ============================================================
BUTTONS
============================================================ */
button,
input[type="submit"] {
  width: 100%;
  height: 30px;
  font-size: 16px;
  font-weight: bold;
  background-color: #800020;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

button:hover,
input[type="submit"]:hover {
  background-color: grey;
}

/* ============================================================
BOTTOM ICONS
============================================================ */
.icon-row {
  display: flex;
  justify-content: space-between;
  gap: 0.5em;
  margin-top: 0.5em;
}

.icon-box {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background-color: #f5f5f5;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.icon-link {
  display: contents; /* allows the <i> to be centered directly by grid */
  text-decoration: none;
}

.icon {
  color: #800020;
  line-height: 1;
  margin: 0;
  padding: 0;
}
.top-row .icon {
  font-size: 1.2em; /* slightly smaller than bottom row */
  margin-right: 0.4em;
}
.bottom-row .icon {
  font-size: 1.5em; /* or whatever size you're using now */
}



/* ============================================================
FLOATING PAGINATION
============================================================ */
.page-link {
  margin: 0 10px;
  padding: 8px 16px;
  background: #eee;
  color: #333;
  text-decoration: none;
  border-radius: 4px;
}

.page-link:hover {
  background: #ddd;
}

.page-number {
  font-weight: bold;
  margin: 0 15px;
}

.floating-pagination {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(255, 255, 255, 0.2); /* mostly transparent */
  padding: 4px 10px;
  border: 1px solid rgba(100, 100, 100, 0.3); /* thin, subtle border */
  border-radius: 20px;
  font-size: 11px;
  /*box-shadow: 0 2px 6px rgba(0,0,0,0.1); */
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(4px); /* optional: adds glassy effect */
}


.floating-pagination .page-link {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 2px 6px;
  border-radius: 12px;
  background: #e0e0e0;
}

.floating-pagination .page-link:hover {
  background: #ccc;
}

.floating-pagination .page-number {
  font-weight: bold;
  color: #555;
}


/* ============================================================
SELLER ICONS
============================================================ */
 
.icon-link.no-decoration {
  text-decoration: none;
  color: inherit;
}
.icon-link.no-decoration:hover {
  color: #333; /* or match your theme */
}


/* ============================================================
RESPONSIVE ADJUSTMENTS
============================================================ */
@media (max-width: 900px) {
  .column {
    flex: 1 1 45%;
  }
}

@media (max-width: 600px) {
  .column {
    flex: 1 1 100%;
  }
}

/* ============================================================
   IMPROVED LOGO WRAPPER - logo-wrapper2
   - Eliminates white space around images
   - Uses object-fit: cover to fill container completely
   - Maintains aspect ratio while filling space
   - Best logo size: 280px width × 270px height
============================================================ */

.logo-wrapper2 {
  width: 100%;
  height: 270px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border-radius: 8px;
  background-color: #f5f5f5;  /* Subtle background for any gaps */
  position: relative;
}

.logo-wrapper2 img.seller-logo2 {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;        /* Show full logo without cropping */
  object-position: center;
  display: block;
  border-radius: inherit;
}

/* Recommended logo dimensions: 280px × 270px for optimal fit 
DPI: 72 DPI
Format: PNG (for transparency) or JPG (for photos)
File Size Target: Under 100-150KB*/
