/* ================================
   CGSTORE.CSS - Custom Store Styles
   ================================
   Path: public/css/cgstore.css
   URL:  https://store.collabgadget.com/css/cgstore.css
   Note: Linked via config/shop.php 'client.html.common.css-standard'
==================================== */

/* === GENERAL ===================== */
body {
  background: white;
}
/* === Homepage ===================== */
.homepage-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

.homepage-hero {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    border-bottom: 3px solid #f0ad4e;
    padding-bottom: 0.5rem;
}

/* === HEADER ====================== */
.navbar {
  padding: 0 1rem;
  background: linear-gradient(46deg, #3903D2, #E6067A);
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
  min-height: 6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: auto;
  text-shadow: 1px 1px 4px #3e3e3e;
  box-shadow: 1px 1px 24px -1px #595959;
}

/* === NAVIGATION ================== */
.navbar-collapse {
  justify-content: flex-end;
  overflow: scroll;
}
.navbar a {}
.navbar a:hover {}

/* === FOOTER ====================== */
footer {
  color: var(--ai-bg);
  background-color: #3a03d2;
  padding: 3rem 0;
  text-shadow: 1px 1px 6px #979797;
}

footer .copyright {
  text-align: center;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 0px solid #ccc;
}
footer .copyright a {
  color: #fff;
  text-decoration: none;
}
footer .copyright a:hover {
  text-decoration: underline;
  color: #ccc;
}

/* === BUTTONS ===================== */
.aimeos .btn-primary,
.aimeos .btn-primary:visited {
  background-color: #4918f7;
  border: 1px solid var(--ai-primary);
  color: var(--ai-bg);
  letter-spacing: 1.5px;
  text-shadow: 1px 1px 3px #515151;
  box-shadow: 1px 1px 11px -3px #9d9d9d;
  font-weight: bold;
}
.catalog-list-items .addbasket .btn-primary {
  width: calc(100% - 6rem);
  max-width: 100%;
  background: #ff1a90;
}
.btn:hover {}

/* === PRODUCT LISTING ============= */
.catalog-list {
  padding: 0;
  background: #fbfbfb;
}

/* === PRODUCT DETAIL ============== */
.catalog-detail {}
.basket-mini .zeynep .header {
  display: flex;
  flex-direction: row-reverse;
  background-color: #ff0083;
  color: var(--ai-bg);
}

/* === BASKET / CART =============== */
.basket {}
.basket-mini-main .quantity {
  background-color: #FF009B;
  color: #fff;
  position: absolute;
  top: 0.1rem;
  right: 0.1rem;
  font-size: 75%;
  border-radius: var(--ai-radius-round);
  padding: 0.15rem 0.3rem;
}
.basket-mini .zeynep .header {
  display: flex;
  flex-direction: row-reverse;
  background-color: #40f;
  color: var(--ai-bg);
}
.basket-mini .zeynep.opened {
  transform: translateX(-20rem);
  pointer-events: auto;
  box-shadow: 1px 1px 51px -14px #515151;
}
.basket-mini-product .total {
  background-color: var(--ai-bg-light, #D8CAFF);
}

/* === RESPONSIVE ================== */
.aimeos-container {
  position: absolute;
  z-index: 1501;
  opacity: 100;
  border: 0px solid var(--ai-tertiary);
  background-color: #FFF;
  max-width: 65rem;
  width: 98%;
  padding: 1%;
  border-radius: 7px;
  box-shadow: 1px 1px 25px -11px #515151;
}

/* === ROLL-OUT CART DRAWER ======= */
.aimeos-overlay,
.aimeos-overlay-offscreen {
  background-color: rgba(128, 255, 0, 0.83);
  position: fixed;
  display: none;
  z-index: 1200;
  height: 100%;
  width: 100%;
  bottom: 0;
  right: 0;
  left: 0;
  top: 0;
}

/* === CATALOG AREA ================ */
.content {
  background: white;
  background-color: rgba(0, 0, 0, 0);
  background-size: 3em 3em;
  opacity: 1;
}

/* === IMAGE ZOOM ================== */
.pswp__item {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  overflow: hidden;
  background: #fffb00;
}
.pswp__img {
  position: absolute;
  width: auto;
  height: auto;
  top: 0;
  left: 0;
  box-shadow: 1px 1px 16px -3px black;
}

/* === HOME PAGE LAYOUT ============ */
.cgstore_product-row {
  overflow-x: auto;
  flex-wrap: nowrap;
  scrollbar-width: thin;
  display: flex;
}

.cgstore_heading {
  font-size: 1.5rem;
  border-left: 5px solid #007bff;
  padding-left: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.cgstore_product-title {
  font-size: 0.9rem;
  font-weight: 500;
}

.cgstore_product-price {
  font-size: 0.9rem;
}

.cgstore_card-img {
  height: 180px;
  object-fit: cover;
  background-color: #f8f9fa;
}

.cgstore_placeholder-card .cgstore_card-img {
  background: #e0e0e0;
}

.cgstore_card-hot {
  border-width: 2px;
}

/* === SLIDER / HERO BANNER PLACEHOLDER === */
.cgstore_banner-img {
  max-height: 300px;
  object-fit: cover;
}

.cgstore_banner-placeholder {
  height: 250px;
  background: #e0e0e0;
  position: relative;
}

.cgstore_banner-placeholder .placeholder-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-weight: bold;
  color: #aaa;
  font-size: 1.5rem;
}

/* === PLACEHOLDER SHIMMER ========== */
.placeholder-img {
  width: 100%;
  height: 180px;
}

.placeholder-glow .placeholder {
  display: inline-block;
  height: 1rem;
  background-color: #dee2e6;
  border-radius: 0.25rem;
  animation: placeholder-shimmer 1.2s infinite linear;
  background-image: linear-gradient(to right, #dee2e6 8%, #e9ecef 18%, #dee2e6 33%);
  background-size: 800px 104px;
  position: relative;
}

.cgstore_placeholder-banner {
    height: 300px;
    background-color: #e9ecef;
}

.cgstore_placeholder-img {
    height: 180px;
    background-color: #e9ecef;
}

.cgstore_card-placeholder {
    opacity: 0.7;
}

/* === SHIMMER ANIMATION KEYFRAMES === */
@keyframes placeholder-shimmer {
  0% {
    background-position: -800px 0;
  }
  100% {
    background-position: 800px 0;
  }
}

/* === CUSTOM SLIDER / SHIMMER STYLES === */
.cgstore_slider {
  margin: 2rem 0;
  max-width: 100%;
}

.cgstore_slider-box {
  position: relative;
  height: 300px; /* or whatever height you want */
  background-color: #e0e0e0;
  border-radius: 10px;
  overflow: hidden;
}

.cgstore_slider-img {
  width: 100%;
  height: 100%;
  background-image: url('/path-to-your-slider-image.jpg'); /* Replace with your actual image URL */
  background-size: cover;
  background-position: center;
}

.cgstore_slider-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  color: white;
  font-size: 1.5rem;
  text-shadow: 1px 1px 5px rgba(0,0,0,0.7);
}

/* shimmer effect */
.shimmer {
  animation: placeholder-shimmer 1.5s infinite linear;
  background: linear-gradient(to right, #eeeeee 8%, #dddddd 18%, #eeeeee 33%);
  background-size: 800px 104px;
  position: relative;
  overflow: hidden;
}
