body { margin:0; background:#f7f7f7; font-family: 'Playfair Display', serif; }
body.hide-header-footer header, body.hide-header-footer footer { display: none !important; }

/* Flipbook */
@keyframes drop-and-bang {
    0% {
        transform: translateY(-100vh) rotateZ(15deg);
        opacity: 0;
    }
    80% {
        transform: translateY(0) rotateZ(0);
        opacity: 1;
    }
    90% {
        transform: translateY(-10px) scale(1.05);
    }
    100% {
        transform: translateY(0) scale(1);
    }
}
.flip-book-container {
    margin: 0 auto;
    width: 90vw; 
    height: 60vw;
    max-width: 880px;
    max-height: 586px;
    animation: drop-and-bang 1.5s cubic-bezier(0.68, -0.55, 0.27, 1.55) forwards;
}
.flip-book {
  box-shadow: 0 10px 40px rgba(0,0,0,.35);
  background:#fff;
  border-radius: 6px;
  position: relative;
  filter: sepia(0.3) saturate(0.8);
}

.flip-book::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 20px;
    height: 100%;
    background-image: linear-gradient(to right, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    transform: translateX(-50%);
    z-index: 1;
}

.flip-book::after {
    content: '';
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 100%;
    width: 10px;
    background: #e0e0e0;
    border-radius: 0 5px 5px 0;
    box-shadow: inset -1px 0 5px rgba(0,0,0,0.1);
}

/* Grain/Noise Overlay */
.flip-book-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 0.05; /* Subtle opacity */
    pointer-events: none; /* Allow clicks to pass through */
    z-index: 10; /* Ensure it's above the book but below controls */
}

/* Page core */
.page {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden; /* For Safari */
}

.page-content {
  width:100%; height:100%;
  display:flex; flex-direction:column;
  justify-content:center; align-items:center;
  padding:20px; box-sizing:border-box;
}

.page-image {
  width:100%; height:100%;
  background-size:cover; background-position:center;
}

.page-text-side {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.page-text-side h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.page-text-side p {
    font-size: 1rem;
    line-height: 1.4;
    max-width: 90%;
}

.page-footer {
  position: absolute;
  bottom: 10px;
  right: 10px;
  font-size:10px; color:#999;
}

/* Covers */
.page-cover {
  /* Sepia overlay for old look */
  background: linear-gradient(rgba(100, 80, 60, 0.6), rgba(100, 80, 60, 0.6)),
              /* Distressed paper texture overlay (replace with actual URL) */
              url('https://example.com/distressed-paper-texture.jpg') center center / cover no-repeat,
              /* Grunge overlay texture (replace with actual URL) */
              url('https://example.com/grunge-overlay-texture.png') center center / cover no-repeat,
              /* Stonehenge image */
              url('images/stonehenge_lookbook_cover.jpg') center center / cover no-repeat,
              /* Original leather background */
              url('https://rawpixel.com/image/607000/free-photo-image-leather-texture-background') center center / cover no-repeat;
  background-blend-mode: multiply, overlay, multiply, normal, normal; /* Layering blend modes */
  border: 5px double #8B4513; /* Thicker, rustic border */
  box-shadow: inset 0 0 40px rgba(0,0,0,.6);
  display:flex; align-items:center; justify-content:center;
  text-align: center;
}
/* Gold Foil Title */
.page-cover h2 {
  font-size: 36px;
  letter-spacing: 2px;
  background: url('https://example.com/rough-gold-texture.jpg') center center / cover no-repeat, /* Placeholder for rough gold texture */
              linear-gradient(45deg, #f9e98f, #d4af37, #f9e98f, #b8860b); /* Provided gold gradient */
  background-blend-mode: overlay, normal; /* Blend the texture with the gradient */
  background-size: 200% 100%; /* Make the band wider than the text, allowing it to move across */
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  font-weight: 700;
  animation: shine 6s linear infinite;
  margin-top: 180px; /* Shift text further towards the bottom */
}

/* Shimmer animation for gold */
 @keyframes shine {
  0% { background-position: -200% 0%; } /* Start far left */
  100% { background-position: 200% 0%; } /* End far right */
}

.stf__block .stf__item {
  box-shadow: inset 0 0 20px rgba(0,0,0,.2);
}

/* Index Page */
.index-page {
    justify-content: flex-start;
    align-items: flex-start; /* Align content to the top */
    padding-top: 30px; /* Add some top padding */
}
.index-list {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 80%; /* Slightly larger font */
    color: #444; /* Darker grey for better readability */
}
.index-list .collection-name {
    font-weight: bold;
    font-size: 1.3em; /* Slightly larger */
    margin-top: 15px; /* More separation */
    margin-bottom: 5px; /* Add bottom margin */
    cursor: pointer;
    color: #333; /* Even darker for collection names */
}
.index-list .collection-name:hover {
    color: #d4af37;
}
.index-list .product-name {
    font-weight: normal;
    cursor: pointer;
    margin-left: 25px; /* More indentation */
    font-size: 1em;
    line-height: 1.4; /* Better line spacing */
}
.index-list .product-name:hover {
    color: #d4af37;
}

@media (max-width: 768px) {
    .flip-book-container {
        width: 100%;
        height: 150vw;
    }
    .page-text-side h2 {
        font-size: 1.2rem;
    }
    .page-text-side p {
        font-size: 0.8rem;
    }
    .page-cover h2 {
        font-size: 1.5rem;
    }
    .index-list {
        font-size: 60%;
    }
}

.nav {
  margin-bottom:20px;
  font-size:14px;
  color:#444;
  display: flex;
  justify-content: flex-start; /* Align items to the start (left) */
  align-items: center;
  gap: 10px;
  padding-left: 20px; /* Move buttons more to the left */
}