/*=========================================================
    Breedo Way - Brand Overrides
    Palette derived from the logo:
      navy      #16305C / #0A1A38   (shield + ring)
      gold      #A87C15 / #E2BE68   (crest + lettering)
      cream     #F8F5EE            (warm neutral)
    Loaded after main.css, so these win.
==========================================================*/

:root {
    --body: #fff;
    --black: #000;
    --white: #fff;

    /* Primary = logo navy */
    --theme: #16305C;
    /* Accent = logo gold (deep enough to read on white) */
    --theme2: #A87C15;
    /* Dark sections = logo's outer ring navy */
    --header: #0A1A38;

    --text: #4C5670;
    --border: #D6DEEE;
    --border-2: #DCE3F0;
    --border-3: #D3DCEC;
    --bg: #E7ECF6;
    --bg2: #F8F5EE;

    --box-shadow: 0px 4px 25px 0px rgba(10, 26, 56, 0.08);

    /* extra brand tokens */
    --gold-light: #E2BE68;
    --navy-soft: #23477F;
}

/* On dark navy backgrounds the accent switches to the logo's
   bright gold so it keeps its contrast. */
.header-top-1,
.footer-bg,
.footer-section,
.footer-bottom,
.cta-banner-wrapper,
.cta-shop-box {
    --theme2: var(--gold-light);
}

/* Footer bar: navy instead of the old teal block */
.footer-bottom {
    background: #0F2244;
}

/* ---------------------------------------------------------------
   Inner-page breadcrumb band.
   The theme ships a 173px-tall teal-grey slab that reads as empty
   space once its decorative books are gone, so this rebuilds it as a
   compact navy banner carrying the crest.
----------------------------------------------------------------- */
.breadcrumb-wrapper {
    background: linear-gradient(112deg, #08152E 0%, #12294F 52%, #1B3A6E 100%);
    padding: 76px 0 80px;
}

/* crest watermark */
.breadcrumb-wrapper::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 3%;
    width: 300px;
    height: 300px;
    transform: translateY(-50%);
    background: url("../img/logo/breedo-logo.png") center / contain no-repeat;
    opacity: 0.13;
    pointer-events: none;
}

/* warm light bleeding in from the left, like the logo's sunrise */
.breadcrumb-wrapper::before {
    content: "";
    position: absolute;
    top: -40%;
    left: -10%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(226, 190, 104, 0.20) 0%, rgba(226, 190, 104, 0) 68%);
    pointer-events: none;
}

.breadcrumb-wrapper .page-heading {
    position: relative;
    z-index: 2;
}

.breadcrumb-wrapper .page-heading h1 {
    color: var(--white);
    margin-bottom: 18px;
}

.breadcrumb-wrapper .page-heading h1::after {
    content: "";
    display: block;
    width: 68px;
    height: 3px;
    margin: 16px auto 0;
    border-radius: 3px;
    background: var(--gold-light);
}

.breadcrumb-wrapper .page-heading .breadcrumb-items li,
.breadcrumb-wrapper .page-heading .breadcrumb-items li i {
    color: var(--gold-light);
}

.breadcrumb-wrapper .page-heading .breadcrumb-items li a {
    color: rgba(255, 255, 255, 0.82);
}

.breadcrumb-wrapper .page-heading .breadcrumb-items li a:hover {
    color: var(--gold-light);
}

@media (max-width: 767px) {
    .breadcrumb-wrapper {
        padding: 54px 0 58px;
    }

    .breadcrumb-wrapper::after {
        width: 190px;
        height: 190px;
        opacity: 0.10;
    }
}

/* ---------------------------------------------------------------
   Shop catalogue toolbar (result count + sort)
----------------------------------------------------------------- */
.shop-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin: 6px 0 40px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--border-2);
}

.shop-toolbar .shop-result {
    margin: 0;
    color: var(--text);
    font-size: 16px;
}

.shop-toolbar .shop-result strong {
    color: var(--header);
    font-weight: 600;
}

.shop-toolbar .shop-sort {
    display: flex;
    align-items: center;
    gap: 12px;
}

.shop-toolbar .shop-sort > span {
    color: var(--text);
    font-size: 16px;
    white-space: nowrap;
}

.shop-toolbar .shop-sort .nice-select,
.shop-toolbar .shop-sort select {
    min-width: 210px;
    border: 1px solid var(--border-2);
    border-radius: 100px;
    background-color: var(--white);
    color: var(--header);
    font-weight: 500;
    padding: 12px 44px 12px 22px;
    line-height: 1.4;
    height: auto;
}

.shop-toolbar .shop-sort .nice-select .list {
    width: 100%;
    border-radius: 12px;
}

@media (max-width: 575px) {
    .shop-toolbar {
        margin-bottom: 30px;
    }

    .shop-toolbar .shop-sort {
        width: 100%;
    }

    .shop-toolbar .shop-sort .nice-select {
        flex: 1;
        min-width: 0;
    }
}

/* About page portrait, framed so the cut-out PNG sits on a brand ground */
.about-wrapper .about-image.about-image--framed {
    background: var(--bg);
    border-radius: 24px;
    min-height: 520px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.about-wrapper .about-image.about-image--framed img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
}

@media (max-width: 991px) {
    .about-wrapper .about-image.about-image--framed {
        min-height: 400px;
    }

    .about-wrapper .about-image.about-image--framed img {
        max-height: 380px;
    }
}

/* Gold buttons/badges that sit on navy need navy text, not white */
.footer-widgets-wrapper .single-footer-widget .footer-content .footer-input .newsletter-btn {
    background-color: var(--gold-light);
    color: #0A1A38;
}

.footer-widgets-wrapper .single-footer-widget .footer-content .social-icon a:hover {
    color: #0A1A38;
    border-color: var(--gold-light);
}

/* Star ratings keep the logo's gold rather than the stock amber */
.star i,
.star-list i,
.rating i,
.shop-content .star i {
    color: var(--theme2);
}

/* Selection + scrollbar in brand colors */
::selection {
    background: var(--theme);
    color: var(--white);
}


/*=========================================================
    Logo sizing (square logo in a theme built for a wide one)
==========================================================*/

.header-1 .header-left .logo a img,
.header-2 .header-left .logo a img,
.sticky-header .header-left .logo a img {
    width: auto;
    height: 105px;
    max-height: 105px;
    object-fit: contain;
}

@media (max-width: 1199px) {

    .header-1 .header-left .logo a img,
    .header-2 .header-left .logo a img,
    .sticky-header .header-left .logo a img {
        height: 80px;
        max-height: 80px;
    }
}

@media (max-width: 575px) {

    .header-1 .header-left .logo a img,
    .header-2 .header-left .logo a img,
    .sticky-header .header-left .logo a img {
        height: 62px;
        max-height: 62px;
    }
}

/* The theme's navy corner plate is sized for a wide logo (458px).
   Our logo is square, so reserve that width or the menu slides under it. */
@media (min-width: 1601px) {

    .header-1 .header-left .logo a,
    .header-2 .header-left .logo a,
    .sticky-header .header-left .logo a {
        display: inline-flex;
        align-items: center;
        min-width: 165px;
    }
}

@media (min-width: 1200px) and (max-width: 1399px) {

    .header-1 .header-left .logo a,
    .header-2 .header-left .logo a,
    .sticky-header .header-left .logo a {
        display: inline-flex;
        align-items: center;
        min-width: 130px;
    }
}

.offcanvas__logo img {
    width: auto;
    height: 85px;
    max-height: 85px;
    object-fit: contain;
}

.footer-widgets-wrapper .single-footer-widget .widget-head > a img {
    width: auto;
    height: 170px;
    max-height: 170px;
    object-fit: contain;
}

@media (max-width: 575px) {
    .footer-widgets-wrapper .single-footer-widget .widget-head > a img {
        height: 130px;
        max-height: 130px;
    }
}
