body {
    margin: 0;
    background: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin-bottom: 42px;
    padding-bottom:  42px;
}

.gear-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px;
}

.gear-title {
    font-size: 42px;
    margin: 0 0 40px;
    font-weight: 700;
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}

.gear-card {
    color: #fff;
    text-decoration: none;
}

.gear-card-image {
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    border-radius: 28px;

    aspect-ratio: 1 / 1;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.gear-card-image img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.gear-card-image img {
    max-width: 100%;
    max-height: 180px;
    object-fit: contain;
}

.gear-tags-overlay {
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;

    display: flex;
    flex-wrap: wrap;
    gap: 6px;

    z-index: 2;
}

.gear-card h2 {
    font-size: 16px;
    margin: 12px 0 0;
}

.gear-card-brand {
    color: #888;
    font-size: 13px;
    margin-top: 14px;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.gear-card-name {
    color: #fff;
    font-size: 18px;
    line-height: 1.3;
    margin: 0;
}

.gear-report-link {
    margin-top: 12px;
    padding: 0 0 12px 0;
    border: none;
    background: none;
    color: #888;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
}

.gear-report-link:hover {
    color: #fff;
}




/* GEAR TABS ----------------------------------*/
.gear-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 40px;
}

.gear-tab {
    color: #999;
    text-decoration: none;
    border: 1px solid #444;
    padding: 10px 18px;
    border-radius: 999px;
    transition: 0.2s;
}

.gear-tab:hover {
    border-color: #777;
    color: #fff;
}

.gear-tab.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}



/* RESPONSIVE GRID ----------------------------------*/

@media (max-width: 1000px) {
    .gear-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 700px) {


    .gear-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gear-title {
        font-size: 32px;
    }

    .gear-tabs {
        overflow-x: auto;
        padding-bottom: 8px;
    }

    .gear-tab {
        white-space: nowrap;
    }
}



/* CATEGORY TAGS ----------------------------------*/
.gear-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
    margin-bottom: 10px;
}

.gear-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 24px;
    padding: 0 10px;
    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;

    background: #000;
    color: #fff;
}

.tag-distortion {
    background: #F67F20;
}

.tag-overdrive {
    background: #F2BA49;
}

.tag-chorus {
    background: #A0BEF4;
    color: #000;
}

.tag-delay {
    background: #D35370;
}

.tag-reverb {
    background: #87828A;
}

.tag-modulation {
    background: #0068B7;
}

.tag-ring-modulator {
    background: #4207B7;
    color: #9DD620;
}

.tag-compressor {
    background: #317C68;
}

.tag-looper {
    background: #E81E21;
}

.tag-vibrato {
    background: #009BD2;
}

.tag-phaser {
    background: #4FD66F;
}

.tag-flanger {
    background: #BD589F;
}

.tag-octaver {
    background: #73423C;
}

.tag-synth {
    background: #2F48A1;
}

.tag-tremolo {
    background: #24878C;
}

.tag-fuzz {
    background: #A2AAB5;
    color: #000;
}

.tag-harmonizer {
    background: #1688AD;
}

.tag-pitch-shifter {
    background: #3393D8;
}

.tag-equalizer {
    background: #D7CCBB;
    color: #fff;
}

.tag-rotary {
    background: #C4B28C;
    color: #fff;
}

.tag-filter {
    background: #B6A58D;
    color: #fff;
}

.tag-sequencer {
    background: #39BEAF;
}

.tag-noise-gate {
    background: #DEDEE0;
    color: #333;
}

.tag-booster {
    background: #CCCECD;
    color: #333;
}

.tag-tuner {
    background: #F4FAFB;
    color: #E31C1E;
}

.tag-accessory {
    background: #4C5155;
}

.tag-utility {
    background: #4C5155;
}

.tag-wireless {
    background: #6F767C;
}

.tag-switcher {
    background: #949DA5;
}

.tag-midi-control {
    background: #B3BCC5;
    color: #333;
}

.tag-multi-effects {
    background: #666873;
}

.tag-drum-machine {
    background: #8596AA;
    color: #333;
}

.tag-preamp {
    background: #A0C464;
    color: #fff;
}

.tag-wah {
    background: #D8A880;
    color: #fff;
}

.tag-volume {
    background: #6C6361;
}

.tag-expression {
    background: #5B636E;
}





/* SEARCH BAR ----------------------------------*/

.gear-search {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-direction: row;
    margin-bottom: 40px;
}

.gear-search input {
    height: 48px;

    background: #151515;
    border: 1px solid #333;

    color: #fff;
    padding: 0 16px;

    border-radius: 10px;
    font-size: 16px;
}

.gear-search button {
    height: 48px;
    padding: 0 20px;

    border: none;
    border-radius: 10px;

    background: #fff;
    color: #000;

    font-weight: 600;
    cursor: pointer;
}


.gear-search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

.gear-search-input-wrap input {
    width: 100%;
    box-sizing: border-box;

    padding-left: 16px;
    padding-right: 72px;
}

.gear-search-icon {
    position: absolute;

    right: 16px;
    top: 50%;

    transform: translateY(-50%);

    width: 18px;
    height: 18px;

    pointer-events: none;
    opacity: .65;
}

.gear-search-clear {
    display: none;

    position: absolute;
    right: 46px;
    top: 50%;

    transform: translateY(-50%);

    color: #777;
    text-decoration: none;

    font-size: 24px;
    line-height: 1;
}

.gear-search-clear.visible {
    display: block;
}

.gear-search-clear:hover {
    color: #fff;
}

.gear-search button {
    flex-shrink: 0;
}

.gear-search-clear {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.gear-empty {
    text-align: center;
    padding: 80px 20px;
}

.gear-empty h2 {
    font-size: 32px;
    margin-bottom: 12px;
}

.gear-empty p {
    color: #888;
    font-size: 16px;
}


/* PAGINATION ----------------------------------*/

.gear-pagination {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.gear-pagination a {
    color: #fff;
    text-decoration: none;

    border: 1px solid #444;
    border-radius: 10px;

    padding: 12px 18px;
}

.gear-pagination a:hover {
    border-color: #888;
}

.gear-pagination a.active {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.gear-pagination-info {
    margin-top: 14px;
    text-align: center;

    color: #777;
    font-size: 14px;
}


/* SELECT BY CATEGORY ----------------------------------*/

.gear-category {
    height: 48px;
    min-width: 220px;

    background: #151515;
    color: #fff;

    border: 1px solid #333;
    border-radius: 10px;

    padding: 0 14px;

    font-size: 15px;
}

.gear-category:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}


/* SORT BY ----------------------------------*/

.gear-sort {
    height: 48px;

    background: #151515;
    color: #fff;

    border: 1px solid #333;
    border-radius: 10px;

    padding: 0 14px;
    font-size: 15px;

    flex-shrink: 0;
     padding: 0 42px 0 14px;

}

/* DETAIL PAGE ----------------------------------*/

.gear-detail-page {
    max-width: 1180px;
    margin: 0 auto;
    padding: 48px 32px;
}

.gear-back {
    display: inline-block;
    margin-bottom: 32px;

    color: #888;
    text-decoration: none;
}

.gear-back:hover {
    color: #fff;
}

.gear-detail-layout {
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 60px;
}

.gear-detail-image-card {
    background: #1a1a1a;
    border: 1px solid #2f2f2f;
    border-radius: 28px;

    aspect-ratio: 1 / 1;
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 40px;
    box-sizing: border-box;
    overflow: hidden;

    position: relative;
}

.gear-detail-image-card img {
    width: 100%;
    height: 100%;

    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
}

.gear-detail-brand {
    color: #888;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;

    margin-bottom: 10px;
}

.gear-detail-title {
    font-size: 52px;
    line-height: 1.05;
    margin: 0 0 32px;
}

.gear-detail-description {
    color: #bbb;
    line-height: 1.8;
    font-size: 16px;
}

@media (max-width: 900px) {

    .gear-detail-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .gear-detail-image-card {
        min-height: 340px;
    }

    .gear-detail-title {
        font-size: 28px;
    }

}

.gear-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;

    margin-top: 40px;
}

.gear-spec {
    background: #111;
    border: 1px solid #2b2b2b;
    border-radius: 16px;

    padding: 12px;
}

.gear-spec span {
    display: block;

    color: #777;
    font-size: 13px;

    margin-bottom: 8px;
}

.gear-spec strong {
    font-size: 18px;
    color: #fff;
}

.gear-detail-image-card {
    position: relative;
}

.gear-detail-tags {
    position: absolute;

    top: 20px;
    left: 20px;

    z-index: 2;
}

.gear-links-section {
    margin-top: 42px;
}

.gear-links-title {
    font-size: 28px;
    margin-bottom: 18px;

    padding-bottom: 10px;
    border-bottom: 1px solid #333;
}

.gear-links-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.gear-product-link {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    color: #fff;
    text-decoration: none;
    word-break: break-all;
}

.gear-product-link:hover {
    color: #666;
}

.gear-no-link {
    color: #777;
}






/* RELATED SECTION ----------------------------------*/

.related-section {
    margin-top: 90px;
}

.related-title {
    font-size: 28px;
    margin-bottom: 32px;
}

.gear-card-image {
    position: relative;
}

.gear-related-tags {
    position: absolute;

    top: 18px;
    left: 18px;

    display: flex;
    flex-direction: column;
    gap: 8px;

    z-index: 2;
}


/* MEDIA  ----------------------------------*/

.gear-media-section{
    margin-top:40px;
}

.gear-media-title{
    font-size:28px;
    margin-bottom:20px;
}

.gear-media-grid{
    display:grid;
    grid-template-columns:
        repeat(auto-fill,minmax(320px,1fr));
    gap:20px;
}

.gear-media-card{
    background:#111;
    border-radius:18px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,.08);
}

.gear-video-thumb{
    position:relative;
    width:100%;
    aspect-ratio:16/9;
    padding:0;
    border:none;
    background:none;
    cursor:pointer;
    display:block;
    overflow:hidden;
}

.gear-video-thumb img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
    border:none;
}

.gear-video-play{
    position:absolute;
    inset:0;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:70px;
    color:white;
    text-shadow:0 0 20px rgba(0,0,0,.8);
}

.gear-media-card-title{
    padding:16px;
    font-weight:700;
    font-size:18px;
}


/* RELATED GEAR  ----------------------------------*/


.related-subtitle{
    font-family: 'Outfit', sans-serif;
    margin-top:-24px;
    margin-bottom:20px;
    opacity:.72;
    font-size:15px;
    font-weight:100;
}




/* MOBILE CATALOG ----------------------------------*/

@media (max-width: 768px) {

    .gear-page {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    .gear-detail-page {
      width: 100%;
        max-width: none;
        margin: 0;
        padding: 24px 20px;
        box-sizing: border-box;
    }

    .gear-title {
        font-size: 28px;
        margin-bottom: 24px;
    }

    .gear-tabs {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 8px;

        margin-bottom: 24px;
    }

    .gear-tab {
        text-align: center;
        white-space: nowrap;
        font-size: 14px;
    }

    .gear-search {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .gear-search-input-wrap,
    .gear-category-wrap,
    .gear-category,
    .gear-sort {
        width: 100%;
    }

    /* Hide Search button on mobile */
    .gear-search button {
        display: none;
    }

    .gear-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .gear-card {
        width: 100%;
    }

    .gear-card-image {
        padding: 20px;
    }

    .gear-card-image img {
        max-height: 220px;
    }

    .gear-card-brand {
        font-size: 12px;
    }

    .gear-card-name {
        font-size: 18px;
    }

    .gear-pagination {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .gear-pagination a {
        min-width: 34px;
        height: 34px;

        padding: 0 10px;

        display: flex;
        align-items: center;
        justify-content: center;

        font-size: 14px;
        border-radius: 8px;
    }

    .gear-pagination-info {
        text-align: center;
                font-size: 13px;
        margin-top: 10px;
    }
}


/* MOBILE HEADER ----------------------------------*/


@media (max-width: 768px) {

    .sg-header {
        padding: 12px 20px;
        height: auto;
    }

    .sg-logo img {
        height: 32px;
    }

    .sg-nav {
        display: none;
    }

    .sg-login {
        display: inline-flex;
        align-items: center;
        justify-content: center;

        padding: 6px 12px;
        font-size: 12px;
    }

    .sg-menu-btn {
        display: block;
        background: none;
        border: none;
        color: white;
        font-size: 24px;
        margin-left: auto;
        margin-right: 12px;
        cursor: pointer;
    }    

}


.sg-login {
    display: none;
}

.gear-report-info {
    margin: 12px 0;
}

/* REPORT MODAL ---------------------------------- */
/* Duplicated from styles.css need to be migrate to a shared.css with styles share by app and site */ 
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal-box {
  background: #fff;
  color: #000;
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
  position: relative;
  margin: 20px;
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 20px;
  color: #000;
  background: transparent;
  border: none;
  cursor: pointer;
}

.modal-box input[type="email"],
.modal-box textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1.5px solid #000;
  border-radius: 8px;
  font-size: 14px;
  margin-bottom: 12px;
  resize: vertical;
  box-sizing: border-box;
}

.modal-buttons {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.modal-btn {
  padding: 8px 20px;
  border-radius: 20px;
  font-family: 'Outfit', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1.5px solid #000;
}

.modal-btn-cancel {
  background: white;
  color: black;
}

.modal-btn-send {
  background: black;
  color: white;
  border: none;
}