/* Prince Market catalogue: white canvas, green accents, open category rail. */
.o_prince_market_website_shop {
    --pm-ink: #163f2e;
    --pm-muted: #617168;
    --pm-line: #e2e9e5;
    --pm-selected: #e8f5ed;
    background: #fff;
}
.o_prince_market_website_shop .pm-header-inner { min-height: 92px; }
.o_prince_market_website_shop .pm-brand img { width: 76px; height: 76px; }
.o_prince_market_website_shop .pm-nav { margin-inline-start: 40px; margin-inline-end: auto; gap: 36px; }
.o_prince_market_website_shop .pm-nav a[href$='/shop'] { color: var(--pm-green); }
.o_prince_market_website_shop .pm-login { border-width: 1px; border-radius: 9px; font-size: 15px; padding: 11px 22px; }
.pm-shop { background: #fff; font-family: 'Segoe UI', Arial, sans-serif; }
/* Keep the header, catalogue and footer aligned as browser zoom changes. */
.o_prince_market_website_shop .pm-container { max-width: none; width: calc(100% - 96px); }
.pm-shop .pm-shop-intro {
    border: 0; border-bottom: 1px solid var(--pm-line); border-radius: 0;
    background: #fff; margin-block: 0 24px; padding: 18px 24px 22px;
    min-height: 222px; gap: 30px; overflow: visible;
}
.pm-shop-intro h1 { font-size: clamp(34px, 3.7vw, 52px); line-height: 1.09; font-weight: 750; letter-spacing: -1.8px; margin: 0 0 20px; }
.pm-shop-intro p { font-size: clamp(16px, 1.6vw, 21px); line-height: 1.5; color: #65716b; max-width: 720px; }
.pm-shop-hero-mascot { width: 180px; height: 180px; margin-inline-end: 24px; }
.pm-shop-layout { grid-template-columns: 244px minmax(0, 1fr); gap: 26px; }
.pm-shop-categories {
    border: 1px solid var(--pm-line); border-radius: 14px; background: #f7faf8;
    padding: 16px 12px; position: sticky; top: 18px; max-height: calc(100dvh - 36px);
    scrollbar-width: thin; scrollbar-color: #cadbd0 transparent; box-shadow: none;
}
.pm-shop-categories h2 { font-size: 18px; line-height: 1.3; margin: 0 0 18px; padding-inline: 0; }
#pm-category-list { gap: 3px; }
.pm-category-button {
    font-family: inherit; font-size: 14px; font-weight: 500; border-radius: 8px;
    min-height: 44px; padding: 11px 14px; background: transparent; color: #344d40;
    border: 0; position: relative; box-shadow: none;
}
.pm-category-button[aria-pressed='true'] { background: var(--pm-selected); color: var(--pm-ink); font-weight: 700; box-shadow: none; }
.pm-category-button[aria-pressed='true']::before { content: ''; position: absolute; inset-inline-start: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--pm-green); }
.pm-category-button:hover:not([aria-pressed='true']) { background: #eef4f0; }
.pm-search-row { margin: 0; }
.pm-search-row input {
    font-family: inherit; font-size: 16px; min-height: 52px; border: 1px solid #dce5df;
    border-radius: 12px; padding: 13px 18px; padding-inline-start: 52px; box-shadow: 0 2px 4px #163f2e03;
}
.pm-search-icon { inset-inline-start: 18px; color: #77837c; }
.pm-result-count { font-size: 13px; color: #69796f; font-weight: 600; margin: 8px 0 18px; }
.pm-product-grid { grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.pm-product-category-heading { border: 0; padding: 0; margin: 18px 0 0; font-size: 28px; font-weight: 750; line-height: 1.2; letter-spacing: -.5px; }
.pm-product-card {
    border: 1px solid var(--pm-line); border-radius: 12px; padding: 16px 18px 18px;
    background: #fff; box-shadow: none; min-width: 0;
}
.pm-product-picture { background: #fff; border-radius: 8px; aspect-ratio: 1.85; }
.pm-product-picture img { width: 100%; height: 100%; padding: 8px; object-fit: contain; }
.pm-product-card h2 { color: #243b30; font-size: 15px; line-height: 1.45; font-weight: 650; margin: 12px 0 8px; min-height: 1.45em; }
.pm-product-card .pm-product-price { font-size: 19px; font-weight: 700; line-height: 1.3; margin: auto 0 18px; padding-top: 4px; color: #233e2e; }
.pm-product-card .pm-price-usd { font-size: 13px; font-weight: 500; color: #67746c; margin-top: 4px; }
.pm-product-card .pm-product-add {
    border-radius: 9px; background: var(--pm-green); color: #fff; border: 0;
    min-height: 46px; font-family: inherit; font-size: 14px; font-weight: 600; padding: 11px 8px; gap: 8px;
}
.pm-product-card .pm-product-add::before {
    content: ''; width: 18px; height: 18px; background: currentColor; flex-shrink: 0;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M2 2h3l1 4h15l-2 9H8L5 4H2zm7 15h10v2H9z'/%3E%3Ccircle cx='9' cy='22' r='1.5'/%3E%3Ccircle cx='18' cy='22' r='1.5'/%3E%3C/svg%3E") center / contain no-repeat;
}
.pm-product-card .pm-product-add:hover { background: #126a36; }
.pm-variant-label { color: #637269; font-size: 0; line-height: 1; }
.pm-variant-select { font-family: inherit; border-radius: 8px; border-color: #dce5df; font-size: 13px; min-height: 42px; }
.pm-product-picture { order: 0; }
.pm-product-card h2 { order: 1; }
.pm-product-card .pm-product-price { order: 2; }
.pm-product-card .pm-variant-label { order: 3; }
.pm-product-card .pm-product-add { order: 4; }
.pm-product-placeholder { display: grid; place-items: center; background: #f4f8f5; border-radius: 50%; width: 72px; height: 72px; font-size: 30px; color: #87aa95; }
#pm-more { border-width: 1px; border-radius: 10px; font-family: inherit; font-size: 15px; }
.pm-floating-basket { background: #167340; border-radius: 15px; box-shadow: 0 8px 28px #163f2e26; padding: 12px 18px 12px 74px; min-width: 254px; }
.pm-basket-mascot { left: 2px; right: auto; bottom: 6px; width: 66px; height: 74px; }
.pm-floating-basket .pm-floating-label { font-size: 13px; font-weight: 600; }
.pm-floating-basket #pm-floating-total { font-size: 17px; }
.pm-basket-dialog { font-family: 'Segoe UI', Arial, sans-serif; border: 1px solid var(--pm-line); border-radius: 18px; padding: 28px; }
.pm-basket-heading { top: -28px; padding-block: 14px; border-bottom: 1px solid var(--pm-line); }
.pm-icon-button { border-radius: 10px; }
.pm-basket-dialog input, .pm-basket-dialog textarea { border-radius: 10px; }
.pm-basket-dialog .pm-button { border-radius: 10px; font-size: 15px; }
.pm-basket-dialog .pm-button-red { background: var(--pm-green); }
.pm-basket-dialog .pm-button-red:hover { background: #126a36; }
.pm-basket-total { padding-top: 10px; }
@media (hover: hover) and (pointer: fine) {
    .pm-product-card { transition: border-color .18s, box-shadow .18s; }
    .pm-product-card:hover { transform: none; border-color: #b8d0c2; box-shadow: 0 6px 18px #163f2e09; }
}
@media (min-width: 768px) and (max-width: 1100px) {
    .o_prince_market_website_shop .pm-container { width: calc(100% - 48px); }
    .pm-shop-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 20px; }
    .pm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pm-shop-intro h1 { font-size: 38px; }
    .pm-shop-hero-mascot { width: 158px; height: 158px; margin-inline-end: 0; }
    .pm-category-button { font-size: 13px; }
}
@media (max-width: 767px) {
    .o_prince_market_website_shop .pm-header-inner { min-height: 72px; }
    .o_prince_market_website_shop .pm-brand img { width: 58px; height: 58px; }
    .o_prince_market_website_shop .pm-container { width: calc(100% - 32px); }
    .pm-shop .pm-shop-intro { min-height: 0; margin-block: 0 18px; padding: 24px 0 22px; gap: 12px; }
    .pm-shop-intro h1 { font-size: clamp(25px, 6.4vw, 35px); line-height: 1.15; letter-spacing: -.9px; margin: 0 0 12px; }
    .pm-shop-intro p { font-size: 14px; line-height: 1.55; max-width: 420px; }
    .pm-shop-hero-mascot { display: none; }
    .pm-shop-layout { display: block; }
    .pm-shop-categories { border: 0; background: #fff; top: 0; padding: 10px 0 0; border-radius: 0; box-shadow: 0 7px 12px #163f2e06; max-height: none; overflow: visible; }
    .pm-shop-categories h2 { font-size: 15px; margin: 0 0 10px; }
    #pm-category-list { flex-direction: row; gap: 8px; padding-bottom: 10px; min-height: 54px; scrollbar-width: thin; }
    .pm-category-button { background: #fff; border: 1px solid var(--pm-line); border-radius: 9px; min-height: 44px; padding: 10px 14px; font-size: 12px; font-weight: 600; }
    .pm-category-button[aria-pressed='true'] { background: var(--pm-selected); color: var(--pm-ink); border-color: #b5d7c2; }
    .pm-category-button[aria-pressed='true']::before { display: none; }
    .pm-search-row { margin-top: 18px; }
    .pm-search-row input { min-height: 50px; font-size: 16px; border-radius: 11px; }
    .pm-result-count { margin: 8px 0 16px; font-size: 12px; }
    .pm-product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pm-product-category-heading { font-size: 23px; margin-top: 14px; }
    .pm-product-card { padding: 10px 11px 12px; border-radius: 12px; }
    .pm-product-picture { aspect-ratio: 1.12; }
    .pm-product-picture img { padding: 3px; }
    .pm-product-card h2 { font-size: 13px; line-height: 1.4; margin: 12px 0 9px; min-height: 2.8em; }
    .pm-product-card .pm-product-price { font-size: 15px; margin-bottom: 13px; }
    .pm-product-card .pm-price-usd { font-size: 12px; }
    .pm-product-card .pm-product-add { min-height: 44px; font-size: 12px; padding: 10px 3px; gap: 5px; }
    .pm-product-card .pm-product-add::before { width: 15px; height: 15px; }
    .pm-floating-basket { left: 12px; right: 12px; inset-inline-end: 12px; border-radius: 14px; min-width: 0; padding: 10px 14px 10px 66px; }
    .pm-basket-mascot { width: 58px; height: 64px; left: 3px; bottom: 9px; }
    .pm-basket-dialog { padding: 20px; border-radius: 16px; max-width: calc(100% - 20px); }
    .pm-basket-heading { top: -20px; }
}
@media (prefers-reduced-motion: reduce) { .pm-product-card { transition: none; } }

/* Use the padding around the image for taller packaging; card geometry stays fixed. */
.pm-shop .pm-product-picture { position: relative; overflow: visible; }
.pm-shop .pm-product-picture img { position: absolute; left: 0; top: -8px; width: 100%; height: calc(100% + 20px); max-height: none; padding: 0; object-fit: contain; }
@media(max-width:767px) {
  .pm-shop .pm-product-picture img { top: -4px; height: calc(100% + 8px); }
}

.pm-shop .pm-product-card h2, .pm-shop .pm-product-card .pm-product-price { text-align: center; }

@media(max-width:767px) {
  .o_prince_market_website_shop .pm-header .pm-brand img { width: 48px; height: 48px; }
  .o_prince_market_website_shop .pm-header .pm-header-inner { height: 72px; min-height: 72px; }
  .pm-shop .pm-shop-categories { top: 72px; }
}
