:root {
    --yellow: #ffc20e;
    --ink: #191b20;
    --muted: #656b75;
    --line: #e7e8eb;
    --bg: #f7f8fa;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font: 16px/1.55 system-ui,-apple-system,Segoe UI,Arial,sans-serif;
    background: #fff;
}

a {
    color: inherit;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    position: sticky;
    top: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    z-index: 10;
}

.top {
    background: var(--ink);
    color: #fff;
    text-align: center;
    padding: 7px;
    font-size: 13px;
}

.nav {
    max-width: 1180px;
    margin: auto;
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    flex-wrap: wrap;
}

.logo {
    width: min(240px,58vw);
    height: auto;
    display: block;
}

.links {
    display: flex;
    gap: 18px;
    align-items: center;
    flex-wrap: wrap;
}

.btn,button {
    background: var(--yellow);
    border: 0;
    border-radius: 7px;
    padding: 12px 17px;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    color: #111;
    display: inline-block;
}

.btn.dark {
    background: var(--ink);
    color: white;
}

.btn.ghost {
    background: #fff;
    border: 1px solid var(--line);
}

button:hover,.btn:hover {
    filter: brightness(.95);
    text-decoration: none;
}

main {
    max-width: 1180px;
    margin: auto;
    padding: 25px 20px 70px;
}

.hero {
    background: linear-gradient(110deg,#1b1d21 0%,#2b2e33 70%,#484334 100%);
    color: white;
    padding: 60px 6%;
    border-radius: 18px;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 25px;
    align-items: center;
}

.hero h1 {
    font-size: clamp(34px,5vw,62px);
    line-height: 1.06;
    letter-spacing: -.045em;
    margin: 10px 0 22px;
}

.hero p {
    max-width: 560px;
    color: #ddd;
}

.hero .badge {
    color: #ffc20e;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-weight: 800;
    font-size: 12px;
}

.hero-art {
    font-size: clamp(90px,15vw,180px);
    text-align: center;
}

.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    margin: 40px 0 15px;
}

.section-head h2 {
    margin: 0;
    font-size: 27px;
}

.categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.chip {
    padding: 9px 13px;
    border: 1px solid var(--line);
    border-radius: 30px;
    font-size: 14px;
}

.chip.active {
    background: var(--ink);
    color: white;
}

.grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 16px;
}

.product {
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.product .visual {
    height: 155px;
    background: linear-gradient(135deg,#f6f3e7,#e9ebef);
    display: grid;
    place-items: center;
    font-size: 64px;
}

.product .visual img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.product .body {
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
}

.product h3 {
    font-size: 16px;
    line-height: 1.3;
    margin: 0;
}

.muted {
    color: var(--muted);
}

.small {
    font-size: 13px;
}

.product .body form {
    margin-top: auto;
    display: flex;
    gap: 8px;
}

.product input[type=number] {
    width: 65px;
}

.product button {
    padding: 9px 12px;
    font-size: 13px;
}

.search {
    display: flex;
    gap: 8px;
    max-width: 560px;
}

.search input {
    flex: 1;
}

.panel {
    background: var(--bg);
    padding: 24px;
    border-radius: 12px;
}

.two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin: 0 0 13px;
}

input,textarea,select {
    border: 1px solid #cfd3d9;
    border-radius: 7px;
    padding: 11px;
    font: inherit;
    width: 100%;
    background: #fff;
}

input[type=number] {
    min-width: 55px;
}

.table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,td {
    text-align: left;
    padding: 12px;
    border-bottom: 1px solid var(--line);
}

th {
    background: var(--bg);
    font-size: 13px;
}

footer {
    background: var(--ink);
    color: white;
    padding: 30px 20px;
    text-align: center;
}

footer p {
    margin: 5px;
}

.notice {
    border-left: 4px solid var(--yellow);
    padding: 12px 15px;
    background: #fff8de;
    margin: 16px 0;
}

.status {
    background: #f1f8ee;
    padding: 14px;
    border-radius: 8px;
}

.adminnav {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.adminnav a {
    padding: 8px 12px;
    background: #f1f2f4;
    border-radius: 7px;
}

.stat {
    background: var(--bg);
    padding: 20px;
    border-radius: 10px;
}

.stat strong {
    font-size: 28px;
    display: block;
}

@media (max-width:850px) {
    .grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .hero {
        grid-template-columns: 1fr;
    }
    .hero-art {
        display: none;
    }
}

@media (max-width:540px) {
    .nav {
        align-items: flex-start;
    }
    .links {
        font-size: 14px;
        gap: 12px;
    }
    .grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
        gap: 9px;
    }
    .product .visual {
        height: 110px;
        font-size: 45px;
    }
    .product .body {
        padding: 10px;
    }
    .product h3 {
        font-size: 14px;
    }
    .product .body form {
        flex-wrap: wrap;
    }
    .two {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 38px 24px;
    }
    .section-head h2 {
        font-size: 22px;
    }
    main {
        padding: 16px 12px 50px;
    }
}

/* V4 dedicated-page storefront enhancements */

:root {
    --yellow: #ffc20e;
    --ink: #191b20;
    --muted: #656b75;
    --line: #e7e8eb;
    --bg: #f7f8fa;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
}

.skip-link:focus {
    left: 10px;
    z-index: 99;
    background: white;
    padding: 12px;
}

.menu-toggle {
    display: none;
}

.hero-home {
    min-height: 430px;
    background: linear-gradient(125deg,#17191d,#292b2c 68%,#3b3625);
    border-radius: 14px;
}

.hero-home h1 span {
    color: var(--yellow);
}

.hero-home .hero-art {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    font-size: 16px;
    letter-spacing: .28em;
    color: #ffc20e;
    font-weight: 900;
}

.roof-art {
    position: relative;
    width: 200px;
    height: 150px;
}

.roof-lines {
    width: 150px;
    height: 150px;
    border-top: 22px solid var(--yellow);
    border-left: 22px solid var(--yellow);
    transform: rotate(45deg) scale(.8);
    position: absolute;
    top: 12px;
    left: 27px;
}

.roof-base {
    height: 70px;
    width: 110px;
    background: #ffc20e;
    position: absolute;
    bottom: 0;
    left: 45px;
    clip-path: polygon(0 20%,50% 0,100% 20%,100% 100%,0 100%);
    opacity: .6;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-home .btn.ghost {
    background: transparent;
    color: #fff;
    border-color: #74777d;
}

.trust-strip {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    border: 1px solid var(--line);
    border-radius: 12px;
    margin: 22px 0 58px;
}

.trust-strip div {
    padding: 18px 22px;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trust-strip div+div {
    border-left: 1px solid var(--line);
}

.trust-strip span {
    font-size: 13px;
    color: var(--muted);
}

.eyebrow {
    color: #ad7d00;
    font-weight: 800;
    letter-spacing: .11em;
    font-size: 12px;
}

.text-link {
    font-weight: 750;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 14px;
}

.category-tile {
    background: #f7f8fa;
    border: 1px solid var(--line);
    border-radius: 12px;
    min-height: 130px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: transform .2s,border-color .2s;
}

.category-tile:hover {
    transform: translateY(-3px);
    border-color: #ffc20e;
    text-decoration: none;
}

.category-mark {
    color: #d29b00;
    font-size: 25px;
}

.category-tile small {
    color: var(--muted);
}

.material-icon {
    font-size: 65px;
    color: #ad870d;
}

.promo-band {
    background: #191b20;
    color: #fff;
    border-radius: 15px;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 65px 0;
}

.promo-band h2 {
    font-size: clamp(26px,3vw,40px);
    margin: 10px 0;
}

.promo-band p {
    max-width: 580px;
    color: #d0d2d6;
}

.promo-symbol {
    font-size: 55px;
    color: #ffc20e;
}

.home-info {
    align-items: center;
    margin: 55px 0;
}

.page-heading {
    padding: 55px 0 45px;
    max-width: 850px;
}

.page-heading h1 {
    font-size: clamp(36px,5vw,60px);
    line-height: 1.1;
    letter-spacing: -.04em;
    margin: 12px 0;
}

.page-heading p {
    font-size: 18px;
    color: var(--muted);
}

.shop-layout {
    display: grid;
    grid-template-columns: 225px minmax(0,1fr);
    gap: 28px;
}

.shop-sidebar {
    display: flex;
    flex-direction: column;
    align-self: start;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 15px;
}

.shop-sidebar h2 {
    font-size: 17px;
}

.shop-sidebar a {
    padding: 11px;
    border-radius: 7px;
    font-size: 14px;
}

.shop-sidebar a.selected,.shop-sidebar a:hover {
    background: #fff4cc;
}

.shop-grid {
    grid-template-columns: repeat(3,minmax(0,1fr));
}

.shop-search {
    max-width: 100%;
}

.product .visual {
    height: 175px;
}

.product .visual:hover {
    text-decoration: none;
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    margin: 30px 0 80px;
}

.detail-visual {
    background: #f2f3f4;
    min-height: 390px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    color: #7a7f86;
}

.detail-visual img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.detail-visual span {
    font-size: 110px;
    color: #bc9b3b;
}

.product-detail h1 {
    font-size: clamp(32px,4vw,50px);
    line-height: 1.15;
}

.detail-price {
    font-size: 26px;
    font-weight: 800;
}

.detail-form {
    display: flex;
    gap: 12px;
    align-items: end;
}

.detail-form input {
    max-width: 110px;
}

.breadcrumbs {
    font-size: 13px;
    color: #656b75;
}

.three-steps {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 16px;
    margin: 15px 0 45px;
}

.three-steps article {
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.three-steps article span {
    font-size: 26px;
    font-weight: 900;
    color: #bd8d00;
}

.three-steps h2 {
    font-size: 20px;
}

.footer-inner {
    max-width: 1180px;
    margin: auto;
    display: grid;
    grid-template-columns: 2fr repeat(3,1fr);
    gap: 24px;
    text-align: left;
}

.footer-inner>div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer-inner a {
    font-size: 14px;
}

.footer-logo {
    width: 170px;
    background: white;
    border-radius: 5px;
    padding: 5px;
}

.copyright {
    border-top: 1px solid #41434a;
    margin: 25px auto 0 !important;
    padding-top: 18px;
    max-width: 1180px;
    font-size: 12px;
    color: #b6b8be;
}

@media (max-width:850px) {
    .shop-layout {
        grid-template-columns: 1fr;
    }
    .shop-sidebar {
        flex-direction: row;
        overflow-x: auto;
        gap: 5px;
    }
    .shop-sidebar h2 {
        display: none;
    }
    .shop-sidebar a {
        white-space: nowrap;
    }
    .shop-grid {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .footer-inner {
        grid-template-columns: repeat(2,1fr);
    }
    .category-grid {
        grid-template-columns: repeat(2,1fr);
    }
    .promo-symbol {
        display: none;
    }
    .product-detail {
        grid-template-columns: 1fr;
    }
    .trust-strip {
        grid-template-columns: 1fr;
    }
    .trust-strip div+div {
        border-left: 0;
        border-top: 1px solid var(--line);
    }
}

@media (max-width:540px) {
    .menu-toggle {
        display: block;
        padding: 8px 12px;
        margin-left: auto;
    }
    .nav {
        align-items: center;
    }
    .links {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
    }
    .links.open {
        display: flex;
    }
    .links a {
        padding: 9px 4px;
    }
    .category-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }
    .category-tile {
        padding: 14px;
        min-height: 115px;
    }
    .hero-home {
        min-height: 0;
    }
    .hero-home h1 {
        font-size: 37px;
    }
    .promo-band {
        padding: 24px;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }
    .page-heading {
        padding: 30px 0;
    }
    .page-heading p {
        font-size: 16px;
    }
    .three-steps {
        grid-template-columns: 1fr;
    }
    .product-detail {
        gap: 15px;
    }
    .detail-visual {
        min-height: 240px;
    }
    .hero-actions .btn {
        width: 100%;
        text-align: center;
    }
}

/* V5: icon cart, mobile quick navigation, policies */

.cart-icon-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    position: relative;
    padding: 9px 12px !important;
    border: 1px solid var(--line);
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
}

.cart-count {
    background: var(--yellow);
    color: #171717;
    min-width: 20px;
    height: 20px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
}

.footer-inner {
    grid-template-columns: 2fr repeat(4,minmax(0,1fr));
}

.policy-page {
    max-width: 850px;
    margin: 0 auto 70px;
}

.policy-section {
    margin: 0 0 26px;
}

.policy-section h2 {
    font-size: 21px;
    margin: 0 0 8px;
}

.policy-section p {
    line-height: 1.8;
    color: #444b55;
}

.mobile-bottom-nav {
    display: none;
}

@media (max-width:850px) {
    .footer-inner {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
}

@media (max-width:600px) {
    body {
        padding-bottom: 74px;
    }
    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(5,1fr);
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #dedfe3;
        z-index: 40;
        padding: 7px 4px max(7px,env(safe-area-inset-bottom));
        box-shadow: 0 -3px 15px #00000012;
    }
    .mobile-bottom-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2px;
        font-size: 10px;
        font-weight: 700;
        min-height: 48px;
    }
    .mobile-bottom-nav a span {
        font-size: 22px;
        line-height: 1.1;
    }
    .mobile-bottom-nav a small {
        display: inline;
        background: var(--yellow);
        border-radius: 20px;
        padding: 0 5px;
        font-size: 10px;
    }
    .footer-inner {
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .policy-page {
        padding: 0 5px;
    }
    .cart-icon-link {
        align-self: flex-start;
    }
}

/* V5.1 - WordPress Dashicons; font files are served locally */

.cart-icon-link .dashicons {
    font-size: 23px;
    width: 23px;
    height: 23px;
    line-height: 1;
}

.mobile-bottom-nav .dashicons {
    font-size: 23px;
    width: 23px;
    height: 23px;
    line-height: 1;
}

.material-icon .dashicons {
    font-size: 65px;
    width: 65px;
    height: 65px;
    line-height: 1;
}

.category-mark .dashicons {
    font-size: 25px;
    width: 25px;
    height: 25px;
}

.promo-symbol .dashicons {
    font-size: 65px;
    width: 65px;
    height: 65px;
}

.detail-visual>.dashicons {
    font-size: 110px;
    width: 110px;
    height: 110px;
}

.menu-toggle .dashicons {
    vertical-align: middle;
}

/* V5.2: icon-only mobile navigation, accessible labels retained in HTML */

@media (max-width:600px) {
    .mobile-bottom-nav {
        padding: 8px 5px max(8px,env(safe-area-inset-bottom));
    }
    .mobile-bottom-nav a {
        position: relative;
        font-size: 0;
        min-height: 49px;
        gap: 0;
    }
    .mobile-bottom-nav a .dashicons {
        font-size: 26px !important;
        width: 26px !important;
        height: 26px !important;
        line-height: 1 !important;
        display: inline-block;
    }
    .mobile-bottom-nav a small {
        position: absolute;
        top: 0;
        left: calc(50% + 7px);
        font-size: 10px;
    }
}
