/* B2B catalogue cards and staff tables. */
.b2b-catalogue{max-width:1280px;margin:24px auto 50px;padding:0 24px;scroll-margin-top:180px}
.b2b-category-tabs,.b2b-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;margin:24px auto}
.b2b-category-tabs a,.b2b-pagination a{padding:10px 18px;border:1px solid #c9a24c;border-radius:24px;color:#0d1b2e;background:#fff;text-decoration:none}
.b2b-category-tabs a[aria-current],.b2b-category-tabs a:hover{background:#c9a24c}
.b2b-product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
/* Match the existing homepage product cards, scoped to this catalogue. */
.b2b-product-card{position:relative;display:flex;flex-direction:column;min-width:0;height:100%;border:1.5px solid #e4e8f0;border-radius:16px;overflow:hidden;background:#fff;color:#0d1b2e;text-decoration:none!important;transition:border-color .3s,transform .3s,box-shadow .3s}
.b2b-product-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,#c9a84c,#e8c97a);opacity:0;transition:opacity .3s;z-index:2}
.b2b-product-card:hover,.b2b-product-card:focus-visible{color:#0d1b2e;border-color:#c9a84c;box-shadow:0 12px 26px -8px rgba(201,168,76,.28);transform:translateY(-6px)}
.b2b-product-card:hover::before,.b2b-product-card:focus-visible::before{opacity:1}
.b2b-product-photo{height:220px;display:flex;align-items:center;justify-content:center;background:#f5f7fb;overflow:hidden}
.b2b-product-photo img{display:block;width:100%;height:100%;object-fit:contain;transition:transform .4s}
.b2b-product-card:hover .b2b-product-photo img{transform:scale(1.08)}
.b2b-product-copy{padding:14px;text-align:left;display:flex;flex:1;flex-direction:column;align-items:flex-start}
.b2b-product-category{position:absolute;top:12px;left:12px;max-width:calc(100% - 24px);padding:3px 9px;border-radius:4px;background:#c9a84c;color:#0d1b2e;font-size:9.5px;font-weight:800;letter-spacing:1px;text-transform:uppercase;z-index:2;box-shadow:0 2px 6px #0002}
.b2b-product-copy h3{font:700 13.5px/1.4 'DM Sans',sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;margin:0 0 4px}
.b2b-product-description{font-size:11.5px;line-height:1.5;color:#8898aa;margin:0 0 9px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.b2b-product-reviews{display:inline-flex;background:#1f8a55;color:#fff;font-size:11.5px;font-weight:700;padding:2px 8px;border-radius:3px;margin-bottom:8px}
.b2b-product-price{font:700 19px/1.4 'Playfair Display',serif;margin:6px 0 14px;color:#0d1b2e}
.b2b-product-price small{font:600 11px 'DM Sans',sans-serif;color:#8898aa;white-space:nowrap}
.b2b-view-product{display:flex;align-items:center;justify-content:center;gap:6px;box-sizing:border-box;width:100%;padding:10px;margin-top:auto;border:1.5px solid #c9a84c;border-radius:8px;font-size:13px;font-weight:700;color:#0d1b2e;transition:background .25s}
.b2b-product-card:hover .b2b-view-product{background:#c9a84c}
.underwater-heading{text-align:center;font:500 34px/1.3 Arial,sans-serif;color:#111;margin:16px 0 28px}
.b2b-empty{grid-column:1/-1;text-align:center;padding:30px;color:#667085}
.b2b-form-message{padding:12px;background:#e7f6ec;color:#175c31;border-radius:8px}
.b2b-form-errors{padding:12px;background:#fff0ef;color:#9e2525;margin-bottom:16px}
.b2b-admin{max-width:1300px;margin:30px auto;padding:24px;color:#14263e}
.b2b-admin nav{display:flex;flex-wrap:wrap;gap:16px;margin:20px 0}
.b2b-admin a{color:#183a63}.b2b-table-wrap{overflow-x:auto}
.b2b-admin table{width:100%;border-collapse:collapse;background:#fff}
.b2b-admin th,.b2b-admin td{padding:14px;text-align:left;border-bottom:1px solid #e3e7ec;vertical-align:middle}
.b2b-admin button,.b2b-admin select{padding:8px;border:1px solid #b7bfcc;border-radius:6px;background:#fff;color:#14263e}
.b2b-admin form{display:inline-flex;gap:8px}
@media(max-width:900px){.b2b-product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.b2b-catalogue{padding:0 14px}.b2b-product-photo{height:180px}.b2b-product-copy{padding:12px}.b2b-product-copy h3{font-size:13.5px}.b2b-product-price{font-size:16px}.underwater-heading{font-size:26px}}
@media(max-width:359px){.b2b-product-grid{grid-template-columns:1fr}}

.b2b-admin .b2b-action-icon{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border:1px solid #b7bfcc;border-radius:6px;background:#fff;color:#14263e;text-decoration:none;vertical-align:middle;cursor:pointer}
.b2b-admin .b2b-action-icon:focus-visible{outline:2px solid #c9a24c;outline-offset:2px}

@media(prefers-reduced-motion:reduce){.b2b-product-card,.b2b-product-photo img{transition:none}.b2b-product-card:hover,.b2b-product-card:focus-visible,.b2b-product-card:hover .b2b-product-photo img{transform:none}}

/* Reference card: full image, white body and navy cart action. */
.b2b-product-card{border-radius:20px;box-shadow:0 2px 12px rgba(13,27,46,.07)}
.b2b-product-photo{height:190px;background:#f5f7fb}
.b2b-product-media{position:relative;flex-shrink:0;overflow:hidden}
.b2b-product-media .b2b-wishlist-form{margin:0;padding:0}
.b2b-product-photo img{object-fit:cover;object-position:center;padding:0;box-sizing:border-box}
.b2b-product-category{top:15px;left:15px;padding:7px 12px;border-radius:7px;font-size:11px;box-shadow:none}
.b2b-heart{position:absolute;top:15px;right:15px;z-index:3;display:flex;align-items:center;justify-content:center;width:43px;height:43px;padding:0;border:1px solid #e4e8f0;border-radius:10px;background:rgba(255,255,255,.94);color:#ddd;cursor:pointer}
.b2b-heart:hover,.b2b-heart[aria-pressed="true"]{color:#d64545;border-color:#d64545}
.b2b-heart:disabled{opacity:.6;cursor:wait}
.b2b-product-copy{padding:14px 16px 16px}
.b2b-product-copy h3{font-size:14px;line-height:1.4;margin-bottom:6px}
.b2b-product-copy h3 a{color:#0d1b2e;text-decoration:none}
.b2b-product-description{font-size:12px;line-height:1.55;margin-bottom:7px}
.b2b-product-reviews{gap:5px;align-items:center;padding:0;background:none;color:#c9a84c;font-size:12px;margin-bottom:8px}
.b2b-product-price{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;font-size:20px;margin:4px 0 10px}
.b2b-product-price small{font-size:12px}
.b2b-product-price .b2b-currency{color:#0d1b2e;font:700 16px 'Playfair Display',serif}
.b2b-cart-form{width:100%;margin:auto 0 0}
.b2b-view-product{min-height:44px;padding:10px;gap:7px;background:#0d1b2e;color:#c9a84c;border:0;border-radius:11px;font:700 13px 'DM Sans',sans-serif;cursor:pointer;text-decoration:none}
.b2b-product-card:hover .b2b-view-product{background:#0d1b2e}
.b2b-product-card .b2b-view-product:hover{background:#c9a84c;color:#0d1b2e}
.b2b-heart:focus-visible,.b2b-view-product:focus-visible,.b2b-product-photo:focus-visible{outline:2px solid #c9a84c;outline-offset:-3px}
@media(max-width:900px){.b2b-product-photo{height:180px}.b2b-product-copy{padding:12px}.b2b-product-copy h3{font-size:14px}.b2b-product-description{font-size:12px}.b2b-product-price{font-size:19px;gap:5px}.b2b-view-product{font-size:12px;gap:5px}.b2b-heart{width:34px;height:34px;top:10px;right:10px}.b2b-product-category{top:10px;left:10px;padding:5px 8px;font-size:10px}}

/* Category pills keep their button appearance on hover and focus. */
.b2b-category-tabs a:hover,.b2b-category-tabs a:focus,.b2b-category-tabs a:active{text-decoration:none}

/* Display the supplied reference logos directly from the original image. */
.b2b-partners{background:#fff;padding:40px 16px 38px;margin:32px 0;color:#000}
.b2b-partners h2{text-align:center;font:400 36px/1.3 Arial,sans-serif;margin:0 0 32px}
.b2b-partners-carousel{max-width:1800px;margin:auto;display:flex;align-items:center;gap:4px}
.b2b-partners-track{display:flex;flex:1;min-width:0;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:20px;align-items:center}
.b2b-partners-track::-webkit-scrollbar{display:none}
.b2b-partner-logo{flex:0 0 calc((100% - 120px)/7);aspect-ratio:230/200;scroll-snap-align:start;background-image:url('../images/b2b-partner-logos.png');background-size:787.826087% 193%;background-position:var(--logo-x) 63.44086%;background-repeat:no-repeat}
.b2b-partner-arrow{flex:0 0 24px;border:0;background:transparent;color:#d3d3d3;font:400 42px/1 Arial,sans-serif;padding:0;cursor:pointer}
.b2b-partner-arrow:hover{color:#1686fa}
.b2b-partner-dots{display:flex;justify-content:center;gap:12px;margin-top:18px}
.b2b-partner-dots button{position:relative;width:10px;height:10px;padding:0;border:0;border-radius:50%;background:#ccc;cursor:pointer}
.b2b-partner-dots button::after{content:'';position:absolute;inset:-7px}
.b2b-partner-dots button[aria-pressed="true"]{background:#1686fa}
.b2b-partner-arrow:focus-visible,.b2b-partner-dots button:focus-visible{outline:2px solid #1686fa;outline-offset:4px}
@media(max-width:1000px){.b2b-partner-logo{flex-basis:calc((100% - 40px)/3)}}
@media(max-width:600px){.b2b-partners{padding:28px 8px}.b2b-partners h2{font-size:25px;margin-bottom:24px}.b2b-partners-track{gap:12px}.b2b-partner-logo{flex-basis:calc((100% - 12px)/2)}}
