*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial,Helvetica,sans-serif;
    background:#fff;
    color:#222;
    line-height:1.6;
}

/*==========================
TOP SALE BAR
==========================*/

.saleTicker{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:40px;
    background:#111;
    color:#fff;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:15px;
    z-index:9999;
}

.saleTicker span{
    color:#ff6600;
    font-weight:bold;
}

.saleTicker button{
    border:none;
    background:#ff6600;
    color:#fff;
    padding:6px 16px;
    cursor:pointer;
    border-radius:5px;
}

/*==========================
HEADER
==========================*/

.siteHeader{

    margin-top:40px;

    display:grid;

    grid-template-columns:

    auto

    auto

    1fr

    400px

    auto;

    align-items:center;

    gap:30px;

    padding:20px 60px;

    border-bottom:1px solid #ddd;

    background:#fff;

}

.brand{

    font-size:40px;

    font-weight:900;

    text-decoration:none;

    color:#111;

    font-style:italic;

}

.brand span{

    color:#ff6600;

}

.menuBtn{

    border:none;

    background:#fff;

    font-size:18px;

    cursor:pointer;

}

.searchBox{

    display:flex;

    border:1px solid #ccc;

    border-radius:5px;

    overflow:hidden;

}

.searchBox input{

    width:100%;

    padding:12px;

    border:none;

    outline:none;

}

.searchBox button{

    width:60px;

    border:none;

    background:white;

    cursor:pointer;

}

.headerActions{

    display:flex;

    gap:25px;

    align-items:center;

}

.homeLink{

    text-decoration:none;

    color:#111;

    font-weight:bold;

}

.iconBtn{

    background:none;

    border:none;

    cursor:pointer;

    font-size:15px;

}

.cartButton{

    position:relative;

}

#cartCount{

    position:absolute;

    right:-8px;

    top:-8px;

    background:#ff6600;

    color:white;

    width:20px;

    height:20px;

    border-radius:50%;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:11px;

}

/*==========================
NAVIGATION
==========================*/

.mainNav{

    display:flex;

    justify-content:center;

    gap:50px;

    padding:15px;

    border-bottom:1px solid #ddd;

    background:#fff;

}

.mainNav a,

.mainNav button{

    text-decoration:none;

    color:#111;

    font-weight:bold;

    background:none;

    border:none;

    cursor:pointer;

    text-transform:uppercase;

    font-size:14px;

}

.mainNav a:hover,

.mainNav button:hover{

    color:#ff6600;

}

/*==========================
PRODUCT SECTION
==========================*/

.products{

    width:92%;

    margin:auto;

    padding:70px 0;

}

.productRow{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:60px;

    align-items:center;

    margin-bottom:90px;

}
/*==================================
PRODUCT IMAGE GALLERY
==================================*/

.gallery{
    display:grid;
    grid-template-columns:110px 1fr;
    gap:20px;
    align-items:center;
}

.galleryRight{
    grid-template-columns:1fr 110px;
}

.thumbs{
    display:flex;
    flex-direction:column;
    gap:12px;
}

.thumb{
    border:1px solid #ddd;
    background:#fff;
    border-radius:8px;
    overflow:hidden;
    cursor:pointer;
    transition:.25s;
}

.thumb:hover{
    border-color:#ff6600;
}

.thumb.active{
    border:2px solid #ff6600;
}

.thumb img{
    width:100%;
    display:block;
}

.mainImage{
    background:#fafafa;
    border-radius:10px;
    overflow:hidden;
    display:flex;
    justify-content:center;
    align-items:center;
    min-height:350px;
}

.mainImage img{
    width:100%;
    display:block;
}

/*==================================
PRODUCT INFORMATION
==================================*/

.productCopy h1,
.productCopy h2{
    font-size:42px;
    margin-bottom:10px;
}

.productCopy h3{
    color:#ff6600;
    margin-bottom:20px;
}

.productCopy p{
    margin-bottom:20px;
}

.productCopy ul{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
    list-style:none;
    margin-bottom:25px;
}

.productCopy li{
    padding-left:20px;
    position:relative;
}

.productCopy li::before{
    content:"✔";
    color:#ff6600;
    position:absolute;
    left:0;
}

/*==================================
BUTTONS
==================================*/

.productActions{

    display:flex;

    flex-wrap:wrap;

    gap:15px;

    margin-top:20px;

}

.buyBtn{

    background:#ff6600;

    color:#fff;

    border:none;

    padding:14px 28px;

    border-radius:6px;

    cursor:pointer;

    font-weight:bold;

}

.buyBtn:hover{

    background:#e85a00;

}

.amazonBtn{

    border:2px solid #111;

    padding:12px 26px;

    text-decoration:none;

    color:#111;

    border-radius:6px;

    font-weight:bold;

}

.amazonBtn:hover{

    background:#111;

    color:#fff;

}

.reviewsBtn{

    border:none;

    background:none;

    color:#ff6600;

    cursor:pointer;

    font-size:18px;

    font-weight:bold;

}

/*==================================
REVIEWS
==================================*/

.reviewPanel{

    display:none;

    margin-top:20px;

    padding:20px;

    background:#fafafa;

    border-left:5px solid #ff6600;

}

.reviewPanel.open{

    display:block;

}

/*==================================
CENTER HEADLINE
==================================*/

.magazineHeadline{

    display:grid;

    grid-template-columns:1fr auto 1fr;

    gap:30px;

    align-items:center;

    margin:90px 0;

}

.magazineHeadline span{

    height:2px;

    background:#ddd;

}

.magazineHeadline h2{

    font-size:28px;

    text-transform:uppercase;

    letter-spacing:3px;

}

/*==================================
IDEAS SECTION
==================================*/

.ideaSection{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:50px;

    padding:80px 60px;

    background:#fafafa;

}

.ideasCard,

.contactCard{

    background:#fff;

    padding:35px;

    border-radius:10px;

    box-shadow:0 5px 25px rgba(0,0,0,.08);

}

.ideaGrid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-top:30px;

}

.ideaGrid article{

    background:#f8f8f8;

    padding:20px;

    border-radius:8px;

    transition:.3s;

}

.ideaGrid article:hover{

    transform:translateY(-5px);

}

.ideaGrid span{

    font-size:35px;

    color:#ff6600;

}

.ideaGrid h3{

    margin:12px 0;

}

.contactCard input,

.contactCard textarea,

.contactCard select{

    width:100%;

    padding:14px;

    border:1px solid #ccc;

    margin-top:8px;

    margin-bottom:20px;

    border-radius:6px;

}

.contactCard textarea{

    resize:vertical;

}

/*==================================
FOOTER
==================================*/

.siteFooter{

    background:#111;

    color:white;

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

    padding:60px;

}

.siteFooter h3{

    margin-bottom:15px;

}

.siteFooter a{

    color:#ccc;

    text-decoration:none;

    display:block;

    margin-bottom:8px;

}

.siteFooter a:hover{

    color:#ff6600;

}
/*==================================
OVERLAY
==================================*/

.overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.45);
    opacity:0;
    visibility:hidden;
    transition:.25s;
    z-index:1100;
}

.overlay.open{
    opacity:1;
    visibility:visible;
}

/*==================================
SIDE MENU DRAWER
==================================*/

.sideDrawer{
    position:fixed;
    top:0;
    left:0;
    width:320px;
    max-width:88%;
    height:100vh;
    background:#fff;
    padding:35px;
    z-index:1200;
    transform:translateX(-105%);
    transition:.3s;
    box-shadow:10px 0 30px rgba(0,0,0,.15);
}

.sideDrawer.open{
    transform:translateX(0);
}

.sideDrawer h2{
    margin-bottom:25px;
}

.sideDrawer a,
.sideDrawer button{
    width:100%;
    display:block;
    padding:14px 12px;
    margin-bottom:10px;
    border:none;
    background:#f5f5f5;
    color:#111;
    text-decoration:none;
    text-align:left;
    border-radius:6px;
    font-weight:bold;
}

.sideDrawer a:hover,
.sideDrawer button:hover{
    background:#ff6600;
    color:#fff;
}

.closeBtn{
    border:none;
    background:none;
    font-size:30px;
    cursor:pointer;
}

/*==================================
CART DRAWER
==================================*/

.cartDrawer{
    position:fixed;
    top:0;
    right:0;
    width:420px;
    max-width:95%;
    height:100vh;
    background:#fff;
    padding:25px;
    z-index:1200;
    transform:translateX(105%);
    transition:.3s;
    box-shadow:-10px 0 30px rgba(0,0,0,.15);
    overflow-y:auto;
}

.cartDrawer.open{
    transform:translateX(0);
}

.drawerHead{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
}

.drawerHead button{
    border:none;
    background:none;
    font-size:30px;
    cursor:pointer;
}

.cartItem{
    display:grid;
    grid-template-columns:75px 1fr auto;
    gap:15px;
    align-items:center;
    padding:15px 0;
    border-bottom:1px solid #ddd;
}

.cartItem img{
    width:75px;
    height:65px;
    object-fit:cover;
    border-radius:6px;
}

.cartItem p{
    margin-top:5px;
    color:#666;
}

.cartItem button{
    border:none;
    background:none;
    font-size:22px;
    cursor:pointer;
}

.cartTotal{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:25px 0;
    font-size:21px;
}

.fullBtn{
    width:100%;
}

/*==================================
CHECKOUT MODAL
==================================*/

.modal{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    display:none;
    justify-content:center;
    align-items:center;
    padding:20px;
    z-index:1300;
}

.modal.open{
    display:flex;
}

.modalCard{
    position:relative;
    width:720px;
    max-width:96%;
    max-height:92vh;
    overflow-y:auto;
    background:#fff;
    padding:35px;
    border-radius:12px;
    box-shadow:0 20px 60px rgba(0,0,0,.25);
}

.modalCard > .closeBtn{
    position:absolute;
    top:10px;
    right:15px;
}

.modalCard h2{
    margin-bottom:25px;
}

.formGrid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

.modalCard label{
    display:block;
    font-weight:bold;
    margin-bottom:15px;
}

.modalCard input,
.modalCard select,
.modalCard textarea{
    width:100%;
    margin-top:7px;
    padding:13px;
    border:1px solid #ccc;
    border-radius:6px;
}

.modalCard fieldset{
    border:1px solid #ddd;
    border-radius:8px;
    padding:15px;
    margin:10px 0 20px;
}

.radioLine{
    display:flex !important;
    align-items:center;
    gap:8px;
    margin-bottom:8px !important;
}

.radioLine input{
    width:auto;
    margin:0;
}

/*==================================
SALE TRACKER POPUP
==================================*/

.dealPopup{
    position:fixed;
    left:25px;
    bottom:25px;
    width:390px;
    max-width:calc(100% - 50px);
    background:#fff;
    display:grid;
    grid-template-columns:110px 1fr;
    gap:15px;
    align-items:center;
    padding:16px;
    border:1px solid #ddd;
    border-radius:12px;
    box-shadow:0 15px 45px rgba(0,0,0,.25);
    transform:translateY(160%);
    transition:.35s;
    z-index:1050;
}

.dealPopup.open{
    transform:translateY(0);
}

.dealPopup img{
    width:110px;
    height:110px;
    object-fit:cover;
    border-radius:8px;
}

.dealPopup h3{
    margin:8px 0;
}

.dealPopup p{
    font-size:14px;
    margin-bottom:12px;
}

.dealPopup small{
    color:#777;
}

.dealPopup .closeBtn{
    position:absolute;
    top:2px;
    right:7px;
}

.dealBadge{
    position:absolute;
    top:-13px;
    left:10px;
    background:#ff6600;
    color:#fff;
    font-size:11px;
    font-weight:bold;
    padding:5px 10px;
    border-radius:4px;
}

/*==================================
FORM STATUS
==================================*/

.formStatus{
    margin-top:12px;
    color:#16853b;
    font-weight:bold;
}

/*==================================
TABLET
==================================*/

@media(max-width:1000px){

    .siteHeader{
        grid-template-columns:auto 1fr auto;
        padding:18px 25px;
    }

    .tagline,
    .searchBox{
        display:none;
    }

    .mainNav{
        justify-content:flex-start;
        overflow-x:auto;
        gap:25px;
        padding-left:25px;
    }

    .productRow{
        grid-template-columns:1fr;
        gap:30px;
    }

    .reverse .gallery{
        order:1;
    }

    .reverse .productCopy{
        order:2;
    }

    .ideaSection{
        grid-template-columns:1fr;
    }

    .siteFooter{
        grid-template-columns:repeat(2,1fr);
    }
}

/*==================================
MOBILE
==================================*/

@media(max-width:650px){

    .saleTicker{
        height:auto;
        min-height:38px;
        padding:7px 10px;
        gap:8px;
        font-size:11px;
        text-align:center;
    }

    .siteHeader{
        margin-top:38px;
        grid-template-columns:auto 1fr auto;
        gap:12px;
        padding:14px 12px;
    }

    .brand{
        font-size:26px;
    }

    .brand b{
        font-size:13px;
    }

    .headerActions{
        gap:10px;
    }

    .homeLink span,
    .iconBtn span{
        display:none;
    }

    .mainNav{
        gap:22px;
        padding:12px;
    }

    .products{
        width:94%;
        padding:40px 0;
    }

    .productRow{
        margin-bottom:55px;
    }

    .gallery,
    .galleryRight{
        grid-template-columns:72px 1fr;
        gap:10px;
    }

    .thumbs{
        gap:8px;
    }

    .thumb img{
        height:58px;
        object-fit:cover;
    }

    .mainImage{
        min-height:230px;
    }

    .productCopy h1,
    .productCopy h2{
        font-size:28px;
    }

    .productCopy ul{
        grid-template-columns:1fr;
    }

    .productActions{
        flex-direction:column;
        align-items:stretch;
    }

    .buyBtn,
    .amazonBtn,
    .reviewsBtn{
        width:100%;
        text-align:center;
    }

    .magazineHeadline{
        gap:12px;
        margin:55px 0;
    }

    .magazineHeadline h2{
        font-size:16px;
        letter-spacing:1px;
        text-align:center;
    }

    .ideaSection{
        padding:45px 16px;
    }

    .ideasCard,
    .contactCard{
        padding:22px;
    }

    .ideaGrid{
        grid-template-columns:1fr 1fr;
        gap:12px;
    }

    .formGrid{
        grid-template-columns:1fr;
    }

    .siteFooter{
        grid-template-columns:1fr;
        padding:40px 20px;
    }

    .cartDrawer{
        width:100%;
    }

    .modalCard{
        padding:28px 18px;
    }

    .dealPopup{
        left:12px;
        bottom:12px;
        width:calc(100% - 24px);
        max-width:none;
        grid-template-columns:90px 1fr;
    }

    .dealPopup img{
        width:90px;
        height:90px;
    }
}
/* ===================================================
   FIMITECH STORE MOBILE OPTIMIZATION
   =================================================== */

@media (max-width:900px){

  .productRow,
  .productRow.reverse{
    display:flex;
    flex-direction:column;
    gap:30px;
    align-items:center;
    padding:30px 20px;
  }

  .gallery,
  .galleryRight,
  .productCopy{
    width:100%;
    max-width:700px;
  }

  .gallery{
    order:1;
  }

  .productCopy{
    order:2;
    text-align:left;
  }

  .mainImage{
    text-align:center;
  }

  .mainImage img{
    width:100%;
    max-width:520px;
    height:auto;
    display:block;
    margin:auto;
  }

  .thumbs{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:12px;
    margin-top:18px;
  }

  .thumb{
    width:75px;
    height:75px;
  }

  .thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
  }

  .productActions{
    display:grid;
    grid-template-columns:1fr;
    gap:12px;
    margin-top:25px;
  }

  .buyBtn,
  .amazonBtn,
  .reviewsBtn,
  .ftStatusBtn{
    width:100%;
    text-align:center;
  }

  .ftStatusBox{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:15px;
  }

  .ftStatusBtn{
    width:100%;
  }

  .reviewPanel{
    margin-top:20px;
  }

  .magazineHeadline h2{
    font-size:28px;
    text-align:center;
  }

}

@media (max-width:600px){

  .siteHeader{
    padding:12px;
    gap:12px;
    flex-wrap:wrap;
  }

  .brand{
    font-size:28px;
  }

  .tagline{
    width:100%;
    text-align:center;
    font-size:13px;
  }

  .headerActions{
    width:100%;
    display:flex;
    justify-content:space-between;
  }

  .searchBox{
    width:100%;
  }

  .searchBox input{
    width:100%;
  }

  .mainNav{
    overflow-x:auto;
    white-space:nowrap;
  }

  .mainNav a,
  .mainNav button{
    flex:none;
  }

  .productCopy h1,
  .productCopy h2{
    font-size:34px;
  }

  .productCopy h3{
    font-size:22px;
  }

  .productCopy p,
  .productCopy li{
    font-size:16px;
    line-height:1.7;
  }

  .ideaGrid{
    grid-template-columns:1fr;
  }

  .formGrid{
    grid-template-columns:1fr;
  }

  .contactCard,
  .ideasCard{
    width:100%;
  }

}
/* =========================================
   SOUND PODS MOBILE FIX
   Must remain at the bottom of styles.css
   ========================================= */

@media (max-width: 900px){

  .soundPodsRow{
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:28px !important;
    width:100% !important;
    padding:30px 16px !important;
    margin-bottom:55px !important;
    box-sizing:border-box !important;
    overflow:visible !important;
  }

  /* Image section first */
  .soundPodsRow > .gallery{
    order:1 !important;
    display:grid !important;
    grid-template-columns:72px minmax(0, 1fr) !important;
    align-items:center !important;
    gap:12px !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    margin:0 !important;
  }

  .soundPodsRow .thumbs{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
    gap:8px !important;
    width:72px !important;
    margin:0 !important;
  }

  .soundPodsRow .thumb{
    display:block !important;
    width:72px !important;
    height:68px !important;
    padding:0 !important;
    flex:none !important;
  }

  .soundPodsRow .thumb img{
    display:block !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
  }

  .soundPodsRow .mainImage{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    min-height:320px !important;
    height:320px !important;
    margin:0 !important;
    overflow:hidden !important;
    background:#fafafa !important;
  }

  .soundPodsRow .mainImage img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:100% !important;
    margin:0 auto !important;
    object-fit:contain !important;
    transform:none !important;
  }

  /* Product information second */
  .soundPodsRow > .productCopy{
    order:2 !important;
    width:100% !important;
    max-width:100% !important;
    min-width:0 !important;
    padding:0 !important;
    text-align:left !important;
  }

  .soundPodsRow .productCopy h2{
    font-size:30px !important;
    line-height:1.15 !important;
    margin-bottom:8px !important;
  }

  .soundPodsRow .productCopy h3{
    font-size:19px !important;
    line-height:1.3 !important;
    margin-bottom:14px !important;
  }

  .soundPodsRow .productCopy p,
  .soundPodsRow .productCopy li{
    font-size:15px !important;
    line-height:1.6 !important;
  }

  .soundPodsRow .productCopy ul{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:8px !important;
    margin-bottom:20px !important;
  }

  .soundPodsRow .productActions{
    display:grid !important;
    grid-template-columns:1fr !important;
    gap:10px !important;
    width:100% !important;
    margin-top:18px !important;
  }

  .soundPodsRow .buyBtn,
  .soundPodsRow .amazonBtn,
  .soundPodsRow .reviewsBtn{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:46px !important;
    box-sizing:border-box !important;
    text-align:center !important;
  }

  .soundPodsRow .ftStatusBox{
    display:flex !important;
    flex-direction:column !important;
    align-items:flex-start !important;
    width:100% !important;
    gap:12px !important;
    box-sizing:border-box !important;
  }

  .soundPodsRow .ftStatusBtn{
    width:100% !important;
  }

}