/* Doner King storefront. Loaded after the existing application bundle. */
.dk-store-page {
    --dk-charcoal: #171918;
    --dk-cream: #f7f3eb;
    --dk-gold: #edb923;
    --dk-border: #e1dbcf;
    --dk-muted: #676b62;
    background: var(--dk-cream);
    color: var(--dk-charcoal);
    font-family: "DM Sans", sans-serif;
    -webkit-font-smoothing: antialiased;
}

.dk-store-page .dk-store-main { min-width: 0; }
.dk-store-page :where(a, button, input, select, textarea, summary):focus-visible {
    outline: 3px solid #a77500;
    outline-offset: 3px;
}
.dk-store-page .btn-primary {
    min-height: 44px;
    border: 1px solid var(--dk-gold);
    border-radius: 999px;
    background: var(--dk-gold);
    color: var(--dk-charcoal);
    font-weight: 700;
    box-shadow: none;
    transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}
.dk-store-page .btn-primary:hover:not(:disabled) {
    border-color: #f6c743;
    background: #f6c743;
    color: var(--dk-charcoal);
}
.dk-store-page .btn-secondary {
    min-height: 44px;
    border: 1px solid #d4cebf;
    border-radius: 999px;
    background: #fffdf8;
    color: var(--dk-charcoal);
    font-weight: 600;
}
.dk-store-page .btn-secondary:hover:not(:disabled) {
    border-color: #b8b09d;
    background: #efeadf;
    color: var(--dk-charcoal);
}
.dk-store-page .btn-primary:disabled,
.dk-store-page .btn-secondary:disabled {
    cursor: not-allowed;
    opacity: .55;
}
.dk-store-page .card-soft {
    border-color: var(--dk-border);
    border-radius: 20px;
    background: #fffdf9;
    box-shadow: 0 5px 24px -20px rgb(23 25 24 / 28%);
}

/* Original logo, search and all existing account/cart actions. */
.dk-store-page .dk-store-header {
    border-bottom: 1px solid var(--dk-border);
    background: rgb(23 25 24 / 98%);
    box-shadow: 0 4px 24px -20px rgb(23 25 24 / 35%);
    backdrop-filter: blur(16px);
}
.dk-store-page .dk-store-header-row {
    max-width: 1280px;
    min-height: 88px;
    gap: 28px;
    padding: 16px 24px;
}
.dk-store-page .dk-store-brand {
    display: flex;
    align-items: center;
    color: var(--dk-cream);
    text-decoration: none;
}
.dk-store-page .dk-store-logo {
    display: block;
    width: auto;
    height: 52px;
    max-width: 220px;
    object-fit: contain;
}
.dk-store-page .dk-store-search {
    display: block;
    flex: 1 1 260px;
    min-width: 0;
    max-width: 500px;
    margin-inline: auto;
}
.dk-store-page .dk-store-search input[type="text"],
.dk-store-page .dk-store-search input[type="search"] {
    width: 100%;
    min-width: 0;
    height: 48px;
    border: 1px solid #4b5145;
    border-radius: 999px;
    background: #262a22;
    color: var(--dk-cream);
    font-size: 14px;
    box-shadow: none;
}
.dk-store-page .dk-store-search input::placeholder { color: #bec3b6; }
.dk-store-page .dk-store-search input:focus {
    border-color: #a77500;
    box-shadow: 0 0 0 3px rgb(237 185 35 / 16%);
}
.dk-store-page .dk-store-actions { flex-shrink: 0; gap: 6px; }
.dk-store-page .dk-store-tool {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 50%;
    color: #e6e8dc;
}
.dk-store-page .dk-store-tool:hover { background: #34392f; color: var(--dk-cream); }
.dk-store-page .dk-store-cart {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 94px;
    min-height: 46px;
    padding: 10px 17px;
    border: 1px solid var(--dk-gold);
    border-radius: 999px;
    background: var(--dk-gold);
    color: var(--dk-charcoal);
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    text-decoration: none;
}
.dk-store-page .dk-store-cart:hover { background: #f6c743; color: var(--dk-charcoal); }
.dk-store-page .dk-store-login,
.dk-store-page .dk-store-account-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 10px 14px;
    border: 1px solid #4b5145;
    border-radius: 999px;
    background: transparent;
    color: var(--dk-cream);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    list-style: none;
}
.dk-store-page .dk-store-account-toggle::-webkit-details-marker { display: none; }
.dk-store-page .dk-store-login:hover:not(:disabled),
.dk-store-page .dk-store-account-toggle:hover {
    border-color: #6c745f;
    background: #30352b;
    color: var(--dk-cream);
}
.dk-store-page .dk-store-account-toggle::after {
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    content: "";
    transform: translateY(-2px) rotate(45deg);
}
.dk-store-page .dk-store-account-menu { position: relative; }
.dk-store-page .dk-store-account-menu[open] .dk-store-account-toggle { background: #30352b; }
.dk-store-page .dk-store-account-menu[open] .dk-store-account-toggle::after { transform: translateY(1px) rotate(225deg); }
.dk-store-page .dk-store-account-panel {
    position: absolute;
    z-index: 60;
    top: calc(100% + 10px);
    right: 0;
    width: 200px;
    padding: 8px;
    border: 1px solid var(--dk-border);
    border-radius: 16px;
    background: #fffdf9;
    box-shadow: 0 16px 40px rgb(23 25 24 / 15%);
}
.dk-store-page .dk-store-account-panel a,
.dk-store-page .dk-store-account-panel button {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    border-radius: 9px;
    color: var(--dk-charcoal);
    font-size: 14px;
    font-weight: 500;
    text-align: left;
    text-decoration: none;
}
.dk-store-page .dk-store-account-panel a:hover,
.dk-store-page .dk-store-account-panel button:hover { background: #f0eadf; }
.dk-store-page .dk-store-account-panel form {
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px solid var(--dk-border);
}

/* Category links stay horizontally scrollable on smaller screens. */
.dk-store-page .dk-store-category-bar {
    border-top: 1px solid #e8e1d4;
    background: #fffcf5;
}
.dk-store-page .dk-store-categories {
    max-width: 1280px;
    gap: 6px;
    padding: 9px 24px;
    scrollbar-width: thin;
    scrollbar-color: #d5c9ad transparent;
    -webkit-overflow-scrolling: touch;
}
.dk-store-page .dk-store-category {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: #4e5449;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    transition: background-color 160ms ease, color 160ms ease;
}
.dk-store-page .dk-store-category:hover { background: #eee7d8; color: var(--dk-charcoal); }
.dk-store-page .dk-store-category.is-active {
    border-color: var(--dk-charcoal);
    background: var(--dk-charcoal);
    color: var(--dk-cream);
}

/* A full-width menu, without a filters column. */
.dk-store-page .dk-catalog {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding: 48px 24px 24px;
}
.dk-store-page .dk-catalog-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 28px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--dk-border);
}
.dk-store-page .dk-catalog-eyebrow {
    margin-bottom: 12px;
    color: #89650c;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .16em;
    line-height: 1.4;
    text-transform: uppercase;
}
.dk-store-page .dk-catalog-title {
    max-width: 900px;
    margin: 0;
    color: var(--dk-charcoal);
    font-family: "Outfit", sans-serif;
    font-size: clamp(32px, 4.2vw, 54px);
    font-weight: 600;
    letter-spacing: -.035em;
    line-height: 1.1;
    overflow-wrap: break-word;
}
.dk-store-page .dk-catalog-description {
    margin-top: 14px;
    color: var(--dk-muted);
    font-size: 15px;
    line-height: 1.7;
    overflow-wrap: anywhere;
}
.dk-store-page .dk-catalog-description a {
    margin-left: 10px;
    color: var(--dk-charcoal);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.dk-store-page .dk-catalog-count {
    flex-shrink: 0;
    margin: 0 0 3px;
    padding: 8px 14px;
    border: 1px solid var(--dk-border);
    border-radius: 999px;
    background: #fffdf9;
    color: #596052;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
}
.dk-store-page .dk-product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}
.dk-store-page .dk-product-grid > .card-soft {
    min-width: 0;
    border: 1px solid var(--dk-border);
    border-radius: 22px;
    background: #fffdf9;
    overflow: hidden;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.dk-store-page .dk-product-grid > .card-soft > a:first-child {
    display: block;
    aspect-ratio: 4 / 3;
    max-height: 208px;
    border-bottom: 1px solid #e9e3d7;
    background: #eee9df;
}
.dk-store-page .dk-product-grid > .card-soft > a:first-child > img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    padding: 14px;
    object-fit: contain;
}
.dk-store-page .dk-product-grid > .card-soft > .p-4 { padding: 20px 22px 22px; }
.dk-store-page .dk-product-grid h3 {
    display: block;
    min-height: 2.6em;
    margin-top: 0;
    color: var(--dk-charcoal);
    font-family: "Outfit", sans-serif;
    font-size: 20px;
    font-weight: 500;
    letter-spacing: -.015em;
    line-height: 1.3;
    overflow: visible;
    overflow-wrap: break-word;
    -webkit-line-clamp: unset;
}
.dk-store-page .dk-product-grid h3 a { color: inherit; text-decoration: none; }
.dk-store-page .dk-product-grid h3 a:hover { color: #89650c; }
.dk-store-page .dk-product-grid .price {
    color: var(--dk-charcoal);
    font-family: "Outfit", sans-serif;
    font-size: 25px;
    font-weight: 600;
    letter-spacing: -.025em;
    line-height: 1.3;
}
.dk-store-page .dk-product-grid .btn-primary {
    min-height: 46px;
    padding: 12px 16px;
    font-size: 14px;
    line-height: 1.3;
}
.dk-store-page .dk-catalog-empty {
    grid-column: 1 / -1;
    padding: 60px 24px;
    border: 1px dashed #d0c4a7;
    border-radius: 22px;
    background: #fffcf5;
    text-align: center;
}
.dk-store-page .dk-catalog-empty h2 {
    font-family: "Outfit", sans-serif;
    font-size: 24px;
    font-weight: 500;
    line-height: 1.3;
}
.dk-store-page .dk-catalog-empty p { margin: 12px 0 24px; color: var(--dk-muted); line-height: 1.6; }
.dk-store-page .dk-catalog-pagination { margin-top: 36px; }
.dk-store-page .dk-catalog-pagination nav a { border-color: var(--dk-border); color: var(--dk-charcoal); }
.dk-store-page .dk-catalog-pagination [aria-current="page"] > span {
    border-color: var(--dk-charcoal);
    background: var(--dk-charcoal);
    color: var(--dk-cream);
}

/* Existing footer, legal links and newsletter remain functional. */
.dk-store-page .dk-store-footer {
    margin-top: 64px;
    border-top: 3px solid var(--dk-gold);
    background: var(--dk-charcoal);
    color: #dadbd2;
}
.dk-store-page .dk-store-footer-inner { max-width: 1280px; padding: 48px 24px 36px; }
.dk-store-page .dk-store-footer-grid { gap: 36px; }
.dk-store-page .dk-store-footer h3 { font-size: 12px; letter-spacing: .12em; }
.dk-store-page .dk-store-footer :where(.text-zinc-400, .text-zinc-500) { color: #aeb3a6; }
.dk-store-page .dk-store-footer a { text-underline-offset: 4px; }
.dk-store-page .dk-store-footer a:hover { color: var(--dk-gold); }
.dk-store-page .dk-store-footer li a { display: inline-block; padding-block: 3px; }
.dk-store-page .dk-store-newsletter { margin-top: 36px; padding-top: 28px; border-color: #373b32; }
.dk-store-page .dk-store-newsletter input[type="email"] {
    min-width: 0;
    min-height: 46px;
    padding: 11px 16px;
    border: 1px solid #54594d;
    border-radius: 999px;
    background: #262a22;
    color: var(--dk-cream);
    font-size: 14px;
    box-shadow: none;
}
.dk-store-page .dk-store-newsletter input::placeholder { color: #b4b7ab; }
.dk-store-page .dk-store-newsletter .btn-primary { padding-inline: 18px; font-size: 13px; }
.dk-store-page .dk-store-footer-bottom { padding: 20px 16px; border-color: #373b32; color: #aeb3a6; }

@media (hover: hover) and (pointer: fine) {
    .dk-store-page .dk-product-grid > .card-soft:hover {
        border-color: #cdbd96;
        box-shadow: 0 14px 30px -20px rgb(23 25 24 / 35%);
        transform: translateY(-3px);
    }
}

@media (max-width: 1023px) {
    .dk-store-page .dk-store-header-row { flex-wrap: wrap; gap: 14px 20px; }
    .dk-store-page .dk-store-logo { height: 46px; max-width: 194px; }
    .dk-store-page .dk-store-search { order: 3; flex-basis: 100%; max-width: none; }
    .dk-store-page .dk-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .dk-store-page .dk-store-footer-grid { gap: 28px; }
}

@media (max-width: 639px) {
    .dk-store-page .dk-store-header-row { min-height: 0; gap: 12px 10px; padding: 12px 16px; }
    .dk-store-page .dk-store-logo { height: 36px; max-width: 152px; }
    .dk-store-page .dk-store-actions { gap: 2px; }
    .dk-store-page .dk-store-tool { width: 44px; height: 44px; }
    .dk-store-page .dk-store-cart { min-width: 44px; min-height: 44px; padding: 10px; }
    .dk-store-page .dk-store-cart-label { display: none; }
    .dk-store-page .dk-store-login,
    .dk-store-page .dk-store-account-toggle { min-width: 44px; padding: 10px 9px; font-size: 13px; }
    .dk-store-page .dk-store-account-toggle::after { display: none; }
    .dk-store-page .dk-store-search input[type="text"],
    .dk-store-page .dk-store-search input[type="search"] { height: 44px; font-size: 16px; }
    .dk-store-page .dk-store-categories { padding: 7px 16px; gap: 4px; }
    .dk-store-page .dk-store-category { min-height: 40px; padding: 9px 14px; font-size: 13px; }
    .dk-store-page .dk-catalog { padding: 32px 16px 16px; }
    .dk-store-page .dk-catalog-heading { align-items: flex-start; gap: 16px; margin-bottom: 20px; padding-bottom: 24px; }
    .dk-store-page .dk-catalog-eyebrow { margin-bottom: 10px; font-size: 10px; }
    .dk-store-page .dk-catalog-title { font-size: 34px; }
    .dk-store-page .dk-catalog-description { font-size: 14px; }
    .dk-store-page .dk-catalog-count { margin-top: 25px; padding: 7px 10px; font-size: 11px; }
    .dk-store-page .dk-product-grid { gap: 16px; }
    .dk-store-page .dk-product-grid > .card-soft > .p-4 { padding: 18px; }
    .dk-store-page .dk-product-grid h3 { font-size: 18px; }
    .dk-store-page .dk-product-grid .price { font-size: 23px; }
    .dk-store-page .dk-store-footer { margin-top: 40px; }
    .dk-store-page .dk-store-footer-inner { padding: 36px 20px 28px; }
}

@media (max-width: 479px) {
    .dk-store-page .dk-store-logo { height: 33px; max-width: 138px; }
    .dk-store-page .dk-catalog-heading { flex-wrap: wrap; gap: 14px; }
    .dk-store-page .dk-catalog-count { margin-top: 0; }
    .dk-store-page .dk-product-grid { grid-template-columns: minmax(0, 1fr); }
    .dk-store-page .dk-product-grid > .card-soft > .p-4 { padding: 20px; }
    .dk-store-page .dk-product-grid h3 { min-height: 0; font-size: 21px; }
    .dk-store-page .dk-product-grid .btn-primary { min-height: 48px; }
}

@media (max-width: 359px) {
    .dk-store-page .dk-store-header-row { gap: 10px 8px; padding-inline: 12px; }
    .dk-store-page .dk-store-logo { height: 26px; max-width: 108px; }
    .dk-store-page .dk-store-newsletter form { flex-wrap: wrap; }
    .dk-store-page .dk-store-newsletter input[type="email"] { flex-basis: 100%; }
    .dk-store-page .dk-store-newsletter .btn-primary { width: 100%; }
}

@media (max-height: 600px) and (max-width: 1023px) {
    .dk-store-page .dk-store-header { position: relative; }
}

@media (prefers-reduced-motion: reduce) {
    .dk-store-page :where(.btn-primary, .dk-store-category, .dk-product-grid > .card-soft, .dk-product-grid img) { transition: none; }
    .dk-store-page .dk-product-grid > .card-soft:hover,
    .dk-store-page .dk-product-grid > .card-soft:hover img { transform: none; }
}
