:root {
  --green: #008f49;
  --pink: #ff0b69;
  --soft: #f4f6f5;
  --line: #d8d8d8;
  --text: #111;
  --muted: #777;
  --shadow: 0 20px 60px rgb(0 0 0 / 18%);
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; overflow: hidden; }

button,
input { font-family: inherit; }
.topbar { height: 62px; display: flex; align-items: center; gap: 14px; padding: 0 28px; border-bottom: 1px solid #eee; background: #fff; position: fixed; top: 0; left: 0; right: 0; z-index: 20; }
.logoBtn { border: 0; background: transparent; padding: 0; cursor: pointer; height: 48px; width: 108px; display: flex; align-items: center; }
.logoBtn img { max-width: 100%; max-height: 42px; object-fit: contain; }

.iconBtn,
.pageNav button,
.cartBtn { border: 0; background: #fff; font-size: 28px; line-height: 1; cursor: pointer; height: 44px; min-width: 38px; display: grid; place-items: center; color: #050505; }

.iconBtn:hover,
.pageNav button:hover,
.cartBtn:hover { background: #f6f6f6; border-radius: 8px; }

.shareBtnIcon { font-size: 0; }
.shareSvg { width: 31px; height: 31px; display: block; }
.shareSvg circle { fill: #fff; stroke: #050505; stroke-width: 2.2; }
.shareSvg path { fill: none; stroke: #050505; stroke-width: 2.4; stroke-linecap: round; }
.shareBtnIcon:hover .shareSvg circle { fill: #f6f6f6; }
.searchWrap { margin-left: auto; margin-right: 18px; width: min(390px, 28vw); height: 38px; border: 1.6px solid #111; border-radius: 10px; display: flex; align-items: center; padding: 0 12px; gap: 8px; background: #fff; }
.searchWrap span { font-size: 25px; line-height: 1; }
.searchWrap input { border: 0; outline: 0; width: 100%; font-size: 16px; background: transparent; }
.pageNav { display: flex; align-items: center; gap: 10px; font-size: 22px; white-space: nowrap; }
.pageNav input { width: 72px; border: 1.6px solid #111; border-radius: 14px; height: 42px; text-align: center; font-size: 22px; outline: 0; }
.cartBtn { font-size: 29px; margin-left: auto; position: relative; }
.cartBtn span { position: absolute; top: 0; right: -4px; background: #000; color: #fff; border-radius: 50%; min-width: 22px; height: 22px; font-size: 13px; font-weight: 700; display: grid; place-items: center; }
.layout { display: flex; height: 100vh; padding-top: 62px; }
.sidebar { width: 306px; min-width: 306px; border-right: 1px solid #e1e1e1; overflow-y: auto; padding-top: 8px; background: #fff; transition: 0.25s; }
.sidebar.hidden { transform: translateX(-306px); margin-left: -306px; }
.menuItem { height: 64px; background: #f2f6f5; margin: 0 14px 11px 0; display: flex; align-items: center; padding-left: 18px; font-weight: 700; text-transform: uppercase; border-left: 8px solid #111; cursor: pointer; transition: 0.15s; }
.menuItem:hover { background: #e9efed; transform: translateX(2px); }
.menuItem:nth-child(2) { border-left-color: #fa6b2d; }
.menuItem:nth-child(3) { border-left-color: #009e58; }
.menuItem:nth-child(4) { border-left-color: #ef78b4; }
.menuItem:nth-child(5) { border-left-color: #ffa240; }
.menuItem:nth-child(6) { border-left-color: #c7a1cf; }
.menuItem:nth-child(7) { border-left-color: #46b4c8; }
.menuItem:nth-child(8) { border-left-color: #959595; }
.menuItem:nth-child(9) { border-left-color: #ff3030; }
.menuItem:nth-child(10) { border-left-color: #df8d9b; }
.menuItem:nth-child(11) { border-left-color: #99612f; }
.viewerArea { flex: 1; position: relative; background: #fff; overflow: hidden; display: flex; align-items: center; justify-content: center; padding: 32px 74px; }
.viewerTools { position: absolute; right: 22px; top: 18px; z-index: 6; }
.howBtn { border: 0; background: #fff; color: #222; font-weight: 800; border-radius: 8px; padding: 12px 16px; box-shadow: 0 3px 12px rgb(0 0 0 / 18%); cursor: pointer; text-transform: uppercase; }
.howBtn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px rgb(0 0 0 / 22%); }
.canvasWrap { position: relative; display: inline-block; max-width: 100%; max-height: 100%; box-shadow: 0 4px 18px rgb(0 0 0 / 16%); background: #f7f7f7; }
#pdfCanvas { display: block; max-width: 100%; max-height: calc(100vh - 125px); height: auto; width: auto; }
.loading { position: absolute; inset: 0; display: grid; place-items: center; background: #fff; font-weight: 700; z-index: 3; }
.hotspotLayer { position: absolute; left: 0; top: 0; width: 0; height: 0; pointer-events: none; }
.hotspot { position: absolute; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--pink); background: #fff; color: var(--pink); display: grid; place-items: center; box-shadow: 0 6px 18px rgb(0 0 0 / 25%); font-size: 28px; pointer-events: auto; cursor: pointer; transition: 0.15s; }
.hotspot:hover { transform: translate(-50%, -50%) scale(1.08); background: var(--pink); color: #fff; }
.sideArrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; border: 1.5px solid #111; background: #f5f5f5; border-radius: 50%; width: 46px; height: 46px; font-size: 38px; line-height: 1; cursor: pointer; }
.sideArrow.left { left: 20px; }
.sideArrow.right { right: 20px; }
.sideArrow:hover { background: #fff; }
.panel { position: fixed; top: 62px; left: 0; right: 0; bottom: 0; background: #fff; z-index: 30; display: none; padding: 24px 32px; overflow: auto; }
.panel.open { display: block; }
.panelHeader { display: flex; align-items: flex-start; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 16px; margin-bottom: 16px; gap: 18px; }
.panelHeader h2 { margin: 0 0 28px; font-size: 28px; font-weight: 500; }
.panelHeader p { font-size: 22px; margin: 0; }
.closeBtn { border: 0; background: transparent; font-size: 44px; line-height: 1; cursor: pointer; color: #000; }
.panelSearch input { width: min(520px, 100%); height: 42px; border: 1px solid var(--line); border-radius: 10px; padding: 0 14px; font-size: 16px; margin-bottom: 16px; }
.cardsGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 32px 46px; padding-right: 20px; }
.productCard { border: 3px solid #ddd; border-radius: 12px; background: #fff; min-height: 310px; padding: 18px 14px; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: flex-end; gap: 8px; transition: 0.16s; }
.productCard:hover { border-color: #aaa; transform: translateY(-2px); box-shadow: 0 8px 22px rgb(0 0 0 / 9%); }
.productCard img { width: 120px; height: 120px; object-fit: contain; margin: auto; }
.productCard h3 { font-size: 20px; line-height: 1.15; margin: 8px 0 0; min-height: 46px; }
.price { font-size: 20px; }
.sku { color: #aaa; font-size: 14px; }
.addBtn { border: 1.4px solid #111; border-radius: 5px; background: #fff; font-size: 20px; line-height: 1.1; padding: 8px 16px; min-height: 56px; width: 100%; cursor: pointer; }
.addBtn:hover { background: #111; color: #fff; }
.pagesTitle { align-items: center; justify-content: flex-start; }
.pagesTitle h2 { margin: 0 12px 0 0; }
.tabs { display: flex; gap: 18px; }
.tabs button { border: 1.3px solid #111; background: #fff; border-radius: 10px; padding: 9px 16px; font-size: 18px; cursor: pointer; }
.tabs button.active { background: #000; color: #fff; }
.pagesContent { display: flex; }
.miniMenu { width: 250px; min-width: 250px; border-right: 1px solid #ddd; max-height: calc(100vh - 160px); overflow: auto; padding-right: 14px; }
.pagesGrid { flex: 1; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 38px 30px; align-items: start; padding: 0 32px 60px; }
.pageThumb { background: #cfcfcf; padding: 12px 12px 0; position: relative; cursor: pointer; text-align: center; }
.pageThumb img { width: 100%; display: block; }
.pageThumb small { font-size: 18px; display: block; padding: 8px; }
.mark { position: absolute; right: 10px; top: 10px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid #999; background: #fff; font-size: 27px; display: grid; place-items: center; cursor: pointer; }
.mark.active { color: #ffb800; }
.drawer { position: fixed; top: 62px; right: 0; bottom: 0; width: min(420px, 96vw); background: #fff; z-index: 35; box-shadow: var(--shadow); transform: translateX(110%); transition: 0.25s; padding: 22px; display: flex; flex-direction: column; }
.drawer.open { transform: translateX(0); }
.drawerHeader { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid #ddd; margin-bottom: 14px; }
.drawerHeader h2 { font-size: 28px; }
.cartItems { overflow: auto; flex: 1; }
.cartLine { display: grid; grid-template-columns: 58px 1fr auto; gap: 12px; border-bottom: 1px solid #eee; padding: 12px 0; align-items: center; }
.cartLine img { width: 58px; height: 58px; object-fit: contain; background: #f6f6f6; }
.cartLine h4 { margin: 0 0 4px; font-size: 15px; }
.cartLine p { margin: 0; color: #555; font-size: 13px; }
.qty { display: flex; align-items: center; gap: 6px; }
.qty button { border: 1px solid #ccc; background: #fff; border-radius: 4px; width: 26px; height: 26px; cursor: pointer; }
.cartTotal { border-top: 1px solid #ddd; padding: 18px 0; display: flex; justify-content: space-between; font-size: 22px; }
.checkoutBtn { background: #009e58; color: #fff; border: 0; border-radius: 10px; padding: 15px 18px; font-weight: 800; font-size: 18px; cursor: pointer; }
.checkoutBtn:hover { filter: brightness(0.95); }
.hint { display: block; margin-top: 10px; color: #777; line-height: 1.4; }
.modalBackdrop { position: fixed; inset: 0; background: rgb(0 0 0 / 55%); z-index: 50; display: none; align-items: center; justify-content: center; padding: 22px; }
.modalBackdrop.open { display: flex; }
.howCard { background: #fff; width: min(720px, 96vw); border-radius: 16px; padding: 40px 56px; position: relative; text-align: center; box-shadow: var(--shadow); }
.howCard .closeBtn { position: absolute; right: 16px; top: 10px; }
.howCard h1 { font-size: 46px; line-height: 1.1; margin: 0 0 8px; }
.howCard h3 { font-size: 28px; margin: 0 0 30px; }
.step { background: #e9e9e9; border-radius: 6px; display: grid; grid-template-columns: 110px 1fr; gap: 20px; align-items: center; text-align: left; padding: 22px 28px; }
.step p { font-size: 22px; margin: 0; }
.step strong { color: #008f49; }
.stepIcon { font-size: 54px; position: relative; text-align: center; color: var(--pink); }
.stepIcon b { position: absolute; right: 10px; bottom: -2px; background: #009e58; color: #fff; border-radius: 50%; font-size: 24px; min-width: 34px; height: 34px; display: inline-grid; place-items: center; }
.arrowDown { font-size: 34px; margin: 4px; color: #222; }
.toast { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(140%); background: #111; color: #fff; padding: 13px 18px; border-radius: 10px; z-index: 80; transition: 0.25s; box-shadow: var(--shadow); }
.toast.show { transform: translateX(-50%) translateY(0); }
.orderBody { overflow: auto; background: #f8f8f8; }
.orderPage { max-width: 860px; margin: 80px auto; padding: 46px; background: #fff; }
.orderLogo { width: 210px; object-fit: contain; }
.orderPage h1 { font-size: 32px; }
.orderBox { margin-top: 25px; }
.orderBox h2 { background: #c9c9c9; color: #555; padding: 16px 22px; font-weight: 500; }
.orderItem { display: grid; grid-template-columns: 110px 1fr; gap: 24px; align-items: center; padding: 24px 0; border-bottom: 1px solid #ddd; }
.orderItem img { width: 100px; height: 100px; object-fit: contain; }
.orderTotals { margin: 35px 0 25px; padding-left: 24px; }
.orderTotals p { font-size: 20px; font-weight: 700; color: #555; }
.orderTotals strong { font-size: 22px; display: block; margin-bottom: 28px; }

@media print {
  .checkoutBtn { display: none; }
  .orderPage { margin: 0; max-width: none; box-shadow: none; }
  .orderBody { background: #fff; }
}

@media (max-width: 900px) {
  .topbar { gap: 6px; padding: 0 8px; }
  .searchWrap { order: 2; position: absolute; left: 8px; right: 8px; top: 62px; width: auto; max-width: none; margin: 0; background: #fff; }
  .layout { padding-top: 112px; }
  .sidebar { position: fixed; top: 112px; bottom: 0; z-index: 15; box-shadow: var(--shadow); }
  .viewerArea { padding: 20px 12px; }
  .sideArrow { display: none; }
  .pageNav span { font-size: 16px; }
  .pageNav input { width: 52px; }
  .panel { top: 112px; padding: 18px; }
  .cardsGrid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 18px; }
  .productCard h3 { font-size: 16px; }
  .pagesContent { display: block; }
  .miniMenu { display: none; }
  .howCard { padding: 36px 20px; }
  .howCard h1 { font-size: 34px; }
  .step { grid-template-columns: 72px 1fr; padding: 15px; }
  .step p { font-size: 17px; }
  .stepIcon { font-size: 40px; }
  .viewerTools { right: 12px; top: 10px; }
  .howBtn { font-size: 12px; padding: 8px; }
  .iconBtn { font-size: 23px; min-width: 32px; }
  .logoBtn { width: 84px; }
  .cartBtn { margin-left: 0; }
}
.adminMini { font-size: 12px; font-weight: 800; color: #008f49; text-decoration: none; border: 1px solid #d8e7df; border-radius: 999px; padding: 7px 10px; background: #f4fbf7; }
.adminMini:hover { background: #008f49; color: #fff; }

.groupHotspot {
  width: 58px;
  height: 58px;
  z-index: 4;
}
.groupHotspot .cartSymbol { font-size: 30px; line-height: 1; }

.groupHotspot .groupHint {
  position: absolute;
  left: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: rgb(55 55 55 / 92%);
  color: #fff;
  border-radius: 5px;
  padding: 9px 14px;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
  pointer-events: none;
}

.groupHotspot .groupHint::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 50%;
  transform: translateY(-50%);
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-right: 7px solid rgb(55 55 55 / 92%);
}
.groupHotspot:hover .groupHint { background: #111; }
.groupPanel .panelHeader h2 { margin-bottom: 10px; }
.groupPanel .panelHeader p { font-size: 18px; color: #555; }

@media (max-width: 900px) {
  .groupHotspot .groupHint { font-size: 12px; padding: 7px 9px; left: 48px; max-width: 160px; white-space: normal; line-height: 1.2; }
}

.videoHotspot { background: #ef1c1c !important; color: #fff !important; border-color: #fff !important; font-size: 24px; }
.videoHotspot:hover { background: #c90000 !important; }
.videoCard { width: min(760px, 92vw); background: #fff; border-radius: 22px; padding: 22px; box-shadow: 0 20px 70px rgb(0 0 0 / 28%); position: relative; }
.videoCard h2 { margin: 0 50px 16px 0; }
.videoEmbed { aspect-ratio: 16/9; background: #111; border-radius: 16px; overflow: hidden; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.videoEmbed iframe { width: 100%; height: 100%; border: 0; }
.videoCardBtn { border: 1px solid #e62117; color: #e62117; background: #fff; border-radius: 12px; padding: 8px 10px; margin: 6px auto 8px; display: block; font-weight: 800; cursor: pointer; }
.videoCardBtn:hover { background: #fff1f1; }
.productCard .videoCardBtn + .addBtn { margin-top: 4px; }

.productDetailCard { width: min(980px, 96vw); max-height: 92vh; overflow: auto; background: #fff; border-radius: 10px; box-shadow: var(--shadow); position: relative; padding: 30px; }
.productDetailCard > .closeBtn { position: absolute; right: 18px; top: 12px; z-index: 2; }
.productDetailGrid { display: grid; grid-template-columns: minmax(260px, 420px) 1fr; gap: 34px; align-items: start; }
.productDetailImageBox { border: 2px solid #eee; border-radius: 10px; min-height: 360px; display: grid; place-items: center; background: #fff; padding: 24px; }
.productDetailImageBox img { max-width: 100%; max-height: 330px; object-fit: contain; }
.productDetailInfo h2 { font-size: 24px; line-height: 1.2; margin: 8px 46px 18px 0; font-weight: 700; }
.productSkuLine { font-size: 15px; color: #777; border-bottom: 1px solid #ddd; padding-bottom: 14px; margin: 0 0 12px; }
.productSkuLine strong { color: #555; }
.productModalPrice { font-size: 20px; font-weight: 800; margin: 12px 0 18px; }
.productVariantBox { border-top: 1px solid #eee; border-bottom: 1px solid #eee; padding: 12px 0; margin-bottom: 16px; }
.productVariantBox label { display: block; margin-bottom: 8px; color: #555; font-size: 14px; }
.productVariantOptions { display: flex; flex-wrap: wrap; gap: 8px; }
.variantOption { border: 1px solid #ccc; border-radius: 4px; background: #fff; padding: 7px 12px; cursor: pointer; font-weight: 700; }
.variantOption.active { background: #111; color: #fff; border-color: #111; }
.modalQtyRow { display: flex; align-items: center; gap: 8px; margin: 18px 0; }
.modalQtyRow button:not(.addModalBtn) { width: 38px; height: 38px; border: 1px solid #aaa; background: #fff; border-radius: 4px; font-size: 18px; cursor: pointer; }
.modalQtyRow input { width: 58px; height: 38px; border: 1px solid #aaa; text-align: center; font-size: 16px; border-radius: 4px; }
.addModalBtn { height: 38px; background: #050505; color: #fff; border: 0; border-radius: 4px; padding: 0 18px; font-weight: 800; cursor: pointer; }
.addModalBtn:hover { filter: brightness(0.9); }
.productDescriptionBox { border-top: 1px solid #ddd; margin-top: 26px; padding-top: 16px; }
.productDescriptionBox h3 { margin: 0 0 10px; }
.productDescriptionBox p { color: #555; line-height: 1.45; }
.productVideoBox { margin: 10px 0; }
.productVideoBox .videoCardBtn { margin: 0; display: inline-block; }

@media (max-width: 760px) {
  .productDetailCard { padding: 18px; }
  .productDetailGrid { grid-template-columns: 1fr; }
  .productDetailImageBox { min-height: 240px; }
  .productDetailImageBox img { max-height: 220px; }
  .modalQtyRow { flex-wrap: wrap; }
  .addModalBtn { width: 100%; height: 44px; }
  .productDetailInfo h2 { font-size: 20px; }
}

.sidebarHeader { display: none; }
.sidebarBackdrop { display: none; }
.categoryFloatingBtn { display: none; }

@media (max-width: 900px) {
  .sidebar {
    position: fixed;
    top: 112px;
    bottom: 0;
    left: 0;
    width: min(84vw, 320px);
    min-width: 0;
    z-index: 42;
    transform: translateX(-110%);
    margin-left: 0;
    box-shadow: 0 18px 45px rgb(0 0 0 / 24%);
    border-right: 0;
    padding: 0 0 14px;
    transition: transform 0.22s ease;
  }
  .sidebar.open { transform: translateX(0); margin-left: 0; }
  .sidebar.hidden { transform: translateX(-110%); margin-left: 0; }

  .sidebarHeader {
    position: sticky;
    top: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 54px;
    padding: 0 14px 0 18px;
    background: #fff;
    border-bottom: 1px solid #e8e8e8;
    font-size: 18px;
  }

  .sidebarHeader button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: #f2f6f5;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  .sidebarBackdrop.open {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    top: 112px;
    bottom: 0;
    background: rgb(0 0 0 / 26%);
    z-index: 41;
  }
  .menuItem { height: 56px; margin: 8px 10px 9px 0; padding-left: 14px; font-size: 13px; letter-spacing: 0.1px; }

  .categoryFloatingBtn {
    display: block;
    position: fixed;
    left: 12px;
    bottom: 12px;
    z-index: 32;
    border: 0;
    border-radius: 999px;
    background: #111;
    color: #fff;
    padding: 12px 15px;
    font-weight: 900;
    box-shadow: 0 10px 28px rgb(0 0 0 / 25%);
    cursor: pointer;
  }
  body.sidebarOpen .categoryFloatingBtn { display: none; }
}

.searchPanel {
  position: fixed;
  top: 62px;
  left: 306px;
  right: 16px;
  max-height: calc(100vh - 86px);
  overflow: auto;
  background: #fff;
  z-index: 34;
  box-shadow: 0 16px 45px rgb(0 0 0 / 22%);
  border: 1px solid #eee;
  border-radius: 0 0 8px 8px;
  padding: 22px;
  display: none;
}
.searchPanel.open { display: block; }
.sidebar.hidden ~ .viewerArea .searchPanel { left: 16px; }
.searchPanelHeader { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }
.searchPanelHeader h2 { margin: 0 0 4px; font-size: 24px; }
.searchPanelHeader p { margin: 0; color: #666; }
.searchSuggest { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 22px; }
.searchSuggest button { border: 1px solid #111; background: #fff; border-radius: 999px; padding: 7px 12px; cursor: pointer; font-weight: 700; }
.searchSuggest button:hover { background: #111; color: #fff; }
.searchSection { border-top: 1px solid #ccc; padding: 18px 0; }
.searchSectionTitle { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.searchSectionTitle h3 { margin: 0; font-size: 20px; }
.searchSectionTitle button { border: 0; background: #fff; font-size: 16px; font-weight: 800; cursor: pointer; }
.searchProductResults { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; }
.searchResultCard { border: 1px solid #ddd; border-radius: 12px; padding: 12px; display: grid; grid-template-columns: 72px 1fr; gap: 12px; align-items: center; background: #fff; }
.searchResultCard img { width: 72px; height: 72px; object-fit: contain; background: #fafafa; border-radius: 8px; }
.searchResultCard h4 { margin: 0 0 5px; font-size: 15px; line-height: 1.2; }
.searchResultCard p { margin: 2px 0; color: #555; font-size: 13px; }
.searchResultCard strong { color: #008f49; }
.searchActions { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.searchActions button { border: 1px solid #111; border-radius: 6px; background: #fff; padding: 6px 8px; cursor: pointer; font-weight: 700; }
.searchActions button:hover { background: #111; color: #fff; }
.searchPageResults { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 12px; }
.searchPageCard { border: 1px solid #ddd; border-radius: 10px; padding: 10px; display: grid; grid-template-columns: 72px 1fr; gap: 10px; align-items: center; cursor: pointer; }
.searchPageCard:hover { background: #f5f5f5; }
.searchPageCard img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.searchPageCard h4 { margin: 0; font-size: 16px; }
.searchPageCard p { margin: 4px 0 0; color: #666; font-size: 13px; }

.aiFloatingBtn { position: fixed; right: 22px; bottom: 22px; z-index: 33; background: #009e58; color: #fff; border: 0; border-radius: 999px; padding: 14px 18px; font-weight: 900; font-size: 16px; box-shadow: 0 10px 28px rgb(0 0 0 / 25%); cursor: pointer; }
.aiFloatingBtn:hover { filter: brightness(0.94); }
.aiCard { width: min(980px, 96vw); max-height: 92vh; overflow: auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow); position: relative; padding: 26px; }
.aiHeader h2 { margin: 0; font-size: 28px; }
.aiHeader p { margin: 7px 0 0; color: #666; line-height: 1.35; }
.aiSuggestions { display: flex; gap: 8px; flex-wrap: wrap; margin: 18px 0; }
.aiSuggestions button { border: 1px solid #009e58; color: #008f49; background: #fff; border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer; }
.aiSuggestions button:hover { background: #009e58; color: #fff; }
.aiAskRow { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-bottom: 16px; }
.aiAskRow input { border: 1px solid #ccc; border-radius: 12px; padding: 13px 14px; font-size: 16px; }
.aiAskRow button { border: 0; background: #111; color: #fff; border-radius: 12px; padding: 0 18px; font-weight: 900; cursor: pointer; }
.aiAnswer { border: 1px solid #e6e6e6; background: #fafafa; border-radius: 16px; padding: 16px; line-height: 1.45; }
.aiAnswerIntro { margin: 0 0 14px; color: #333; }
.aiResultGrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(245px, 1fr)); gap: 14px; }
.aiProductCard { background: #fff; border: 1px solid #ddd; border-radius: 16px; padding: 14px; }
.aiProductCard img { width: 100%; height: 130px; object-fit: contain; background: #fff; }
.aiProductCard h4 { margin: 8px 0 6px; font-size: 17px; line-height: 1.2; }
.aiProductCard .meta { color: #666; font-size: 13px; margin: 0 0 8px; }
.aiProductCard .why { font-size: 14px; color: #333; margin: 6px 0; }
.aiProductCard .how { font-size: 13px; color: #555; background: #f4f8f6; border-left: 4px solid #009e58; padding: 8px; margin: 8px 0; border-radius: 6px; }
.aiProductActions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.aiProductActions button { border: 1px solid #111; background: #fff; border-radius: 8px; padding: 7px 9px; font-weight: 800; cursor: pointer; }
.aiProductActions button:hover { background: #111; color: #fff; }
.aiDisclaimer { margin-top: 14px; color: #777; font-size: 12px; }

@media (max-width: 900px) {
  .searchPanel { top: 112px; left: 8px; right: 8px; max-height: calc(100vh - 125px); padding: 14px; }
  .searchProductResults { grid-template-columns: 1fr; }
  .searchPageResults { grid-template-columns: 1fr; }
  .aiFloatingBtn { right: 12px; bottom: 12px; padding: 12px 14px; }
  .aiAskRow { grid-template-columns: 1fr; }
  .aiAskRow button { height: 44px; }
  .aiCard { padding: 18px; }
  .aiResultGrid { grid-template-columns: 1fr; }
}

.aiClarify { background: #fff; border: 1px solid #dfeee7; border-radius: 14px; padding: 14px; margin-top: 10px; }
.aiClarify p { margin: 0 0 10px; color: #333; }
.aiQuickChips { display: flex; gap: 8px; flex-wrap: wrap; }
.aiQuickChips button { border: 1px solid #009e58; background: #fff; color: #008f49; border-radius: 999px; padding: 8px 12px; font-weight: 800; cursor: pointer; }
.aiQuickChips button:hover { background: #009e58; color: #fff; }
.aiCorrected { display: inline-block; margin-left: 6px; color: #0a7f3f; font-size: 0.92em; }
.aiClarify { border: 1px solid #d7eadf; background: #f4fbf7; border-radius: 16px; padding: 16px; margin: 12px 0; }
.aiQuickChips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.aiQuickChips button { border: 1px solid #00964b; background: #fff; color: #007a3d; border-radius: 999px; padding: 9px 14px; font-weight: 700; cursor: pointer; }
.aiQuickChips button:hover { background: #eaf8f0; }

.aiChatBox { max-height: 58vh; overflow: auto; background: #f7f7f7; border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.aiBubble { max-width: 96%; border-radius: 18px; padding: 14px 16px; box-shadow: 0 1px 0 rgb(0 0 0 / 4%); line-height: 1.45; }
.aiBubble.user { align-self: flex-end; background: #111; color: #fff; border-bottom-right-radius: 6px; }
.aiBubble.assistant { align-self: flex-start; background: #fff; border: 1px solid #e4e4e4; border-bottom-left-radius: 6px; color: #222; }
.aiBubble .aiResultGrid { margin-top: 10px; }
.aiProductExplain { display: grid; grid-template-columns: 150px 1fr; gap: 16px; align-items: start; }
.aiProductExplain img { width: 150px; height: 150px; object-fit: contain; background: #fff; border: 1px solid #eee; border-radius: 12px; }
.aiProductExplain .meta { color: #666; margin-top: 0; }
.aiProductExplain .how { background: #f4f8f6; border-left: 4px solid #009e58; padding: 8px; border-radius: 6px; color: #555; }
.aiCard .aiAnswer { padding: 0; border: 0; background: transparent; }
.aiAskRow { position: sticky; top: 0; background: #fff; z-index: 2; padding-top: 6px; }
.aiClarify { font-size: 16px; }

@media (max-width: 760px) {
  .aiProductExplain { grid-template-columns: 1fr; }
  .aiProductExplain img { width: 100%; height: 180px; }
  .aiChatBox { max-height: 62vh; }
}

.aiCard { width: min(1040px, 96vw); height: min(92vh, 860px); display: flex; flex-direction: column; padding: 0; overflow: hidden; background: #f5f6f6; }
.aiHeader { padding: 18px 22px 10px; background: #fff; border-bottom: 1px solid #e8e8e8; }
.aiHeaderBrand { display: flex; align-items: center; gap: 14px; }
.aiHeaderLogo { width: 88px; max-width: 22vw; height: auto; object-fit: contain; flex: 0 0 auto; }
.aiHeader h2 { font-size: 30px; margin: 0 0 6px; }
.aiHeader p { margin: 0; color: #666; }
.aiSuggestions { padding: 10px 24px 4px; margin: 0; background: #fff; border-bottom: 1px solid #eee; }
.aiAskRow { order: 9; position: sticky; bottom: 0; top: auto; background: #fff; border-top: 1px solid #ddd; padding: 12px 16px; margin: 0; z-index: 5; grid-template-columns: 1fr auto; }
.aiAskRow input { border: 1px solid #d8d8d8; border-radius: 999px; background: #fff; padding: 14px 18px; font-size: 16px; outline: none; }
.aiAskRow input:focus { border-color: #009e58; box-shadow: 0 0 0 3px rgb(0 158 88 / 12%); }
.aiAskRow button { border-radius: 999px; min-width: 118px; height: 50px; background: #009e58; color: #fff; }
.aiAskRow button:hover { filter: brightness(0.95); }
.aiCard .aiAnswer { flex: 1; overflow: auto; position: relative; isolation: isolate; padding: 18px 24px; background: #fff; border: 0; border-radius: 0; display: flex; flex-direction: column; gap: 12px; scroll-behavior: smooth; }
.aiCard .aiAnswer::before { content: ""; position: absolute; inset: 0; background-image: url("/assets/logo-suave-watermark.png"); background-repeat: no-repeat; background-position: center; background-size: min(62%, 560px) auto; opacity: 0.045; pointer-events: none; z-index: 0; }
.aiCard .aiAnswer > * { position: relative; z-index: 1; }
.aiChatBox { max-height: none; height: auto; overflow: visible; background: transparent; border-radius: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.aiBubble { max-width: min(86%, 820px); font-size: 15.5px; line-height: 1.45; box-shadow: 0 1px 2px rgb(0 0 0 / 12%); position: relative; }
.aiBubble.user { align-self: flex-end; background: #dcf8c6; color: #111; border-radius: 16px 16px 4px; }
.aiBubble.assistant { align-self: flex-start; background: #fff; color: #1f1f1f; border: 0; border-radius: 16px 16px 16px 4px; }
.aiBubble.typing { background: #fff; padding: 10px 15px; }
.aiTyping { display: flex; gap: 5px; align-items: center; height: 20px; }
.aiTyping span { width: 7px; height: 7px; background: #999; border-radius: 50%; display: block; animation: aiDot 1s infinite ease-in-out; }
.aiTyping span:nth-child(2) { animation-delay: 0.15s; }
.aiTyping span:nth-child(3) { animation-delay: 0.3s; }

@keyframes aiDot {
  0%,
  80%,
  100% { opacity: 0.35; transform: translateY(0); }
  40% { opacity: 1; transform: translateY(-3px); }
}
.aiBubble p { margin: 0 0 8px; }
.aiBubble p:last-child { margin-bottom: 0; }
.aiBubble .aiResultGrid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-top: 10px; }
.aiBubble .aiProductCard { border-radius: 14px; padding: 12px; background: #fff; border: 1px solid #e3e3e3; }
.aiBubble .aiProductCard img { height: 105px; }
.aiBubble .aiProductCard h4 { font-size: 15px; }
.aiBubble .aiProductCard .why { font-size: 13px; }
.aiBubble .aiProductCard .aiProductActions button { font-size: 12px; padding: 6px 8px; }
.aiFeedback { margin-top: 10px; border-top: 1px solid #eee; padding-top: 9px; display: flex; gap: 7px; flex-wrap: wrap; align-items: center; font-size: 12px; color: #666; }
.aiFeedback button { border: 1px solid #ddd; background: #fff; border-radius: 999px; padding: 5px 9px; font-weight: 700; cursor: pointer; }
.aiFeedback button:hover { border-color: #009e58; color: #009e58; }
.aiFeedback button:disabled { opacity: 0.7; cursor: default; }
.aiDisclaimer { font-size: 12px; color: #777; }
.modalClose { z-index: 6; }

@media (max-width: 760px) {
  .aiCard { width: 100vw; height: 100vh; border-radius: 0; }
  .aiHeader { padding: 16px 16px 10px; }
  .aiHeaderBrand { align-items: flex-start; }
  .aiHeaderLogo { width: 74px; }
  .aiHeader h2 { font-size: 24px; }
  .aiSuggestions { padding: 8px 16px 2px; }
  .aiAskRow { grid-template-columns: 1fr auto; padding: 10px; }
  .aiAskRow button { min-width: 86px; height: 46px; }
  .aiCard .aiAnswer { padding: 14px 12px; }
  .aiBubble { max-width: 94%; }
  .aiBubble .aiResultGrid { grid-template-columns: 1fr; }
  .aiSuggestions button { font-size: 13px; padding: 7px 10px; }
}

.sendSuaveBtn { margin-top: 10px; width: 100%; border: 0; border-radius: 12px; background: #009e58; color: #fff; font-weight: 800; padding: 14px 18px; cursor: pointer; }
.sendSuaveBtn:hover { filter: brightness(0.95); }
.sankhyaOrderCard { background: #fff; border-radius: 18px; padding: 24px; width: min(760px, 94vw); max-height: 90vh; overflow: auto; }
.sankhyaOrderCard h2 { margin-top: 0; }
.sankhyaOrderGrid { display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 12px; }
.sankhyaOrderGrid label { display: flex; flex-direction: column; font-weight: 700; gap: 6px; }

.sankhyaOrderGrid input,
.sankhyaOrderGrid textarea { border: 1px solid #ddd; border-radius: 10px; padding: 11px; font: inherit; }
.sankhyaOrderGrid .span2 { grid-column: span 2; }
.sankhyaOrderActions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }
.orderStatusBox { margin-top: 12px; padding: 12px; border-radius: 12px; background: #f5f7f6; border: 1px solid #d9e8df; white-space: pre-wrap; }

@media (max-width: 760px) {
  .sankhyaOrderGrid { grid-template-columns: 1fr; }
  .sankhyaOrderGrid .span2 { grid-column: span 1; }
}

.orderStatusActions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.orderStatusBtn { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; border: 0; border-radius: 10px; background: #009e58; color: #fff; font-weight: 800; padding: 10px 14px; cursor: pointer; }
.orderStatusBtn.secondary { background: #fff; color: #006b3a; border: 1px solid #b9dec9; }
.orderStatusBtn:hover { filter: brightness(0.96); }

.validatedCustomerBox { margin: 12px 0 4px; padding: 12px 14px; border: 1px solid #bfe8cf; background: #effbf4; color: #006b3a; border-radius: 12px; font-weight: 800; }
.customerOrderCard .hint { font-size: 16px; color: #555; }
.customerOrderGrid { grid-template-columns: repeat(2, minmax(220px, 1fr)); }
.customerOrderGrid textarea { min-height: 82px; resize: vertical; }
.primaryLight { border: 1px solid #009e58; background: #fff; color: #008f49; border-radius: 10px; padding: 13px 16px; font-weight: 900; cursor: pointer; }
.primaryLight:hover { background: #effbf4; }
.mobileQuickBar { display: contents; }
.mobileCartFloatingBtn { display: none; }

@media (max-width: 900px) {
  body { overflow: hidden; background: #fff; }
  .topbar { height: 58px; gap: 8px; padding: 0 10px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .topbar::-webkit-scrollbar { display: none; }
  .logoBtn { display: none; }
  .iconBtn { font-size: 24px; min-width: 42px; width: 42px; height: 42px; border-radius: 12px; background: #f8f8f8; flex: 0 0 auto; }
  .shareSvg { width: 28px; height: 28px; }
  .pageNav { margin-left: 4px; gap: 8px; font-size: 18px; flex: 0 0 auto; }
  .pageNav input { width: 58px; height: 44px; border-radius: 15px; font-size: 22px; font-weight: 900; }
  .cartBtn { display: none; }
  .searchWrap { top: 58px; left: 10px; right: 10px; height: 48px; border: 2px solid #111; border-radius: 12px; z-index: 22; }
  .searchWrap input { font-size: 17px; }
  .layout { padding-top: 108px; }
  .viewerArea { padding: 18px 10px 88px; align-items: flex-start; justify-content: center; overflow: auto; -webkit-overflow-scrolling: touch; }
  .canvasWrap { margin-top: 96px; box-shadow: 0 8px 24px rgb(0 0 0 / 10%); touch-action: pan-y pinch-zoom; max-width: 100%; }
  #pdfCanvas { max-height: calc(100vh - 250px); max-width: 100%; }
  .viewerTools { top: 70px; right: 14px; z-index: 7; }
  .howBtn { font-size: 12px; padding: 11px 13px; border-radius: 12px; background: #fff; box-shadow: 0 6px 20px rgb(0 0 0 / 13%); }
  .mobileQuickBar { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 44; display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; pointer-events: none; }

  .categoryFloatingBtn,
  .mobileCartFloatingBtn,
  .aiFloatingBtn { position: static !important; display: flex !important; align-items: center; justify-content: center; min-height: 48px; border: 0; border-radius: 999px; padding: 11px 10px; font-size: 15px; font-weight: 900; box-shadow: 0 10px 28px rgb(0 0 0 / 23%); pointer-events: auto; white-space: nowrap; cursor: pointer; }
  .categoryFloatingBtn { background: #111; color: #fff; }
  .mobileCartFloatingBtn { background: #fff; color: #111; border: 1px solid #e2e2e2 !important; }
  .mobileCartFloatingBtn span { margin-left: 6px; min-width: 24px; height: 24px; border-radius: 999px; background: #111; color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; }
  .aiFloatingBtn { background: #009e58; color: #fff; }
  body.sidebarOpen .categoryFloatingBtn { display: flex !important; }
  .sidebar { top: 108px; bottom: 76px; width: min(88vw, 330px); }
  .sidebarBackdrop.open { top: 108px; bottom: 76px; }
  .drawer { top: 0; bottom: 0; width: 100vw; padding: 18px 18px 90px; z-index: 56; border-radius: 0; }
  .drawerHeader h2 { font-size: 24px; }
  .drawer .closeBtn { font-size: 38px; }
  .cartLine { grid-template-columns: 54px 1fr; gap: 10px; }
  .cartLine .qty { grid-column: 2; }
  .cartTotal { font-size: 20px; }

  .checkoutBtn,
  .sendSuaveBtn { font-size: 17px; min-height: 48px; }
  .sankhyaOrderCard { width: 100vw; height: 100vh; max-height: none; border-radius: 0; padding: 24px 18px 96px; overflow: auto; }
  .sankhyaOrderCard .closeBtn { position: sticky; top: 0; float: right; background: #fff; z-index: 2; }
  .sankhyaOrderCard h2 { font-size: 25px; line-height: 1.15; margin: 8px 48px 12px 0; }
  .customerOrderGrid { grid-template-columns: 1fr; }
  .customerOrderGrid .span2 { grid-column: span 1; }

  .sankhyaOrderGrid input,
  .sankhyaOrderGrid textarea { min-height: 50px; font-size: 16px; }
  .sankhyaOrderActions { display: grid; grid-template-columns: 1fr; gap: 10px; }

  .primaryLight,
  .sankhyaOrderActions .checkoutBtn { width: 100%; min-height: 50px; }
  .panel { top: 106px; padding: 16px 14px 88px; }
  .cardsGrid { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
  .productCard { min-height: 260px; padding: 14px 10px; }
  .productCard h3 { font-size: 15px; }
  .addBtn { font-size: 15px; min-height: 46px; }
}

@media (min-width: 901px) {
  .mobileQuickBar { display: contents; }
  .categoryFloatingBtn { display: none !important; }
  .mobileCartFloatingBtn { display: none !important; }
}

.changeCustomerBtn { margin-left: 10px; border: 1px solid #009e58; background: #fff; color: #007a3d; border-radius: 999px; padding: 6px 10px; font-weight: 900; cursor: pointer; }
.changeCustomerBtn:hover { background: #eaf8f0; }

.customerOrderCard.customerValidated > .hint,
.customerOrderCard.customerValidated .customerOrderGrid { display: none !important; }
.customerOrderCard.customerValidated .validatedCustomerBox { display: block; font-size: 17px; line-height: 1.35; }

@media (max-width: 900px) {
  .viewerArea { padding: 10px 8px 86px; align-items: flex-start; justify-content: center; overflow: auto; -webkit-overflow-scrolling: touch; }
  .canvasWrap { margin-top: 18px; max-width: 100%; touch-action: pan-y pinch-zoom; }
  #pdfCanvas { max-width: 100%; max-height: none !important; height: auto; width: auto; }
  .hotspot { width: 48px; height: 48px; font-size: 25px; border-width: 2px; }
  .groupHotspot { width: 50px; height: 50px; }
  .groupHotspot .groupHint { left: 42px; font-size: 11px; max-width: 128px; padding: 6px 8px; }
  .viewerTools { top: 8px; right: 10px; }
  .howBtn { font-size: 11px; padding: 9px 11px; }
}

.primaryLight:disabled,
.checkoutBtn:disabled,
.sendSuaveBtn:disabled {
  opacity: 0.62;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

.sankhyaOrderActions button {
  touch-action: manipulation;
}

.homeProductSearch {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  width: min(86%, 520px);
  background: rgb(255 255 255 / 96%);
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 18px;
  box-shadow: 0 12px 34px rgb(0 0 0 / 18%);
  padding: 14px;
  display: none;
  z-index: 5;
  pointer-events: auto;
}
.homeProductSearch.show { display: none; }
.homeProductSearch strong { display: block; font-size: 17px; color: #111; line-height: 1.1; }
.homeProductSearch span { display: block; font-size: 13px; color: #555; margin: 3px 0 10px; }
.homeProductSearchRow { display: grid; grid-template-columns: 1fr auto; gap: 8px; }
.homeProductSearch input { height: 42px; border: 1px solid #ddd; border-radius: 12px; padding: 0 12px; font-size: 15px; outline: none; background: #fff; }
.homeProductSearch input:focus { border-color: #009e58; box-shadow: 0 0 0 3px rgb(0 158 88 / 12%); }
.homeProductSearch button { border: 0; border-radius: 12px; background: #009e58; color: #fff; font-weight: 900; padding: 0 16px; cursor: pointer; }

@media (max-width: 900px) {
  .homeProductSearch.show { display: none !important; }
}

@media (max-width: 900px) {
  .topbar { overflow-x: auto; overflow-y: visible !important; }
  .searchWrap { position: fixed !important; top: 58px !important; left: 10px !important; right: 10px !important; width: auto !important; max-width: none !important; margin: 0 !important; display: flex !important; z-index: 45 !important; box-shadow: 0 8px 22px rgb(0 0 0 / 10%); }
  .layout { padding-top: 116px !important; }
  .sidebar { top: 116px !important; }
  .sidebarBackdrop.open { top: 116px !important; }
  .panel { top: 116px !important; }
  .viewerArea { padding-top: 10px !important; }
  .canvasWrap { margin-top: 14px !important; }
}

#pdfCanvas {
  image-rendering: auto !important;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.canvasWrap {
  image-rendering: auto !important;
}

:root {
  --sz-cart-hotspot-size: 56px;
  --sz-cart-hotspot-mobile-size: 50px;
  --sz-cart-border-color: #ff1f6a;
  --sz-cart-active-size: var(--sz-cart-hotspot-size);
}

.hotspot,
.cartHotspot,
.pageHotspot,
.buyHotspot {
  width: var(--sz-cart-active-size) !important;
  height: var(--sz-cart-active-size) !important;
  min-width: var(--sz-cart-active-size) !important;
  min-height: var(--sz-cart-active-size) !important;
  border-radius: 50% !important;
  border: 3px solid var(--sz-cart-border-color) !important;
  background: #fff !important;
  color: #777 !important;
  box-shadow: 0 8px 22px rgb(0 0 0 / 28%) !important;
  display: grid !important;
  place-items: center !important;
  font-size: calc(var(--sz-cart-active-size) * 0.52) !important;
  line-height: 1 !important;
}

.hotspot:hover,
.cartHotspot:hover,
.pageHotspot:hover,
.buyHotspot:hover {
  transform: translate(-50%, -50%) scale(1.08) !important;
  background: var(--sz-cart-border-color) !important;
  color: #fff !important;
}

@media (max-width: 800px) {
  :root {
    --sz-cart-active-size: var(--sz-cart-hotspot-mobile-size);
  }
}

#cartDrawer button.cartRemoveBtn[data-cart-remove],
.cartItems button.cartRemoveBtn[data-cart-remove],
#cartDrawer .cartRemoveBtn,
.cartItems .cartRemoveBtn {
  width: auto !important;
  min-width: 88px !important;
  max-width: none !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 13px !important;
  margin-left: 8px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  background: #dc2626 !important;
  color: #fff !important;
  border: 1px solid #b91c1c !important;
  border-radius: 8px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  box-shadow: 0 2px 5px rgb(220 38 38 / 22%) !important;
  transform: none !important;
  opacity: 1 !important;
  box-sizing: border-box !important;
}

#cartDrawer button.cartRemoveBtn[data-cart-remove]:hover,
#cartDrawer button.cartRemoveBtn[data-cart-remove]:focus,
#cartDrawer button.cartRemoveBtn[data-cart-remove]:active,
.cartItems button.cartRemoveBtn[data-cart-remove]:hover,
.cartItems button.cartRemoveBtn[data-cart-remove]:focus,
.cartItems button.cartRemoveBtn[data-cart-remove]:active {
  background: #b91c1c !important;
  color: #fff !important;
  border-color: #991b1b !important;
}

#cartDrawer .cartRemoveBtn[data-cart-remove] {
  vertical-align: middle !important;
}

@media (max-width: 900px) {
  #cartDrawer button.cartRemoveBtn[data-cart-remove],
  .cartItems button.cartRemoveBtn[data-cart-remove],
  #cartDrawer .cartRemoveBtn,
  .cartItems .cartRemoveBtn {
    min-width: 84px !important;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 12px !important;
    margin-left: 8px !important;
    border-radius: 9px !important;
    font-size: 13px !important;
  }
}

@media (max-width: 380px) {
  #cartDrawer button.cartRemoveBtn[data-cart-remove],
  .cartItems button.cartRemoveBtn[data-cart-remove],
  #cartDrawer .cartRemoveBtn,
  .cartItems .cartRemoveBtn {
    min-width: 78px !important;
    padding: 0 10px !important;
    font-size: 12.5px !important;
  }
}

:root {
  --sz-cart-hotspot-size: 56px;
  --sz-cart-hotspot-mobile-size: 50px;
  --sz-cart-border-color: #ff1f6a;
  --sz-youtube-btn-desktop: 70px;
  --sz-youtube-btn-mobile: 58px;
  --sz-youtube-btn-active: var(--sz-youtube-btn-desktop);
}

.hotspot {
  width: var(--sz-cart-hotspot-size) !important;
  height: var(--sz-cart-hotspot-size) !important;
  min-width: var(--sz-cart-hotspot-size) !important;
  min-height: var(--sz-cart-hotspot-size) !important;
  border-radius: 999px !important;
  border: 3px solid var(--sz-cart-border-color) !important;
  background: rgb(255 255 255 / 96%) !important;
  color: var(--sz-cart-border-color) !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 22px rgb(0 0 0 / 22%), inset 0 0 0 1px rgb(255 255 255 / 75%) !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  font-size: calc(var(--sz-cart-hotspot-size) * 0.48) !important;
  padding: 0 !important;
  overflow: visible !important;
  -webkit-tap-highlight-color: transparent;
}
.hotspot:not(.videoHotspot):not(.sz-video-play-v3):hover { transform: translate(-50%, -50%) scale(1.06) !important; }
.hotspot .groupHint { display: none !important; }
.hotspot .cartSymbol { font-size: inherit !important; line-height: 1 !important; }

.videoHotspot,
.videoHotspot.sz-video-play-v3,
.sz-video-play-v3.videoHotspot {
  width: var(--sz-youtube-btn-active) !important;
  height: var(--sz-youtube-btn-active) !important;
  min-width: var(--sz-youtube-btn-active) !important;
  min-height: var(--sz-youtube-btn-active) !important;
  border-radius: 999px !important;
  border: 3px solid rgb(255 255 255 / 98%) !important;
  background: linear-gradient(180deg, #ff3158 0%, #ef1743 55%, #d9002f 100%) !important;
  color: transparent !important;
  font-size: 0 !important;
  box-shadow: 0 10px 28px rgb(0 0 0 / 28%), 0 0 0 2px rgb(239 23 67 / 20%) !important;
  display: grid !important;
  place-items: center !important;
}

.videoHotspot::before,
.videoHotspot.sz-video-play-v3::before,
.sz-video-play-v3.videoHotspot::before {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  border-top: calc(var(--sz-youtube-btn-active) * 0.16) solid transparent !important;
  border-bottom: calc(var(--sz-youtube-btn-active) * 0.16) solid transparent !important;
  border-left: calc(var(--sz-youtube-btn-active) * 0.27) solid #fff !important;
  margin-left: calc(var(--sz-youtube-btn-active) * 0.07) !important;
}
.videoHotspot > *,
.sz-video-play-v3.videoHotspot > * { opacity: 0 !important; pointer-events: none !important; }
.videoCardBtn { background: #ef1743 !important; color: #fff !important; border: 0 !important; border-radius: 999px !important; font-weight: 900 !important; }

html.sz-ios #canvasWrap,
html.sz-ios .viewerArea {
  transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  backface-visibility: hidden;
}

html.sz-ios #pdfCanvas {
  image-rendering: auto !important;
  transform: translateZ(0);
  transform: translateZ(0);
  backface-visibility: hidden;
  backface-visibility: hidden;
  will-change: contents;
}
html.sz-ios-safari .canvasWrap { -webkit-overflow-scrolling: touch; }

@media (max-width: 800px) {
  :root { --sz-youtube-btn-active: var(--sz-youtube-btn-mobile); }

  .hotspot {
    width: var(--sz-cart-hotspot-mobile-size) !important;
    height: var(--sz-cart-hotspot-mobile-size) !important;
    min-width: var(--sz-cart-hotspot-mobile-size) !important;
    min-height: var(--sz-cart-hotspot-mobile-size) !important;
    font-size: calc(var(--sz-cart-hotspot-mobile-size) * 0.48) !important;
    border-width: 2.5px !important;
  }

  .videoHotspot,
  .videoHotspot.sz-video-play-v3,
  .sz-video-play-v3.videoHotspot { border-width: 2.5px !important; }
}

:root {
  --sz-youtube-btn-desktop: 70px;
  --sz-youtube-btn-mobile: 58px;
  --sz-youtube-btn-active: var(--sz-youtube-btn-desktop);
}

.videoHotspot,
.videoHotspot.sz-video-play-v3,
.videoHotspot.sz-video-play-v4,
.sz-video-play-v3.videoHotspot,
.sz-video-play-v4.videoHotspot,
.hotspot.videoHotspot {
  width: calc(var(--sz-youtube-btn-active) * 1.18) !important;
  height: calc(var(--sz-youtube-btn-active) * 0.84) !important;
  min-width: calc(var(--sz-youtube-btn-active) * 1.18) !important;
  min-height: calc(var(--sz-youtube-btn-active) * 0.84) !important;
  border-radius: calc(var(--sz-youtube-btn-active) * 0.18) !important;
  border: 0 !important;
  background: #ef1743 !important;
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
  padding: 0 !important;
  display: grid !important;
  place-items: center !important;
  box-shadow: 0 8px 20px rgb(0 0 0 / 24%) !important;
  overflow: hidden !important;
}

.videoHotspot::before,
.videoHotspot.sz-video-play-v3::before,
.videoHotspot.sz-video-play-v4::before,
.sz-video-play-v3.videoHotspot::before,
.sz-video-play-v4.videoHotspot::before,
.hotspot.videoHotspot::before {
  content: "" !important;
  display: block !important;
  width: 0 !important;
  height: 0 !important;
  border-top: calc(var(--sz-youtube-btn-active) * 0.16) solid transparent !important;
  border-bottom: calc(var(--sz-youtube-btn-active) * 0.16) solid transparent !important;
  border-left: calc(var(--sz-youtube-btn-active) * 0.27) solid #fff !important;
  margin-left: calc(var(--sz-youtube-btn-active) * 0.05) !important;
}

.videoHotspot > *,
.videoHotspot.sz-video-play-v3 > *,
.videoHotspot.sz-video-play-v4 > *,
.sz-video-play-v3.videoHotspot > *,
.sz-video-play-v4.videoHotspot > * {
  opacity: 0 !important;
  pointer-events: none !important;
}

.videoHotspot:hover,
.hotspot.videoHotspot:hover {
  background: #d9002f !important;
  color: transparent !important;
  transform: translate(-50%, -50%) scale(1.04) !important;
}

.videoCardBtn {
  background: #ef1743 !important;
  color: #fff !important;
  border: 0 !important;
  border-radius: 14px !important;
  font-weight: 900 !important;
}

html.sz-ios #pdfCanvas {
  image-rendering: auto !important;
  transform: none !important;
  transform: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
}

html.sz-ios.sz-ios-crisp-active #pdfCanvas {
  opacity: 0 !important;
}

html.sz-ios .canvasWrap,
html.sz-ios #canvasWrap {
  position: relative !important;
}

.sz-ios-crisp-page {
  position: absolute !important;
  pointer-events: none !important;
  overflow: hidden !important;
  background: #fff !important;
  z-index: 1 !important;
  image-rendering: auto !important;
  transform: translateZ(0) !important;
  transform: translateZ(0) !important;
}

.sz-ios-crisp-page img {
  position: absolute !important;
  display: block !important;
  max-width: none !important;
  max-height: none !important;
  image-rendering: auto !important;
  transform: translateZ(0) !important;
  transform: translateZ(0) !important;
  user-select: none !important;
  user-select: none !important;
}

html.sz-ios #hotspotLayer,
html.sz-ios .hotspotLayer {
  z-index: 5 !important;
}

@media (max-width: 800px) {
  :root { --sz-youtube-btn-active: var(--sz-youtube-btn-mobile); }
}

:root { --sz-youtube-btn-desktop: 70px; --sz-youtube-btn-mobile: 58px; --sz-youtube-btn-active: var(--sz-youtube-btn-desktop); }
.videoHotspot,
.hotspot.videoHotspot,
.sz-video-play-v3,
.sz-video-play-v4,
.sz-youtube-external-v3-play { width: calc(var(--sz-youtube-btn-active) * 1.42) !important; height: calc(var(--sz-youtube-btn-active) * 0.92) !important; min-width: calc(var(--sz-youtube-btn-active) * 1.42) !important; min-height: calc(var(--sz-youtube-btn-active) * 0.92) !important; border: 0 !important; border-radius: calc(var(--sz-youtube-btn-active) * 0.2) !important; background: #f00 !important; color: transparent !important; font-size: 0 !important; line-height: 0 !important; padding: 0 !important; display: flex !important; align-items: center !important; justify-content: center !important; box-shadow: 0 5px 14px rgb(0 0 0 / 22%) !important; overflow: hidden !important; }
.videoHotspot::before,
.hotspot.videoHotspot::before,
.sz-video-play-v3::before,
.sz-video-play-v4::before,
.sz-youtube-external-v3-play::before,
.sz-youtube-external-v3-play span { content: "" !important; display: block !important; width: 0 !important; height: 0 !important; border-top: calc(var(--sz-youtube-btn-active) * 0.17) solid transparent !important; border-bottom: calc(var(--sz-youtube-btn-active) * 0.17) solid transparent !important; border-left: calc(var(--sz-youtube-btn-active) * 0.3) solid #fff !important; margin-left: calc(var(--sz-youtube-btn-active) * 0.055) !important; transform: none !important; background: transparent !important; }
.videoHotspot > *,
.sz-video-play-v3 > *,
.sz-video-play-v4 > * { opacity: 0 !important; pointer-events: none !important; }
.videoHotspot:hover,
.hotspot.videoHotspot:hover { background: #d90000 !important; transform: translate(-50%, -50%) scale(1.035); }
.videoCard.sz-v185-video-card { width: min(620px, 92vw); padding: 0; overflow: hidden; border-radius: 24px; background: #fff; }
.sz-v185-youtube-preview { border-radius: 22px; background: linear-gradient(180deg, #fff7f7, #fff); border: 1px solid #ffe0e0; padding: 26px 18px; display: grid; place-items: center; gap: 14px; }
.sz-v185-youtube-logo { width: 96px; height: 66px; border-radius: 18px; background: #f00; display: flex; align-items: center; justify-content: center; box-shadow: 0 9px 22px rgb(255 0 0 / 24%); }
.sz-v185-youtube-logo::before { content: ""; width: 0; height: 0; border-top: 13px solid transparent; border-bottom: 13px solid transparent; border-left: 24px solid #fff; margin-left: 5px; }
.sz-v185-youtube-preview strong { font-size: 20px; color: #232323; }
.sz-v185-youtube-preview p { margin: 0; color: #666; font-size: 14px; max-width: 400px; }
.sz-v185-watch-btn { border: 0; border-radius: 999px; background: #f00; color: #fff; padding: 12px 20px; font-weight: 800; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.sz-v185-watch-btn:hover { background: #d90000; }
#productModalQty { text-align: center; }

@media (max-width: 800px) {
  :root { --sz-youtube-btn-active: var(--sz-youtube-btn-mobile); }
  .sz-v185-youtube-logo { width: 82px; height: 56px; border-radius: 15px; }
}

@media (max-width: 900px) {
  body {
    padding-bottom: calc(118px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .viewerArea,
  .catalogViewport,
  .catalogMain,
  .pageStage,
  .catalogStage,
  .viewer,
  .pageWrap {
    padding-bottom: calc(110px + env(safe-area-inset-bottom, 0px)) !important;
    box-sizing: border-box !important;
  }

  .mobileQuickBar,
  .mobileBottomBar,
  .bottomQuickBar,
  body.sz-search-active .mobileQuickBar,
  body.sz-search-active .mobileBottomBar,
  body.sz-search-active .bottomQuickBar,
  body.sz-product-modal-open .mobileQuickBar,
  body.sz-product-modal-open .mobileBottomBar,
  body.sz-product-modal-open .bottomQuickBar {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: fixed !important;
    left: 10px !important;
    right: 10px !important;
    bottom: calc(70px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 9998 !important;
    gap: 8px !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    transform: none !important;
  }

  .mobileQuickBar > *,
  .mobileBottomBar > *,
  .bottomQuickBar > *,
  .mobileQuickBar a,
  .mobileQuickBar button,
  .mobileBottomBar a,
  .mobileBottomBar button,
  .bottomQuickBar a,
  .bottomQuickBar button {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    border-radius: 999px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    padding: 0 7px !important;
    box-shadow: 0 7px 18px rgb(0 0 0 / 18%) !important;
    margin: 0 !important;
    transform: none !important;
  }

  .mobileQuickBar .categoriesBtn,
  .mobileBottomBar .categoriesBtn,
  .bottomQuickBar .categoriesBtn {
    background: #111 !important;
    color: #fff !important;
  }

  .mobileQuickBar .cartBtn,
  .mobileBottomBar .cartBtn,
  .bottomQuickBar .cartBtn {
    background: #fff !important;
    color: #111 !important;
  }

  .mobileQuickBar .assistantBtn,
  .mobileBottomBar .assistantBtn,
  .bottomQuickBar .assistantBtn {
    background: #0aa14b !important;
    color: #fff !important;
  }
}

@media (max-width: 420px) {
  .mobileQuickBar,
  .mobileBottomBar,
  .bottomQuickBar,
  body.sz-search-active .mobileQuickBar,
  body.sz-search-active .mobileBottomBar,
  body.sz-search-active .bottomQuickBar,
  body.sz-product-modal-open .mobileQuickBar,
  body.sz-product-modal-open .mobileBottomBar,
  body.sz-product-modal-open .bottomQuickBar {
    bottom: calc(64px + env(safe-area-inset-bottom, 0px)) !important;
  }

  .mobileQuickBar > *,
  .mobileBottomBar > *,
  .bottomQuickBar > *,
  .mobileQuickBar a,
  .mobileQuickBar button,
  .mobileBottomBar a,
  .mobileBottomBar button,
  .bottomQuickBar a,
  .bottomQuickBar button {
    height: 40px !important;
    min-height: 40px !important;
    max-height: 40px !important;
    font-size: 9.5px !important;
    padding: 0 6px !important;
  }
}

/* SUAVEZAP_V18_61_08_IPHONE_SEARCH_ZOOM_START
   O Safari amplia automaticamente inputs menores que 16px.
   Mantém a pesquisa em 16px sem bloquear o zoom manual do usuário. */
@media (max-width: 900px) {
  #searchInput,
  #homeProductSearchInput,
  .topbar .searchWrap input {
    font-size: 16px !important;
  }
}
/* SUAVEZAP_V18_61_08_IPHONE_SEARCH_ZOOM_END */
