/* Lamasah shared styles (used by about, contact, product, cart, account, track-order, faq, shipping, returns) */
:root {
    --primary-color: #0b1c33;
    --accent-color: #1a8ad0;
    --text-color: #333;
    --bg-light: #f4f8fc;
}

body { font-family: 'Poppins', sans-serif; color: var(--text-color); overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: 'Playfair Display', serif; color: var(--primary-color); font-weight: 600; }
a { color: var(--accent-color); }

/* Top bar */
.top-bar { background-color: var(--primary-color); color: #fff; font-size: 13px; padding: 8px 0; }
.top-bar a { color: #fff; text-decoration: none; }
.top-bar a:hover { color: var(--accent-color); }

/* Navbar */
.navbar { background-color: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.05); padding: 12px 0; transition: all 0.3s ease; }
.navbar-brand img { height: 60px; }
.brand-text { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--primary-color); letter-spacing: 3px; }
.nav-link { color: var(--primary-color) !important; font-weight: 500; margin: 0 10px; text-transform: uppercase; font-size: 14px; letter-spacing: 0.5px; transition: color 0.3s ease; }
.nav-link:hover, .nav-link.active { color: var(--accent-color) !important; }
.nav-icons a { color: var(--primary-color); font-size: 18px; margin-left: 15px; transition: color 0.3s; }
.nav-icons a:hover { color: var(--accent-color); }
.cart-badge { background-color: var(--accent-color); color: white; font-size: 10px; position: absolute; top: -5px; right: -10px; border-radius: 50%; padding: 2px 5px; }

/* Page header */
.page-header {
    position: relative; padding: 70px 0; text-align: center; color: #fff;
    background: url('../images/shop-header.jpg') center/cover, linear-gradient(135deg, #0b1c33 0%, #1a8ad0 100%);
}
.page-header::before { content: ''; position: absolute; inset: 0; background: rgba(11,28,51,0.45); }
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { color: #fff; font-size: 3rem; margin-bottom: 10px; }
.breadcrumb { justify-content: center; margin: 0; font-size: 14px; }
.breadcrumb a { color: #dbe8f5; text-decoration: none; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb-item.active { color: #fff; }
.breadcrumb-item + .breadcrumb-item::before { color: #dbe8f5; }

/* Buttons */
.btn-custom {
    background-color: var(--accent-color); color: #fff; padding: 12px 35px; border-radius: 0;
    font-weight: 500; text-transform: uppercase; letter-spacing: 1px;
    border: 2px solid var(--accent-color); transition: all 0.3s ease; display: inline-block; text-decoration: none; cursor: pointer;
}
.btn-custom:hover { background-color: transparent; color: var(--accent-color); border-color: var(--accent-color); }
.btn-dark-custom { background-color: var(--primary-color); border-color: var(--primary-color); }
.btn-dark-custom:hover { background-color: transparent; color: var(--primary-color); border-color: var(--primary-color); }
.btn-outline-custom { background-color: transparent; color: var(--primary-color); border: 2px solid var(--primary-color); }
.btn-outline-custom:hover { background-color: var(--primary-color); color: #fff; border-color: var(--primary-color); }

/* Sections */
.section { padding: 80px 0; }
.section-light { background-color: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 50px; }
.section-title h2 { font-size: 2.5rem; position: relative; display: inline-block; padding-bottom: 10px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background-color: var(--accent-color); }
.section-title p { color: #666; max-width: 560px; margin: 10px auto 0; }
.eyebrow { text-transform: uppercase; color: var(--accent-color); letter-spacing: 2px; font-size: 14px; margin-bottom: 8px; }

/* Placeholders the client must fill in */
mark.todo { background: #fff3cd; color: #7a5b00; padding: 1px 6px; border-radius: 4px; font-size: 0.92em; }

/* About */
.about-img { height: 500px; border-radius: 8px; overflow: hidden; background: #e3ecf5; box-shadow: 0 20px 40px rgba(11,28,51,0.15); }
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.about-content h2 { font-size: 2.5rem; margin-bottom: 20px; }
.about-content p { color: #666; line-height: 1.8; margin-bottom: 20px; }

.why-section { padding: 80px 0; background-color: var(--primary-color); }
.why-section .section-title h2 { color: #fff; }
.why-section .section-title p { color: #cfd9e6; }
.why-card { background: rgba(255,255,255,0.05); padding: 40px 30px; border-radius: 10px; text-align: center; border: 1px solid rgba(255,255,255,0.1); height: 100%; }
.why-card i { font-size: 34px; color: var(--accent-color); margin-bottom: 18px; }
.why-card h5 { color: #fff; font-family: 'Poppins', sans-serif; font-size: 17px; margin-bottom: 12px; }
.why-card p { color: #ccd6e2; line-height: 1.8; font-size: 14px; margin: 0; }

/* Cards / forms */
.info-card { background: #fff; padding: 28px 24px; border-radius: 8px; box-shadow: 0 4px 18px rgba(11,28,51,0.06); height: 100%; text-align: center; }
.info-card i { font-size: 28px; color: var(--accent-color); margin-bottom: 12px; }
.info-card h5 { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.info-card p, .info-card a { font-size: 14px; color: #666; margin: 0; text-decoration: none; }
.info-card a:hover { color: var(--accent-color); }

.form-card { background: #fff; padding: 35px; border-radius: 8px; box-shadow: 0 4px 18px rgba(11,28,51,0.06); }
.form-label { font-size: 14px; font-weight: 500; color: var(--primary-color); }
.form-control, .form-select { border: 1px solid #dde5ee; border-radius: 4px; padding: 11px 14px; font-size: 14px; }
.form-control:focus, .form-select:focus { border-color: var(--accent-color); box-shadow: 0 0 0 3px rgba(26,138,208,0.15); }
.form-note { font-size: 13px; color: #888; }
.form-success { display: none; background: #e8f5ee; color: #1f6b43; padding: 12px 16px; border-radius: 4px; font-size: 14px; margin-top: 15px; }

.nav-tabs-custom { border-bottom: 2px solid #e6edf4; margin-bottom: 25px; }
.nav-tabs-custom .nav-link { margin: 0 0 -2px 0; padding: 10px 24px; border: none; border-bottom: 2px solid transparent; background: none; }
.nav-tabs-custom .nav-link.active { border-bottom-color: var(--accent-color); }

/* Accordion (FAQ / product) */
.accordion-item { border: 1px solid #e6edf4; margin-bottom: 12px; border-radius: 6px !important; overflow: hidden; }
.accordion-button { font-weight: 500; color: var(--primary-color); background: #fff; }
.accordion-button:not(.collapsed) { background: var(--bg-light); color: var(--primary-color); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 3px rgba(26,138,208,0.15); }
.accordion-body { color: #666; line-height: 1.8; font-size: 15px; }

/* Policy pages */
.policy h4 { font-size: 1.4rem; margin: 30px 0 10px; }
.policy p, .policy li { color: #666; line-height: 1.9; }

/* Product detail */
.gallery-main { height: 520px; border-radius: 8px; overflow: hidden; background: #e3ecf5; margin-bottom: 15px; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs { display: flex; gap: 12px; }
.gallery-thumbs button { flex: 1; height: 110px; border: 2px solid transparent; border-radius: 6px; overflow: hidden; padding: 0; background: #e3ecf5; cursor: pointer; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent-color); }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pd-price { color: var(--accent-color); font-weight: 600; font-size: 28px; }
.size-options { display: flex; gap: 10px; flex-wrap: wrap; }
.size-options button { min-width: 48px; padding: 8px 14px; border: 1px solid #cfd9e6; background: #fff; border-radius: 4px; font-size: 14px; cursor: pointer; transition: all 0.2s; }
.size-options button:hover { border-color: var(--accent-color); }
.size-options button.active { background: var(--primary-color); border-color: var(--primary-color); color: #fff; }
.qty-box { display: inline-flex; border: 1px solid #cfd9e6; border-radius: 4px; overflow: hidden; }
.qty-box button { width: 40px; border: none; background: #fff; font-size: 18px; cursor: pointer; }
.qty-box button:hover { background: var(--bg-light); }
.qty-box input { width: 50px; text-align: center; border: none; border-left: 1px solid #cfd9e6; border-right: 1px solid #cfd9e6; outline: none; }
.pd-meta li { font-size: 14px; color: #666; margin-bottom: 8px; list-style: none; }
.pd-meta i { color: var(--accent-color); width: 22px; }

/* Product cards (related products) */
.product-card { border: none; background: #fff; transition: transform 0.3s ease, box-shadow 0.3s ease; margin-bottom: 30px; border-radius: 6px; overflow: hidden; }
.product-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.08); }
.product-img { position: relative; overflow: hidden; background-color: #e3ecf5; height: 320px; }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-img img { transform: scale(1.05); }
.product-info { padding: 20px; text-align: center; }
.product-title { font-family: 'Poppins', sans-serif; font-size: 16px; font-weight: 500; margin-bottom: 8px; color: var(--primary-color); text-decoration: none; display: block; }
.product-title:hover { color: var(--accent-color); }
.product-price { color: var(--accent-color); font-weight: 600; font-size: 18px; }

/* Cart */
.cart-table { background: #fff; border-radius: 8px; box-shadow: 0 4px 18px rgba(11,28,51,0.06); overflow: hidden; }
.cart-table th { font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: #888; font-weight: 500; border-bottom: 1px solid #e6edf4; padding: 16px; }
.cart-table td { padding: 16px; vertical-align: middle; }
.cart-thumb { width: 70px; height: 85px; object-fit: cover; border-radius: 4px; background: #e3ecf5; }
.cart-remove { background: none; border: none; color: #b0b8c4; cursor: pointer; font-size: 16px; }
.cart-remove:hover { color: #e0475b; }
.summary-card { background: #fff; padding: 28px; border-radius: 8px; box-shadow: 0 4px 18px rgba(11,28,51,0.06); }
.summary-row { display: flex; justify-content: space-between; margin-bottom: 12px; font-size: 15px; }
.summary-total { border-top: 1px solid #e6edf4; padding-top: 14px; font-weight: 600; font-size: 18px; color: var(--primary-color); }
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state i { font-size: 48px; color: var(--accent-color); margin-bottom: 18px; }

/* Newsletter */
.newsletter-section { padding: 60px 0; background-color: var(--accent-color); color: #fff; }
.newsletter-section h2 { color: #fff; margin-bottom: 10px; }
.newsletter-section p { margin-bottom: 0; opacity: 0.95; }
.newsletter-form { display: flex; border: 2px solid #fff; border-radius: 50px; overflow: hidden; background: #fff; padding: 5px; }
.newsletter-form input { border: none; padding: 10px 20px; flex: 1; outline: none; min-width: 0; }
.newsletter-form button { background-color: var(--primary-color); color: #fff; border: none; padding: 10px 30px; border-radius: 50px; font-weight: 600; text-transform: uppercase; transition: background 0.3s; }
.newsletter-form button:hover { background-color: #000; }

/* Footer */
footer { background-color: var(--primary-color); color: #fff; padding-top: 60px; }
.footer-heading { color: #fff; font-family: 'Poppins', sans-serif; font-size: 18px; font-weight: 600; margin-bottom: 20px; }
.footer-brand { font-family: 'Playfair Display', serif; letter-spacing: 3px; font-size: 26px; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 12px; color: #ccc; font-size: 14px; }
.footer-links a { color: #ccc; text-decoration: none; transition: color 0.3s; font-size: 14px; }
.footer-links a:hover { color: var(--accent-color); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; margin-top: 40px; text-align: center; color: #ccc; font-size: 14px; }

@media (max-width: 768px) {
    .page-header { padding: 50px 0; }
    .page-header h1 { font-size: 2.2rem; }
    .about-img { height: 300px; margin-bottom: 20px; }
    .gallery-main { height: 380px; }
    .section { padding: 60px 0; }
}

/* ================================================================
   Home page (index.html) and Shop page (shop_front.html) styles
   ================================================================ */

/* Features strip */
.features { padding: 40px 0; background-color: var(--bg-light); border-bottom: 1px solid #e6edf4; }
.feature-box { text-align: center; padding: 15px; transition: transform 0.3s; }
.feature-box:hover { transform: translateY(-5px); }
.feature-box i { font-size: 32px; color: var(--accent-color); margin-bottom: 15px; }
.feature-box h5 { font-size: 16px; font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 5px; }
.feature-box p { font-size: 13px; color: #666; margin: 0; }
.features-compact { padding: 30px 0; }
.features-compact .feature-box { padding: 8px; }
.features-compact .feature-box i { font-size: 24px; margin-bottom: 8px; }
.features-compact .feature-box h5 { font-size: 14px; margin-bottom: 2px; }
.features-compact .feature-box p { font-size: 12px; }

/* Hero slider - drop real photos in /images (hero-1.jpg ...). Gradient shows until then. */
.hero-slider .carousel-item {
    height: 85vh; min-height: 550px;
    background-color: var(--primary-color);
    background-size: cover; background-position: center; position: relative;
}
.slide-1 { background-image: url('../images/hero-1.png'), linear-gradient(135deg, #0b1c33 0%, #1a8ad0 100%); }
.slide-2 { background-image: url('../images/hero-2.png'), linear-gradient(135deg, #12304f 0%, #2b9bce 100%); }
.slide-3 { background-image: url('../images/hero-3.png'), linear-gradient(135deg, #0b1c33 0%, #0e6fae 100%); }

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(rgba(11,28,51,0.25), rgba(11,28,51,0.6));
    display: flex; align-items: center; justify-content: center; text-align: center;
}
.hero-content h1 { color: #fff; font-size: 4rem; margin-bottom: 20px; animation: fadeInDown 1s ease; }
.hero-content p { color: #f1f1f1; font-size: 1.2rem; margin-bottom: 30px; animation: fadeInUp 1s ease; }
.hero-content .btn-custom:hover, .collection-banner .btn-custom:hover { color: #fff; border-color: #fff; }

@keyframes fadeInDown { from { opacity: 0; transform: translateY(-30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* Collection banner (Burkini only) */
.collection-section { padding: 80px 0; }
.collection-banner {
    position: relative; border-radius: 8px; overflow: hidden; min-height: 380px;
    background: url('../images/collection.jpg') center/cover, linear-gradient(135deg, #0b1c33, #1a8ad0);
    display: flex; align-items: center; justify-content: center; text-align: center; padding: 40px 20px;
}
.collection-banner::before { content: ''; position: absolute; inset: 0; background: rgba(11,28,51,0.45); }
.collection-banner > div { position: relative; z-index: 1; max-width: 620px; }
.collection-banner h3 { color: #fff; font-size: 2.6rem; margin-bottom: 12px; }
.collection-banner p { color: #eef4fa; margin-bottom: 25px; }

/* Products grid (home + shop) */
.products-section { padding: 80px 0; background-color: var(--bg-light); }
.shop-section { padding: 60px 0 80px; background-color: var(--bg-light); }
.products-section .product-img, .shop-section .product-img { height: 350px; }
.new-tag { position: absolute; top: 12px; left: 12px; background: var(--accent-color); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; z-index: 2; }
.product-actions { position: absolute; bottom: -60px; left: 0; right: 0; display: flex; justify-content: center; gap: 10px; padding: 15px; background: rgba(255,255,255,0.95); transition: bottom 0.3s ease; }
.product-card:hover .product-actions { bottom: 0; }
.product-actions a { width: 40px; height: 40px; display: flex; align-items: center; justify-content: center; background: var(--primary-color); color: #fff; border-radius: 50%; text-decoration: none; transition: background 0.3s, transform 0.3s; }
.product-actions a:hover { background: var(--accent-color); transform: scale(1.1); }
.product-actions a.liked { background: #e0475b; }

/* Home: about section */
.about-section { padding: 100px 0; background-color: #fff; }
.about-section .about-content { padding: 0 0 0 40px; }

/* Shop toolbar */
.shop-toolbar {
    display: flex; flex-wrap: wrap; gap: 15px; align-items: center; justify-content: space-between;
    background: #fff; padding: 15px 20px; border-radius: 6px; margin-bottom: 35px; box-shadow: 0 2px 10px rgba(0,0,0,0.04);
}
.shop-toolbar .result-count { font-size: 14px; color: #666; margin: 0; }
.shop-toolbar .tools { display: flex; gap: 12px; flex-wrap: wrap; }
.search-box { position: relative; }
.search-box input { border: 1px solid #dde5ee; border-radius: 30px; padding: 8px 16px 8px 38px; font-size: 14px; outline: none; min-width: 220px; }
.search-box input:focus { border-color: var(--accent-color); }
.search-box i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: #999; font-size: 14px; }
.sort-select { border: 1px solid #dde5ee; border-radius: 30px; padding: 8px 16px; font-size: 14px; outline: none; background: #fff; color: var(--primary-color); }
.sort-select:focus { border-color: var(--accent-color); }
.no-results { text-align: center; padding: 60px 0; color: #666; display: none; }

@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-slider .carousel-item { height: 60vh; }
    .about-section .about-content { padding: 30px 0 0 0; }
    .collection-banner h3 { font-size: 2rem; }
    .shop-toolbar { flex-direction: column; align-items: stretch; }
    .shop-toolbar .tools { flex-direction: column; }
    .search-box input { width: 100%; }
}

/* ---------- About page: logo panel + story ---------- */
.about-img.about-logo { height: auto; min-height: 260px; display: flex; align-items: center; justify-content: center; padding: 40px 30px; background: #fff; border: 1px solid #e6edf4; }
.about-img.about-logo img { width: 100%; height: auto; max-height: 220px; object-fit: contain; }
.about-content .about-sub { font-family: 'Playfair Display', serif; margin: 28px 0 12px; color: var(--primary-color); }
.about-list { padding-left: 20px; color: #666; line-height: 1.8; }
.about-list li { margin-bottom: 12px; }

/* ---------- Product gallery (images + videos, zoom, popup) ---------- */
.gallery-main { position: relative; height: auto; aspect-ratio: 4 / 5; max-height: 640px; width: 100%; border-radius: 8px; overflow: hidden; background: #f4f7fb; margin-bottom: 15px; cursor: zoom-in; display: flex; align-items: center; justify-content: center; }
.gallery-main img, .gallery-main video { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .15s ease-out; transform-origin: center center; }
.gallery-main video { cursor: default; background: #000; }
.gallery-main.is-video { cursor: default; }
.gallery-main.zooming img { transform: scale(2.2); }
.gallery-expand { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 50%; border: none; background: rgba(255,255,255,.92); color: var(--primary-color); box-shadow: 0 2px 8px rgba(0,0,0,.2); cursor: pointer; z-index: 2; }
.gallery-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.gallery-thumbs button { position: relative; flex: 0 0 auto; width: 76px; height: 95px; border: 2px solid transparent; border-radius: 6px; overflow: hidden; padding: 0; background: #f4f7fb; cursor: pointer; }
.gallery-thumbs button.active, .gallery-thumbs button:hover { border-color: var(--accent-color); }
.gallery-thumbs img, .gallery-thumbs video { width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.gallery-thumbs .play-badge { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; background: rgba(0,0,0,.28); font-size: 18px; pointer-events: none; }

.lb { position: fixed; inset: 0; background: rgba(8,16,28,.94); z-index: 2000; display: none; align-items: center; justify-content: center; }
.lb.open { display: flex; }
.lb-stage { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 56px 70px; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 100%; object-fit: contain; transition: transform .15s ease-out; cursor: zoom-in; }
.lb-stage img.zoomed { transform: scale(2.4); cursor: zoom-out; }
.lb button { position: absolute; background: rgba(255,255,255,.14); border: none; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 18px; cursor: pointer; }
.lb button:hover { background: rgba(255,255,255,.3); }
.lb .lb-close { top: 14px; right: 14px; }
.lb .lb-prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-next { right: 14px; top: 50%; transform: translateY(-50%); }
.lb .lb-count { position: absolute; top: 20px; left: 50%; transform: translateX(-50%); color: #cfd9e6; font-size: 14px; }

@media (max-width: 768px) {
    .gallery-main { height: auto; aspect-ratio: 4 / 5; }
    .lb-stage { padding: 56px 12px; }
    .gallery-thumbs button { width: 62px; height: 78px; }
}

/* ---------- Checkout ---------- */
.checkout-card { background: #fff; padding: 28px; border-radius: 8px; box-shadow: 0 4px 18px rgba(11,28,51,0.06); }
.co-item { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; font-size: 14px; }
.co-item img { width: 52px; height: 64px; object-fit: cover; border-radius: 4px; background: #e3ecf5; }
#paypal-button-container { min-height: 50px; margin-top: 16px; }
