/* GoldeNet "Your saved items" (Dec 2026): header link, saved-items page, product-page "Recently viewed" strip and save button.
   Same palette and button style as the new diamond and engagement ring pages. Loaded site-wide from the header. */

/* ---------------- header ---------------- */
.gn-saved-link { white-space: nowrap; }
.gn-saved-link .gn-saved-heart { color: #c0392b; margin-right: 3px; }
.gn-saved-badge { display: inline-block; min-width: 18px; padding: 0 6px; margin-left: 4px; border-radius: 9px; background: #006396; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; vertical-align: 1px; }
.gn-saved-badge[hidden] { display: none; }
.gn-hdr-lbl { display: none; }
@media (min-width: 768px) {
    /* Same overall width as the former "Recent (n)" link so the header row never wraps under the logo. */
    .navbar.navbar-default .secondary-nav > li > a { padding-right: 15px; }

    .gn-saved-link .gn-saved-badge { min-width: 16px; padding: 0 4px; margin-left: 2px; font-size: 10px; line-height: 16px; }
}
@media (max-width: 767px) {
    /* The 50 px header bar has no room for text under the icons: icons keep their accessible names (aria-label);
       the heart shows the saved-items count. Touch targets at least 44 x 44 px. */
    .navbar.navbar-default .secondary-nav > li > a.gn-hdr-icon { position: relative; display: inline-block; min-width: 44px; min-height: 44px; text-align: center; }
    .navbar.navbar-default .secondary-nav .gn-saved-link .gn-saved-badge { position: absolute; top: 2px; right: -4px; min-width: 16px; margin: 0; padding: 0 4px; font-size: 10px; line-height: 16px; background: #fff; color: #006396; }
}
/* ---------------- shared buttons ---------------- */
.gn-sv-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 16px; border: 2px solid #006396; border-radius: 0; font-size: 14px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; text-align: center; line-height: 1.2; cursor: pointer; }
.gn-sv-btn-p, a.gn-sv-btn-p { background: #006396; color: #fff; }
.gn-sv-btn-p:hover, .gn-sv-btn-p:focus, a.gn-sv-btn-p:hover, a.gn-sv-btn-p:focus { background: #004163; border-color: #004163; color: #fff; text-decoration: none; }
.gn-sv-btn-s, a.gn-sv-btn-s { background: #fff; color: #006396; }
.gn-sv-btn-s:hover, .gn-sv-btn-s:focus, a.gn-sv-btn-s:hover, a.gn-sv-btn-s:focus { background: #eef5f9; color: #004163; text-decoration: none; }
.gn-sv-btn:focus-visible, .gn-sv-heart:focus-visible, .gn-sv-chip:focus-visible, .gn-sv-linkbtn:focus-visible { outline: 3px solid #42B3ED; outline-offset: 2px; }
.gn-sv-btn[disabled] { opacity: .7; cursor: progress; }
.gn-sv-link, .gn-sv-linkbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 2px; background: none; border: 0; color: #006396; font-size: 14px; font-weight: 600; text-decoration: underline; cursor: pointer; }
.gn-sv-msg { margin: 6px 0 0; font-size: 13px; line-height: 1.4; color: #12384d; }
.gn-sv-msg a { color: #006396; }

/* ---------------- page ---------------- */
.gn-sv-wrap { padding-top: 18px; padding-bottom: 36px; }
.gn-sv-h1 { font-family: inherit; font-size: 32px; font-weight: 400; color: #222; margin: 0 0 4px; }
.gn-sv-sub { color: #5b6670; margin: 0 0 14px; font-size: 15px; }
.gn-sv-h2 { font-size: 24px; font-weight: 400; color: #006396; margin: 0 0 12px; }
.gn-sv-h2row { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 12px; }
.gn-sv-note-s { font-size: 13px; color: #5b6670; display: inline-flex; align-items: center; gap: 4px; }
.gn-sv-section { margin: 0 0 34px; }
.gn-sv-chips { display: flex; gap: 8px; overflow-x: auto; padding: 8px 0 12px; margin: 0 0 22px; border-bottom: 1px solid #e1e5e8; -webkit-overflow-scrolling: touch; }
.gn-sv-chip { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 8px 14px; border: 1px solid #cfe1ec; border-radius: 22px; background: #fff; color: #004163; font-size: 14px; font-weight: 600; text-decoration: none; cursor: pointer; }
.gn-sv-chip span { font-weight: 700; }
.gn-sv-chip.is-on, .gn-sv-chip:hover { background: #004163; border-color: #004163; color: #fff; text-decoration: none; }
.gn-sv-filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 12px; }
.gn-sv-filters .gn-sv-chip { min-height: 40px; padding: 6px 12px; font-size: 13px; }
.gn-sv-emptyline { color: #5b6670; margin: 6px 0 0; }
.gn-sv-emptyline[hidden], .gn-sv-msg[hidden], .gn-sv-btn[hidden] { display: none; }
.gn-sv-empty { border: 1px solid #cfe1ec; background: #f3f8fb; padding: 18px; margin: 8px 0 30px; }
.gn-sv-empty-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 12px; }
.gn-sv-more { margin-top: 16px; text-align: center; }

/* design */
.gn-sv-design { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 20px; border: 1px solid #cfe1ec; background: #f3f8fb; padding: 16px; margin-bottom: 14px; }
.gn-sv-dparts { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
.gn-sv-dpart { display: flex; flex-direction: column; gap: 8px; background: #fff; border: 1px solid #e1e5e8; padding: 10px; }
.gn-sv-dpart img { width: 100%; height: 150px; object-fit: contain; background: #fafafa; }
.gn-sv-dpart > div { display: flex; flex-direction: column; gap: 3px; }
.gn-sv-dpart.is-gone img { filter: grayscale(1); opacity: .7; }
.gn-sv-dpart.is-empty { justify-content: center; min-height: 120px; border-style: dashed; }
.gn-sv-dlabel { font-size: 11px; text-transform: uppercase; letter-spacing: .8px; color: #004163; font-weight: 700; }
.gn-sv-dtitle { font-weight: 600; color: #1a1a1a; font-size: 14px; line-height: 1.3; }
.gn-sv-dspecs { font-size: 12.5px; color: #5b6670; }
.gn-sv-dprice { font-weight: 700; color: #004163; }
.gn-sv-dside { display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.gn-sv-dname { font-size: 18px; margin: 0; color: #1a1a1a; }
.gn-sv-kv { display: grid; grid-template-columns: 1fr auto; gap: 4px 12px; margin: 0; font-size: 14px; }
.gn-sv-kv dt { color: #5b6670; font-weight: 400; } .gn-sv-kv dd { margin: 0; font-weight: 600; text-align: right; }
.gn-sv-kv .gn-sv-tot { border-top: 1px solid #cfe1ec; padding-top: 6px; color: #004163; font-weight: 700; font-size: 16px; }
.gn-sv-note { margin: 0; font-size: 13px; color: #12384d; }

/* cards */
.gn-sv-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.gn-sv-card { position: relative; display: flex; flex-direction: column; min-width: 0; border: 1px solid #e1e5e8; background: #fff; }
.gn-sv-card.is-removed { opacity: .55; }
.gn-sv-pic { position: relative; background: #fafafa; border-bottom: 1px solid #e1e5e8; }
.gn-sv-pic img { display: block; width: 100%; height: 170px; object-fit: contain; }
.gn-sv-card.is-gone .gn-sv-pic img { filter: grayscale(1); opacity: .75; }
.gn-sv-tag { position: absolute; z-index: 2; top: 8px; left: 8px; background: #fff; border: 1px solid #e1e5e8; padding: 2px 7px; font-size: 11px; letter-spacing: .5px; text-transform: uppercase; color: #004163; }
.gn-sv-heart { position: absolute; z-index: 2; top: 6px; right: 6px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid #e1e5e8; background: #fff; color: #6b7780; font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0; }
.gn-sv-heart.is-saved { color: #c0392b; }
.gn-sv-heart[aria-busy="true"] { opacity: .6; }
.gn-sv-body { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px 12px; flex: 1; }
.gn-sv-title { margin: 0; font-size: 14px; font-weight: 600; line-height: 1.3; }
.gn-sv-title a { color: #1a1a1a; text-decoration: none; }
.gn-sv-title a:hover { text-decoration: underline; }
.gn-sv-specs { margin: 0; font-size: 12.5px; color: #5b6670; overflow-wrap: anywhere; }
.gn-sv-price { margin: 2px 0 0; font-size: 18px; font-weight: 700; color: #004163; }
.gn-sv-incl { margin: 0; font-size: 12.5px; color: #333; }
.gn-sv-avail { margin: 0; font-size: 13px; font-weight: 600; color: #1e7a46; }
.gn-sv-avail.is-no { color: #a1271a; }
.gn-sv-actions { margin-top: auto; padding-top: 8px; display: flex; flex-direction: column; align-items: stretch; gap: 2px; }
.gn-sv-actions .gn-sv-btn { width: 100%; font-size: 13px; padding: 8px 10px; }
.gn-sv-actions .gn-sv-link { justify-content: center; }

/* cart + help */
.gn-sv-cart { border: 1px solid #e1e5e8; padding: 14px 16px; }
.gn-sv-cart ul { list-style: none; margin: 0 0 10px; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.gn-sv-cart li { display: flex; gap: 12px; align-items: center; }
.gn-sv-cart li img { width: 64px; height: 64px; object-fit: contain; border: 1px solid #e1e5e8; flex: 0 0 64px; }
.gn-sv-cart li span { display: flex; flex-direction: column; font-size: 14px; }
.gn-sv-cart li small { color: #5b6670; font-size: 12.5px; }
.gn-sv-cart-end { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; border-top: 1px solid #e1e5e8; padding-top: 10px; font-size: 15px; }
.gn-sv-help { display: flex; flex-wrap: wrap; gap: 4px 28px; border-top: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6; padding: 12px 0; margin: 10px 0 14px; font-size: 14px; }
.gn-sv-help strong { width: 100%; }
.gn-sv-help-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: #006396; text-decoration: none; }
.gn-sv-help-link a { color: #006396; text-decoration: underline; }
.gn-sv-account, .gn-sv-privacy { font-size: 13px; color: #5b6670; margin: 6px 0; }

/* "View similar" notice on the search pages */
.gn-sv-notice { position: relative; max-width: 1140px; margin: 12px auto; padding: 12px 48px 12px 14px; background: #eef5f9; border: 1px solid #b9d3e3; color: #12384d; font-size: 14px; line-height: 1.45; }
.gn-sv-notice a { color: #006396; font-weight: 600; text-decoration: underline; }
.gn-sv-notice-x { position: absolute; top: 2px; right: 2px; width: 44px; height: 44px; border: 0; background: none; font-size: 22px; line-height: 1; color: #12384d; cursor: pointer; }

/* product-page strip */
.gn-sv-strip { margin: 26px 0 10px; }
.gn-sv-strip[hidden] { display: none; }
.gn-sv-strip-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; }
.gn-sv-strip-head h3 { margin: 0; font-size: 22px; font-weight: 400; color: #006396; }
.gn-sv-strip-head a { font-weight: 600; color: #006396; display: inline-flex; min-height: 44px; align-items: center; }
.gn-sv-strip-list { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
.gn-sv-strip .gn-sv-pic img { height: 120px; }
.gn-sv-strip .gn-sv-body { padding: 8px 10px 10px; }
.gn-sv-strip .gn-sv-title { font-size: 13px; }
.gn-sv-strip .gn-sv-price { font-size: 15px; }

/* product-page save button + confirmation */
.gn-sv-save.is-saved { background: #fdeeee; border-color: #f1c4c4; color: #a1271a; }
.gn-sv-save + .gn-sv-msg { padding: 8px 10px; background: #f3f8fb; border: 1px solid #cfe1ec; }

@media (max-width: 991px) {
    .gn-sv-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .gn-sv-strip-list { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
    .gn-sv-wrap { padding-left: 14px; padding-right: 14px; }
    .gn-sv-h1 { font-size: 26px; text-align: center; }
    .gn-sv-sub { text-align: center; font-size: 14px; }
    .gn-sv-h2 { font-size: 21px; }
    .gn-sv-design { grid-template-columns: minmax(0, 1fr); padding: 12px; gap: 12px; }
    .gn-sv-dpart img { height: 120px; }
    .gn-sv-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
    .gn-sv-wish { grid-template-columns: minmax(0, 1fr); }
    .gn-sv-wish .gn-sv-card { flex-direction: row; }
    .gn-sv-wish .gn-sv-pic { width: 40%; flex: 0 0 40%; border-bottom: 0; border-right: 1px solid #e1e5e8; }
    .gn-sv-wish .gn-sv-pic img { height: 100%; min-height: 160px; }
    .gn-sv-pic img { height: 130px; }
    .gn-sv-title { font-size: 13px; }
    .gn-sv-price { font-size: 16px; }
    .gn-sv-actions .gn-sv-btn { font-size: 12px; letter-spacing: .8px; }
    .gn-sv-strip-list { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%; overflow-x: auto; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
    .gn-sv-cart-end .gn-sv-btn { width: 100%; }
}
@media (max-width: 359px) {
    .gn-sv-grid { gap: 8px; }
    .gn-sv-recentgrid { grid-template-columns: minmax(0, 1fr); }
}
