/* ------------------------------------------------------------------
   Trí Ân Gift — print styles.

   Corporate gift buying runs on quotes: someone prints the product page
   or the cart and walks it into a procurement meeting. Without this the
   printout carries the mega menu, carousels, cookie bar and a footer of
   navigation, and drops the prices into unreadable reversed-out boxes.

   Goal for every printed page: what it is, what it costs, and how to
   reach the seller.
   ------------------------------------------------------------------ */

@media print {

    /* ---------- Strip interactive chrome ---------- */

    .nav-header,
    .wrapper-nav,
    .mobile-navmenu,
    .header-inner .header-search-section,
    .header-inner .header-right,
    .trian-drawer,
    .trian-drawer-scrim,
    .cookie-bar,
    .nl-modal,
    .qv,
    .mini-cart,
    .to-top,
    .trian-toast,
    .search-results,
    .thumbnail-buttons,
    .ishi-tabs,
    .filter-chips,
    .collection-toolbar,
    .footer-block--newsletter,
    .footer-social,
    .owl-nav,
    .owl-dots,
    .ishi-slider-section,
    .ishi-topbanner-section,
    .ishi-smartblog-section,
    .pdp__wish,
    .pdp__buy,
    .cart-summary .btn-addcart,
    .skip-to-content-link {
        display: none !important;
    }

    /* ---------- Page setup ---------- */

    @page {
        margin: 14mm;
    }

    html, body {
        background: #fff !important;
        color: #000 !important;
        font-size: 11pt;
        line-height: 1.5;
    }

    body {
        display: block !important;
    }

    .main-page,
    .page-width {
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
    }

    /* Keep the wordmark as the letterhead. */
    .header-inner {
        display: block !important;
        border-bottom: 1px solid #999;
        padding-bottom: 6mm;
        margin-bottom: 6mm;
    }

    .brand-logo__mark { color: #000 !important; font-size: 20pt; }
    .brand-logo__word { color: #000 !important; letter-spacing: .4em; }
    .brand-logo__tag  { color: #444 !important; }

    /* ---------- Product page ---------- */

    .pdp .row { display: block !important; }

    .pdp__media,
    .pdp__info {
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
    }

    .pdp__media { max-width: 70mm; margin-bottom: 6mm; }
    .pdp__thumbs { display: none !important; }

    .pdp__title { font-size: 16pt; color: #000 !important; }
    .pdp__price { font-size: 14pt; color: #000 !important; font-weight: 700; }
    .pdp__sku   { color: #444 !important; }

    .pdp__specs { page-break-inside: avoid; }
    .pdp__specs th { background: #f0f0f0 !important; -webkit-print-color-adjust: exact; }
    .pdp__specs th,
    .pdp__specs td { border: 1px solid #999 !important; color: #000 !important; }

    /* All tab panels print — the reader cannot click. */
    .pdp-tabs__nav { display: none !important; }
    .pdp-tabs__panel { display: block !important; page-break-inside: avoid; margin-bottom: 5mm; }
    .pdp-tabs__panel::before {
        content: attr(data-panel);
        display: block;
        font-weight: 700;
        text-transform: uppercase;
        font-size: 9pt;
        letter-spacing: .08em;
        margin-bottom: 2mm;
    }

    /* ---------- Cart / quote ---------- */

    .cart-table { page-break-inside: auto; }
    .cart-table th,
    .cart-table td { border-bottom: 1px solid #999 !important; color: #000 !important; }
    .cart-table tr { page-break-inside: avoid; }
    .cart-line img { max-width: 18mm; }
    .cart-remove, .qty-box button { display: none !important; }
    .qty-box { border: 0 !important; }
    .qty-box input { border: 0 !important; width: auto !important; font-size: 11pt; }

    .cart-summary {
        border: 1px solid #999 !important;
        background: #fff !important;
        page-break-inside: avoid;
    }

    .cart-summary__row--total { color: #000 !important; font-size: 13pt; }

    /* ---------- Product grids ---------- */

    .card-wrapper { page-break-inside: avoid; }
    .card__img--alt { display: none !important; }
    .grid__item { width: 33% !important; float: left !important; }
    .price-item { color: #000 !important; }

    /* ---------- Links ---------- */

    a { color: #000 !important; text-decoration: none !important; }

    /* Print the destination of real links, but not of every nav item. */
    .post a[href^="http"]::after,
    .contact-card a[href^="mailto"]::after,
    .contact-card a[href^="tel"]::after {
        content: " (" attr(href) ")";
        font-size: 9pt;
        color: #444;
    }

    /* ---------- Footer becomes the contact block ---------- */

    .footer,
    .footer-bottom {
        background: #fff !important;
        color: #000 !important;
        border-top: 1px solid #999;
        page-break-inside: avoid;
    }

    .footer-block__heading,
    .site-footer__linklist a,
    .footer__copyright,
    .store-desc p { color: #000 !important; }

    /* Navigation columns are noise on paper; keep only store details. */
    .footer-block:nth-child(3),
    .footer-block:nth-child(4),
    .footer-block:nth-child(5) { display: none !important; }

    .list-payment { display: none !important; }

    /* ---------- Don't print decorative blocks ---------- */

    .seperator,
    .ishicategoryblock,
    .ishiservices,
    .ishi-story-section,
    .empty-state__suggest,
    .recent-rail { display: none !important; }
}
