
/* ===========================
   TIMELESS WATCH SHOP
   MAIN SHARED STYLES
   =========================== */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: #111;
    color: white;
    font-family: Arial, sans-serif;
}


/* ===========================
   HEADER
   =========================== */

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;      /* changed from flex-start */
    padding: 12px 40px;       /* was 20px 40px */
    background: #111;
    border-bottom: 1px solid #d4af37;
}

.logo2 {
    width: 180px;
    margin-right: 0;
}

.brand {
    flex: 1;
    margin-left: 40px;
}

.brand h1 {
    margin: 0;
    color: #d4af37;
    font-family: "Cormorant Garamond", serif;
    font-size: 82px;
    font-style: italic;
    letter-spacing: 2px;
}

.brand p {
    margin: 8px 0 0;
    color: #d4af37;
    font-family: "Cinzel", serif;
    font-size: 24px;
    letter-spacing: 3px;
}

.special-letter {
    color: rgba(148, 118, 44, 0.836);
}

.header-buttons {
    transform: translateY(15%);/*=====Buttom space from top===*/
}

.header .cart {
    flex-direction: column;
}


/* ===========================
   SEARCH
   =========================== */

.search {
    margin-left: auto;
}

.search input {
    width: 220px;
    padding: 10px;
}

.search button {
    padding: 10px 20px;
    background: #d4af37;
    border: none;
    cursor: pointer;
}


/* ===========================
   TOP MENU
   =========================== */

nav {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #d4af37;
}

nav a {
    margin: 0 15px;
    color: white;
    text-decoration: none;
}

nav a:hover {
    color: #d4af37;
}


/* ===========================
   BANNER
   =========================== */

.watch-banner {
    width: 100%;
    padding: 15px;
    text-align: center;
    background: linear-gradient(90deg, #111, #c9a227, #111);
    color: white;
    font-size: 18px;
    font-weight: bold;
}

.watch-banner span {
    margin: 0 25px;
}


/* ===========================
   MAIN LAYOUT
   =========================== */

.layout {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    padding: 25px;
}

main {
    flex: 1;
    padding-top: 0;
    padding-left: 30px;
}

main h2 {
    color: #d4af37;
}


/* ===========================
   CATEGORY MENU
   =========================== */

aside {
    width: 220px;
    height: fit-content;
    margin-top: 0;
    padding: 20px;      /*----menu window sice-----*/
    background: #1b1b1b;
    border: 1px solid #d4af37;
    border-radius: 10px;
}


aside h3 {
    padding-bottom: 10px;
    color: #d4af37;
    font-size: 24px;
    text-align: center;
    border-bottom: 1px solid #d4af37;
}

aside a {
    display: block;
    padding: 10px 0;
    color: white;
    text-decoration: none;
}

aside a:hover {
    color: #d4af37;
}


/* ===========================
   PRODUCT GRID
   =========================== */

.products {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.product {
    padding: 15px;
    text-align: center;
    background: #1b1b1b;
    border: 1px solid #d4af37;
    border-radius: 10px;
    transition: 0.3s;
}

.product:hover {
    box-shadow: 0 0 20px #d4af37;
    transform: translateY(-5px);
}

.product img,
.product video {
    width: 100%;
    height: 220px;
    object-fit: contain;
    border-radius: 10px;
}

.product video {
    height: 250px;
    object-fit: cover;
}

.watch-video {
    display: block;
    width: 250px;
    height: 250px;
    margin: auto;
    object-fit: cover;
}

.watch-number {
    display: block;
    margin-bottom: 5px;
    color: #d4af37;
    font-size: 10px;
    text-align: left;
}

.old {
    color: #999;
    text-decoration: line-through;
}

.price {
    color: #d4af37;
    font-size: 26px;
    font-weight: bold;
}


/* ===========================
   SHARED BUTTON FORMATTING
   Colors may be overridden by each category CSS
   =========================== */

.product button,
.buy-button,
.contact-button a,
.enlarge-note {
    display: inline-block;
    min-width: 145px;
    padding: 10px 18px;
    background: #d4af37;
    color: #111;
    border: 1px solid #f4c76b;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: 1px;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s;
}/*=====shopping cart=======*/
.cart-icon {
    position: relative;
    display: inline-block;
    font-size: 36px;
    cursor: pointer;
    margin-left: 310px;
    line-height: 1;
}  /* Move it to the right */
#cart-count {
    position: absolute;

    top: -6px;
    right: -10px;

    width: 20px;
    height: 20px;

    background: #e60023;/*=======Cart Red Button======*/
    color: white;

    border: 2px solid white;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 11px;
    font-weight: bold;
}

.product button:hover,
.cart button:hover,
.buy-button:hover,
.contact-button a:hover,
.enlarge-note:hover {
    background: #f4c76b;
    color: #111;
}

.cart,
.contact-button {
    display: block;
}

.contact-button {
    margin-top: 15px;
}

.contact-button a {
    margin: 5px;
}

.enlarge-note {
    display: block;
    width: fit-content;
    margin: 12px auto 0;
}


/* ===========================
   PRODUCT DETAIL PAGE
   =========================== */

.product-details {
    display: flex;
    align-items: flex-start;
    gap: 50px;
    padding: 0 50px 50px;
}

.big-product {
    width: 75%;
    margin-left: -20px;
    text-align: center;
}

.big-product img,
.big-watch img {
    width: 450px;
    height: 450px;
    object-fit: contain;
    background: #1b1b1b;
    border: 1px solid #d4af37;
    border-radius: 15px;
}

#mainProduct {
    width: 376px !important;
    height: 376px !important;
    object-fit: contain !important;
}

.description-box {
    width: 50%;
    padding: 35px;
    background: #1b1b1b;
    border: 1px solid #d4af37;
    border-radius: 15px;
}

.description-box h1 {
    color: #d4af37;
    font-family: "Cinzel", serif;
}

.description-box p {
    font-size: 18px;
    line-height: 1.6;
}

.product-page {
    display: flex;
    gap: 20px;
    padding: 30px;
}

.gallery {
    display: flex;
    gap: 15px;
}

.thumbnails {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.thumbnails img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
}

.main-image img {
    width: 450px;
}

.product-info {
    max-width: 400px;
}

.highlight-location {
    color: #d4af37;
    font-weight: bold;
}


/* ===========================
   IMAGE ENLARGE POPUP
   =========================== */

.image-popup {
    display: none;
    position: fixed;
    z-index: 3000;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
}

.image-popup img {
    width: 100%;
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    border: 2px solid #d4af37;
    border-radius: 15px;
}

.close-image {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}


/* ===========================
   SEE MORE / BACK BUTTONS
   =========================== */

.see-more-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    width: 100%;
    margin: 40px 0;
}

.see-more-container .see-more-btn {
    margin: 0 10px;
    padding: 12px 35px;
    background: #d4af37;
    color: #111;
    border: 2px solid #965314;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
}

.see-more-container .see-more-btn:hover {
    background: #111;
    color: #d4af37;
}


/* ===========================
   LADIES SHARED OVERRIDES
   Full page styling may also exist in ladies.css
   =========================== */

body.ladies {
    background: #111;
}

body.ladies .brand h1,
body.ladies .brand p,
body.ladies main h2 {
    color: #f4c2c2;
}

body.ladies .special-letter {
    color: #812020;
}

body.ladies .watch-banner {
    background: linear-gradient(90deg, #111, #d47a9a, #111);
    border-top: 1px solid #b76e79;
    border-bottom: 1px solid #b76e79;
}

body.ladies .watch-banner span {
    color: white;
}

body.ladies aside {
    background: #1a0f14;
    border-color: #b76e79;
}

body.ladies aside h3 {
    color: #f4c2c2;
    border-bottom-color: #b76e79;
}

body.ladies aside a:hover {
    color: #f4c2c2;
}

body.ladies .product {
    border-color: #b76e79;
}

body.ladies .product:hover {
    box-shadow: 0 0 20px #b76e79;
}

body.ladies .price {
    color: #b76e79;
}

body.ladies .big-product img {
    border-color: #b76e79;
}


/* ===========================
   FOOTER
   =========================== */

footer {
    margin-top: 40px;
    padding: 25px;
    color: #ccc;
    text-align: center;
    border-top: 1px solid #d4af37;
}

.facebook-contact {
    margin-top: 6px;
    color: #d4af37;
    font-size: 12px;
    text-align: center;
}

.facebook-contact a {
    color: #d4af37;
    font-size: 12px;
    text-decoration: none;
}

.facebook-contact a:hover {
    color: white;
}


/* ===========================
   LADIES HEADER IMAGE
   =========================== */

.ladies-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

.ladies-image img {
    width: 120px;
    height: auto;
}
/* ===========================
   RESPONSIVE SCREEN FIXES
   =========================== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

img,
video {
    max-width: 100%;
}

/* LARGE DESKTOPS & LAPTOPS */
@media (max-width: 1500px) {
    .header { padding: 15px 20px; }
    .logo2 { width: 140px; }
    .brand { margin-left: 20px; }
    .brand h1 { font-size: clamp(42px, 6vw, 72px); }
    .brand p { font-size: 18px; letter-spacing: 2px; }
    .header-buttons { transform: translateY(15px); }

    .layout {
        gap: 15px;
        padding: 18px;
    }

    aside {
        width: 180px;
        flex: 0 0 180px;
        padding: 15px;
    }

    main {
        min-width: 0;
        padding-left: 0;
    }

    .products {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
    }

    .product {
        min-width: 0;
        padding: 12px;
    }

    .product button {
        min-width: 120px;
        padding: 10px 12px;
        font-size: 14px;
        letter-spacing: 0.5px;
    }

    .product-details { gap: 25px; padding: 0 20px 40px; }
    .big-product { width: auto; margin-left: 0; }
    #mainProduct { width: min(376px,100%) !important; height:auto !important; aspect-ratio:1/1; }
    .description-box { width:100%; }
}

/* SMALL LAPTOPS & TABLETS */
@media (max-width: 1100px) {
    .header { flex-wrap: wrap; align-items: center; }
    .logo2 { width: 120px; }
    .brand { min-width: 0; margin-left: 15px; }
    .brand h1 { font-size: clamp(36px, 7vw, 58px); letter-spacing: 1px; }
    .brand p { font-size: 15px; letter-spacing: 1px; }
    .header-buttons { width: 100%; margin-top: 15px; transform: none; text-align: center; }
    .contact-button { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
    .contact-button a { margin: 0; }
    .watch-banner span { display: inline-block; margin: 5px 10px; }
    .layout { flex-direction: column; }
    aside { width: 100%; }

    aside a {
        display: inline-block;
        margin-right: 18px;
        font-size: 25px;
    }

    .products { grid-template-columns: repeat(2, 1fr); }
    .product-details { flex-direction: column; width: 100%; padding: 0; }
    .gallery { width: 100%; }
    .description-box { width: 100%; }
}

/* PHONES */
@media (max-width:700px){
    .header{justify-content:center;padding:15px;text-align:center;}
    .logo2{width:100px;margin:0 auto 10px;}
    .brand{width:100%;margin:0;}
    .brand h1{font-size:clamp(34px,11vw,48px);}
    .brand p{font-size:14px;}
    .products{grid-template-columns:1fr;}
    .layout{padding:12px;}
    .product-details{padding:0;}
    .gallery{flex-direction:column-reverse;}
    .thumbnails{flex-direction:row;flex-wrap:wrap;justify-content:center;}
    .big-product{width:100%;}
    #mainProduct{width:100%!important;max-width:376px;}
    .description-box{padding:20px;}
    .product button,.cart button,.buy-button,.contact-button a,.enlarge-note{min-width:130px;font-size:14px;}
}

/*==========Facebook Blue==============*/
/* FACEBOOK BUTTON */

.contact-button a:first-child {
    background: linear-gradient(to bottom, #1877F2, #0d5fd3) !important;
    color: white !important;
    border: 1px solid #e0e4eb !important;
}

.contact-button a:first-child:hover {
    background: linear-gradient(to bottom, #3b8cff, #1877F2) !important;
    color: white !important;
}
/* CART POPUP MESSAGE */

#cart-popup {
    position: fixed;
    top: 50px;
    right: 20px;

    background: #928d44;
color: #f0f0f0;

    padding: 10px 16px;

    font-family: Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;

    border: 1px solid #694e4e;/*===popup added to car background.*/
    border-radius: 4px;

    box-shadow: 0 5px 12px rgba(0,0,0,.25);

    opacity: 0;
    transition: opacity .2s ease;

    z-index: 99999;
}

#cart-popup.show {
    opacity: 1;
}
body.ladies .contact-button a:first-child {
    background: linear-gradient(to bottom, #1877f2, #0d5fd3) !important;
    color: white !important;
    border-color: #e0e4eb !important;
}

body.ladies .contact-button a:first-child:hover {
    background: linear-gradient(to bottom, #3b8cff, #1877f2) !important;
    color: white !important;
}/*===============Shopping cart adjust============*/
.cart-icon {
    position: relative;
    left: -50px;
    top: -5px;
}

.cart-label {
    font-size: 13px;
}/*=========================================================*/
