/* Drogaria Moderna — navegação e identidade, 29 outubro 2026.
   Complemento isolado: preserva os estilos e módulos existentes. */
html body {
  font-family: Arial, Helvetica, sans-serif !important;
  font-size: 16px;
  color: #342e28;
  background: linear-gradient(rgba(255,250,241,.72),rgba(255,250,241,.72)),url("https://1950.drogariamoderna.pt/assets/papiro.webp") repeat top center !important;
}
html body #page, html body .header-container, html body #header,
html body .columns-container { background: transparent !important; }
html body .page-heading, html body .page-subheading,
html body #center_column .rte h1, html body #center_column .rte h2,
html body #center_column .rte h3, html body #center_column .rte h4 {
  font-family: Georgia, 'Times New Roman', serif !important;
  color: #7d0c29 !important;
}
html body input, html body select, html body textarea, html body button,
html body .button, html body .btn, html body .product-name,
html body .price, html body .product-price { font-family: Arial, Helvetica, sans-serif !important; }
html body #header .shopping_cart > a:first-child { color: #7d0c29 !important; text-shadow: none !important; }
html body #header .nav a, html body #header .nav .shop-phone,
html body #header .nav .shop-phone strong, html body #header .nav .shop-phone i { color: #fff4dc !important; text-shadow: none !important; }
html body #left_column .title_block, html body #left_column .title_block a { color: #fff4dc !important; }
html body .breadcrumb, html body .breadcrumb a { color: #fff4dc !important; }
html body #center_column .rte a { color: #7d0c29 !important; }
/* Mantém o módulo antigo instalado e recuperável, sem menus sobre os destaques. */
html body #block_top_menu { display: none !important; }
html body .dm-navigation { clear: both; background: #7d0c29 !important; margin-top: 20px; }
html body .dm-navigation-list { display: flex; flex-wrap: wrap; align-items: stretch; list-style: none; gap: 0; margin: 0; padding: 0; }
html body .dm-navigation-list li { margin: 0; padding: 0; }
html body .dm-navigation-list li:last-child { margin-left: auto; }
html body .dm-navigation-list a { display: block; padding: 15px 22px; min-height: 48px; color: #fff4dc !important; font: 16px/1.35 Arial,Helvetica,sans-serif !important; text-decoration: none; text-transform: none; text-shadow: none; }
html body .dm-navigation-list a:hover, html body .dm-navigation-list a:focus { background: #5f0920; color: #fff !important; text-decoration: none; }
html body .dm-navigation-list a:focus-visible, html body .dm-category-card:focus-visible { outline: 3px solid #ac8153; outline-offset: 3px; }
html body .dm-category-section { clear: both; padding: 24px 0 26px; scroll-margin-top: 20px; }
html body .dm-category-heading { font: 28px/1.25 Georgia,serif; color: #7d0c29; margin: 0 0 20px; padding: 0; text-transform: none; }
html body h2.dm-category-heading,
html body #product .pb-center-column h1,
html body .pb-center-column h1,
html body #footer h4 { font-family: Georgia, 'Times New Roman', serif !important; }
html body #search_query_top { background: #fffaf1 !important; color: #342e28 !important; border: 1px solid #d5c6ae !important; }
html body .dm-category-grid { display: grid; grid-template-columns: repeat(6,minmax(0,1fr)); gap: 18px; }
html body .dm-category-card { display: block; min-width: 0; text-align: center; color: #7d0c29 !important; text-decoration: none; }
html body .dm-category-card img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; border: 1px solid #d5c6ae; box-shadow: 0 3px 10px rgba(60,30,15,.08); }
html body .dm-category-card span { display: block; margin-top: 10px; font: 600 15px/1.35 Arial,Helvetica,sans-serif; color: #7d0c29 !important; }
html body .dm-category-card:hover img { box-shadow: 0 4px 14px rgba(60,30,15,.18); }
html body .dm-category-card:hover span { text-decoration: underline; }
@media (max-width: 991px) and (min-width: 768px) {
 html body .dm-category-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
 html body .dm-navigation-list a { padding: 14px 15px; }
}
@media (max-width: 767px) {
 html body .dm-navigation { margin-top: 16px; }
 html body .dm-navigation-list { justify-content: center; }
 html body .dm-navigation-list li:last-child { margin-left: 0; }
 html body .dm-navigation-list a { font-size: 14px !important; padding: 12px 13px; min-height: 44px; }
 html body .dm-category-section { padding: 22px 0; }
 html body .dm-category-heading { font-size: 25px; }
 html body .dm-category-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px 16px; }
 html body .dm-category-card span { font-size: 15px; }
}

/* Rodape: contraste constante nos estados abertos e fechados. */
html body #footer .footer-block h4,html body #footer .footer-block h4 a,html body #footer .footer-block h4:after,html body #footer .footer-block h4.active,html body #footer .footer-block h4.active:after,html body #footer .grower,html body #footer .grower:before,html body #footer .grower:after{color:#fffaf1!important;}

/* Area de cliente e compra: superficies claras e controlos consistentes. */
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column {color:#342e28!important;font:16px/1.55 Arial,Helvetica,sans-serif!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(.box,.std,.address,.table_block,.account_creation) {box-shadow:none!important;text-shadow:none!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(.box,form.std,.account_creation) {background:#fffaf3!important;border:1px solid #d9cebd!important;border-radius:6px!important;padding:22px!important;margin-bottom:22px!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(p.info-title,.info-title,.dark,.color-myaccount,.address_title,.address_name,.address_update,.form-group label,.inline-infos) {color:#342e28!important;text-shadow:none!important;background-image:none!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(a:not(.button):not(.btn),.link-button) {color:#7d0c29!important;text-shadow:none!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(.button,.btn,button.button,button.btn) {background:#7d0c29!important;background-image:none!important;color:#fffaf3!important;border:1px solid #7d0c29!important;border-radius:4px!important;box-shadow:none!important;text-shadow:none!important;font:600 15px/1.4 Arial,Helvetica,sans-serif!important;min-height:44px;padding:11px 16px!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(.button,.btn) :is(span,i) {background:transparent!important;background-image:none!important;color:inherit!important;border-color:transparent!important;box-shadow:none!important;text-shadow:none!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(.button,.btn):is(:hover,:focus) {background:#5f0920!important;color:white!important;border-color:#5f0920!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(a,button,input,select,textarea):focus-visible {outline:3px solid #a8794c!important;outline-offset:3px;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column :is(.form-control,input[type=text],input[type=email],input[type=password],textarea,select) {background:#fff!important;color:#342e28!important;border:1px solid #cbbda8!important;border-radius:4px!important;box-shadow:none!important;font:16px/1.4 Arial,Helvetica,sans-serif!important;min-height:44px;height:auto;padding:10px 12px!important;max-width:100%;}
html body:is(#identity,#address,#module-blockwishlist-mywishlist) #center_column .form-group {margin-bottom:18px!important;}
html body:is(#identity,#address) #center_column form.std {max-width:760px;}
html body:is(#identity,#address) #center_column .form-group .form-control {width:100%;max-width:440px;}
html body:is(#identity,#address) #center_column .selector {height:44px!important;background:#fff!important;border:1px solid #cbbda8;border-radius:4px;box-shadow:none!important;max-width:100%;}
html body:is(#identity,#address) #center_column .selector span {background:none!important;color:#342e28!important;height:42px!important;line-height:42px!important;text-shadow:none!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column table {background:#fffaf3!important;border:1px solid #d9cebd!important;box-shadow:none!important;}
html body:is(#history,#order-slip,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column table :is(th,thead td,tfoot td) {background:#eee5d8!important;background-image:none!important;color:#4a302c!important;text-shadow:none!important;border-color:#d9cebd!important;box-shadow:none!important;}
html body:is(#history,#order-slip,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column table tbody td {background:#fffaf3!important;color:#342e28!important;border-color:#e6ddcf!important;vertical-align:middle!important;box-shadow:none!important;}
html body:is(#history,#order-slip,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column .label {background:#efe8dc!important;color:#633342!important;border:1px solid #d9cebd!important;border-radius:4px!important;text-shadow:none!important;box-shadow:none!important;font:600 13px/1.4 Arial,Helvetica,sans-serif!important;white-space:normal;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column .alert {background:#f3ede3!important;color:#493d30!important;border:1px solid #d9cebd!important;border-left:4px solid #a8794c!important;box-shadow:none!important;text-shadow:none!important;padding:16px!important;}
html body:is(#my-account,#history,#order-slip,#addresses,#address,#identity,#discount,#module-blockwishlist-mywishlist,#order,#order-opc,#order-detail,#order-confirmation) #center_column .alert a {color:#7d0c29!important;}
html body#my-account #center_column ul.myaccount-link-list li a {display:flex!important;align-items:center;min-height:62px;background:#fffaf3!important;color:#7d0c29!important;border:1px solid #d9cebd!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important;}
html body#my-account #center_column ul.myaccount-link-list li a :is(i,span) {color:#7d0c29!important;background:none!important;background-image:none!important;border:0!important;box-shadow:none!important;text-shadow:none!important;}
html body#my-account #center_column ul.myaccount-link-list li a i {width:52px;flex-shrink:0;}
html body#my-account #center_column ul.myaccount-link-list li a:is(:hover,:focus) {background:#eee5d8!important;border-color:#a8794c!important;}
html body#addresses #center_column .address .box {min-height:0!important;}
html body#addresses #center_column .address_title {font:600 18px/1.4 Georgia,serif!important;border-bottom:1px solid #d9cebd!important;padding:0 0 12px!important;margin-bottom:12px!important;}
html body:is(#order,#order-opc) #center_column :is(.cart_navigation,.order_carrier_content,.order_delivery,.order_payment,.order_address,.payment_module a) {box-shadow:none!important;text-shadow:none!important;background-image:none!important;}
html body:is(#order,#order-opc) #center_column .step :is(li,li span,li a) {background:#eee5d8!important;background-image:none!important;color:#633342!important;text-shadow:none!important;box-shadow:none!important;}
html body:is(#order,#order-opc) #center_column .step li.step_current :is(span,a) {background:#7d0c29!important;color:#fffaf3!important;}
@media(max-width:767px){html body:is(#identity,#address,#module-blockwishlist-mywishlist) #center_column form.std {padding:16px!important;}html body:is(#history,#order,#order-opc) #center_column table{font-size:14px!important;}html body#my-account #center_column ul.myaccount-link-list li a span{font-size:14px!important;}html body:is(#identity,#address) #center_column .form-group .form-control{max-width:100%;}}
/* Afinacao dos seletores de data e meios de pagamento. */
html body#identity #center_column .form-group .row{max-width:470px;}
html body#identity #center_column :is(#uniform-days,#uniform-months,#uniform-years){width:100%!important;max-width:none!important;}
html body#identity #center_column :is(#uniform-days,#uniform-months,#uniform-years) span{width:100%!important;padding:0 12px!important;}
html body#identity #center_column :is(#days,#months,#years){width:100%!important;}
html body:is(#order,#order-opc) #center_column .payment_module a{display:block;background-color:#fffaf3!important;color:#7d0c29!important;border:1px solid #d9cebd!important;border-radius:5px!important;box-shadow:none!important;text-shadow:none!important;}
html body:is(#order,#order-opc) #center_column .payment_module a:is(:hover,:focus){background-color:#eee5d8!important;border-color:#a8794c!important;}
html body:is(#history,#order,#order-opc) #center_column :is(.history_date,.history_price,.cart_unit,.cart_total){white-space:nowrap;}
html body #left_column :is(.grower,.grower:before,.grower:after){background:#f3ede3!important;color:#7d0c29!important;text-shadow:none!important;box-shadow:none!important;}
html body #left_column :is(.title_block,.title_block a,.title_block:after){color:#fffaf3!important;text-shadow:none!important;}
html body:is(#order,#order-opc) #center_column .cart_navigation{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;}
html body:is(#order,#order-opc) #center_column .cart_navigation :is(a,button){display:inline-flex!important;align-items:center;justify-content:center;gap:9px;min-width:210px;min-height:48px!important;margin:0!important;padding:11px 16px!important;box-sizing:border-box;font:600 15px/1.4 Arial,Helvetica,sans-serif!important;}
html body:is(#order,#order-opc) #center_column .cart_navigation .button-exclusive{color:#7d0c29!important;background:#fffaf3!important;border:1px solid #d9cebd!important;border-radius:4px;text-decoration:none;}
@media(max-width:480px){html body:is(#order,#order-opc) #center_column .cart_navigation :is(a,button){width:100%;}}
html body:is(#order,#order-opc) #center_column .cart_navigation :is(a,button){height:48px!important;width:220px;min-width:220px;}
html body:is(#order,#order-opc) #center_column .cart_navigation :is(a,button) span{padding:0!important;margin:0!important;line-height:inherit!important;height:auto!important;min-height:0!important;border:0!important;}
@media(max-width:480px){html body:is(#order,#order-opc) #center_column .cart_navigation :is(a,button){width:100%;min-width:0;}}

/* Selo de produto novo: identidade bordeaux e creme. */
html body .new-label{background:#7d0c29!important;background-image:none!important;color:#fff4dc!important;text-shadow:none!important;box-shadow:none!important;}
html body .new-label:before,html body .new-label:after{border-top-color:#51081c!important;}

/* Resumo movel: preco, quantidade e total numa so linha compacta. */
@media(max-width:767px){
html body#order #center_column #cart_summary{display:table!important;width:100%!important;min-width:0!important;table-layout:fixed!important;}
html body#order #center_column #cart_summary tbody{display:block!important;width:100%!important;}
html body#order #center_column #cart_summary tbody tr.cart_item{display:grid!important;grid-template-columns:minmax(0,1fr) 112px minmax(0,1fr)!important;position:relative;width:100%!important;float:none!important;border-bottom:1px solid #d9cebd!important;}
html body#order #center_column #cart_summary tbody tr.cart_item td{width:auto!important;min-height:0!important;height:auto!important;float:none!important;clear:none!important;padding:8px 5px!important;border:0!important;box-sizing:border-box!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_product{grid-column:1;grid-row:1;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_product img{width:60px!important;max-width:100%!important;height:auto!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_description{grid-column:2/4;grid-row:1;padding-right:28px!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_description .product-name{font-size:14px!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_delete{position:absolute!important;top:6px;right:2px;width:24px!important;padding:4px!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_delete:before{display:none!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_unit{grid-column:1;grid-row:2;text-align:right!important;white-space:normal!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_total{grid-column:3;grid-row:2;text-align:left!important;white-space:normal!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_quantity{grid-column:2;grid-row:2;display:grid!important;grid-template-columns:32px 36px 32px!important;grid-template-rows:22px 36px!important;column-gap:1px!important;align-items:center;justify-content:center;}
html body#order #center_column #cart_summary tbody tr.cart_item td:before{display:block!important;font:12px/1.4 Arial,Helvetica,sans-serif!important;color:#5c5045!important;margin:0 0 5px!important;white-space:normal!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_quantity:before{grid-column:1/4;grid-row:1;text-align:center;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_quantity_button{display:contents!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_quantity input[type=hidden]{display:none!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_quantity_input{grid-column:2;grid-row:2;display:block!important;width:36px!important;min-height:36px!important;height:36px!important;padding:0!important;margin:0!important;text-align:center!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_quantity :is(.button-minus,.button-plus){grid-row:2;display:flex!important;align-items:center;justify-content:center;width:32px!important;min-width:0!important;min-height:36px!important;height:36px!important;padding:0!important;margin:0!important;}
html body#order #center_column #cart_summary tbody tr.cart_item .button-minus{grid-column:1;}
html body#order #center_column #cart_summary tbody tr.cart_item .button-plus{grid-column:3;}
html body#order #center_column #cart_summary tbody tr.cart_item .cart_quantity :is(.button-minus,.button-plus) span{padding:0!important;line-height:1!important;}
html body#order #center_column #cart_summary tbody tr.cart_item :is(.cart_unit,.cart_total) .price{font-size:15px!important;white-space:nowrap!important;}
}
html body#order #center_column table#cart_summary tfoot td{background:#eee5d8!important;color:#342e28!important;}
html body#order #center_column table#cart_summary tfoot :is(#total_price_container,#total_price){background:#7d0c29!important;color:#fffaf3!important;}

/* Afinacao pedida no Android: valores maiores, so o comando e compacto. */
html body#order #center_column table#cart_summary tbody tr.cart_item,html body#order #center_column table#cart_summary tbody tr.cart_item td{background:#fffaf3!important;}
@media(max-width:767px){
html body#order #center_column table#cart_summary tbody tr.cart_item{grid-template-columns:minmax(0,1fr) 92px minmax(0,1fr)!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_unit{text-align:left!important;padding-left:8px!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_total{text-align:right!important;padding-right:8px!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item td:before{font:700 14px/1.35 Arial,Helvetica,sans-serif!important;min-height:36px;margin-bottom:5px!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_quantity{grid-template-columns:28px 30px 28px!important;grid-template-rows:41px 32px!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_quantity:before{align-self:start;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_quantity_input{width:30px!important;min-height:32px!important;height:32px!important;font-size:17px!important;font-weight:700!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_quantity :is(.button-minus,.button-plus){width:28px!important;min-height:32px!important;height:32px!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item :is(.cart_unit,.cart_total) .price{font-size:18px!important;font-weight:700!important;line-height:32px!important;}
}

@media(max-width:767px){
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_product img{width:80px!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_description .product-name{font-size:16px!important;line-height:1.4!important;font-weight:600!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_description :is(small,.cart_ref){font-size:14px!important;line-height:1.4!important;}
}

/* Acerto final: retirar reserva vazia sobre a imagem e afastar o valor unitario. */
@media(max-width:767px){
html body#order #center_column table#cart_summary tbody tr.cart_item :is(.cart_product,.cart_description):before{display:none!important;content:none!important;min-height:0!important;height:0!important;margin:0!important;padding:0!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item :is(.cart_product,.cart_description){padding-top:6px!important;padding-bottom:5px!important;align-self:start!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_product img{display:block!important;margin-top:0!important;vertical-align:top!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_description :is(p,.product-name){margin-top:0!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_unit :is(ul,li,.price){text-align:left!important;margin-left:0!important;padding-left:0!important;width:100%!important;}
html body#order #center_column table#cart_summary tbody tr.cart_item .cart_unit .price{display:block!important;}
}

/* Contraste do titulo de informacao, incluindo ligacao e estados. */
html body #left_column .block .title_block a,html body #left_column .block .title_block a:hover,html body #left_column .block .title_block a:focus,html body #left_column .block .title_block a:visited{color:#fff4dc!important;text-shadow:none!important;}
html body #left_column .block .title_block:after{color:#fff4dc!important;text-shadow:none!important;}


/* Correcao especifica do titulo e dos estados de toque no menu lateral. */
html body#category #left_column #informations_block_left_1 .title_block a,html body#category #left_column #informations_block_left_1 .title_block a:hover,html body#category #left_column #informations_block_left_1 .title_block a:focus,html body#category #left_column #informations_block_left_1 .title_block a:active,html body#category #left_column #informations_block_left_1 .title_block a:visited{color:#fff4dc!important;text-shadow:none!important;}
@media(max-width:767px){
html body #left_column #categories_block_left li span.grower:hover+a,html body #left_column #categories_block_left li a:hover,html body #left_column #categories_block_left li a:focus,html body #left_column #categories_block_left li a:active,html body #left_column #categories_block_left li a.selected{background:transparent!important;background-image:none!important;box-shadow:none!important;color:#4a2b20!important;}
html body #left_column #categories_block_left li a,html body #left_column #categories_block_left li .grower{-webkit-tap-highlight-color:transparent;}
}

