/* =========================================================
   SHARED CENTER CONTAINER (HEADER + CONTENT)
   ========================================================= */

.header-inner,
.page-content,
.catalog-columns {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
    box-sizing: border-box;
}

/* =========================================
   Base / global styles
   ========================================= */

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

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

.scroll-to-top {
    position: fixed;
    right: 24px;
    bottom: 24px;

    width: 44px;
    height: 44px;

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

    background: #000;

    opacity: 0;
    visibility: hidden;

    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
}

/* STEM */
.scroll-to-top::before {
    content: "";
    width: 3px;
    height: 20px;
    background: #fff;
    display: block;
    margin-bottom: 0px;
}

/* ARROW HEAD */
.scroll-to-top::after {
    content: "";
    width: 4px;
    height: 4px;

    border-left: 3px solid #fff;
    border-top: 3px solid #fff;

    transform: rotate(45deg);
    position: absolute;
    top: 14px;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background: #111;
}

/* =========================================================
   MODAL OVERLAY — global, used on all pages
   ========================================================= */
.modal-overlay {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0,0,0,0.65);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.modal-content {
    background: #fff;
    padding: 25px 35px;
    width: 420px;
    max-width: 95%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    font-family: "PT Sans", Helvetica Neue, Arial, sans-serif;
}

.close-x {
    position: absolute;
    top: 24px;
    right: 12px;
    color: #777;
    font-size: 24px;
    cursor: pointer;
}

.close-x:hover { color: #000; }

/* =========================================================
   IMAGE SOURCE LABEL OVERLAY
   ========================================================= */
.img-label-wrap {
    position: relative;
    display: block;
    width: 100%;
}

.img-label-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.img-src-label {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 3px 6px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    text-align: center;
    line-height: 1.2;
    pointer-events: none;
    display: inline-block;
    width: auto;
}

.img-src-label.catalog {
    background: rgba(212, 175, 55, 0.75);
    color: #fff;
}

.img-src-label.user-upload {
    background: rgba(46, 125, 50, 0.75);
    color: #fff;
}

/* =========================================================
   CATALOG BREADCRUMBS — global
   ========================================================= */
   
.catalog-breadcrumbs {
    max-width: 1200px;
    margin: 10px auto 15px;
    padding: 0 10px 0 21px;
    font-family: "PT Sans", Helvetica Neue, Arial, sans-serif;
    font-size: 12px;
    color: #a3a3a3;
    text-transform: uppercase;
    box-sizing: border-box;
}

.catalog-breadcrumbs .breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.catalog-breadcrumbs .breadcrumbs a,
.catalog-breadcrumbs .breadcrumbs span {
    color: #a3a3a3;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.catalog-breadcrumbs .breadcrumbs a:hover { text-decoration: underline; }

.catalog-breadcrumbs .breadcrumbs .crumb-sep {
    position: relative;
    width: 14px;
    height: 10px;
    margin: 0 8px;
    flex-shrink: 0;
}

.catalog-breadcrumbs .breadcrumbs .crumb-sep::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 9px;
    height: 2px;
    background-color: #b5b5b5;
    transform: translateY(-50%);
}

.catalog-breadcrumbs .breadcrumbs .crumb-sep::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 9px;
    width: 0;
    height: 0;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    border-left: 5px solid #b5b5b5;
    transform: translateY(-50%);
}

/* =========================================================
   MEMBER LINKS
   ========================================================= */

a.member-link {
    color: #d4af37;
    text-decoration: none;
    font-weight: 700;
}

a.member-link:hover {
    text-decoration: underline;
}

/* =========================================================
   VISIBILITY TOGGLE BOX (wishlist / offers)
   ========================================================= */

.visibility-toggle-box {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #eee;
    border-radius: 4px;
    background: #fafafa;
    font-size: 12px;
    color: #555;
    line-height: 1.5;
}

.visibility-toggle-label {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
}

.visibility-toggle-label input[type="checkbox"] {
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #d4af37;
    width: 15px;
    height: 15px;
}