/* ===== SHARED HEADER STYLES ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arimo', sans-serif;
    padding-top: 80px;
}

a {
    text-decoration: none;
}

.pb-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2147483647;
    background: #ffffff;
    padding: 12px 40px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pb-header-container {
    max-width: 1500px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.pb-logo {
    flex-shrink: 0;
    z-index: 100001;
}

.pb-logo a {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pb-logo a:hover {
    opacity: 0.8;
}

.pb-logo a img {
    display: block;
    max-width: 120px;
    height: auto;
}

.pb-nav {
    display: flex;
    gap: 25px;
    align-items: center;
    flex: 1;
    justify-content: center;
    z-index: 100000;
}

.pb-nav a {
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #0d0d0d;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}

.pb-nav a:hover {
    color: #e67e22;
}

.pb-nav-item-has-dropdown {
    position: relative;
}

.pb-nav-item-has-dropdown > a {
    display: inline-flex;
    align-items: center;
}

.pb-nav-item-has-dropdown > a::after {
    content: '';
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.pb-nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    min-width: 200px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #eee;
    padding: 8px 0;
}

.pb-nav-item-has-dropdown:hover .pb-nav-dropdown {
    display: block;
}

.pb-nav-dropdown a {
    display: block;
    padding: 12px 20px;
    font-family: 'Arimo', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: #0d0d0d;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.pb-nav-dropdown a:hover {
    color: #d4242a;
    background: #fff0f0;
}

.pb-header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-shrink: 0;
}

.pb-cart-icon {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #0d0d0d;
    position: relative;
}

.pb-enquiry-btn {
    background: linear-gradient(135deg, #d4242a 0%, #8b1f24 100%) !important;
    color: #ffffff !important;
    padding: 10px 22px !important;
    border-radius: 25px !important;
    text-decoration: none !important;
    font-family: 'Arimo', sans-serif !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    transition: all 0.3s ease !important;
    display: inline-block !important;
    box-shadow: 0 4px 12px rgba(212, 36, 42, 0.3) !important;
    border: none !important;
    white-space: nowrap;
}

.pb-enquiry-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 16px rgba(212, 36, 42, 0.4) !important;
    color: #ffffff !important;
}

.pb-cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #e67e22;
    color: #ffffff;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

.pb-hamburger {
    display: none;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    z-index: 100001;
    flex-shrink: 0;
}

.pb-hamburger span {
    width: 24px;
    height: 2px;
    background: #0d0d0d;
    transition: all 0.3s ease;
    display: block;
}

.pb-hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translateY(10px);
}

.pb-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.pb-hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translateY(-10px);
}

@media (max-width: 900px) {
    .pb-header {
        padding: 12px 16px;
    }

    .pb-header-container {
        gap: 12px;
    }

    .pb-logo a img {
        max-width: 100px;
    }

    .pb-nav {
        position: fixed;
        top: 64px;
        left: 0;
        width: 100%;
        height: calc(100vh - 64px);
        flex-direction: column;
        gap: 0;
        background: #ffffff;
        padding: 20px 0;
        display: none !important;
        overflow-y: auto;
        border-top: 1px solid #eee;
        justify-content: flex-start;
        z-index: 100001;
    }

    .pb-nav.active {
        display: flex !important;
    }

    .pb-nav a {
        padding: 16px 20px;
        border-bottom: 1px solid #f0f0f0;
    }

    .pb-nav-dropdown {
        position: static;
        display: none;
        box-shadow: none;
        background: #f7f7f7;
        margin: 0;
        transform: none;
        left: 0;
        border-radius: 0;
        border: none;
        min-width: 100%;
    }

    .pb-nav-item-has-dropdown.active .pb-nav-dropdown {
        display: block;
    }

    .pb-nav-item-has-dropdown.active > a::after {
        transform: rotate(-135deg);
    }

    .pb-header-actions {
        display: none;
    }

    .pb-hamburger {
        display: flex;
        position: relative;
        z-index: 100002;
    }
}

@media (max-width: 480px) {
    .pb-header {
        padding: 10px 12px;
    }

    .pb-logo a img {
        max-width: 90px;
    }

    .pb-hamburger {
        width: 36px;
        height: 36px;
        padding: 6px;
    }

    .pb-hamburger span {
        width: 20px;
    }
}

/* ===== SHARED FOOTER STYLES ===== */
.pb-footer {
    background: #f7f3ed;
    color: #1f1f1f;
    padding: 60px 20px 0;
}

.footer-logo-link {
    display: inline-block;
    max-width: 180px;
}

.footer-logo {
    width: 100%;
    height: auto;
    display: block;
    max-width: 180px;
}

.footer-brand-column p {
    max-width: 220px;
}

.pb-footer-container {
    display: grid;
    grid-template-columns: repeat(6, minmax(160px, 1fr));
    gap: 28px;
    max-width: 1400px;
    margin: 0 auto;
    padding-bottom: 40px;
}

@media (max-width: 900px) {
    .pb-footer-container {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
        gap: 20px;
        padding: 24px 20px 40px;
    }
}

@media (max-width: 480px) {
    .pb-footer-container {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 20px 12px 36px;
    }
}

.pb-footer-col {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.pb-footer h3 {
    font-family: 'Marcellus', serif;
    font-size: 18px;
    margin-bottom: 12px;
    color: #1f1f1f;
    letter-spacing: 0.02em;
}

.pb-footer p, .pb-footer a {
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    color: #4a4a4a;
    line-height: 1.8;
}

.pb-footer a {
    text-decoration: none;
    color: #4a4a4a;
}

.pb-footer a:hover {
    color: #c2381a;
}

.pb-footer-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.pb-footer-list li {
    margin: 0;
}

.pb-footer-list a {
    display: inline-block;
    transition: color 0.25s ease;
}

.pb-social {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.pb-social a {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    background: #1f1f1f;
    color: #f7f3ed;
    border-radius: 50%;
    transition: background 0.3s ease;
    font-size: 14px;
}

.pb-social a:hover {
    background: #c2381a;
}

.pb-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    background: #202020;
    color: #f4f2ef;
    padding: 18px 20px;
    margin: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}

.pb-footer-bottom .footer-contact {
    font-family: 'Arimo', sans-serif;
    font-size: 14px;
    color: #f4f2ef;
}

.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.footer-legal a {
    color: #f4f2ef;
    text-decoration: none;
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #c2381a;
}

.pb-footer-bottom p, .pb-footer-bottom .footer-contact {
    margin: 0;
}

@media (max-width: 1180px) {
    .pb-footer-container {
        grid-template-columns: repeat(4, minmax(160px, 1fr));
    }
}

@media (max-width: 940px) {
    .pb-footer-container {
        grid-template-columns: repeat(3, minmax(160px, 1fr));
    }
}

@media (max-width: 720px) {
    .pb-footer-container {
        grid-template-columns: repeat(2, minmax(160px, 1fr));
    }
}

@media (max-width: 540px) {
    .pb-footer-container {
        grid-template-columns: 1fr;
    }
}

/* Strong overrides to prevent footer creating horizontal scroll on small devices */
@media (max-width: 900px) {
    .pb-footer-container { grid-template-columns: repeat(2, minmax(140px, 1fr)) !important; gap: 18px !important; }
}
@media (max-width: 480px) {
    .pb-footer-container { grid-template-columns: 1fr !important; gap: 12px !important; }
}

@media (max-width: 900px) {
    body { overflow-x: hidden; }
    .pb-footer-container { box-sizing: border-box; width: 100%; }
}

@media (max-width: 900px) {
    .pb-footer { overflow-x: hidden; }
    .pb-footer-bottom { width: 100% !important; margin-left: 0 !important; box-sizing: border-box; }
}

/* ===== SHARED BREADCRUMBS ===== */
.pb-breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Arimo', sans-serif;
    font-size: 13px;
    padding: 16px 40px;
    max-width: 1400px;
    margin: 0 auto;
    color: #4a4a4a;
}

.pb-breadcrumbs a {
    color: #e67e22;
    text-decoration: none;
    transition: color 0.2s;
}

.pb-breadcrumbs a:hover {
    color: #cf6a1a;
}

.pb-breadcrumbs .sep {
    color: #999;
    font-weight: 700;
}

.pb-breadcrumbs .current {
    color: #1a1a1a;
    font-weight: 700;
}
